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

GPS vs. MAP applications?

 
Shashank Agarwalg
Ranch Hand
Posts: 110
Android Java Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which type of applications are easy to implement and covers large range of applications.

I know advantages and drawbacks of both.
Their is many map applications today like blackberrymap, googlemap etc.
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The two are more complementary than they are opposite. It's quite common to use GPS to obtain a position that can then be used on a map.
 
minh hai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use following code to get the Latitude and Longitude:

I use WTK2.5.2 run it. .I am getting alert exception: java.lang.classnotfoundexception: location.
please help me run this code . Thanks alot
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSR-179 (which is where the javax.microedition.location package is defined) is not part of the CDC or CLDC; you'll need to add it manually to whatever environment you intend to use if it's not pre-installed (as it apparently isn't in your environment).
 
minh hai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:JSR-179 (which is where the javax.microedition.location package is defined) is not part of the CDC or CLDC; you'll need to add it manually to whatever environment you intend to use if it's not pre-installed (as it apparently isn't in your environment).


I'm a newbie so you can instruct specific than for me? Thanks your help
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find the Specification, javadocs and reference implementation somewhere around here. That should allow you to compile the code.

How to use it in the emulator or in an actual device, I have no idea.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic