yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] amitlondhe:
chrome to phone

any updates coming on brut so that chrome to phone can be used for transferring maps to brut mod??? anyone tried that already???

i am not a big fan of the chrome browser though :(
[G1 Android Development] AgGreSsivEcz:
Grrr!!:mad:
[G1 Android Development] Serpantes:
Windows Mobile?

Hi, isn't there version for Windows Mobile? Google Maps with Navigation is available for Windows Mobile... is there any way to get this BRUT mode to WM? thanks
[G1 Android Development] [deXter]:
It already works with the latest brut. I'm not sure though if it works on the standalone version, but I'm using the brut stockfied version that came on my ROM and sending maps works fine.

Also, you don't need to use the Chrome browser. If you're on Firefox, you can use the addon called FoxToPhone (aka Send To Phone). I use this all the time and works great for me for both normal links and maps/directions.
[G1 Android Development] amitlondhe:
------------------

any tips with IE??? i am still kinda old school i suppose...trust IE more than any other browser :)
[G1 Android Development] [deXter]:
O.o Sorry dude, AFAIK there's no support for IE (yet). You should really give Firefox a try, it's way better than IE (faster, safer, more features)! :)

Check this site for more info: http://browsehappy.com/
[G1 Android Development] dieselboy:
Where can I get instructions for this? I've tried searching and asking but get ignored :(

Thanks!
[G1 Android Development] [deXter]:
On the phone, install the 'Chrome to Phone' app. Open it and allow it to automatically open links, click next, next etc, until it's ready.

On the desktop, if you're using Google Chrome, install the similarly named extension.

If you prefer Firefox, install FoxToPhone.

When you use the desktop addon, you'll be asked to sign-in to your Google account. After that everything should work automatically. Just click on the button on the toolbar and the link will automatically be sent to your phone.
[G1 Android Development] amitlondhe:
thanks man!! appreciate it :)
[G1 Android Development] dieselboy:
As far as I can tell Chrometophone does NOT send map tiles to your android, so is actually pointless!
[G1 Android Development] amitlondhe:
so you saying its not worth trying??? :(
[G1 Android Development] dieselboy:
Thanks for this, I got it working but what is the point? It just saves you typing the address into googlemaps. If you're already out then no point at all :(

Do you know of a way to quickly cache many tiles? I have been trying for a few days and have about 4000 now but thats just my local areas.
[G1 Android Development] [deXter]:
Well I thought that's what you wanted! If you want to cache tiles you'll have to use gMapMaker or similar. The problem is if you try to download at a faster rate, Google will automatically ban your IP.

I just do the caching on a trip-by-trip basis. If I know I'm going to destination A tomorrow, I'll check out the route and download only the necessary files. If I need to go to destination B, I'll get them when I need to.

Generally though, what I do is I get the whole city first at higher zoom levels - that way there aren't many tiles, but still at sufficient enough to see the important road/area names (eg: zoom level 15).

I then get higher zoom levels of complex areas (where lots of turns or parking required) and the starting and the destination areas.

This way,

1) I don't have to download too many tiles and worry about Google banning me

2) Having lesser tiles occupies lesser space, but more than space, RAM and loading time is an important factor so that's another advantage
[G1 Android Development] dieselboy:
THANKS! I'll try that. If I ever manage to map the whole of London I'll upload them :D Would be cool to navigate via street view I think?

Any how, do you have more information about where google bans your IP? This would never be a problem for me though. I use wireless to cache and have many locations to use wireless from. Even at home I can change my WAN IP by changing my PPPoE mac address and rebooting the router.

My mobile is O2. Sometimes I appear on the internet in Germany, and other times from England, but WAN IP addresses there change often :)

Worst case, I'll block google for someone for a short while :(
[G1 Android Development] amitlondhe:
just trying out gMapCatcher to download a few maps...

i am using the brut mod for navigation in india...what i need to know is once the tiles are downloaded...which folder do these go to...

any help is appreciated on this...

