Discussion Forums  >  Uncategorized

Replies: 6    Views: 644

jfoster01
Android Fan
Profile
Posts: 11
Reg: Dec 01, 2010
Chicago
110
12/10/10 01:52 PM (15 years ago)

.apk format?

This may be a silly question but the file that is created within buzztouch is saved as an .apk format right? I am trying to open it in another emulator (youwave) and it wont open. Also I have been having problems with the AVD emulator. When I open the emulator and go to the app, the app will open but when I click on anything the emulator says that I need to establish an internet connection. It was working fine before but now it wont go to any of the links because there is no connection. How do I fix this?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/11/10 05:12 AM (15 years ago)
The Android Emulators are difficult, for sure! There is no comparison between them and the iOS emulator. Sorry Android fans, just true ;-) To allow the emulator to use your internet connection, explore the options in the Android Virtual Device (AVD) manager. Open this window (little android icon on the toolbar if you have not changed your setup from the standard setup) and click around to see how it works. The idea is that you add emulators to this list, then select one when you launch your app. To add them to the list, click New and choose Google API's 1.6 as the target platform. Next, in your Project Settings (highlight you project, right/command click for Settings) click Android and make sure it is set to ask you to select an emulator each time you launch. This is different than setting the project to automatically load. Oh, forgot, when setting up AVD's in the list, be sure to find the setting to allow internet connection. This is actually a neat setting, it allows you to slow-down or speed-up the internet so you can simulator on different connection speeds. APK: Not sure about the youwave question, never heard of it. 'The fiel that is created within buzztouch is saved as an .apk format right' - this is a confusing question. .APK files are used to install software on Android devices. They get created during the compile process. This means if you download your project from buzztouch and do nothing else, you will not have an .APK anywhere. When you compile it with Eclipse, an .APK is created.
 
cbribri89
Aspiring developer
Profile
Posts: 14
Reg: Dec 10, 2010
Carrollton, Tx
140
like
12/12/10 03:20 AM (15 years ago)
Where do I find this .APK file to upload to my market. Is there a way to test the device on my phone instead of the emulator like the Apple SDK? Because the android emulator is not working.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/12/10 03:27 AM (15 years ago)
Device testing is WAY BETTER! a) On your device. Settings > Allow Debugging b) On your device. Settings > Allow apps outside of market (or something like this) Next, attach your the device to your machine, it should then show up in the list of running devices to choose from (be sure you project properties are set to not automatically launch an emulator when it starts). This should allow you to test your project on your phone. When you're done testing, to create the .APK, right/command click the project, then find in the context menu something like Package Signed or Package Unsigned application. I'm not on my machine so I don't remember exactly the menu item but it's like that. During the package process it will ask you where you want to save the .APK. You could then put this .APK in the Market (if it's signed), or on your website, etc. If it's on your website, simply point the device's browser to the URL to install the app. Like www.yousite.com/myapp/myapp.apk
 
cbribri89
Aspiring developer
Profile
Posts: 14
Reg: Dec 10, 2010
Carrollton, Tx
140
like
12/12/10 04:55 AM (15 years ago)
Ok, I'm pretty sure you are sleeping by now. I got the emulator to work. For reference for other people who need help, you need to create n emulator that will run you specified SDK pack version. I'm using 1.6 Google API for all android devices. The only last issue I see is the emulator isn't showing me my icon. Can you help?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/12/10 11:28 AM (15 years ago)
Did you give up on testing on your device? The icon for you app should show on the Emulators home screen, you may need to scroll down. Also, on the emulator, you should see your app in Settings > Applications
 
Annonymous
Profile
12/12/10 12:33 PM (15 years ago)
I don't have a android device. So, I'm relying on the emulator. One issue after another. This is an app for my company site.
 

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.