Android :: Unable To Test Applications On Physical Device

Dec 26, 2009

Just started developing apps and am having a small problem. I can test the apps on the emulator but I cannot test them on my physical android device. When I am asked to select a running device I get a device listed as: Serial Number/name:? AVD name: N/A Target: unknown etc,

It seems that my device is being picked up but not able to be used. When I try to run the app I get an "Must set android.target.avd" error.

Is there something I am missing?

I am using netbeans 6.7.1 on Ubuntu 9.10, everything up to date. I have a G2-Touch from T-mobile, if someone tells me where to find it, I will post any other needed information.

Android :: Unable to test applications on physical device


Android :: Unable To Write Text File To Sdcard On Physical G1 Device

Jul 12, 2009

I need to write a fairly simple .csv file to the device's sdcard (so it can then be emailed via Intent). The below code does not write the file.

CODE:...........

More code here:

I flush and close out_stream. I can even seem to be able to read from the file on the device (printing above output, using fileinputstream, to an edittext.

How can I get to this file on the sdcard?

View 1 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 :: Impossible To Test Contact Groups In 2.0 Without A Physical Phone?

Feb 23, 2010

My app (first written for Android 1.6) reads groups and contacts but I have so far only been able to write code for 2.0 that compiles but I have never executed. Since the Contacts API and particularly the way groups work has changed substantially in ways that I haven't quite been able to find out I need to try it on a phone to see how it now works.So is there any way at all I can test contact groups in the emulator? I have looked all over for help on this and all I have been able to glean is that I cannot get groups into the emulator unless I create them in a Google (or other, Exchange?) account then sync with it. However I cannot seem to sync/open an account from my emulator - and this I have read may be impossible as you can only do it from a phone with a valid IMEI.

View 2 Replies View Related

Android :: Checking Speed Of Applications Without Physical Devices?

Feb 23, 2010

I'm writing a game for Android. I'd like to target as many devices as possible. I'm aware that Droid owners buy about 50% of the apps and the rest are a mixture of G1 and HTC devices. So far, I've been testing my app in the emulator set to model the Droid phone (where I get about 40 fps) as well as on an actual Droid phone (where I get about 60 fps).

I'd like to know how fast my app runs on slower devices such as the G1. Is there any way I can do this besides getting a G1 myself or asking people with G1s to test it for me? For example, is there any way I can use the emulator to get a rough idea how well it will run on the G1?

View 2 Replies View Related

Android :: Physical Height / Altitude Device Using Sensors

Dec 8, 2009

Anyone know if it's possible to obtain the physical height or altitude of your device, using the sensors or by any other means?

View 4 Replies View Related

Motorola Droid : Applications Physical File Name?

Dec 9, 2009

Is there a way to find out what the physical file name is of an application? I would (desperately) like to delete the Amazon MP3 application from my Droid. I have an app called "Ghost Commander" and I can navigate to the directory (/system/app) on my phone that contains all the applications. And I can delete any of the files there. However, what I can't seem to do is determine which of the .apk files is the one for Amazon MP3.

Is there a way to get that information? Or does anyone know which .apk file is "Amazon MP3"?

View 1 Replies View Related

Physical Device Not Detected

Feb 28, 2014

I just got 'my first app' working on Eclipse, but I can't use my physical device as a target. I have Android 2.3 Gingerbread, Samsung Galaxy Ace(aka Cooper), Win 7. Latest versions of Eclipse and ADT. On adb devices, it doesn't show up, only the emulator if that's on.

USB Debugging is turned on and I downloaded three different drivers: the one Windows automatically downloads, one using USBDriverTool and the Universal ADB Driver.

If it's relevant, I also had trouble installing the ADT plugin with Eclipse, I posted about it here in a separate thread.

View 8 Replies View Related

General :: Physical Remote Control To Work With Android Device

Nov 11, 2012

how to setup a infrared remote control to use with android instead of keyboard or mouse.I thought in lirc but the several ports that I found for android are working to send infrared signals, not to receive them.I was wondering if there is some project or program to allow infrared remote controller manage the android device.

View 1 Replies View Related

General :: Modifications To Emulate Specific Physical Device

Jan 24, 2014

I'm working on a project that includes a test system for OEM devices. The supporting infrastructure is complete, however I'm having difficulties getting ROMs to run on the emulator. Of course the AVDs generated by the SDK work fine, but my next step is to run a binary intended for an OEM device. I understand that the emulator would require different drivers than a physical device, so I can't simply drop the same binary onto it and expect it to run.

Tweaking the AVDs generated by the SDK is about the limit of my knowledge. I've looked into pulling the system.img and other partitions from the ROM with ones from the emulator, but that doesn't work since the emulated hardware doesn't match what the drivers expect. I assume some modifications to qemu and some reverse engineering of the OEM ROM might be required to obtain my goal.

Assuming I have access to the binaries (but not the source) used by an OEM to construct their ROMs, what would be involved to obtain an emulator that matches the physical device, so I can run the compiled ROM on the emulator?

View 1 Replies View Related

Android CTS Test On Device

Jun 24, 2010

i am working on android CTS test, i am getting API check time out error whenever i start test plan CTS, i followed the below steps for CTS test and also i mentioned my doubts.

CTS test steps :

1. Please download and install the Android 1.6 SDK on your machine.

2. Your phone should be running a user build (Android 1.6 and later) from source.android.com

3. Please refer to this link on the Android developer site and set up your device accordingly.

4. Make sure that your device has been flashed with a user build (Android 1.6 and later) before you run CTS.

5. You need to download the TTS files via Settings > Speech synthesis > Install voice data before running CTS tests. (Note that this assumes you have Android Market installed on the device, if not you will need to install the files manually via adb)

6. It is advisable to log in to the device with a test Google account, not an account that you actually use.

7. Make sure the device has a SD card plugged in and the card is empty. Warning: CTS may modify/erase data on the SD card plugged in to the device.

8. Do a factory data reset on the device (Settings > SD Card & phone storage > Factory data reset). Warning: This will erase all user data from the phone.

9. Make sure no lock pattern is set on the device (Settings > Security & location > Require Pattern should be unchecked.Google Confidential

10. Make sure the "Screen Timeout" is set to "Never Timeout" (Settings > Sound & Display > Screen Timeout should be set to "Never Timeout".

11. Make sure the "Stay Awake" development option is checked (Settings > Applications > Development > Stay awake).

12. Make sure Settings > Application > Development > Allow mock locations is set to true.

13. Make sure the device is at the home screen at the start of CTS (Press the home button).

14. While a device is running tests, it must not be used for any other tasks.

15. Do not press any keys on the device while CTS is running. Pressing keys or touching the screen of a test device will interfere with the running tests and may lead to test failures.

Doubts :

1) is it necessary to follow all the steps ?
2) for step 5, i copied the voice data to the SD card and if i follow step 8 it will erase all contents of SD card so how can i follow both step 5 and step 8 at a time...?

error message while doing CTS test on Device :

pvteam@pvteam-desktop:~/Desktop/android-cts/tools$ ./startcts
Android CTS version 2.1_pre_r1
Device(HT9A4LV00787) connected
cts_host > start --plan CTS
cts_host > There are 3 existing session(s) for plan CTS.
[code]...

the Device restart took place three times then i stoped the CTS test.

View 5 Replies View Related

Android :: Using Desire To Test Applications In Eclipse (Ubuntu 10.4)

Jun 15, 2010

If I try to use my HTC Desire to test Apps I'm developing with Eclipse, then in the screen where I can choose the emulators and connected devices, it is only listed as unknown and a few question marks. I read that on Windows you need HTC Sync respectively the drivers in this program, but how can I solve this problem on Ubuntu?

View 1 Replies View Related

Android :: Develop And Test Applications For Galaxy Tab (resolution Devices)

Sep 17, 2010

I want to how to develop and test apps for the Galaxy tab. I mean like the Android simulator, can we test the tab apps on a simulator? Is there a way to download simulator for the tab or should we tweak the existing simulator?

View 4 Replies View Related

Android :: Way To Test Rotating Device / Emulator?

Jun 9, 2009

I'm using the 1.5 SDK. I read in 1.0 that rotating the device would cause onCreate() to be called in our apps (possibly recreating the entire app?). Is there a way to test rotating the device in the emulator? I just want to see what happens, I don't have a device to test this. Will the behavior be the same for 1.5 as it was in 1.0?

View 3 Replies View Related

Android :: Test App On Real Device Without Publishing?

Jan 18, 2010

Is there a way to test the application on the real device without publishing to android market?

View 2 Replies View Related

Android :: Unable To Open Or Create Cache For System/app/test.apk

Oct 12, 2010

When I am trying to build my application as a part of image I am getting the following error :

E/dalvikvm( 1334): Can't open dex cache '/data/dalvik-cache/ system@a...@test.apk@classes.dex': No such file or directory I/dalvikvm( 1334): Unable to open or create cache for /system/app/ test.apk (/data/dalvik-cache/system@a...@test.apk@classes.dex) E/Util( 1334): Class Not Found : java.lang.ClassNotFoundException:

But when I push the apk manually to the device (into system/app), it works fine.

I am wondering why is it so as both ways the apk is present at system/ app only.

View 5 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

Android :: How Can I Reliably Test Alarm Manager On Device?

Aug 5, 2010

I'm writing an android application that depends on network activity and the alarm manager sometimes waking the phone up from a sleeping state. My question is how can I reliably test this on device? Ideally, how can I force the phone into a full-on sleeping state. Failing that, how can I know for sure when the phone has fully gone to sleep? How do you test your Alarm Manager / Wake Lock / Sleep handling code?

View 2 Replies View Related

Android :: Need Device To Test Custom Input Method Application

Aug 27, 2010

1. I am in the process of creating an Input Method for Android devices. I using Eclipse(3.4) IDE and have Android (1.5 and 2.2) SDK. 2. Currently i am doing testing on the Emulator. But i wish to test it on actual Android device. 3. Can you please tell me which ideal device should i buy to test my application 4. Is there any lead device assigned by Android for a given SDK. 5. I intend to sign and publish my application so can you please tell me is there any Certification criteria which i have to follow.

View 2 Replies View Related

Test SMS App In Real Device?

Mar 5, 2014

how to do the text messaging app in android. i created test app. with an edit text and button and wrote the code to send sms. i could test it with 2 emulator. and the message sent successfully. but i need it to test on real device. In emulator we are giving emulator id as the phone number. what should we do if in the case of real device.

View 1 Replies View Related

Android :: Launch Virtual Device From Eclipse Every Time We Want To Test Our Code?

Jun 5, 2010

Do we need to launch the virtual device from eclipse every time we want to test our code? If yes, then is there any other method to make it a bit faster?

View 4 Replies View Related

HTC EVO 4G :: No Need Of Protective Skins - Device Survives Scratch Test

Jun 11, 2010

I thought it was pretty interesting. Glad I just bought no skins. Sprint HTC EVO 4G Survives Scratch Test.

View 6 Replies View Related

Motorola Milestone :: Test New App On Phone Device / Want Tester

Feb 4, 2010

Could someone test my new application on Motorola Milestone device? Please send private message if you can help.

View 12 Replies View Related

Android :: Can Test Android Smartphones Applications On Samsung Galaxy Tab?

Nov 20, 2010

Can I test Android smartphones applications on Samsung Galaxy Tab? Let's say I want to develop Android applications for HTC,and I only have Galaxy. Can I simulate smaller resolutions on Galaxy to see how it would work on HTC?

View 2 Replies View Related

Android :: Test Android Apps - Develop On Real Hardware Device

Jun 22, 2010

Since I don't know (and I don't think anyone does) when the next version of the Android Developer Phone that will support Android 2.x be available, can I use the following unlocked Android phone available on Amazon

