yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] :No-Frost::
Brut.all I was thinking and might have an idea on how to get languages to work.

Would it be possible to include something like a "language selector" so it forces gmaps to use a certain voice (like spanish, german or any other available), that might fix the "only english" voice directions...

Anyway, it's just a though as I don't know if this might be even possible :)
[G1 Android Development] Brut.all:
Forcing voice to some language isn't a problem. Problem is turn symbols, which requires English directions. You could disable "force locale" feature if you want and then you should get voice in any language supported by TTS.

Or maybe you are thinking about turn symbols interpreters for few languages supported by TTS? Even if there would be 5 of them, it is quite much. This is not only about making these interpreters: they will require maintance, because Google may change something in any moment, etc., also there will be probably more of TTS languages in the future.

But I could give people here interpreter interface - they will write implementations for different languages. Simple strings manipulation :-)

Eventually I want to send 2 requests: one in English to get turn symbols and one in current locale to get directions and voice. I don't know, if this is possible, e.g. I must check whether servers may return different routes for subsequent requests. But I think it should be doable.

Ahh and even if I will be able to get turn symbols and directions in any language, I will add language selector to my mod. This is stupid, that if you're using locale not supported by TTS, you won't get any voice commands. I would prefer to get English directions and speech, than Polish directions and no speech.
[G1 Android Development] canadiancow:
But what if you only speak Polish?

I think that if you can do it, you should use the device's configured locale for directions and speech, and English for turn symbols. Don't give users the option of what language to use; there's a system wide setting for a reason.
[G1 Android Development] :No-Frost::
Well it was just an idea ^^ to help to improve the mod :) ... I can live perfectly with english as I understand it quite good ^^...
[G1 Android Development] Brut.all:
I don't understand, what is wrong in giving people a choice? And I know system settings are for selecting locale, but what if your locale gives you some issues/missing features in one of apps? For me it would be better to have English voice than no voice at all and I don't want to change my system locale each time I get to the car (actually I use English locale in my phone, but this was just an example ;-) ).

I think about replacing "force locale" checkbox by "Directions language" selector with options:

system locale (default) - directions in your native, no voice if your lang isn't supported by TTS, 2 route requests (it may be more buggish) if your lang isn't English.

English - voice, 1 request

German - voice, 2 requests

French - voice, 2 requests

Spain - voice, 2 requests

...

This will give possibility to get Polish directions without a voice or English/German/etc directions, but with voice.
[G1 Android Development] JonasDroid:
Dutch?

I know it isn't supported by default but then you could download TTS extended which does have dutch. Or wouldn't that work?

Would be nice if it would have it but I don't really think it's a must have. The english TSS works fine (supprisingly it sounds like really crappy dutch when it's saying the streetnames).

Just wanted to put out my (smal) vote for dutch.

BTW: I would definitely go for an option to force it to whatever languages that are supported by TTS, I drather have spanish tts (wich I don't know at all) then not having one at all, after a while you would get to know what left and right means xD. Off course I would use english then. But I think you get my point
[G1 Android Development] andrey_zi:
Thanks so much! It works like a charm here in Europe. I really missed the navigation option for the google maps.

Can someone point me out to how I could possibly cache google maps on my SD card - download them and then use in this program. I don't have unlimited data connestion so it's a bit expensive to load your maps on the go and what's more I often visit different countries here so I'd pay much more for roaming in other countries.

Thanks again.
[G1 Android Development] JonasDroid:
post was incorrect

So I removed it to get no confusion

can some mod please remove this as I can't
[G1 Android Development] andrey_zi:
I got it from FAQ in the beginning post:

Q: How to download maps data for some area (city, country), so GM won't need data connection?

A: Maps caching is really simple for now, but I plan to change cache format to something compatible with map downloaders. If you have some application that could save map tiles as separate PNG files in file structure like: Z/Y/X, then you should be able to use it even now.

so I thought it'd be possible, but couldn't find a solution to how...
[G1 Android Development] canadiancow:
Map caching is for regular Maps, not Navigation.
[G1 Android Development] doggie123:
Navigation Speech

Hi,

Speech now works in v13! But only sort of.

I don't really need or use speech that much, because it sounds bad (even the English parts are hard to understand, especially from the phone speaker) and it can't pronounce a single street correctly in my country.

Still I'd like to share this with you:

When there is a turn coming up, it will say: "Turn right at Main street" which is fine.

But shortly after the turn, it will say: "Continue on turn right at Main street for 600 meters"

Of course it would be better to say: "Continue on Main street for 600 meters".

I don't know who or what constructs the input for the speech synthesizer - is it Google Maps, or Brut? If it is Maps then there might not be much you can do about it, but who knows!

Have fun with it, and thanks for all the greatness :-)
[G1 Android Development] Brut.all:
In native navigation speech input is constructed by Google servers. In modded one servers don't send it, I must "guess" it. So yes, it's my thing to fix this, but there are much more important things to do :-)

Thanks for info :-)
[G1 Android Development] dzuljo:
Maps caching

Maps caching

this is my caching

little of world {zoom 1-6} more is eastern Europa especial Balkan in more zoom

simply put in root of your sd card

https://docs.google.com/leaf?id=0BwLRamTx4dhZZjA4MjZiMzMtNzYzZC00Yjc0LTg0ZGYtM2NkNTJlYzk0YjQw&hl=en

cheers
[G1 Android Development] Wysie:
Can you add the Brut word to the widget icon as well? Easier when we are adding widgets. Thanks!
[G1 Android Development] Brut.all:
Yeah, thanks for noting that :-)
[G1 Android Development] shoemeistah:
Superb, it tells me not to use it while driving but I do anyways. I don't rely on it 100% but it's handy if you want to go the right direction.
[G1 Android Development] brenopoubel:
u need to redesign the icon of brut, cause this BRUT in red, hurts my sweet clean homescreen.

Or leave the original maps icon.

Thanks
[G1 Android Development] Brut.all:
I can't please everyone. All my modifications are disablable, because I don't want to force people to use all of them, if they don't want to. Unfortunately icons and app names can't be changed at runtime, so I must choose, what is better for most of people. These "brut" tags are there because people requested something to distinguish original and modded maps and you are third person so far, who don't like them.

Of course if someone has better idea, we could talk about it. But I inform you in advance that some random changes, like using old GM icon (someone suggested this pages ago) is not an option :-)

You could also edit it very simply: just unpack, replace icons, pack, sign and that's it. Or, even simplier, use NinjaMorph. If NinjaMorph has possibility to save projects/profiles, then you will be able to replace icons in just few clicks directly on your phone.
[G1 Android Development] chicofiebru:
Works SUPERB in Puerto Rico, android 2.2 Froyo...thanxs my friend
[G1 Android Development] canadiancow:
I'm getting a lot of these:

05-26 23:54:08.871: ERROR/Preferences(11646): brut.gmm.BrutException: Context not set
05-26 23:54:08.871: ERROR/Preferences(11646): at brut.gmm.Common.getContext(Common.java:16)
05-26 23:54:08.871: ERROR/Preferences(11646): at brut.gmm.Preferences.getPreferences(Preferences.java:105)
05-26 23:54:08.871: ERROR/Preferences(11646): at brut.gmm.Preferences.isForceNaviLocaleEnabled(Preferences.java:24)
05-26 23:54:08.871: ERROR/Preferences(11646): at brut.gmm.Entry.onCommRequest(Entry.java:54)
05-26 23:54:08.871: ERROR/Preferences(11646): at P.p.a(Unknown Source)
05-26 23:54:08.871: ERROR/Preferences(11646): at P.p.a(Unknown Source)
05-26 23:54:08.871: ERROR/Preferences(11646): at P.n.run(Unknown Source)
05-26 23:54:08.871: ERROR/Preferences(11646): at java.lang.Thread.run(Thread.java:1096)

brut13 on Froyo.
[G1 Android Development] 5m00v3r:
updated my mirror :-)
[G1 Android Development] pixiwa:
can't find route in China

There are two icons, maps and navegation.