thanks in advance :)
[G1 Android Development] krfoy:
I couldnt install brut16. My phone (Tattoo fyodor 0.6.4.2) reboot everytime i trying to install brut16.
[G1 Android Development] amitlondhe:
better yet...is anyone using gMapCatcher tiles on brut???

please do get back
[G1 Android Development] aydahm:
when I try to uninstall the original apps by the adb commands on the 1st page, I execute the 1st two successfully, then on the uninstall command it gives me this error:

/sbin/sh: pm: not found

what should I do?
[G1 Android Development] canadiancow:
Err...no it isn't.
[G1 Android Development] falkenbein:
Does it work with softroot, with the htc wildfire?

"Uninstallation of original maps"
[G1 Android Development] henriquesp:
Navigation View in gMaps 4.4.0 is ok, BTW, if anyone was wondering.

Only drawback is that on landscape mode, it gets extra title bars and hence the actual map area gets really thin in the N1 screen.

About maps caching, once the next version of bruts with easier integration with MAC is released, would anyone be kind enough to create maps packages for the most popular cities in Brazil? :D

BTW, why don't you ppl who have already downloaded several tiles create & share these maps packages, similar to what GPS providers do?
[G1 Android Development] black_math:
Does this automatically update maps if I happen to browse the same area with a data connection?
[G1 Android Development] [deXter]:
They can't, because it's illegal to redistribute the maps.
[G1 Android Development] ryankan1:
Kinda hard to do. My cached map of the Peninsula of Malaysia (slightly larger than the combined the size of Georgia + Florida) is already about 8gb on disk, with 2million files(tiles).