http://www.amazon.com/Motorola-Milestone-Unlocked-International-Warranty/dp/B0030G6HRQ/ref=sr_1_23?ie=UTF8&s=wireless&qid=1277232350&sr=8-23

To test my Android apps (that is after testing on simulators).

View 1 Replies View Related

Android :: Unable To Buy Applications From Market

Dec 17, 2009

I can't buy apps on the market, because I live in Luxembourg. I know about SlideMe which is an alternative for me to be able to buy some apps. I want to pay for some apps that I like and do not want to download them on some warez site. Does anyone know about an Internet site or a better alternate Marketplace than SlideMe where I can buy apps for my Hero?

View 5 Replies View Related

Android :: J2ME Applications On Device

Sep 18, 2009

Is it possible to install J2ME applications on andriod device? I read somewhere that its not possible. are there any alternate ways (such as third party support) to run J2ME apps on android device.

View 2 Replies View Related

Android :: Testing Applications On Device

Feb 11, 2010

I'm trying to make my application (compiled against 2.1) compatible with the 1.5 platform. I've handled all of the res/ folder issues, and have been able to run the app on all platforms without problems. I can run it fine on all emulators, and all devices/OS systems running 1.6 or higher. But on the only 1.5 device I have (HTC Hero), I get intermittent problems.

The only 1.5 device I have is an HTC Hero phone I got free at the Sprint developer conference a few months ago. When I test the app on that device, I have occasionally encountered a bug I've not seen anywhere, and can't find any information about.

I can install the application via the adb install command (although I get two messages about unknown commands), but after installing the app, the icon can disappear from the home screen, replaced either with a different icon or no icon.

When the app is launched in this state, rather than seeing my application name in the title bar, it reads "60.0dip". I don't use this value anywhere in my application.

I have never observed this problem on any other phone I've tested on (G1, myTouch, two Motorola Droids, Nexus One), but as I said I've only got one device running 1.5.

View 9 Replies View Related

Android :: Development Device - Applications

May 10, 2010

I'm looking to get a device (phone, tablet, etc.) for developing Android applications. I know I can use the emulator to get me started, but I feel like that will only get me so far along. I'm looking for something reasonably priced, and I don't want a phone contract, data plan, etc. Anyone have any suggestions?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved