OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Is app available for the android emulator?

Go down

Is app available for the android emulator? Empty Is app available for the android emulator?

Post  16319874 Mon Dec 21, 2009 3:45 am

I would like to be able to run the app in the emulator in order to make some screen shots to post on a sailing forum,
to show my sailing colleagues what is available.

How can I get the OruxMaps app file to load into the emulator?

thanks
Micheal

16319874
Guest


Back to top Go down

Is app available for the android emulator? Empty Re: Is app available for the android emulator?

Post  orux Mon Dec 21, 2009 7:10 am

16319874 wrote:I would like to be able to run the app in the emulator in order to make some screen shots to post on a sailing forum,
to show my sailing colleagues what is available.

How can I get the OruxMaps app file to load into the emulator?

thanks
Micheal

You can backup OM to your SD with AppManager application. Then install in the emulator.
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Is app available for the android emulator? Empty more help needed

Post  16319874 Mon Dec 21, 2009 3:15 pm

Hello --

With the help of AppManager I copied OruxMaps to the SD card and thence to my desktop hard drive.
Desktop is running on MacOS 10.6.2.

I start the emulator then try to install the package, but I must have done something wrong or omitted a step. I see the following on my desktop terminal screen:

[1] emulator -avd mjl_avd &
[pegasus2:/android SDK/android-sdk-mac_86/tools] mjl% adb install OruxMaps\ 1.8.5.apk
1898 KB/s (587265 bytes in 0.302s)
pkg: /data/local/tmp/OruxMaps 1.8.5.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

I never see OruxMaps on the emulator apps menu.

16319874
Guest


Back to top Go down

Is app available for the android emulator? Empty Re: Is app available for the android emulator?

Post  orux Mon Dec 21, 2009 4:14 pm

16319874 wrote:Hello --

With the help of AppManager I copied OruxMaps to the SD card and thence to my desktop hard drive.
Desktop is running on MacOS 10.6.2.

I start the emulator then try to install the package, but I must have done something wrong or omitted a step. I see the following on my desktop terminal screen:

[1] emulator -avd mjl_avd &
[pegasus2:/android SDK/android-sdk-mac_86/tools] mjl% adb install OruxMaps\ 1.8.5.apk
1898 KB/s (587265 bytes in 0.302s)
pkg: /data/local/tmp/OruxMaps 1.8.5.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

I never see OruxMaps on the emulator apps menu.

You need an emulator with Google APIs, because OruxMaps uses libraries from google. You have to create a google compatible device (target 3).

Is app available for the android emulator? Pantallazoandroidsdkand

Which sdk are you using?

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Is app available for the android emulator? Empty Re: Is app available for the android emulator?

Post  orux Mon Dec 21, 2009 4:21 pm

First see targets:

jose@jose-desktop:~$ android list targets
Available Android targets:
id: 1 or "android-3"
Name: Android 1.5
Type: Platform
API level: 3
Revision: 1
Skins: HVGA (default), QVGA-P, QVGA-L, HVGA-P, HVGA-L
id: 2 or "android-4"
Name: Android 1.6
Type: Platform
API level: 4
Revision: 1
Skins: QVGA, WVGA854, HVGA (default), WVGA800
id: 3 or "android-6"
Name: Android 2.0.1
Type: Platform
API level: 6
Revision: 1
Skins: QVGA, WVGA854, HVGA (default), WVGA800, WQVGA400, WQVGA432
id: 4 or "Google Inc.:Google APIs:3"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 3
Description: Android + Google APIs
Based on Android 1.5 (API level 3)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P
id: 5 or "Google Inc.:Google APIs:4"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 1.6 (API level 4)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, HVGA (default), WVGA800, QVGA
id: 6 or "Google Inc.:Google APIs:6"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 2.0.1 (API level 6)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WQVGA400, WVGA854, HVGA (default), WQVGA432, WVGA800, QVGA


Then create a new device, selecting one with google APIS:
android create avd -n my_android -t 6
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Is app available for the android emulator? Empty progress and more questions

Post  16319874 Mon Dec 21, 2009 6:14 pm

Ola!

Thanks

With the help of your detailed post, I managed to find a target with Google APIs. One other "glitch" I had to get past was that I didn't realize
I needed to have the .iso file for the sdcard mounted on my desktop before trying to point the emulator to it. But it all works now and the remaining questions are all about how OM works:


I have not been able to find how to enter a route. (I even scanned the manual!)

The control "goto" (icon: target) has "point" which requests Lat/Long. It would be nice to have "waypoint" in addition, to go to a pre-defined waypoint.
[I realize that "View waypoints" allows you to do this, but for me it is not intuitive not to get there from the "target" icon.]

I have not been able to find out how to save waypoints and routes [if I ever learn how to create one]

thanks again for your help getting the emulator running

Micheal

16319874
Guest


Back to top Go down

Is app available for the android emulator? Empty more on creating routes

Post  16319874 Mon Dec 21, 2009 6:25 pm

Ola --

The way in which I am accustomed to creating routes is to:

  • enter a number of waypoints
  • enter "create/edit route" mode
  • answer question: edit existing route/create new route
  • enter the numbers of already created waypoints, in sequence
  • save route as "name"