That and it is not even down to level 19 yet...
[G1 Android Development] henriquesp:
Isn't it illegal to alter google maps code as well? :confused:
[G1 Android Development] henriquesp:
Well, something usable will need to be less than 32GB (max size of micro sds nowadays, if I'm not mistaken). And of course you wouldn't just upload it to rapidshare, but creating a torrent feed for the most popular packages would be something considerable.
[G1 Android Development] [deXter]:
Yes, but from personal experience and what I've seen so far, Google is far more protective of

- Their maps being used/accessed without permission in ways which wasn't intended by them

- Their maps being copied and redistributed

I guess brut's mod could be argued as fair-use but if it becomes too popular Google might pull it - they've done so in the past with quite a few programs (Eg: MGMaps)

Here's the ToS for reference: http://www.google.com/intl/en/help/terms_maps.html
[G1 Android Development] canadiancow:
"Fair use" could not be argued. In all countries where Google Maps Navigation does not work, but Brut's mod does, the data is licensed to Google by other map providers for very specific types of usage. Personal navigation is not included in that license.

If the map providers don't pressure Google, I doubt Google will really care, but I think they could easily prevent it from working (at least in future releases).
[G1 Android Development] colin.jones:
I upgraded to Brut-16, but then noticed that if I do a route search from point A to point B (typed in and recognised, but neither of them my current location), then ask it to Navigate the route, the turn-by-turn comes up but the route is from my current GPS location to the typed destination!

I made sure I told it to choose Maps Brut as the navigation app and made it default. I still had the old .apk file for Brut-14 and downgraded, but I get the same behaviour! I don't often try to navigate a route other than from my current location, so I'm not sure if this is new behaviour or it has always done it and I haven't noticed!

Does anyone else see this behaviour??
[G1 Android Development] canadiancow:
It doesn't make sense to allow Navigation to start anywhere other than your current location. It's by design. It's always been like that.

You Navigate to a destination. There is no "from".
[G1 Android Development] [deXter]:
+1

I would also consider this as a bug and not a feature. I've had to use it in the past only to be disappointed that it doesn't work (for instance, it's pretty nice to see turn previews in 3D rather than just look at a 2D list).

Anywys, one possible solution is to use an app that can fake your location, like this one: http://www.androidzoom.com/android_applications/tools/my-fake-location_iirg.html
[G1 Android Development] Brut.all:
I'm back and I got Maps working in Greece and even in the airplane, so I could see, where am I :-)

I won't create WM version of my mod, cause this can't be done easily. But I could help WM devs to integrate same navi hack to WM version. Ofc if this is possible at all: I don't know much about WM, if apps are compiled to native code, then modding GM is nearly impossible.

But saving you typing is the main (and only?) reason to use chrometophone. It's not for sending some large data to a phone, but just addresses, urls, etc. This isn't pointless, many people like it.

The reason why CarDock, ChromeToPhone, etc. don't work with my mod is just this standalone feature. So yes, if you have stockified version then you shouldn't have problems using these apps with my mod. But on the other hand you won't be able to update Maps from the Market without uninstalling my mod first.

This is misleading in GM, because you search for directions from A to B, get list of turns and "navigate" button above, but this button doesn't run navigation for that list of turns, but for something totally different. And I agree, I think it might be useful feature.
[G1 Android Development] rancor187:
sorry seams like a misunderstanding ^^

when I said "maps4" i meant actually "maps4.0.0-brut4-alt.apk"
[G1 Android Development] canadiancow:
Great project. Normally the 32bit Linux requirement would annoy me, but I've already got a VM for Android dev, so it's no big deal right now.

I may take a crack at the "Unnamed road" issue in a week.
[G1 Android Development] Brut.all:
There are a lot of C++ code from Android sources, so I must crosscompile to add support for different platforms. This will be harder and I really don't like C :-)
[G1 Android Development] :
Thank you so much for this!

My mother had an accident on a day trip in Wales and if it wasn't for your mod i'd never had got to her anywhere near as fast. I don't drive and played navigator for my friend who was driving and he was amazed by this, I can't thank you enough.
[G1 Android Development] Brut.all:
I thought you are evil, but evil people don't thank anybody and don't even have mothers! ;-P
[G1 Android Development] :
Even the devil has a heart ;)

And always give credit when credit is due.
[G1 Android Development] proengin:
Thanks. Hope either you or Google will release this feature in the near future - there is always hope.

I tried tile files but imagine the time you need to copy hundred of thousands of scattered .png's to your sdcard, it is not going to be pretty. My idea is to do all the heavy lifting stuffs on PC/Mac then pack them into a database and upload to device.
[G1 Android Development] Brut.all:
Yep, you're right - too many files. I have just tried Mobile Atlas Creator: it's f*ckin' awesome!
[G1 Android Development] proengin:
I'm glad you agree. But the question is whether sqlite is the right format. I've found there is sqlite already running in N1 but have no idea which app(s) use(s) it.
[G1 Android Development] canadiancow:
Many many apps use it. Nav Launcher uses it for storing Favorites and History.
[G1 Android Development] Brut.all:
I will think about it, when I will be taking it.

But not for a large binary data. sqlite is a default storing engine on Android, but in this situation we must consider performance impact and some other things.
[G1 Android Development] canadiancow:
So I was in the process of testing a partially complete update to Nav Launcher. I had brut6 installed, and launched it through Nav Launcher. As soon as it opened, I hit menu, and Exit Navigation. Got back into Nav Launcher, and brut.googlemaps crashed.

03-06 01:06:18.777: ERROR/AndroidRuntime(1361): Uncaught handler: thread main exiting due to uncaught exception
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=Intent { (has extras) }} to activity {brut.googlemaps/com.google.googlenav.android.AndroidLoginActivity}: java.lang.NullPointerException
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.app.ActivityThread.deliverResults(ActivityThread.java:3329)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3371)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.app.ActivityThread.access$2700(ActivityThread.java:119)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1893)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.os.Handler.dispatchMessage(Handler.java:99)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.os.Looper.loop(Looper.java:123)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.app.ActivityThread.main(ActivityThread.java:4363)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at java.lang.reflect.Method.invokeNative(Native Method)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at java.lang.reflect.Method.invoke(Method.java:521)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at dalvik.system.NativeStart.main(Native Method)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): Caused by: java.lang.NullPointerException
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at com.google.googlenav.android.AndroidLoginActivity.onActivityResult(Unknown Source)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.app.Activity.dispatchActivityResult(Activity.java:3828)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): at android.app.ActivityThread.deliverResults(ActivityThread.java:3325)
03-06 01:06:18.777: ERROR/AndroidRuntime(1361): ... 11 more
[G1 Android Development] chrisboyle:
Hi, thanks for this, great work, but unfortunately the new package name since v5 (brut.googlemaps) means that Car Home doesn't seem to want to launch it (Car Home force closes, presumably because I don't even have any package with the original package name). I'll just stick with v4 for now.
[G1 Android Development] Brut.all:
:-/

