Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Fast way to "test" app

i m starting (or at least trying to) developing android application(s) and I m using eclipse for it along the android sdk.

Now I m wondering if there's a faster way to "test" and tryout something newly writen in the code than starting it in the emulator?

I'm wondering because I m running on 8gb ram and q9550 (quadcore) and it takes some time (let's say 20secs) to upload and start the apk and now

I'm wondering if this really is the only way to test since it requires huge amount of time, especially when I'm trying something new which doesn't work and thus I'm always gotta run it like this let's say like 20 times until I figure out what's wrong with my code...

like image 835
tim Avatar asked Sep 28 '12 14:09

tim


People also ask

Is there a TestFlight for Android?

In 2020, the best TestFlight alternative for Android remains the Google Play Console. Google Play Console is the direct equivalent to TestFlight for iOS, since Google Play Console is a first-party supported solution for managing beta testing of your app.

How are Android apps tested?

You can run tests on an Android device or on another computer: Instrumented tests run on an Android device, either physical or emulated. The app is built and installed alongside a test app that injects commands and reads the state. Instrumented tests are usually UI tests, launching an app and then interacting with it.


1 Answers

You can connect your android phone using USB debugging mode and debug your code. If you can't do that, you can export an apk file (which is quick) and use dropbox/gmail to send it to your phone. I am not a big fan of emulator :)

Here's how to enable usb debugging

http://www.groovypost.com/howto/mobile/how-to-enable-usb-debugging-android-phone/

like image 99
rizalp1 Avatar answered Sep 20 '22 23:09

rizalp1