magdel / MapNav

J2ME GPS navigation in mobile phone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MapNav

J2ME GPS navigation in mobile phone

Travis CI Test Coverage codecov codebeat badge License: MIT Hits-of-Code

Mobile navigation with J2ME-enabled phone

Map direction rotatio, track record

[Base map with rotation]

Navigational compass with active waypoint info

[Compass with waypoint direction]

Speedometer with active waypoint info

[Speedometer mode]

Flight plan navigation

[Flight navigation]

How to build

  • checkout the repo
  • mvn clean package
  • get JAR & JAD from /target

How to develop

To compile and run in emulator or device:

  • JDK 1.8
  • WTK 2.5, CLDC-1.1, MIDP-2.0 device profile, with extra libs (may be found in /WTK).
  • IDE supporting JavaME development: Netbeans 7 is great for that, just add custom user device with extra libs and name mapping some device in emulator. Netbeans project is ready in /nb

How to:

  1. Open in Netbeans project in ./nb
  2. Some warnings may occur because of platform absense, it's OK
  3. Copy files from ./WTK/lib to C:/WTK25/lib (in lib dir of your current WTK installation)
  4. Open project Propeties, Platform, Manage emulators..
  5. Select Add platform, custom user emulator MIDP JavaME platform
  6. Select platform home dir (C:/WTK25)
  7. Set Platform name to CustomDeviceRun, set Device name to DefaultColorPhone
  8. Clear list of initials libraries. Add all files from C:\WTK25\lib
  9. Add javadocs pathes: C:\WTK25\docs\api\midp, C:\WTK25\docs\api\jsr082 and other similars
  10. Press ready, select the platform and press OK.
  11. Just Run app in Netbeans! (press F6)

To run unit tests:

  • Open Maven project in your favorite IDE (like Intellij IDEA)
  • Set JDK 1.8 for project
  • Execute unit tests you need

About

J2ME GPS navigation in mobile phone

License:MIT License


Languages

Language:Java 100.0%