Seems we must choose between hard to install, root only version and a buggish one :-/ I wanna try with second, but if there will be too many problems, we'll have to go back to support both versions.

Thx for reporting problems.
[G1 Android Development] canadiancow:
That's a bug in Car Home. I just verified it, but it shouldn't crash. It's really surprising that it would crash when Google Maps isn't installed.
[G1 Android Development] canadiancow:
But...but...I just put so much effort into Nav Launcher :(
[G1 Android Development] Super S:
Canada Android 1.5

I love the fact that this has possibilities. Thank you all for doing this. But is there a way of possibly making it work on my Rogers HTC Magic or Dream? They both are stuck with Android 1.5 :mad: as one was shipped to me with the mandatory update, and the other I was too stupid to hold out on and screwed my root so I could get me data back.

The point: until Rogers gets its rear in gear and updates these, is there a way to make it work on an unrooted Android 1.5? Or is it just not possible? Thanks.
[G1 Android Development] Brut.all:
1.6 is a requirement of a newer Google Maps (>=3.2.0 AFAIR), so it would be really hard to port it to 1.5 - sorry.
[G1 Android Development] elzee:
Working just fine on the N1, thanks Brut.all.
[G1 Android Development] Brut.all:
Very thanks for donation! :-)
[G1 Android Development] ideasman69:
hey brut.. firstly i just want to say thanks very much for your work. google nav is by far the best navigation software i've used and your work is greatly appreciated as i live in an unsupported region.

i've been using this since brut14 (not too long) but have 1 issue with the latest version (brut16). it seems to be very easy to replicate on my desire (tried with multiple roms).

- i turn on my GPS

- open up navigation

- pick a contact to navigate to

- it says "getting driving directions" for a long time (up to 5 mins)

to get around it.. i simply quit navigation and then relaunch it. i perform the same steps as above but the "getting driving directions" notifcation only appears for 1 second or so.

Just wondering if this is a known issue or if there is a workaround? I'm happy to put up with it of course but just thought i'd mention it.

cheers!
[G1 Android Development] dieselboy:
This happened to me even before I got brut maps add on.
[G1 Android Development] Brut.all:
Could you look into the logcat during this moment? I guess there are plenty of errors.
[G1 Android Development] Brut.all:
Ok, I have created version of GM with tiles path changed to: {Z-1}/{X}/{Y}.png.andnav (so it's targeted at AndNav scheme). All you have to do is:

Download & install below brutdev version.

Download tiles in AndNav format:

Use Mobile Atlas Creator and make sure you're using AndNav format.

Or download tile-packs: http://wiki.andnav.org/index.php/List_Of_MapTilePacks/ . There are no Google Maps packs, cause they're proprietary, but you could use Mapnik as well ;-)

Open GM, so it will create proper dirs structure on sdcard.

Look into sdcard/brut.googlemaps/tiles-dev/ dir. There should be a map-{locale} or satellite-{locale} (depending on which layers you have enabled) there. Copy all tiles to this dir, so 1-19 subdirs will be directly in the (map|satellite)-{locale} dir. Whole path should be something like: sdcard/brut.googlemaps/tiles-dev/map-en_US/9/286/192.png.andnav

This is not the final solution, but I want to test it before release. Also if you really need precaching then now you have it without hacking.

Please report whether it works properly for you or not. In the case of problems you could enable "Debug mode" in mod menu and look into logcat - you will see where exactly brutmod searches for tiles.

http://www.multiupload.com/8HTIEDQXX7

md5sum: 3e9a3fa7445404ce323e72cf1d7dc472

P.S.

Damn, I should do that several weeks ago :-/
[G1 Android Development] bemymonkey:
Hello Brut.all!

I haven't used Brut Maps for a while, and I was wondering: If you navigate using Brut in a country where Google Navigation works officially, does Brut still use the directions from Maps? Or does it use the "real" navigation directions?

Also, does it enable use of the Navigation view for pedestrian navigation?

:)

