• 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
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

GPS vs. MAP applications?  RSS feed

 
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.
 
Bartender
Posts: 19807
93
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.
 
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: 42973
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: 42973
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!