Reply
Thread Tools
Posts: 5 | Thanked: 20 times | Joined on Dec 2009
#1
I just finished the openlapi implementation on n900. there is 3 files in the tar archive. Here is my set up of how to run in n900.
openlapi.jar -> put in /opt/java
openlapi-jsr179.jar -> put in /opt/java
libgpsJNI.so -> put in /usr/lib (you need to put in this folder)

if you run the next lines you will have midlets using the location api

CLASSPATH=/opt/java/microemulator-3/microemulator.jar
CLASSPATH=$CLASSPATH:/opt/java/openlapi.jar
CLASSPATH=$CLASSPATH:/opt/java/openlapi-jsr179.jar
export CLASSPATH
java org.microemu.app.Main

I get the trekbuddy (http://www.trekbuddy.net/) working, but unfortunately I couldn't get google maps used the location. I will set up a garage project and upload the source files later. Please check it out and report if it is working for you too.
Attached Files
File Type: tar openlapi.tar (140.0 KB, 204 views)
 

The Following 12 Users Say Thank You to ideligoz For This Useful Post:
Posts: 5 | Thanked: 20 times | Joined on Dec 2009
#2
I opened a garage project and put the source files there:
https://garage.maemo.org/projects/openlapi/

I don't have much time now, if anybody wants to continue the work I can hep them to setup the environment.
 
Posts: 79 | Thanked: 21 times | Joined on Sep 2007
#3
Any news on this? Doesn't work for me with most applets.
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2011
#4
"if you run the next lines you will have midlets using the location api

CLASSPATH=/opt/java/microemulator-3/microemulator.jar
CLASSPATH=$CLASSPATH:/opt/java/openlapi.jar
CLASSPATH=$CLASSPATH:/opt/java/openlapi-jsr179.jar
export CLASSPATH
java org.microemu.app.Main"

Where i can run this lines and how?
 
Captwheeto's Avatar
Posts: 302 | Thanked: 193 times | Joined on Oct 2008 @ England
#5
Originally Posted by backto View Post
"if you run the next lines you will have midlets using the location api

CLASSPATH=/opt/java/microemulator-3/microemulator.jar
CLASSPATH=$CLASSPATH:/opt/java/openlapi.jar
CLASSPATH=$CLASSPATH:/opt/java/openlapi-jsr179.jar
export CLASSPATH
java org.microemu.app.Main"

Where i can run this lines and how?
Just put them straight into Xterm. Are we shouting?
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2011
#6
Sorry, i forget -Big font like shout))))
Can i put them copy\past or they 5 diferent commands!?
when i put them into *.sh-file i see error (bad varifble nameine 4:CLASSPATH)
 
Captwheeto's Avatar
Posts: 302 | Thanked: 193 times | Joined on Oct 2008 @ England
#7
They're all different lines yeah.

Have you copied it exactly? And chmod +x the .sh file?
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:13.