When running the navegation by navegation icon (not maps), can't obtian the route.

But if running navegation by maps icon, ok!

in CHINA!
[G1 Android Development] beav_35:
Then how about solidfiles.com? It allows direct downloads and downloads work fine with the Android browser. Size limit is only 10mb but that is fine for this. :D

http://solidfiles.com/d/d40/download/
[G1 Android Development] imwwwy:
Thank you very much for your great amazing work!!!!!!!!!
[G1 Android Development] stefan52a:
I get a "data connection lost" spoken message when I try to get directions and I can't navigate. I do have 3g (and wifi) and all other online applications work (browser etc.). The "data connection lost" issue doesn't occur with an earlier version (4.0.0 #4046) of brut maps.

I have a nexus one with cyanogenmod 5.0.6 (firmware 2.1-update1)

What can be the issue?
[G1 Android Development] Brut.all:
Could you look into logcat? "data connection lost" after ~30 seconds of "Getting driving directions" is normal reaction to some exceptions. GM catches them and retries connection over and over again - this is why FC doesn't show up. But they are outputted to logcat.
[G1 Android Development] canadiancow:
If they don't delete it after a few days, then it looks good.
[G1 Android Development] canadiancow:
I think that's exactly what's needed :)
[G1 Android Development] Brut.all:
Yeah :-) Thanks, stefan52a :-)
[G1 Android Development] HLLH:
OMG MAN SO FREAKING AWSOME! hell of a good job, will test it soon. (even gets the local language map instead of the English one :) )

It's weird why google did not open everything for everyone, cuz they don't need to code anything...
[G1 Android Development] nameryan:
Brut in China

Hi brut.all

I'm a HTC G2 Magic User in China. i have just got your Brut13 version and tested it for two days , it's so perfect that i can finally use Google map nav and Buzz in our country. but i find a really bug if you can fix it .

When i'm in the navigation screen , the title is , for example : "Turn right at 曹安路" , it is english and chinese mixed titile display . So the navigation pronunciation is "Turn right at", it can't read chinese charactors.

As the voice is more necessary than text display in screen when driving. can u fix this bug?

At last , i'm apologized for my poor english , and wish you can understand my meanings above .

Thanks:)
[G1 Android Development] canadiancow:
It scares me that you consider that "poor" English, compared to a lot of the other posts in this thread.

The voice is going to be an issue, even if it reads it out in Chinese. The text could probably be fixed easier.
[G1 Android Development] albert_htc:
Sorry if this has been asked before.. I did search.

On my desire I have maps & maps [brut] do I need them both ?

also my brut version shows as 4216 is that the latest ? Thanks :)
[G1 Android Development] Brut.all:
Android can't speak Chinese for now, so full-English is only one option. But... modded GM tries to download all things in English already, so I think Google just doesn't have English names of these streets. Do all street names are in Chinese or maybe some of them (bigger ones) are in English?
[G1 Android Development] gomezzz:
hi, navigation worked fine but I had to change my ROM, so I had to reinstall maps brut as last time but now, for some reason I get only direction commands but there is no map displayed on screen. it's just black, where the map with direction should be... :-( I can get the route planed, I can see it on the map but when I switch to navigation, I'm getting only navigation directions but can't see anything on screen. any idea what could I do? of course, I've cleared app data, uninstalled, reinstalled, but all the time with same reason. :-( thax for any answer.
[G1 Android Development] lohtse:
can I install this on android 1.5?
[G1 Android Development] nameryan:
two types of Google map

there's two type of google map in china, one is local and one is world-global. for example ,the same position of this two type bellow:

1.world-global google map:

maps.google.com

2.Chinese Local google map:

ditu.google.com

//i'm sorry new forum user can't insert outside links

the street name of world-global Google map is all in english name, if this is helpfull.
[G1 Android Development] JonasDroid:
unlock hidden features doesn't make any difference for me none of the things listed in the first post show up after enabling.

Using HTC Legend stock ROM (not rooted) (android 2.1)

EDIT: I was searching in the map view in stead of the navi. IT DOES WORK! my bad
[G1 Android Development] Brut.all:
http://maps.google.com/maps?saddr=xinxing+bridge&daddr=beijing&hl=en&sll=39.907959,116.310561

Seems Directions always use local names, regardless of locale chosen.

It's hard to believe for me. Please, recheck everything.
[G1 Android Development] Brut.all:
Google Maps 4.3.0 in the aTrackDog :-) 92 commits ahead.
[G1 Android Development] JonasDroid:
Sorry my bad:

I rebooted, reinstalled, ended task,... BUT:

I kept searching in the map view, then I finally realised that it's in the navi instead of in the map view dno why I thought it was there cause now I see u posted navi.

Sorry for posting wrong info :(
[G1 Android Development] canadiancow:
No, it requires 1.6.

Sex.
[G1 Android Development] albert_htc:
can anyone answer this ?

Thanks :)
[G1 Android Development] Brut.all:
I don't know, where did you searched, if both questions are answered in mod instructions. In addition second one is answered in thread title...

Moreover I don't really know, how did you get 4216 version, if it wasn't even released by Google.

BTW I've just added new item to my Q/A:

Yeah, I know people, who don't read manuals won't read this as well ;-)
[G1 Android Development] JonasDroid:
Is it possible to tweak the commands of the voice search?

e.g. when I ask: "navigate to ..." or "map of ..." that it uses maps brut instead of the normal maps?

Just a thought would be nice if I could change it.
[G1 Android Development] albert_htc:
@Brut.all

Sorry I missed the answers to my questions.:o

My version is 4126, NOT 4216 woops ! :)
[G1 Android Development] Brut.all:
I don't know, where voice search feature is from technical point of view, but I guess we would have to hack system files.

To all people who have "Login failed" issue: could you install My Tracks, record some track and upload it to both Maps and Docs? I just found it asks about Google permissions too, so I'm curious whether you will have problems with this feature.
[G1 Android Development] maluktec:
Thanks Brut all for your

Work. I've test it today about 2hrs straight on without any faillure, not yet. :-) the only thing wat dekt was the condition of the batterij :-(.
[G1 Android Development] rac2030:
Voice search (if it uses android search) is like any other search service that can be intercepted by any search provider (that is activated in global search)... (dont know exactly what happens if there are two search providers listening for the same wildcard keyword)

But the CarDock app uses a pointed intent (when it was released, don't know how it is now) to maps, so the cardock app would need to be adjusted to just broadcast an navigate action (so you can choose which app will answer the broadcast).
[G1 Android Development] Sleeepy2:
Just wanted to say thanks.

I needed to go downtown on Thursday so I thought this would be a good test for the voice navigation, but it didn't work :( I was like WTF how come it doesn't work for me the voice was delayed until after I made the turn. I had installed ver. 13 and it worked for everyone else :(

I checked the version later and realized that it still had ver.11, how could I be two versions behind. I suck.

Updated to version 13 and went downtown again on Friday. Worked like a charm.

Many thanks.

This time i didn't almost kill my wife because I almost missed the turn. LOL
[G1 Android Development] canadiancow:
The new version of Car Home in Froyo is more useful than the old version, but it's still tied to the official version of Google Maps.
[G1 Android Development] Brut.all:
We could dream about Omnipatcher :-) It would be something like: "click here to install Omnipatcher, then click here to apply patch for original Google Maps and voila" :-)

Ahh and I've suspended Omnipatcher development, when I've found that baksmali needs a lot of memory to even initialize itself, but... somewhere about 1.2.x version JF has rewritten these mechanisms and now they're very efficient. I must clone myself and we'll get really good stuff ;-)
[G1 Android Development] rac2030:
Ok, then I will just call you Dolly :-P

Sometimes cloning or better say duplicate for a short period of time (but like forking a process on unix) could be very handy...
[G1 Android Development] vipros:
How can I pre-fetch/download tiles into cache directory for a given region at a given range of map levels? Ideally this can be done on PC and I can then load them to the device SD.

Thanks :)
[G1 Android Development] Brut.all:
I suggest you wait a little - this should be easily doable soon :-)
[G1 Android Development] Trepid!ty:
Went from 10 to 13 and suddenly voice works in Australia!! (it would announce directions before this but it'd do it AFTER you went past the turn).

Now the thing won't shut up!!! lol (but in a good way)

It'd still be nice if it said "in 200m turn right" but it seems to have it's announcing time set to about 100m which is pretty well perfect (unless a lane change is needed!)

Very impressed that I can now use this is a GPS replacement in Australia.

THANKS BRUT!!!

PS

+ 1 request for a pretty icon!
[G1 Android Development] desireowner:
How do i change displayname when i´m logged in?

I had a typo in my gmail name when first loggin in to latitude and now it wont change even after i sorted out the gmail configuration

how do i go about to get the app to use the new info at gmail?

is it understandable ;)?

/d
[G1 Android Development] canadiancow:
I might have to remove the downloading capabilities.

Edit: I have no idea how to allow Brut's maps to be used without having pissed off users. Right now, I've changed it to say "You have chosen to use the modified Brut.all version of Google Maps, but you do not have it installed. You will need to find it, download it, and install it before you can use it. It is not available in the market.", but I think that will just frustrate users. I don't know what to do. Maybe I should just link to this thread?
[G1 Android Development] MrPendulum:
Fantastic work with the voice directions Brut.All, but I have encountered one problem with the latest version, and I'm not sure if anyone else is getting this.

I receive the voice direction, eg "turn left on Main Street".

I make this turn, and immediately receive a direction "continue on turn left on Main Street". It seems to be adding the previous turn into the spoken street name for the instruction to continue driving straight for x kilometers.

Don't know if it's a regional thing, I'm using it in Australia. If it helps, I've been testing it in the areas between Canberra (ACT) and Sydney (NSW).

Besides this problem, everything else is Perfect. Thank you again.
[G1 Android Development] Trepid!ty:
@MrPendulum, yeh I'm getting that too.
[G1 Android Development] Saharacruiser:
Samsung Galaxy Spica

Hi.

I follow this threat almost since beginning.

I am impressed by the work which has been done and see you get people happy around the world. I am also impressed by bruts patience with so many claims. Hope Google will employ you one day :p

There have been two requests by Samsung Galasy Spica users within the last months: "navi does not work" .

I can confirm that.

Brut Suggested general GPS problem with the device but it works perfect with any other app (and navi).

What happens after navi-start:

- Shows route listing

- shows route on map

- dot following actual position

- view on map from 90 degree angel

- "follow route" "Searching GPS ..." are displayed on the screen.

- sometimes it says "lost data connection"

When mocking into US, navi works perfectly.

actual brutmap

Android 2.1

Samsung Galaxy Spica

Boom. They accidentally blasted a 2nd world war bomb dud yesterday night in my town.
[G1 Android Development] rac2030:
MarketEnabler got the same notice last year :-/ (thats the reason why it's not on the Market)

I think you can just link to this Thread... "More information can be found on http://...", this would be the best solution that I see...
[G1 Android Development] zabatman:
I am getting the same in South Africa. Otherwise the app is AWESOME. Thank you VERY much for making it available.
[G1 Android Development] bjtheone:
The issue is with how the hack works. Brut is basically combining info from Google Maps with the the Nav function. Since it would take too much CPU time to parse and reformate the info you get what the server provided. If you think about it stripping the instruction down to just what is needed/appropriate is a very non trivial task.

Google Nav supplies a shorter and more precise set of directions but the Google servers will not provide those outside of the blessed areas (USA and UK).

Beyond the "continue on left on streetname" type of instruction you also get very long instructions using all the possible names for the road.

This was easily seen the few weeks Google Nav actually fully worked in Canada, or if you view the demos of it working in the US.

Realistically this is not going to get much better until Google releases Nav to your area. The easy solution is to enjoy the Nav function, the turn symbols, and directions and just turn the voice off.... :-)
[G1 Android Development] canadiancow:
The CPU time isn't the issue. The problem is getting an algorithm to reformat the direction.