yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Boonyard:
I did the adb pull and it just lands in my Android folder but I can't open it with anything to change it...

:EDIT: Sorry, found it now! Have edited it and pushed it to the phone... fingers crossed...
[G1 Android Development] Boonyard:
Hold on, I think its working!...

:EDIT: Well my GPS symbol has stopped flashing which suggests its working but the nav still says 'searching for GPS...'
[G1 Android Development] Murphy2712:
It's already done when you ask for a direction: all necessary maps are downloaded (I just tried to ask a direction and just after put my phone in plane mode: all steps including travel maps are available in cache).

But you will always need an internet connexion at start when requesting a direction (and the maps if they are not in cache).
[G1 Android Development] Boonyard:
its working fine now, just think my signal was dodgy!

thanks to everyone involved in this!
[G1 Android Development] greglhc:
this is highly odd - thought i'd share my experience

i'm based in singapore using a rooted g1 on dwang 1.13

what i did was install the .zip file from this link

then i checked that i could access navigation on google maps using two US locations (and i get the "no route found" error)

then i installed the navigation launcher app - it works! I could get directions in singapore.

i tried it with navigation starter app - works too!

wondering why...? not that i'm complaining...
[G1 Android Development] Brut.all:
@theomajigga has integrated "my" Maps.apk. Look at thanks section.

And he has mistyped my nickname ;-)
[G1 Android Development] canadiancow:
I don't understand what you're asking.
[G1 Android Development] rac2030:
The Problem you describe is, that Navigation is not possible between 2 Point (but you get direction lin in US).

Navigation seems to just work from your actual gps position to a destination.
[G1 Android Development] Brut.all:
I think he is wondering, why he can navigate outside USA, even though he didn't install Maps.apk from this thread.
[G1 Android Development] raven2000:
Given that theomajigga says "Brut.al for the (possible) navigation out of USA!" in the thanks section of the first post probably means either theomajigga is using Brut.al's Maps.apk or Brut.al's hack.

Either way the reason why you can navigate in Singapore is thanks to Brut.al's hard work :)
[G1 Android Development] fulei1979:
speed camera

This might be too much. But is it possible to import some speed camera database and enable the waening ? Thx
[G1 Android Development] Jonno12345:
Not sure if this was mentioned, haven't read all the pages, but this is no use in the Uk and shoukld probably be mentioned on the first post. Why? Here, we drive on the left. Unfortunately, it plots you driving on the right. Meaning, a lot of the turns are wrong. Shame, really liked it til I tried it properly =(.
[G1 Android Development] fulei1979:
I try it this afternnon and didn't notice this problem. weired.
[G1 Android Development] Jonno12345:
oh... I'll reinstall and try again, thanks for the input
[G1 Android Development] snellx:
I had to modify both files, the build.trout and the build.sapphire file. Now it works for me. Thanks guys!
[G1 Android Development] raven2000:
We also drive on the left in Australia but I haven't actually this for a drive yet. Bummer if this is true.
[G1 Android Development] seaweeduk:
Damn hadn't tried it irl, it had been spot on with the routes id tried but I had noticed things were out in street view :-(

Anyone know if its hackable in the same way nav was? There must be something in the directions from the uk to say which side we drive on because google maps is usually ok for routing afaik

edit: it has me routed on the left hand side for dual carriageways on the map and I can't seem to find any routing problems at the minute typing a few random places in from home, think nav uses google maps for directions anyway and that works for UK

edit2: Also if it thought we drove on the right then wouldn't all directions at roundabouts would be wrong?
[G1 Android Development] greglhc:
lol, awesome work nonetheless, thanks brut.all!
[G1 Android Development] walie:
anyone have an issue with protected apps disappearing?
[G1 Android Development] elzee:
Took mine for a drive yesterday and it works fine here. I zoomed in as far as I could. I can't see this problem in Australia. Not suggesting you're wrong but is it the graphic compnent or the nav component that's incorrect for you?
[G1 Android Development] canadiancow:
We're not rewriting the app, we're just making minor changes. Suggestions on functionality should go to Google.
[G1 Android Development] Jonno12345:
Looks like a fair amount of evidence pointing my unit to be at fault then, lol. I was driving on a motorway, and it was drawing the car on the right carriageway. I'll test it further when I can, although the responses look clear enough =p thanks guys, I won't cast this aside just yet ;p