-edit- Just tried it again and it works well with pedestrian navigation. I'd still love to know whether it uses the official navigation routes for automobile navigation though, or if it uses the Maps directions there as well.

Thanks for the great work!
[G1 Android Development] Brut.all:
Just disable international navigation in the mod menu :-)
[G1 Android Development] bemymonkey:
Awesome, thanks for the quick answer :)
[G1 Android Development] bemymonkey:
Hmmm, unfortunately I think I jumped the gun on the pedestrian navigation thing - is that supposed to work?

I thought it worked because there was no error message when I tried to launch navigation from Brut Maps pedestrian directions, and it worked. But when I try it with a route that actually has different directions for pedestrians vs. cars in Brut Maps, Brut Navigation always uses the directions for cars, even though it should be using the directions from Maps, and therefore the pedestrian version of the route.

Any ideas how to solve this? Am I doing something wrong? Or is it something that could maybe be added to future versions of Brut?
[G1 Android Development] Brut.all:
I've just tried to get pedestrian directions in my country using maps.google.com and it gave me normal, car turns :-/ "At the traffic circle, take the 2nd exit onto Rynek", wtf? ;-D I think Google may not have data to run this everywhere and if so then it gives you car directions. But I'm not sure.

If some app is targeted precisely at original GM, then my mod won't work with that app. I want to fix this somehow in the future. You could search for "stockified" version of my mod - it will work, but you will need root and some hacking to install it.
[G1 Android Development] bemymonkey:
In Maps mode (not Navigation) the pedestrian route (at least for the route I'm testing) is completely different from the car route, because of a one-way-street. This is true for the original Google Maps application as well as Brut Maps as well as maps.google.com.

It's normal that Google's official Navigation won't do pedestrian navigation here in Germany - gives a error message. But isn't Brut Navigation supposed to use the directions given in Maps? So if I get pedestrian directions in Brut Maps and then hit Navigate, shouldn't it use the directions it just fetched in Maps?

Or is Brut Navigation fetching its own directions and defaulting to car mode? It would be awesome if it could be made to use the pedestrian directions via a menu option, or according to the direction type selected in Maps (if the navigation is launched from Maps)...
[G1 Android Development] dnutzz:
im getting login failed everytime i open brut... is this normal?
[G1 Android Development] canadiancow:
Has anyone else noticed a change in the directions?

A few days ago, it routed me onto "O N four oh one" (or something like that) for the Ontario highway 401. Now it says "Ontario four hundred one".

Also, a few days ago, it had "traffic circles". Now it has "roundabouts".

Or maybe it's because I changed my locale from en-us to en-ca. But I wouldn't think it would make that much of a difference.
[G1 Android Development] [deXter]:
Hmm, I for one would love to know how you got it to say "roundabouts". That's what we call it over here so the term "traffic circle" is just too darn funny. Also, how it says "my-why" instead of moterway, "a-way" instead of "Ave (avenue)" etc.

Could you confirm changing the local has this effect? Thanks!
[G1 Android Development] canadiancow:
Are you using Brut's mod? I'm talking about the stock version, which does get the "correct" pronunciations.
[G1 Android Development] QUEDRO:
After I moved to Chromatic 4.4 (Cyan's froyo RC3) It keep showing me the disclaimer every time I launch the NAV, so I have to mark "Agree" and ok. It's annoying....((
[G1 Android Development] canadiancow:
Err...if you actually read what it says, it's along the lines of "check this box if you want to see this next time".

Don't check it, and agree, and it will never come back :p
[G1 Android Development] [deXter]:
I'm actually using the stockified version, but I don't get the correct pronunciations.
[G1 Android Development] dieselboy:
It made us laugh as well! I never knew what a traffic circle was.. I thought may be a traffic cone or something at first.

Plus, when the voice says Quay it doesnt sound like Key, it sounds like Gay. So thats funny as well :D