How to run the 'AllTests' of ApiDemos in the android sdk sample

by Gavin Aiken » Sun, 15 Mar 2009 04:47:47 GMT


Sponsored Links
 Hey,

You can't run these tests as simple java JUnit tests, they need to be run on
the device. The process is pretty straight forward and is best explained
here;

 http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html 

What I am currently trying to work out is how to debug my tests now that I
can run them! I'm sure it's a flag that I need to pass to the command line
argument but I can't work it out.

Hope this helps,

Gav





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android 2.0 web capabilities question

Before I expend the time and effort to install Eclipse and the SDKs on
my desktop, I would like to know whether it will even be possible to
port my C# application to Java as supported via the Android 2.0 SDK.

My (Visual Studio) application uses C# WebRequest and
NetworkCredential objects to login to a secure web site and download a
pair of large (5 to 8M) mp3 files on a daily basis. Now that I have a
Droid I would like to give the iPod to my daughter and just use my
Droid for my audio.

Does the 2.0 SDK (and Android platform) support streaming binary
content from a URL the way the C# objects do?

-ted in AZ

-- 

2. add layout in other apk program

hi guys,

I have write a a.apk already,
and there are a button in the a.apk that can trigger for b.apk,
however b.apk is a freeware apk downloaded from the internet,

now, I want to add a layout in the b.apk,
such as left side is b.apk main program region, and right side is my
new add layout region for a button,
this button in the new layout region that can let users back to a.apk
when click on.

so is it possiable to do for that?

thanks so mush



-- 

3. Multiple screen size problems

4. how to enable "/dev/input/uinput" and "/dev/misc/uinput"

5. Layout animation, clipping to parent

6. Official OS 1.6 for Magi

7. 2.0 Emulator Camera Autofocus Callback Question