Edit: Tested, checking a roundabout... was definately wrong, telling me to take the 1st exit in order to turn right... redownloaded, removed and reinstalled, and now it seems fine... I'm confused to say the least, but very glad =D thanks all.
[G1 Android Development] migalito:
I've bought Twidroid Pro (one month ago) and now I can't even find it on the Market. Is there any relation with the modification in build.trout.prop? If I restore build.trout.prop the navigation still works?
[G1 Android Development] canadiancow:
I'm getting an icon for NavLauncher that doesn't violate any copyright laws, and then I'm going to see about putting it in the Market for easier downloading and updating.

I've modified it so that it's a lot nicer for picking contact addresses, as was suggested by a few people. I've got a few more things to do, then I'll upload it.
[G1 Android Development] canadiancow:
I've got NavLauncher in the Market now, for easier downloading and updating.

Search the Market for "NavLauncher", go to market://search?q=pname:com.madcowsolutions.NavLauncher on your device, or scan this QR code:

Discuss this app at http://navlauncher.madcowsolutions.com
[G1 Android Development] robotician:
it worked perfect.

Thanks for your hard work.
[G1 Android Development] squbel:
This is just awesome!

Used your instruction from first post and it worked like a charm.

Tested new Google Nav with canadiancow's Launcher on my G1 and it's absolutely brilliant!

Works perfectly in New Zealand (note same left side driving as in UK) - not a single mistake during 45 min drive.

Thank you guys!

Ps: new version (1.4) from market won't install on my CyanogenMod 4.2.5 - "Package file was not signed correctly."
[G1 Android Development] bfikkert:
Nav Netherlands

Just done the steps from first post.

Works like a charm.:)

Thx. to all dev's for making this possible.

Bob
[G1 Android Development] apacheo:
Tried this with a 32a. Followed the instructions in the first post to the letter.

No 'Navigate' option :/

(Edit: I should note that as i have a Sapphire, I edited build.sapphire.prop also. Didn't help.)
[G1 Android Development] GregorVucajnk:
Try uninstalling the previous version first. Then do a clean install of 1.4. Worked for me like a charm on 4.2.5.

Btw, props to canadiancow and everyone that contributed to this. Thank you.
[G1 Android Development] squbel:
Thanks! Worked fine after uninstall.

Once again: Kudos to Brut.all and canadiancow

Ps. Mam nadzieje ze ten Krakow do Warszawy to nie przypadek ;)
[G1 Android Development] kawazzzzzz:
For information, there's a beautiful arrow icon here : http://www.iconspedia.com/icon/move-arrow-1335.html

It's licensed under a Creative Commons Attribution-Noncommercial.

Or GPS icon : http://www.iconspedia.com/icon/gps-device-map--631.html (free non-commercial use)

Thanks again for your work.
[G1 Android Development] bolmedias:
Canadiancow, you are awesome!

And Brut.all you are even more awesome!

Navigation now works beautifully for me
[G1 Android Development] Brut.all:
Nie, to nie przypadek - taki drobny, patriotyczny akcent ;-) Choć akurat mieszkam w okolicy Katowic :-)
[G1 Android Development] coredalae:
Maybe we should mention in the start post that it only works with locale supported by the speechsynthesis.

other than that, NICE WORK ALL. ^^
[G1 Android Development] sicksand:
just to inform.

works great in Malaysia.
[G1 Android Development] migalito:
I'm trying to help a friend with HTC Magic (32A). He followed the steps in the first post but he is unable to start navigation.

For HTC Magic (32A) we have to modify build.trout and build.sapphire, right? Is there any additional step to do? He is running CM 4.2.5.
[G1 Android Development] Zappletoo:
A friend of mine had a lot of problems with a Magic as well.. After installing and uninstalling then reinstalling Google Voice 2 or 3 times he finally got it working.
[G1 Android Development] cqms13:
Do you need a data connection for this to work (on the road)?

Can i set my journey using wifi at home and not use 3g while navigating?

j.
[G1 Android Development] canadiancow:
That's what I've been told, but I haven't tested it.
[G1 Android Development] olearyp:
In the US, and the app still works great. Makes getting to nav much faster and easier. I knew there was a reason, other than technical curiosity, I was watching this thread. (I'd have left this on the app's homepage, but it appears to be down.)
[G1 Android Development] migalito:
I've make some tests and maps seems to be in cache (2D), but when tried with Satellite View it seems there is a limit for maps cache.

