I gang

J2ME File Download and Save/Retrieve to/from RMS

My J2ME app needs to be able to download from my web site different sets of icons optimised for the screen size of the phone on which the app has been installed - e.g. small, medium, or large.

So the first method will have the following signature: public InputStream downloadResource(String url, String encoding); The URL will be for HTTP. I'm not sure whether encoding - e.g. UTF-8 - or mime type is more appropriate here - please advise.

Each downloaded file can be saved to an RMS store called Resource usng the following signature: public void saveResource(String key, InputStream is);

It is possible to retrieve the file from RMS using the following signature: public InputStream retrieveResource(String key);

It may be possible/permissable to use byte arrays instead of InputStreams in the methods - please advise.

Please write a self-contained Midlet that allows the entry of a key and url on screen and then displays the download icon as an Image using all three methods above to validate the end to end process - i.e. enter, download, save, retrieve and display.

Evner: J2ME, Mobile App Development

Se mere: web icon sets, string j, app store icon size, file download j2me utf, my j, retrieve, retrieve url, image encoding, image download app, file type icons, j2me screen image, download image url, type image file, signature file, signature app, medium app, save url file, j2me image url, mobile site url, http file download, validate phone, midlet http, download url image, file download http, resource file

Om arbejdsgiveren:
( 26 bedømmelser ) SALFORD, United Kingdom

Projekt ID: #4009875