Talk:How to use HTTP GET request in Java ME

From Nokia Developer Wiki
Jump to: navigation, search


Grift - Updated to work with Nokia 2.0 SDK

I tried to use this code with the latest version of the Nokia 2.0 SDK code and found that there were compile-time errors when I tried to create a project for the code. I have updated the code and created a sample project.

grift 00:32, 3 April 2013 (EEST)

Hamishwillee - Thanks for the upload and updates

Hi Grift

Thanks for adding the example code and fixing this. Can you please confirm what devices you tested this on? I will then update the article metadata appropriately.

FYI, I also added an update timestamp to the articlemetadata. The update is for major revisions and changes to the article, and its important to include the timestamp so that people know that the article is current at the date you put in, not just when it was created. It is usual also to update the ArticleMetadata with the SDK, devices tested and versions so that people also know it works on current devices. Sometimes you'll come across an old article that you don't need to update but which works on current devices - in this case you can do the same updates to articlemedatadata but instead update the "reviewed-by" and "reviewed-timestamp" fields (again, so people know the article is still valid)

Thanks very much!



hamishwillee 01:37, 3 April 2013 (EEST)

Grift -

The GET and POST examples I updated were both tested on the Nokia Asha 311 through RDA.

Thanks for your advice on updating articles. Now I have some idea of what I am doing, there's a few more broken examples I have come across that I will look at when I get time :)

grift 00:11, 4 April 2013 (EEST)

Hamishwillee - Thanks

Hi Grift

Any improvements you can do would be great - feel free to message me (or email) to review

We're trying to formalise the format of "How To" articles to some extent - for an idea of structure see How to detect if an app is running in Kid’s Corner. The idea is to make it easier for people to understand what they need to include in a "good" FAQ - e.g. remembering import/using statements, and special capabilities or signing required, providing code example etc. It is not worth retro-fitting this to older articles systematically, but if you're there anyway, might be worth assessing if using this structure makes sense. Most important thing is that the code works :-)

For general advice you might want to check out Help:Wiki Article Review Checklist

Regards H

PS, I added teh Asha 311 to metadata as shown.

hamishwillee 01:28, 4 April 2013 (EEST)