Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is java.net.URL available?

 
Mohamed Farouk
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends
I am tryting to create a mobile application and I cant get my code compiled because it is erroring on java.net.URL. Please can you tell me if it is available.
I am using netbeans and I have got nokia s40, s60 j2me sdk 3.0 and wireless kit but all seems to not let me compile any help would be greatly appreciated.

Thanks
Mohamed
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What classes and methods will be available depend on the profile that you're using. It's important when developing for JME to select a profile that matches the target hardware, too. Otherwise it will work fine on your desktop and not work at all on the actual device.

Nokia specs are normally quite good about telling you what profile and additional JSR's a given phone supports.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic