yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] 5m00v3r:
Re: [APPMOD][05.05.10] Brut Google Maps 4.1.1.4156-brut9

hi mr cow,

finally i've updated to the newest version of NavLauncher. But suddenly i realised that the new ui is missing!

Now i feel sad :-(

Just joking, but I hope to get this soon.

Have a nice day Bro!

Sent from my HTC Dream using the XDA mobile application powered by Tapatalk
[G1 Android Development] Brut.all:
http://www.google.com/search?q=google+maps+"searching+for+GPS"

I think it is an issue of GM or even system, not my mod. Did you tried to run original maps with same version? Or any other app, which uses GPS?

Both caused by lack of GPS fix.

Position could be taken from cell towers or WiFi networks too. And this could be quite accurate.

It is. I think it is also caused by first issue.
[G1 Android Development] akakiakakievitch:
Hi brut.all!

Thanks for your answer and thanks for your great work on this mod.

As far as you're concerned, all the troubles I encounter with GM are due to a GPS lack, right?

In this case, what can I do in order to solve this problem?

Are there some 2.1 rom known to be better than other in dealing with gps?

Are there some appz that help the gps to fix (as, for example, GPS Rapid for Windows Mobile)?

Any advice would be welcome!

I've been struggling with my phone for three days in order to make google nav work!
[G1 Android Development] Brut.all:
Except that about NavLauncher - I think so.

You didn't answered my question about whether you have tried other apps. You could install GPS Status 2 from Market. If it will have problems with getting GPS fix too, then you should search for help somewhere in the internet, but not in a thread about Maps :-)
[G1 Android Development] akakiakakievitch:
Sorry for the late answer.

I've just tried to get gps fix with GPS Statuts and with GPS Test.

The both worked fine.

Even when using GM, the gps icone is staying fix (not twinkling)... but I still got the same message (searching gps) and the same weird behavior (view from top, position symbolized by a dot...).:confused:

Is GM supposed to re-compute the itinerary if you get out of the initial one?

Thanks!!
[G1 Android Development] ro-mann:
I have a curious bug with the latest version! The directions are written in German, but the Voice Guide is suddenly in English reading the German text, which is of course unintelligible!

Regards,

Roman
[G1 Android Development] Brut.all:
And if you have directions in German, then I guess you have "force navi locale" disabled?
[G1 Android Development] :No-Frost::
Hey Brut... I've noticed today that now we have "banners" in the maps (at least in version 8)

I look for Eiffel tower and suddenly a pop up appears in the top of the screen saying something lik "Find hotels, plane tickets, bla bla bla"... xD

Foor everything else is working amazing :D thanks for all the work mate =D...
[G1 Android Development] canadiancow:
Those ads were definitely there in brut6. I posted about them. I think they were enabled server-side quite recently.
[G1 Android Development] bjtheone:
It definitely does... You get a large "rerouting" banner across the top and it recalculates a route based on where you currently are.
[G1 Android Development] bjtheone:
Well there are multiple front ends to the installer, plus you could always use ADB and shell commands. I know that I sometimes take "shortcuts" or do weird things when I am messing around.

Also, three observations:

1) When you get a long street name direction, for say a road that has a name and a number it puts it all on one line, shrinking the text to fit. I have no idea what the message formating is like in Java, but it looks like if it wrapped to two lines you would be able to use a larger font in the same bounding box.

2) I get funky behaviour with merges onto highways (on ramps), where I get the "merge on highway # blah" message as expected as the next turn, but then it stays in the next street message box for a long time. On several occasions it stayed there even after the next instruction came up, which happened to be the off ramp instruction. At that point I had three tiny lines of text in the message box. Once the next street was a normal surface street it cleared out and went back to normal.

3) Some regional roads (like March Road/Regional Road 49) show up as 49 in the current street box. Some highways (like Queensway/417) don't show up at all, while others do.
[G1 Android Development] canadiancow:
1. It's strange. Sometimes it wraps, sometimes it doesn't.

2. I doubt we'll get much better without official Navigation support in Canada.

3. See 2.
[G1 Android Development] akakiakakievitch:
Hi there!

Here are the latest news:

I've downloaded the demo version of ndrive and the gps fix came after about 1min... and it worked fine.

still searching the issue...
[G1 Android Development] ro-mann:
Re: [APPMOD][05.05.10] Brut Google Maps 4.1.1.4156-brut9

yes, but this bug only occures on my Nexus One. On my G1 the directions are in German!

Regards, Roman

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[G1 Android Development] 1024k:
On my G1 superD 1.11 i needed to uninstall the app before update.

Updating force reboot.

Thanks
[G1 Android Development] bemymonkey:
Latest version works great after uninstalling the previous version - Thumbs up from Germany!

Does this version pre-cache the map material for the entire route? Or would I need data access along the whole route?
[G1 Android Development] copy.cat:
I have upgrade from maps4.1.0-brut to maps4.1.1.4156-brut9.

but lost the multi-touch to zoom in/out function.

did I do something wrong ?
[G1 Android Development] Brut.all:
GM caches route info, but not map tiles and if you leave route, then it will need data connection to reroute anyway. GM is designed to work in online mode most of the time.

Are you sure you had 4.1.0 and not 4.0.0? What is your system?
[G1 Android Development] copy.cat:
I have reinstall the old version which I have backup named maps[brut]4.1.0-brut.apk

and it show 4.1.0(#4126)gmm-amdroid-htc in the application.

My system is 2.1 on HTC Legend.
[G1 Android Development] Brut.all:
Hah, that's funny :-)

Original GM requires Eclair to use MT, that hack from brut6 was to enable it for Donut users, not Eclair. It stopped working in GM4.1.0, so I reverted it in brut7 release and that is why you lost MT.

Seems Google screwed up something (or maybe they have a reason for disabling it?), GM don't enable MT for some devices like yours and hack has a side effect of fixing this ;-D

I will look into it, don't want to reenable it for Donuts, but maybe I will be able to find a reason, why it is disabled for your device.
[G1 Android Development] copy.cat:
got it~

thanks for your reply~:-)
[G1 Android Development] onlyone0001:
Porting Mail, Calendar and Sync like Maps to Donut would be awesome. 2.1 versions of these apps support Exchange. Donut needs additional apps for supporting for Exchange, and unfortunately all of them blows.
[G1 Android Development] Brut.all:
Maps wasn't ported to Donut - it was created for it.
[G1 Android Development] bjtheone:
If Brut.all is parsing the "next" strings to determine the symbol to use determining the length should be easy (Note I have never programmed in Java, so am making assumptions based on C, Perl, and Perl/Tk, which I have programmed in extensively). Based on that it should be possible and "cheap" computationally to format the string. It certainly shrinks the font to fit.

Same idea as above. If ramps have a certain behaviour it should be possible to clear out the message after either a certain amount of time or distance travelled.

Of course this is simply polishing and I am thrilled to have most of the turn symbols and the next street messaging working.
[G1 Android Development] Brut.all:
Could you guys try to find, whether these issues are random or occurs always in the same places? If last one, then I will be able to reproduce it on an emulator and see what is going on.

Ahh and you're saying that there is (exactly) "Merge on ..." direction? Confirm and I will add symbol for it :-)
[G1 Android Development] canadiancow:
I was just sent this email (presumable through the email button in the Market for Nav Launcher):

Enhorabuena por tu trabajo, y a los mapas de Brutt.all, que ya funcionan fuera de los EEUU.

It roughly translates to:

Congratulations on your work, Brutt.all maps, which operate outside the U.S..
[G1 Android Development] ro-mann:
Still having this problem! The settings are exactly the same on the Nexus and the G1! I've uninstalled and reinstalled the latest version on the Nexus, but it still occurs!

Regards,

Roman
[G1 Android Development] JonasDroid:
Too bad the MT is gone, I loved it :( (Had it on brut 6 (HTC Legend (Android 2.1)))

But nice job with added street names and turn symbols

Prefer that to the MT but both would be even better :p

Maybe an option to switch it on or off?
[G1 Android Development] 5m00v3r:
Re: [APPMOD][05.05.10] Brut Google Maps 4.1.1.4156-brut9

I have MT working on G1 with cm5 so i'm on 2.1 like you. So I have both :-) I don't know why you haven't.

Sent from my HTC Dream using the XDA mobile application powered by Tapatalk
[G1 Android Development] Brut.all:
Yeah, will be in brut10.
[G1 Android Development] chowlala:
Hi. Sorry to kinda hijack this thread. But it's about the navigation anyways. =P

I keep getting a "data connection lost" thingy.

Which can't be right because I'm very sure I have data connection. I've tried both WiFi and 3G, I get the same problem when trying to get it to navigate somewhere.

Any ideas?

Running on a Nexus One CM 5.0.6
[G1 Android Development] JonasDroid:
Nice! :D

Thx for the quick reply
[G1 Android Development] kherio:
english vs spanish

Im from spain and the indications are in english..... :(
[G1 Android Development] 5m00v3r:
Re: [APPMOD][05.05.10] Brut Google Maps 4.1.1.4156-brut9

thats because it's forced! you can change it in the settings but than you will not have the arrows.

Sent from my HTC Dream using the XDA mobile application powered by Tapatalk
[G1 Android Development] Brut.all:
Or you could wait for brut10 and I think you will have everything except turn directions in Spanish :-)
[G1 Android Development] RdKetchup:
I also started having the data connection lost problem in the past few days, on a Nexus One running the stock ROM.
[G1 Android Development] bjtheone:
I have a loop near my house that Google considers a major highway with 3 convenient on/off ramps. Will do some investigation and note the behaviour and messages. See if it is consistent.

If you want a route that does the funky on ramp message you could try

936 Teron road, Ottawa, Ontario, Canada to Bayshore, Ontario, Canada in the emulator.

The "Merge onto ON-417 E via the ramp to Ottawa" instruction will hang around until you get to the off ramp at exit 130, which is over 6 km away.
[G1 Android Development] djdamon:
Re: [APPMOD][05.05.10] Brut Google Maps 4.1.1.4156-brut9

Hey just using it now and it tells me like at the last second to turn no warning saying turn coming up just turn now lol any way to fix that to give me more notice... Thanks

Sent from my Nexus One using the XDA mobile application powered by Tapatalk
[G1 Android Development] canadiancow:
I wish there was a list of known issues somewhere obvious.
[G1 Android Development] themapleboy:
hey do u need data for this to work? and if not can i make a request for a future feature (downloading maps)
[G1 Android Development] envision29:
I have just downloaded new version 4.1.1.4156-brut9.apk but when I try to install in on my Xperia x10 my phone reboots every signle time without letting me to install it. Also my nav launcher won't work, it says "you have chose to use the modified brut.all version of google maps, but you do not have latest version installed" and give me the link to install, it then downloads 4.1.1.4156-brut9.apk and once the installation begins the phone restarts itself. Can anyone help me please ?
[G1 Android Development] djdamon:
yer but i guess he cant really just make a website up without google shutting it down

do you get the last sec turn now 2?
[G1 Android Development] Brut.all:
Yeah, I would have some issue tracker and wiki, but it would be far too much :-)

I will try to keep TODO, issues and FAQ up-to-date in first post.
[G1 Android Development] Brut.all:
I hate UIs. ~3hrs wasted just to add info & credits to Brut Mod screen :-/ I would make some code-wonders in this time :-/
[G1 Android Development] bjtheone:
It has exactly the same requirements as Google Nav, as it is almost the same code with some brilliant tweaks to enable navigation to work outside of the currently Google blessed regions (basically works everywhere Google Maps works). Given that Google Nav needs data and does very limited caching of the route and not the map tiles, Brut.all's version has the same requirements.

Having said all that, I believe he is looking at adding tile caching to a future version but it is a non trivial addition.
[G1 Android Development] bjtheone:
Only suggestion I have is to do what Amon_RA has done and put the disclaimers and limitation in a large red font right at the front of the first post, before the actual description, changelog, etc.

Unfortunately making things fool proof is almost impossible.
[G1 Android Development] canadiancow:
Yes you do, and that's not a practical suggestion. The route must be calculated on the server, so downloading maps won't help with this.

Clearly, no one understood my sarcasm, as that issue is clearly outlined in the OP.
[G1 Android Development] Brut.all:
Yeah, I did it! And it took me just 4 hours! I'm a god!

Seriously, how such thing should be done? I didn't have any problems with adding text element nor even mixing PreferenceScreen with custom layout. But I needed 4hrs to give this f* TextView Android-like look.

I don't like apps that look like they were created for different platform. These white-text-on-black lists are everywhere on Android, so I wanted to give this TextView consistent look with below preferences. I searched for some standard element, style, etc., but found nothing. If I use ListView or PreferenceScreen, then this style is a default, but how to use it in normal TextView? I had to look into Android sources and copy XML attrs of simple_list_item_1, but this is totally stupid.

Now I'm going to add some link to XDA thread and I want to give him a link-like look. See you in five hours!

Did I said already, that I hate UIs?

P.S.

canadiancow: now you now, why it was funny to me, when you asked me on IRC about something on Android app development ;-)

[EDIT]

Ahh and still look isn't consistent because preferences have different left padding :-/
[G1 Android Development] canadiancow:
Upload the layout XML and I'll take a look when I get home. You have more important things to work on :p
[G1 Android Development] Mehumummo:
Very nice one, thank you.

I'm just wondering that navigator should be available for all world now, right?

Why can't I get it working on normal version of maps?
[G1 Android Development] Brut.all:
Google permits to use it in US and UK only for now. Licensing concerns.
[G1 Android Development] canadiancow:
It's more than licensing. Canada's entire map dataset was switched from "Google + Tele Atlas" to just "Google". So Google owns all their own map data in Canada, yet they aren't allowing Navigation here yet.

I've been checking fairly often to see if it's been enabled server-side, but alas, I'm still "stuck" with your mod ;)
[G1 Android Development] petterware:
Error installing maps

Hi,

I just can't install this apk. I have uninstalled the original maps, but when I try to install this one (the brut9 one) it tells me "analysis error" and it won't install.

Any idea what's going on?

I have cyanogen 5.0.7 test2 in HTC Magic 32B.

Thx!
[G1 Android Development] canadiancow:
I don't know what analysis error is, but other people have successfully installed on in 5.0.7 test2.
[G1 Android Development] 5m00v3r:
like me :-) it works just fine!
[G1 Android Development] 3wire:
Need mirror

Hi,

Cant access upload.to. can someone provide me an alternate mirror? Thanks!
[G1 Android Development] 5m00v3r:
in my signature
[G1 Android Development] 3wire:
rapidshare does not work for me as well... :(

can PM me?
[G1 Android Development] 5m00v3r:
You can easily use this link -> http://iobic.de/brut9 from you g1 stockbrowser

it guides you to http://ul.to/dhhonj/maps4.1.1.4156-brut9.apk from the first post i´ve just shorten it for easy typing and ul.to works fine in stock browser...
[G1 Android Development] canadiancow:
So I just drove a friend to the airport (CYKF). I used brut9.

The arrows really make a difference. They're great. It was only for an onramp that nothing showed up, but it didn't affect me.

Now, here's something interesting. Google Maps Navigation put me right in front of the entrance to the terminal. I was amazed. Even though YKF is a small airport, it still takes a bit of sign-reading to navigate through. But with Google guiding me, it was a breeze.
[G1 Android Development] Brut.all:
http://ul.to/giipcu/maps4.1.1.4156-brut10.apk

Map tiles are written to /sdcard/brut.googlemaps/tiles . If you want to see, what is going on there, you could enable debug mode and look into logcat (but remember to disable it!).

If you find some application, that could automatically download tiles for some area and store them in PNGs in Z/Y/X files structure, then you should be able to use it to feed this cache, but... I will probably change store format to something better and more compatible with map downloaders.

Ahh and this cache works for maps only. Navigation uses totally different maps - vectors, not images. I think it may be possible to cache them too, but they don't eat much data transfer and we would have to write our own area downloader if we want some.

@copy.cat

Let me know whether MT fix works for you.
[G1 Android Development] copy.cat:
hi Brut~

The MT is working now.

Thank you very much.;)
[G1 Android Development] Gazorninplat:
Any mirrors for brut10?
[G1 Android Development] 5m00v3r:
in my signature i´ve updated brut10 is on

GoogleBrutMaps Brut10 on Rapidshare
[G1 Android Development] Gazorninplat:
Thanks so much!!!
[G1 Android Development] hjlow:
also put mirror up at my blog
[G1 Android Development] scootley:
Brut.all,

I noticed that the android:versionCode in your AndroidManifest.xml is the same between, for example, version 8 and version 10.

Do you do this on purpose, or is it a mistake?

It causes some weirdness, like for example "adb install" gives an error like this:

Failure [INSTALL_FAILED_ALREADY_EXISTS]

Which I believe is because of the unchanged versionCode, and requires the "-r" option to "adb install"

Update:

I guess maybe you are trying to keep the versionCode as Google original put it, so it's at 4156, but I wonder if there is really any harm in you incrementing it, since it is really supposed to be incremented. Your numbers will always be ahead of Google's, but I don't see that as an issue.

You could do something funky like multiply their number by 100 (or 1000) and use the last 2 digits as your version number, so 415608, 415609, 415610, etc.
[G1 Android Development] Blackman778g:
Re: [APPMOD][08.05.10] Brut Google Maps 4.1.1.4156-brut10

MT does't work for me :(
[G1 Android Development] atsic:
Installed the app. So Some stuff. the multitouch is still not working even if i'm using the last cyanogen version of the eclair, the test3.But for me this one is not a real problem.

The only real problem is that i don't have the layer buzz on the app. I'm in Romania actually and i'm using an italian language version of the app.

There is a solution to fix this problem somehow???
[G1 Android Development] Brut.all:
@scootley

This is so obvious to me that I shouldn't modify versionCode, that I don't even know, how to explain it to you. Google has his revisions and I have my (brutX). I can't invent GM revisions for them - it would be totally stupid, sorry ;-)

Similarly when for example Ubuntu repository maintainers want to change location of installed Firefox, but keep same version of it, they don't think: "Ok, Firefox in last package was 3.6.3, so we name next package 3.6.4 or 3.6.3.1.". They add some postfix: 3.6.3-ubuntu1, 3.6.3-ubuntu2.

$ adb install maps4.1.0.4124.apk
956 KB/s (3554508 bytes in 3.628s)
pkg: /data/local/tmp/maps4.1.0.4124.apk
Success
$ adb install maps4.1.1.4156.apk
1162 KB/s (3661236 bytes in 3.075s)
pkg: /data/local/tmp/maps4.1.1.4156.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]

Any more "weirdness"? :-)

I can think about some app backuper, which recognizes apps by their versionCode, so he can't distinguish versions of my mod. But we can't do much with this - versionCode wasn't designed for projects forking. How to decide, whether higher is 4.1.0-brut6 or 4.1.1?
[G1 Android Development] Brut.all:
Do you have it in original maps? I need to know whether it is a bug in my mod or feature request.
[G1 Android Development] atsic:
not even in the original maps is present. Anyway is strange because in the first releases of the orginal maps was included.
[G1 Android Development] Brut.all:
I could try to enable it, but Google probably had some reason for disabling it. Besides... you would have not much use of it if people around you don't have this feature ;-)
[G1 Android Development] atsic:
yeah totally agree with you. the only problem is that before it was working... but don't remember witch version i was using... :mad:
[G1 Android Development] atsic:
and anyway just to be clear. From my desktop i can buzz and if i do the access to the mobile website i can see the buzz near me but only as a list and not on the maps.

In this way it can be useful to see the buzz near me on the maps app and not as a list...
[G1 Android Development] 5m00v3r:
I´m on CM5 test3 and MT works really fine if you force it via the button brut made for us! Just open maps and pres menu -> more -> Brut Mod ->Multitouch!

After this kill the maps prozess or reboot.

Here in germany i can choose buzz as an layer so maybe it´s an local based feature?!?
[G1 Android Development] Brut.all:
I'm on CM5 test3 too and MT works for me without enabling this switch - it's Eclair after all ;-) I don't think it could help many people, but it did for Legend owner above.
[G1 Android Development] atsic:
Mt working, sorry!
[G1 Android Development] copy.cat:
I got some problem here.

I have test the version brut10, and in the begining it still do not have MT.

after I enable the option in setup menu and kill the maps process, it still no MT

then I reboot the phone, maps have MT.

BUT......I lost the MT again now, and I check the setup menu, it show enable.

so I disable and enable it again then kill the procss, it still doesnt work

after I reboot the phone again, now the MT back again:eek::eek:
[G1 Android Development] Brut.all:
Strange. I don't think hack may fail, I think it wasn't enabled for some reason. If exception is thrown during settings initialization, then defaults are automatically set to not FC whole application.

Let me know if you lost it again. And if so, logcat would be really useful. Maybe there will be some exception somewhere in GM initialization.
[G1 Android Development] proengin:
Hi Brut.all,

Excellent work for release 10! Will you consider moving to more efficient sqlite database to store the map tiles like we discussed many posts ago? The Mobile Atlas Creator is an ideal tool that runs on both Mac and PC to grab offline map tiles in different formats - obviously it includes sqlite.

Once again, many thanks for your excellent work.

Patrick
[G1 Android Development] edouard4321:
Hi,

I install the brut10 on my N1 non rooted. It works fine in France. But I have to force the Multitouch.

Only problems :

the directions are written in English and sometimes in French whereas in the brut4 alt they were all written in French. (Edit : I disabled the "Force navigation locale turn" and the instructions are now in French ! Nice)

Vocal instructions don't work well. It just says the first step instruction, after that it says almost nothing.

Regards