Android :: Cannot Test Build Phone Appl On HTC Evo

Aug 22, 2010

I cannot test build Android application on my HTC Evo at all. I searched online for answers, but nothing helped, including updating all the software. The Eclipse launched Emulator doesn't recognize it as an external device either.

Android :: Cannot test build Phone appl on HTC Evo

Android :: How To Test Performance Of An Phone Appl?

Dec 24, 2009

How can I test an application for performance in Android? What is the support provided in Android and how do I use it?

View 2 Replies View Related

Android :: How To Build Test App With Dependency On Another App Using Ant?

Mar 17, 2010

I have a module called MyApp, and another module called MyAppTests which has a dependency on MyApp. Both modules produce APKs, one named MyApp.apk and the other MyAppTests.apk.I normally build these in IntelliJ or Eclipse, but I'd like to create an ant buildfile for them for the purpose of continuous integration.I used "android update" to create a buildfile for MyApp, and thanks to commonsware's answer to my previous question I've been able to build it successfully using ant.I'd now like to build MyAppTests.apk using ant. I constructed the buildfile as before using "android update", but when I run it I get an error indicating that it's not finding any of the classes in MyApp.Taking a que from my previous question, I tried putting MyApp.apk into my MyAppTests/libs, but unfortunately that didn't miraculously solve the problem.

View 1 Replies View Related

Android :: Can't Build And Run An Test Project Created

Mar 18, 2010

I have a module that builds an app called MyApp.I have another that builds some testcases for that app, called MyAppTests. They both build their own APKs, and they both work fine from within my IDE. I'd like to build them using ant so that I can take advantage of continuous integration.Building the app module works fine. I'm having difficulty getting the Test module to compile and run.I used android create test-project -p MyAppTests -m ../MyApp -n MyAppTests to create the necessary build files to build and run my test project. This seems to work great (once I remove an unnecessary test case that it constructed for me and revert my AndroidManifest.xml to the one I was using before it got replaced by android create), but I have two problems.Any idea what's causing the "Class ref in pre-verified class resolved to unexpected implementation" error?

View 3 Replies View Related

Android :: Unit Test Build Error

Mar 8, 2010

I just switched the way my Android project is being built and non of my unit tests work any more...I get errors like WARN/dalvikvm(575): VFY: unable to resolve static field X in WARN/dalvikvm(575): VFY: unable to find class referenced in signature These errors only come from my Unit Tests, where classes defined in it can't even see other classes defined in the unit test. Before each project had it's own directory with copies of the 3rd party jar files. I've read around that Dex does weird things with references but haven't been able to figure out how to fix this problem. Is there a better way to do this? I would love to see an example of a large Android workspace where there are multiple projects, jar references, etc.Is it possible to fix this with an Order/Export tweak ?

View 3 Replies View Related

Android :: How To Build Ctsand To Add And Run Your Test Case

May 13, 2010

From 2.0 the cts is freely downloadable from android's repository.

But there is no documents about it.

Does anyone can tell me:

How to build cts? Is there a standard procedure? How to run cts? How to add customized test case?

Here, share my experience. After repo sync all source, you can't directly run "make" to build all source.
You will get some errors.

Now, I'am trying to first build android source without cts, and then build cts alone.

Also, here are some reference for run cts:!article&articleId=157

1st time Update @ 5-13 18:39 +8:00

I do the following steps: android source without cts (move cts out of the $SDK_ROOT). cts (move cts back).

both jdk1.5 and 1.6 have the following errors:


View 1 Replies View Related

Android :: Build Fingerprint - Generic - Google Sdk/generic - 1.5/CUPCAKE - 147336 - Eng - Test-keys

Aug 4, 2009

While running i am getting this error in my logcat and my app exiting automatically...


View 3 Replies View Related

Android :: What Is Intent Action Name To Launch Native Map Appl?

Apr 20, 2009

what is intent action name(e.g. action name "" for launching camera appl) to launch the native map appl Is there intent available(documented or undocumented since above intent of capturing image is undocumented ) for launching maps appl?

I know one for launching maps for driving direction "this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(" f=d&saddr=37.4,-121.9"+ "&daddr=Bellevue, WA&hl=en")));" but this goes to driving direction page of maps appl.

is there any way to launch maps appl which will open maps home page?

View 3 Replies View Related

Android :: For Launching A Camera From Appl - Which Action Requires?

Jan 29, 2009

For launching a camera from appl which action requires?

If start a camera from my appl and captured image, how should I pick-up (retrieve) that current image to my appl from camera provider. what is process for this(which Uri).

View 4 Replies View Related

Android :: How To Transfer Test Fixture File To Device From Unit Test Application?

Sep 24, 2010

I'm writing an Android JUnit test and want to copy/reset a test fixture file (it's an SQLite database file.) If I were within the main application, I know I could just place the file in the assets directory and use getResources().getAssets().open(sourceFile).However, this API appears to be unavailable from the ActivityInstrumentationTestCase2 class.Is there an easy way to copy a file over from the testing PC, or should I just keep a fresh copy of a test fixture on the device and copy it over a temporary file?

View 2 Replies View Related

Android :: Error When Unit Test With Activity Instrumentation Test Cas­e 2?

Aug 23, 2009

I am using ActivityInstrumentationTestCase2 to do some test for an activity. I get a button in the setUp() method like this: protected void setUp() throws Exception {super.setUp(); act = getActivity(); btn = Button)act.find ViewById ( ); // this button has been defined in layout} Then I use this button to perform a click in a test method like this: public void testBikeButton(){ //click the bike button btn.performClick();}

View 7 Replies View Related

Android :: Getting Test Run Failed No Test Results?

Aug 11, 2010

I have never used JUnit before, and now I'm trying to set it up on an Android project.My project under test is fairly complex, including some JNI, but my test project, at the moment, is completely trivial. I have found many examples (that look totally different) online of how to make a test project, but it seems that no matter which one I follow, I get the same results.Here's my JUnit project code:package com.mycompany.myproject.test;
import android.test.AndroidTestCase;public class SimpleTestCaseExample extends Android TestCase {public void test_testOne() {fail("Just Always Fail");When I run, I see the following in Logcat:
stdout INSTRUMENTATION_STATUS: test=test_testOne
stdout INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
stdout INSTRUMENTATION_STATUS: class=com.mycompany.myproject.test.SimpleTestCaseExample
stdout INSTRUMENTATION_STATUS: test=testAndroidTestCaseSetupProperly
stdout INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
stdout INSTRUMENTATION_STATUS: class=com.mycompany.myproject.test.SimpleTestCaseExample
stdout INSTRUMENTATION_STATUS: test=testAndroidTestCaseSetupProperly
stdout Test results for InstrumentationTestRunner=..
stdout Time: 0.07
stdout OK (2 tests)
But, I get the following in the Console:Launching instrumentation android.test. Instrumentation TestRunner on device emulator-5554 Collecting test information Test run failed: No test results I have tried a variety of different things, messing with the basic TestCase class, or the TestSuite class, or a variety of other options. I tried to just go for the most trivial example because I'm really still trying to learn how this works.Whatever I try, I see this error.

View 1 Replies View Related

Android :: Is It Unit Test Or An Integration Test?

Nov 9, 2010

I'm working on a school project and I'm researching testing possibilities for Android applications. On this page: http: // developer . android . com/ resources / tutorials /testing /hello android. Google writes about a unit test. Is this really a unit test? A Unit test will not integrate all classes and will not test in his context. So my opinion is it is not a Unit Test but an Integration Test.

View 7 Replies View Related

Android :: Build Error Build/core/ On 2.2

Jun 24, 2010

I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/ *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/ to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/ *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/ to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7

Last one, build/core/ *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/ to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.

1. Why the error occured?
2. Changes which I did is correct or not?

View 3 Replies View Related

Motorola Droid X :: Touchscreen Test - Drawing Lines Test

Jul 15, 2010

One more video about the fancy touchscreen of the Droid X. This one has happier results! Check it out at the link below.Droid X Touchscreen Test See you later. you'll know why this post is short when you read the blog. running downstairs!

View 5 Replies View Related

Missing Target Class To Test In Test Application?

Nov 10, 2011

I have a project (that compiles and runs in the emulator.) I have a test project that tests part of this project. This test project also compiles with no problems, but when I try to run (test) it in the emulator, I get a NoClassDefFoundError exception on one of the classes my test class tests (I hope that made sense!) when it starts to run in the emulator. This is coming out of the adb log. I looked in the bin directory (of the test project) for the missing class, but could not find it... Should it be there? I found no reference (apk, etc) of the project I am trying to test either in the test projects bin directory. How does the test project get the classes it needs to test against (in the classpath, I assume.) How do the tested classes get moved to the emulator? I did try running the app before testing, so I know it is installed and runs correctly. BTW, I am using netbeans with the nbandroid plugin.

View 1 Replies View Related

Android :: Do I Have To Test My App On Dev Phone For ADC II?

Aug 7, 2009

I plan to submit an app for the ADC II. I wanted to know if it is required that I test my app on the Andoird Dev Phone? If it runs on the emulator is it safe to assume that it runs on an actual phone? The phone is pretty costly and will be useless for me after the contest. Is there a place I can rent the Dev phone?

View 7 Replies View Related

Android :: How To Test My App On Phone?

Apr 18, 2010

Where do I copy the apk file on the Motorola Droid? Which directory? Are there any possible issues I need to be careful of, it's also my personal phone.

View 3 Replies View Related

Android :: Android And Junit Reports Test Run Failed - No Test Results

Jul 16, 2010

I am unable to integrate Junit with Android. I am using Junit 3, I have also tried Junit4.
import*; *
import* android.test.ActivityInstrumentationTestCase2;
public* *class* TestMyView *extends *
ActivityInstrumentationTestCase2<MyActivity> {
Activity myActivity ;
*public* TestMyView(String pkg, Class<MyActivity> activityClass) {
*super*(pkg, activityClass);
myActivity = getActivity() ;

View 3 Replies View Related

Android :: Looking For Someone To Test With A 600mhz Phone

Oct 24, 2010

I've just released Squibble Lite, a game i've been developing for android. I've had access to a nexus1, a desire, and a samsung galaxy s to test on. Unfortunately, these are all pretty fast phones with 1ghz processors. Just wondering if someone with a 600mhz phone would be willing to give it a go, and let me know how it plays performance- wise?

View 6 Replies View Related

Android : Way To Test Out GPS Capabilities On Phone?

Jul 21, 2010

I'm planning a mini road trip this weekend and I want to use it as a way to test out the GPS capabilities on the phone? I'd like to be able to replace my Magellan entirely. The maps are a bit out of date and it would be nice to have one less device to carry around.

I tried both NDrive and GMaps. I was unimpressed with both of them. Both were much more difficult to program than my Magellan when I tried programming them manually. NDrive was confusing to set up in the first place. GMaps worked quite nicely with voice programming, but I have no clue what commands I've got beyond that. NDrive didn't support this at all. On my Magellan I can give voice commands and have it pull up the POIs at the next exit so I can see not only where the next gas station is, but where the next gas station is after that. (Extremely useful if you're on an eighth of a tank and don't know if you must stop at this exit or if there's another gas station 2 miles down the road.) The voice for GMaps is extremely annoying.

I prefer free of course, but I'm more than willing to pay for a quality app if I can test it out before hand and make sure it does what I need it to do. Ideally I want the following:

Voice programming - I want to be able to say "Go to 1234 Main st" or something similar and it go.

Easy manual programming - I want to be able to easily enter destinations manually.

Trip planning - I want to be able to program multiple destinations. I recently went to Chicago. With my Magellan, I was able to program all the places I wanted to go before hand so I just had to click on the tourist trap I wanted to see and it directed me there.

Voice activation while driving - I drive alone most times. I'd like to be able to not have to take my eyes/attention off the road to search for the closest fast food place or gas station.

Integration with the other parts of the OS - I want it to do the standard things like mute the music when it gives voice prompts and turn it back up when it's done, mute voice prompts when the phone rings, etc. Any ideas on apps that will do all this?

View 2 Replies View Related

Android : Test Frameworks For Phone

Aug 13, 2010

I am new to Android test frameworks ,Would like to know the differences between existing test frameworks : Monkey , CTS ,Instrumentation Framework & Robotium ?

View 1 Replies View Related

Android :: How To Lanuch Test Application From Phone

Jun 8, 2010

When we build and install the test application from eclipse, it is able to launch the test application and show the running of tests. However, we wish to launch the test application from the phone directly. Is this possible. As test application does not have any activity it does not have main icon displayed. Could any one point us to right approach this regards Regards, Raja Nagendra Kumar, C.T.O -Mobile Enterprise Applications Development Excellence

View 5 Replies View Related

Android :: How To Test Phone App Across Multiple Activities?

Nov 18, 2009

We are building a complex Android application consisting of many screens and workflows spread across many Activities. Our workflows are similar to what you might see on a Bank's ATM machine, for example, there is an Activity to login in that transitions to a main menu Activity which can transition to other activities based on the user's choices. Since we have so many workflows we need to create automated tests that span multiple activities so we can test a workflow from end to end. For example, using the ATM example, we would want to enter a valid PIN, verify that sends us to the main menu, choose withdraw cash, verify that we are on the withdraw cash screen, etc., etc., and eventually find ourselves back on the main menu or "logged" out. We've toyed with the test APIs that come with Android (e.g. ActivityInstrumentationTestCase2) and also with Positron, but neither seem capable of testing beyond the bounds of a single Activity, and while we can find some utility in these tools for some unit testing, they won't meet our needs for testing scenarios that cut across multiple Activities. We are open to an xUnit framework, scripting, GUI recorders/playbacks, etc. and would appreciate any advice.

View 9 Replies View Related

Android :: Way To Unit Test Phone Library App?

Nov 16, 2010

Sorry if this is a bit of a vague question, however im struggling to find a single solid example on how to do unit testing (isolated testing) with Android. So one project contains models and logic, then another project contains tests for said library. There is no front end or UI, so I want to do the bare minimum to just be able to test that my methods all work in isolation.

View 1 Replies View Related

General :: Build Kernel MT6577 - Can't Boot After Build

Feb 21, 2013

I have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my a good zImage? (if you want to try) : URL...

cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/ -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.

Here are the Warnings I got when compiling

mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':

View 9 Replies View Related

Android :: Screen Looks Great On Test AVD But Small On Phone

May 17, 2010

I am new to android development. Why is it that the screen looks great on a test avd but when I deploy the app to my Droid everything is off and really small?

View 3 Replies View Related

Android :: Control Phone Or Automated Test Using Remote PC?

Jul 25, 2009

I am a tester, is there a way to control the Android phone or do the automated testing using a remote PC? Or how can I dev such a automted tools, Use which technology? thanks.

View 14 Replies View Related

Android :: Phone Doesn't Allow To Test App On Real Device

Oct 29, 2010

I'm trying to test a test app I developed on android 2.2 sdk on my htc phone with Froyo on it (2.2). In the emulator it works fine, when I export as unsigned app and try to install on the phone, it doesn't allow me, just telling me 'application non installed'. The phone has the settings to accept installation of non android application, so I'm not sure why I can't test on it. Is it because it's not signed?

View 2 Replies View Related

Android :: Can Archos 28 Be Used As Test Device For Phone Development?

Nov 15, 2010

I would like to start doing some Android development, and would like a cheap device to deploy apps to, just for testing and demo purposes. Is it possible to deploy apps to, for instance, an Archos 28? I don't know much about Android development yet, and haven't found a good answer to this question elsewhere.

View 1 Replies View Related

Copyrights 2005-15, All rights reserved