The route created should show up on the map...

As an option the route should be able to be navigated from either terminus (go/return)


Mciheal

16319874
Guest


Back to top Go down

Is app available for the android emulator? Empty Re: Is app available for the android emulator?

Post  orux Mon Dec 21, 2009 6:49 pm

16319874 wrote:Ola!
I have not been able to find how to enter a route. (I even scanned the manual!)l

If you have saved tracks, you will see them using 'ROUTE' button.Is app available for the android emulator? Botonrutamas48 If not, you can copy your .gpx or .kml files, with saved routes/tracks in oruxmaps/tracklogs/ directory. Then you will be able to load them in the viewer.

16319874 wrote:
The control "goto" (icon: target) has "point" which requests Lat/Long. It would be nice to have "waypoint" in addition, to go to a pre-defined waypoint.
[I realize that "View waypoints" allows you to do this, but for me it is not intuitive not to get there from the "target" icon.]

Ok, It is reasonable.

16319874 wrote:
I have not been able to find out how to save waypoints and routes [if I ever learn how to create one]

saving a track: use Is app available for the android emulator? Botontrack48. GPS will be enabled, the track logged. To save, use Is app available for the android emulator? Botontrackpause48

saving only waypoints: use Is app available for the android emulator? Botonmarkerplus48 and create waypoints. Then use Is app available for the android emulator? Botondisco48

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Is app available for the android emulator? Empty more on creating routes

Post  16319874 Mon Dec 21, 2009 10:31 pm

Ola --

We are getting closer, but I am still having a problem with routes.

I can save waypoints and reload them [progress]
I can save and reload "routes" but ----

I have no idea what is in the route -- I want to go from WP1 to WP2 to WP3, for example.
How do I do that?
Can I also enter a route which goes from WP2 to WP1 to WP3? (assuming I entered them in order WP1, WP2, WP3)

And when I reload the "route" that I have saved I don't see any indication of the geographical
path I am to take. When I reload waypoints or routes OM app behaves the same. Is a "route" in OM
just a list of waypoints in the order they were entered? [For me, this is not the case: a route is an ordered list
of waypoints, not necessarily in the order they were entered.]

How can I get visual feedback of the route as I am entering it and when I have reloaded it from /sdcard/oruxmaps/tracklogs?

Finally, when I have loaded a route from /tracklogs, the menu has a "routes" choice. One menu item is "reverse route." When you click it, there
is no visual feedback so you don't have any way of knowing whether the reverse is in effect or not. [This problem would disappear if there were
a visual track on the map corresponding to the route, with an arrow to show direction.]

thanks
Micheal

16319874
Guest


Back to top Go down

Is app available for the android emulator? Empty a further thought on routes

Post  16319874 Mon Dec 21, 2009 10:37 pm

I have been re-reading your posts in response to my question, and I believe your idea of a route is different from mine:

In the nautical world, a route is a pre-voyage plan. You enter waypoints and link them in some order and the GPS chart viewer shows your progress and deviation from the planned route.

From your responses, I get the impression that for you a route is a historical record of a walk in the mountains. In other words you have to travel the route (record a track) to be able to save it as a route.

Is my impression correct?

16319874
Guest


Back to top Go down

Is app available for the android emulator? Empty Re: Is app available for the android emulator?

Post  orux Tue Dec 22, 2009 3:16 pm

16319874 wrote:I have been re-reading your posts in response to my question, and I believe your idea of a route is different from mine:

In the nautical world, a route is a pre-voyage plan. You enter waypoints and link them in some order and the GPS chart viewer shows your progress and deviation from the planned route.

From your responses, I get the impression that for you a route is a historical record of a walk in the mountains. In other words you have to travel the route (record a track) to be able to save it as a route.

Is my impression correct?

Not exactly;

A route is a sorted list of map points, with or without waypoints.

There are a lot of tools that let you create routes; for example:

<?xml version="1.0"?>
<gpx version="1.1"
creator="Marengo Route Creator - http://www.marengo-ltd.com/map/"
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1
http://www.topografix.com/GPX/1/1/gpx.xsd">
<rte>
<name>New Route</name>
<rtept lat="51.45400691005981" lon="-1.0546875">
<name>0</name>
</rtept>
<rtept lat="51.467696956223364" lon="-0.28564453125">
<name>1</name>
</rtept>
<rtept lat="51.20688339486562" lon="0.50537109375">
<name>2</name>
</rtept>
<rtept lat="50.88917404890332" lon="-0.8349609375">
<name>3</name>
</rtept>
</rte>
</gpx>

But OruxMaps it is not a route builder; perhaps in next future. With OruxMaps you can open any gpx/kml file as a route, but if you want to build a route with OruxMaps, you need to 'walk' the route before Smile

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Is app available for the android emulator? Empty Now I understand ...

Post  16319874 Tue Dec 22, 2009 9:33 pm

I see from your .xml file that what I am asking for is exactly what Marengo Route Planner does, except I want it as an app (or an extension to an app) on my android phone, not on my web browser, and not based on google maps.

I guess I will have to wait until your "to do" list gets empty.


thanks
Micheal

16319874
Guest


Back to top Go down

Is app available for the android emulator? Empty Re: Is app available for the android emulator?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum