Discussion Forums  >  Self Hosted Control Panels

Replies: 3    Views: 66

DENIS_
Aspiring developer
Profile
Posts: 8
Reg: May 10, 2014
MONACO
1,180
06/18/14 01:14 PM (10 years ago)

Self hosted google map problem

Hello (and sorry to talk like a child, i'm not english), Im a BT member since today, just installed the Self hosted program, and everything works great. I have a question, when i download the source code and open in eclipse, i dont have the line GOOGLE_MAPS_FOR_ANDROID_V2_API_KEY_GOES_HERE in android AndroidManifest.xml (like in my app hosted in bt.com) Instead of, i have the line in resvaluesstring.xml like this old document : http://www.buzztouch.com/resources/Obtaining_a_Google_Maps_API_Key_v1.0.pdf Is this normal ? I downloaded this https://www.buzztouch.com/BT-server/BT-server-3.0.0.zip Another question, what an API Calls means ? I download the source code of my app just one time today, and i have 3 api calls, why ?
 
Nicks App
Code is Art
Profile
Posts: 426
Reg: May 21, 2014
Las Vegas
6,010
like
07/08/14 06:59 PM (10 years ago)
I feel bad that no one replied to you! I was in the middle of working through the same situation. Smugwimp wrote in another thread: 06/05/14 02:31 PM (1 month ago) 1) Get a Google API v2 key for your BTv3 Android project. Use it as a 'release' key. 2) Enter the API Key in your AndroidManifest.xml file 3) Change 'android:debug = true' to FALSE (in AndroidManifest.xml) 4) Leave your strings.xml file alone 5) Maps will never work in an emulator; use a real device. This document may assist: https://www.buzztouch.com/files/howtos/googleapiv2.pdf Cheers! -- Smug
 
Nicks App
Code is Art
Profile
Posts: 426
Reg: May 21, 2014
Las Vegas
6,010
like
07/08/14 07:02 PM (10 years ago)
I just did this, for the second time in 30 days, and just wrote about it in another thread, which I now cannot find. When you go to get your Google API key, you need your SHA1. There's 2 places in Eclipse to do that: In Eclipse > Preferences > Build... and in File > Export > last screen before actually exporting the .apk. The File > Export > last screen is the SHA1 to use. The Eclipse > Preferences > Build SHA1 is useless! Thing is, you have to do File > Export > last screen before actually exporting the .apk to get the SHA1... then you copy that, paste it into AndroidManifest.xml... quit the File > Export screen, and start that again!! And Clean!!! Then the exported .apk Maps will work.
 
DENIS_
Aspiring developer
Profile
Posts: 8
Reg: May 10, 2014
MONACO
1,180
like
07/09/14 05:52 AM (10 years ago)
Hello, thx for reply, it works good since my message:)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.