It will be great if someone can make a form to cache the maps for offline use.
[G1 Android Development] canadiancow:
Great to know that the app is useful everywhere. I'm upgrading some stuff on the web server right now, but it should be back online within 30 minutes.
[G1 Android Development] Kuulthag:
guys where do i give these commands to install navigation ?
[G1 Android Development] Baldyman1966:
If there is stuff about the first post you don't understand you will need to do some homework first.

Can you explicitly state your problem, do you have and know how to us adb? what OS are you using on your pc?
[G1 Android Development] Kuulthag:
OS??????????????
[G1 Android Development] canadiancow:
There are a few people who have left comments in the Market saying Nav Launcher force closes. Has anyone else experienced this problem?

I think it's due to them not having Navigation installed, so I'm going to add a check for that.
[G1 Android Development] lalalala1:
dear canadiancow i have tried to download off the market but im getting an error: "package was not signed properly"

any idea what im doing wrong?!
[G1 Android Development] rac2030:
Just to let you know, i update my NavStarter with the possibility to get a List of Contacts and Navigate to there address.

See http://www.2030.tk/navstarter-starting-google-navigation-easy-way

for Screenshots and Downloadlink.

@canadiancow: As you don't open the source, I don't know how you did the contacts selector but with your app I get the same problem I had that entries without address get listet.

I did just a short check if ContactMethods.DATA from this entry is NULL and discard it, take a look at my source and you see what I mean (http://code.google.com/p/andrac/sou...et/src/ch/racic/android/gnav/ContactList.java)
[G1 Android Development] Baldyman1966:
No problems here, works just fine. Thanks for all your work.
[G1 Android Development] neoyagami:
it stopped working

i just start the reference data to sync up my contacts and the nav options stop to work

the shortcut in the homescreen still launch the navigation but it closes inmediately :(

y reinstalled everyting

i dont want to wipe... but is the last thing i could do :(

EDIT

i fixed it

before the problem i just installed dolping browser.. i unistall it

delete the dex uninstall and reinstall, reboot and voila . navigation again
[G1 Android Development] canadiancow:
You need to uninstall it first. Up to and including 1.4, they were signed with a development certificate. 1.5 and up were signed by my own, so the certificates are different. Going from development to Market requires a full uninstall of Nav Launcher.
[G1 Android Development] canadiancow:
Mine only shows contacts with addresses since 1.4
[G1 Android Development] rac2030:
Yes but on my phone, some contacts have an entry with kind.postal but it's set to NULL, maybe because they had an adress and i deleted the adress, this leads to the situation that your list shows them but without address.
[G1 Android Development] lalalala1:
Worked a treat, but now im getting navigation to your destination is not avaliable and have to exit the program (i am using your program to enter the destination and pressing navigate). I have uninstalled/installed google voice cleared cache and data of maps

any idea what im doing wrong?!
[G1 Android Development] canadiancow:
Did you use the Maps.apk file from this thread?
[G1 Android Development] lalalala1:
got it thank you very much! works ace now!
[G1 Android Development] damokay:
Thanks so much! Worked first time on TheOfficial EU rom - I love it!
[G1 Android Development] myshyak:
Thanks to all of you.It works grate for me on 32B Magic here in Ukraine.

I do thing that the next Think Tank should be to enable offline navigation- to cache maps of the ho;e city before not to be online all the time.

There is an application called Bigplanet ( http://bigplanetmaps.wordpress.com/) that is open source and allows to make map cache of wi-fi. Maybe you can, somehow to connect those 2 apps to allow offline navigaion

And the second wish to the creator of Nav Launcher: Maybe you can add there 2 buttons- Home and Work? Because very often you have to go to those 2 addresses....
[G1 Android Development] canadiancow:
Map caching won't work, because Google Maps only caches the images, and routes are calculated on the server. It was really built from the ground up to be used with an active data connection.

As for Nav Launcher, that's a great idea, but I think I'd rather make the buttons customizable than force them to be "Home" and "Work".

I'll look into it for the next version, but this app is getting a LOT more complicated than I had originally planned :P (not that I mind)
[G1 Android Development] myshyak:
2canadiancow:

Thanks again for you grate work. You can turn you Nav Launch into a real GUI application for Google Navigation ;-) Likie Igo or Gamin ;-)

Regarding caching: is there a possibility to separate those requests to google servers- the one with route planning and the other for map tiles? this way we can still get directions from google servers, but to forward request for an img of map to the local server with local storage
[G1 Android Development] myshyak:
Another thing: There is much easier way to "fix the maps" given in Think Tank 1 thread.

There it is done with the help of Update.zip file, patched through recovery.

And, I am not sure, but seems that they are using your maps.apk or you can just replace it in achive....Thant much easier to do it that way then about 20 commands given in the first post :-) So consider giving that variant as well ;-)
[G1 Android Development] Brut.all:
I'm stiil trying to fix this Navigate button problem, but I don't get it. It seems Google uses some scrambling just for this part of an application :-/

These "Show on map" and "Navigate" icons don't even exist in drawable dirs! O_O There are very similar or even identical da_ic_list_navigate and address_off icons, but we could change them to something else and they remains the same.

Likewise I didn't find "Show on map" and "Navigate" texts nowhere in the app. I could change every icon or text, but couldn't these few on directions screen :-/

Is there a possibility to include prebuilt app components? I thought about assets, which could be decoded by app itself, but there isn't one. Actually I didn't find any suspicious-looking binary neither in resources.arsc, res dirs nor in Java sources. Also app doesn't download any non-route data.

How is it possible? From where does app get these icons/texts? This is really, really weird... :-/
[G1 Android Development] StephanV:
But then how is it possible that there are iPhone apps that enable Google Maps for offline use: they cache both the images and the route(s). iPhone GM and Android GM are not identical, but I suppose the cores are pretty much the same?...

Great app btw, thank you all!
[G1 Android Development] Brut.all:
Android GM fetches from servers entire route data and keeps it in memory. So until you close navi session or leave designated path, you should be able to navigate without internet access.

Is it similar in these iPhone apps?
[G1 Android Development] StephanV:
No they go way deeper, you can for example download all the zoom levels for a specified area to the built-in memory card.

http://www.nambrot.com/Maps_Offline.html

This is outdated (OS 2.0 and 3.0 not supported), but might give you an idea
[G1 Android Development] TAPP:
The Perfect Patch

Not Responsible For Users Applying This Patch.

WorldWide Navigation on Rooted and Non-Rooted Phones.

Install and Play.

By The Anonymous Perfect Patcher
[G1 Android Development] Brut.all:
But this is map caching, not route caching.

Map/images/tiles caching - simple one. I have seen such apps for Android also and yes, they could download and cache map for specified area and zoom levels.

Route caching - possible in some extent only. It is calculated on server side, so client could save results only. From your link: "saving routes for later use" - it isn't the same as "generate routes in saved area", is it?
[G1 Android Development] StephanV:
Yes the map caching was just one example, there is also route caching. It indeed cannot generate routes, but sometimes just saving a specific route can be quite handy.

But it's especially about the map caching, because my provider atm only provides EDGE, and zooming in & out is liveable, but not as smooth as it should be, hence my wish for map caching.

Do you have any example of one of those apps? I know there's plenty of apps that can store maps, such as AndNav2, Bigplanet, ... but I haven't found any that uses Google Maps' interface?

And what is this 'Perfect Patch'?

Edit: Googled it, looks like spam...
[G1 Android Development] TAPP:
Google Maps 3.2.0 Patch

No "build.prop" Editing Required.

WorldWide Navigation With Navigate Button In Directions.

Installable on Non-Rooted Phones.
[G1 Android Development] Brut.all:
No, it isn't.

TAPP, man, you are awesomeness, than I ;-) I have missed that "maps_enable_navigation" flag :-)
[G1 Android Development] StephanV:
Cool!

How do I install those .diff files? Never seen it before...
[G1 Android Development] Viperaces:
hi, first of all great work on the NavLauncher.

I have a question, once new themes have been installed and the navlauncher is clicked it goes to the nav and searches gps signal for 5 seconds then freezes and reboots.

ive tried it using 4 different themes and all of them make the G1 reboot.

in every theme i have uninstalled and reinstalled the maps and navlauncher as described but it doesnt seem to help.

is it due to the navlauncher and can this be fixed? or is it the Themes that need to make the needed changes to work with the launcher?

Thx
[G1 Android Development] walie:
Do we just install this patch from recovery?
[G1 Android Development] StephanV:
I don't think so, it's not a zip file, .diff files are text files that contain changes to a file. adb install doesn't work, and adb push doesn't seem to do the trick either...
[G1 Android Development] bkmo:
You are just about ready to release a Maps.apk with the new patch right? ;)

You guys are awesome BTW. Thanks
[G1 Android Development] rac2030:
I just updated my NavStarter app, it now includes history (just in a List at the moment but will integrate it as suggestion provider in next version).

Like alwas DL Link => http://www.2030.tk/link/navstarter

@TAPP I'm still browsing trough the diff to see what all get changed but thx for the work, especially for the "nonrooted" work, that will make a lot of Milestone users happy...
[G1 Android Development] canadiancow:
Is it possible to patch it from within the device? I'd love a patch button in Nav Launcher.
[G1 Android Development] Brut.all:
If TAPP doesn't mind I've built maps with his patches included.

Version for root users is installed the same way as that from this thread, except *.prop editing which is not necessary now.

Version for non-root users is just installed - without any hacking :-)

Of course you could install non-root version in root environment as well, but then you will have doubled maps app in your system. Non-rooters must have it doubled.

http://drop.io/rxbqaw4/asset/maps-root-aligned-apk

http://drop.io/rxbqaw4/asset/maps-no-root-aligned-apk

Thanks a lot, TAPP! :-)
[G1 Android Development] StephanV:
Woohoow!

Thanks an awful lot you both, working great now!
[G1 Android Development] Brut.all:
And this will be very irritating, because both maps are identical in menu and of course only one of them will work. Same in shortcuts menu.

I think non-root version should have it's name changed to distinguish it from original maps. And this is single imperfection in your Perfect Patch, TAPP ;-)

EDIT:

Or, better, changed icon. Name depends on locale.
[G1 Android Development] TAPP:
Google Maps 3.2.0 Icon for Eclair is Different from Google Maps for Donut Icon. :-)
[G1 Android Development] bkmo:
Just curious why I have these results with the patch?

patch -p1 -i The_Perfect_Patch.diff
patching file ab/b.smali
Hunk #2 succeeded at 730 with fuzz 2.
patching file com/google/android/googlelogin/GoogleAppsVerifier.smali
Hunk #1 FAILED at 61.
1 out of 1 hunk FAILED -- saving rejects to file com/google/android/googlelogin/GoogleAppsVerifier.smali.rej
patching file com/google/googlenav/android/k.smali
Hunk #1 succeeded at 454 with fuzz 2.
patching file G/c.smali
patching file u/b.smali
patching file W/c.smali
Hunk #2 FAILED at 173.
1 out of 2 hunks FAILED -- saving rejects to file W/c.smali.rej
patching file z/z.smali
Hunk #1 FAILED at 3110.
1 out of 1 hunk FAILED -- saving rejects to file z/z.smali.rej
[G1 Android Development] canadiancow:
Awesome work. I've updated my post.
[G1 Android Development] Brut.all:
Are you patching Maps 3.2.0 version (that from Think Tank #1 thread)?
[G1 Android Development] jb0072009:
I have a question. Has anyone tried this in Saigon Vietnam yet? I work here and Google maps work on the G1 but directions do not. Same thing on the PC
[G1 Android Development] bkmo:
I think I may have pulled it from the Milestone dump. I will try the one from the #1 then if that is what it was diffed against. Thanks

Edit: Same results from Maps.apk in Navigation.zip from the #1 thread. Dunno, but doesn't matter as you released a patched .apk while I was dicking with it. :)
[G1 Android Development] bkmo:
Same here in Costa Rica. There is no directions in maps. If you get navigation working it responds with route not found. The problem is that Google has no street mapping here.
[G1 Android Development] hengsin:
Tested http://drop.io/rxbqaw4/asset/maps-root-aligned-apk, navigation works at Malaysia on cm 4.2.5. Thanks for the great work!
[G1 Android Development] walie:
i can't uninstall the original maps using the directions in the original post

can someone provide the commands that used to be in the first post to delete the orginal google maps?
[G1 Android Development] StephanV:
adb remount

adb shell rm /system/sd/app/*Maps*

adb shell rm /system/sd/app/*maps*

adb shell rm /system/sd/dalvik-cache/*Maps*

adb shell rm /system/sd/dalvik-cache/*maps*

adb shell rm /data/app/*Maps*

adb shell rm /data/app/*maps*

adb shell rm /data/dalvik-cache/*Maps*

adb shell rm /data/dalvik-cache/*maps*

adb shell rm /system/app/*Maps*

adb shell rm /system/app/*maps*

adb uninstall com.google.android.apps.maps

adb reboot

adb install -r Maps-root-aligned.apk
[G1 Android Development] walie:
sweet thanks!
[G1 Android Development] Kurius:
adb install -r Maps-root-aligned.apk didn't work on either of my phones however i did adb push Maps-root-aligned.apk /system/app/Maps.apk and that worked. just a heads up encase anyone is stuck on intalling..
[G1 Android Development] Brut.all:
It won't work if you don't uninstall old maps.