Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

GPS vs. MAP applications?

 
Ranch Hand
Posts: 110
Android Redhat Java
  • 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.
 
Bartender
Posts: 20923
127
Android Eclipse IDE Tomcat Server Redhat Java 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.
 
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
 
Rancher
Posts: 43011
76
  • 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: 43011
76
  • 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
Boost this thread!