sepala
Aspiring developer
Profile
Posts: 196
Reg: Nov 23, 2011
London
3,060
03/31/12 07:48 AM (13 years ago)

iOS Developer starting out with Android... some questions...

Hi I have developed a few iOS apps on Buzztouch and elsewhere and I want to make them available to Android users in Google Play too. I have downloaded Eclipse and got it working. I have also downloaded the Android source code for one of my iOS Buzztouch apps and got it working on the Eclipse emulator. So far so good... ish! The app opens on the emulator but there are quite a few problems that I wanted to ask for help with. They are: - the map function doesn't seem to work. I have a Map tab with a map that is populated with pins that take their data from a .txt file that have on Dropbox. Works great on iOS but in the Eclipse Emulator I just get a blank Google Maps screen (grey with grid pattern & google logo in corner). - the send meal function doesn't seem to work (Message- "Open with which app? No applications can perform this action") - the email image function doesn't work (Message- "Open Eclipse. Look at the BT_screen_imageEmail.java file") - the SMS function doesn't work (Message- "Something's not right. No Native App Found") - none of the images (splahscreen, background image, header image etc.) display, but i imagine this will just be a case of changing the file names and maybe their locations. The app ice does however display. I am quite amazed at how easy it has been to convert an iOS Buzztouch app to an Android one and if I can get around these problems then I will make all my apps available on Android. Any help would be most appreciated! Thanks Sepala
 
mysterysolver
I hate code!
Profile
Posts: 97
Reg: Feb 11, 2012
newyork
1,470
like
03/31/12 08:55 AM (13 years ago)
I think all those isnt available for android.You need to remove it or to make an app version only for android
 
sepala
Aspiring developer
Profile
Posts: 196
Reg: Nov 23, 2011
London
3,060
like
03/31/12 09:01 AM (13 years ago)
Really?... so there are some buzztouch functions that are not available to use in Android apps? Didn't know that... I have begun to work to the map problem- for Android apps you need a Google Maps API Key. Info here- http://www.buzztouch.com/resources/Obtaining_a_Google_Maps_API_Key_v1.0.pdf
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
03/31/12 09:18 AM (13 years ago)
I believe the Android emulator doesn't support some of the functions your trying. There are ways, can't remember the forum posts but don't worry, you are on right track. I haven't used eclipse for a bit but believe you'll find these do work when you load on a device. Try posting in the beta / testers wanted forum to get someone to fire up your app if you don't have an Android device.
 
sepala
Aspiring developer
Profile
Posts: 196
Reg: Nov 23, 2011
London
3,060
like
03/31/12 09:20 AM (13 years ago)
Excellent- thanks very much! I was kind of hoping that was the case! I just need to work out where to put my images now...
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
03/31/12 09:24 AM (13 years ago)
 
sepala
Aspiring developer
Profile
Posts: 196
Reg: Nov 23, 2011
London
3,060
like
03/31/12 09:25 AM (13 years ago)
Brilliant- thanks very much
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
03/31/12 09:26 AM (13 years ago)
Most welcome. Good luck.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/31/12 10:36 AM (13 years ago)
Hi @sepala, Going from iOS to Android isn't always the smoothest process. I have yet to design an app that I can use the same project for both platforms. I generally have to create an iOS version, and then an Android version, mostly because not all the same functionality it supported. If you are using v1.4, then the same things are supported on both. If you are using v1.5, not everything is supported on both...read the Readme file that comes with your Android download package to see what is and what is not supported. Maps are supported, quizzes are not. There is always a TON of good info in the README file, so check it out! Maps in Android require a Google Maps API key. Check out this tutorial: http://www.buzztouch.com/resources/Obtaining_a_Google_Maps_API_Key_v1.0.pdf You'll also find that the way it looks in iOS is likely NOT the way it looks on Android. Hence, another reason for different projects. Good luck, and let us know how we can help! Mark
 
sepala
Aspiring developer
Profile
Posts: 196
Reg: Nov 23, 2011
London
3,060
like
03/31/12 10:49 AM (13 years ago)
Hi Mark Thanks very much for the advice. I have just been going through the Google Maps API key... torture but I think I am close now! Thanks for all the great guides that you have produced! Sepala
 
sepala
Aspiring developer
Profile
Posts: 196
Reg: Nov 23, 2011
London
3,060
like
03/31/12 10:51 AM (13 years ago)
Just one question... I have created my API Key and pasted it into strings.xml debug section but how do I create another key for the release?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/31/12 11:19 AM (13 years ago)
Hi @sepala, Yep, you need a key for debug and release...that's assuming you're doing both version, which is a good idea (debug being used for testing). Enter that key...uncomment the maps line in AndroidMainfest.xml, and that's pretty much it! Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
04/01/12 04:17 PM (13 years ago)
You should read Myskylla's Guide to Buzztouch www.myskylla.wordpress.com Pay particular attention to the screens sections. Consider creating your app as a BTv2.0 app, you'll be happy you didn't. Fred
 

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.