Testing App In Eclipse On Android Phone?
Jun 24, 2012
I have a simple app that i'm trying to test on my actual Android phones. I have an HTC merge and a Droid razr. Eclipse is installed on windows 7, not the 64-bit one. I downloaded the sdk and adt plugin and my app works must fine on an emulator. I installed the google USB drive via the adt manager, enabled USB debugging on both phones and also allowed non market apps to be installed. When I connect them to my laptop and try to run my app in eclipse, the only devices the IDE sees are the emulators..
View 2 Replies
Jul 25, 2010
Ive no doubt this question may have been addressed before but how can I turn on a framerate monitor to use when I run my programs using the android emulator so I can see exactly what my android game is achieving at a given time?
View 1 Replies
View Related
Aug 18, 2009
I can find all the System.out.println in the log with a filter on "System.out". Neverless, when I switch off the emulator and that I test the application on the real G1 device (which is linked to computer with USB), there is no log anymore. Way to print some information on computer console or log while program is running on the device?
View 2 Replies
View Related
Jun 23, 2009
I've come across a very annoying problem, which only seems to happen when I launch my app from eclipse for testing. If I launch it normally, it doesn't seem to have this problem.
This is how I can reproduce it: - Launch app via Eclipse - Press Home - Relaunch app via icon - Click menu->exit which tells the Service to clean up and calls finish () when the Service finishes cleaning up
For some reason, there seem to be two instances of the activity, one exits normally and the other one gains focus. Clicking exit does nothing since the Service has stopped but the Service variable is not null. Attempting to use the app launches errors since the resource it uses have been closed. I can force a close via the crash and relaunch the app, and it exits normally this time.
As I said, it only happens when launching the app via Eclipse. Anyone know what could cause this? My launchMode is set to singleTask, however, that shouldn't cause an issue, I used that mode before. I tried calling finish() regardless of the state of the Service, but it doesn't seem to help.
View 5 Replies
View Related
Feb 24, 2010
I wrote a simplest test based on android.test.ActivityInstrumentationTestCase2.
CODE:..............
View 2 Replies
View Related
Apr 16, 2009
I've been exploring the Android test package and I'm very confused on how to implement functional testing for endpoint-to-endpoint.
Consider the example below, I have 4 activities: 1. A Contact List Activity 2. A View Contact Activity 3. An Add/Edit Contact Activity 4. A Sync Contact List activity
I want to automate a few tests that will go through multiple test cases simulating a user experience: From launching the application, to selecting 'Add contact;' opening the add contact activity, entering data, saving it, going back to the list activity, and verifying the new contact was saved properly.
As I understand it, ActivityInstrumentationTestCase<T extends Activity> and ActivityUnitTestCase<T extends Activity>, are only useful for testing single activity functionality.
But what if I need to switch between 2 or more activities inside a single functional test case?
View 5 Replies
View Related
Jan 29, 2009
I have gotten through signing up as an Android developer, joined Android Market, and recieved and activated my Android Developer Phone.I have my first draft application running in the emulator.The documentation suggests testing it throughly on the device, however, I don't want to put it up publicly in the Android Market until I am satisfied with the app.
1) Is there a way to privately post a testing app on Android Market? If so, would somebody please point this newbie to the HOW-TO?
2) Is there a way to push my app onto my developer phone without using Android Market? If so, would somebody please point this newbie to the HOW-TO?
I'm having more fun working with this Android stuff than I have had in years! As soon as I learn enough to contribute I'm going to be overjoyed to share it.
View 5 Replies
View Related
Apr 12, 2010
How to buy a phone for testing applications, can anyone suggest. Other phones in market are way to expensive.
View 11 Replies
View Related
Jul 27, 2010
I have a huge problem testing my app on my HTC Wildfire. It was working fine until recently, but now I always get a force close error when I run or debug a new version of the app.When I try to run the app on the emulator it still works, when I disconnect the phone from the PC, the app also runs on the phone (including all changes).I was working on a xml file when this happened. If someone could help me out here, that would be great because this is really weird and I really don't know what I should do now.
View 2 Replies
View Related
Oct 27, 2010
Do most of the Android developers on this list use their own phone for testing? Or there are ways to obtain Android phones that are unlocked and require no contract? Any advice on that?
View 7 Replies
View Related
Aug 16, 2010
I have a new android app I put on the marketplace a few days ago. I did quite a bit of testing on my moto droid before publishing it and tried to be very thorough. Well, I got some negative comments back on how it didnt run right on someone's EVO 2.2 or X10 (didnt even know what that was at first). Well, it runs perfect on my phone.
Any advice on how I'm supposed to fix or support an app that runs on like 100 different phones?
How are other developers approaching this? (without actually buying every phone out there).
View 3 Replies
View Related
May 11, 2009
I'd like some feedback from your experiences on the best option to test GPS based applications. I've been developing apps and in the middle of this will have to ship out to Afghanistan for a 1 year tour. Perfect opportunity to concentrate on the apps in the down-time (nothing to do stuck on a base most of the time in a 10x15 shippping container). This is bad (with bad being a relative term) from the standpoint that there are no "data" plans in Afghanistan for GSM phones. I can get GSM service but no "data" plans. If i buy a Android OS phone I'm concerned about how I can update it with new firmware and load apps. I will have wifi access, but from what I've read this will not enable a "push" of the new firmware update to the phone as if I was with T-Mobile. Any suggestions on what phone i should buy and how to "test' my applications where I can update my firmware and load my apps onto the phone?
View 2 Replies
View Related
Sep 20, 2010
My boss recently gave me an HTC Wildfire phone for doing an Android version of one of our mobile apps, which is all fine and good, except that the app requires API level 8 (ie Android 2.2), and the phone itself only has Android 2.1 installed. After much googling, I discovered that this phone does support Android 2.2, and carriers will be rolling out updates over the air for this model phone "in the near future". Since I'm not entirely certain what our lazy carrier's definition of "near future" is, it would be nice if I could download images for particular releases and install them on my phone. Coming from the world of the iPhone, it seems that this should be something rather necessary in order to successfully develop an Android app. Yet, it doesn't seem that Google offers any Android OS updates themselves. Have I no choice but to wait for the carrier to release an update?
View 4 Replies
View Related
Feb 24, 2010
I have recently began developing for smart phones and I am extremely interested in developing for Android. The only problem is that I have Windows 7 on my computer. Is there any way I can install Eclipse and Android SKD? or do I have to install Windows Vista or XP on my computer?
View 7 Replies
View Related
Oct 13, 2010
I have been developing a project app to learn about android, I can upload my app to my htc desire on my desktop using linux ubuntu and eclipse, I have the same setup on my laptop but I cannot upload apps to my phone. When I try to install the app to the phone it shows up in avd manager as? Unknown, I've googled this and the general advice is to setup a script which I have tried but I get an error message saying path does not exist, when I try to kill the adb server it says no such command even though I am in root and can see the adb file in the sdk folder, I am completely lost here anyone help with this.....
View 1 Replies
View Related
Aug 28, 2010
I have downloaded eclipse and the Android sdk and I have now used eclipse to design an android app which runs fine on the emulator. I have also downloaded and installed Kies for file transfer between PC and Samsung phone. I used Kies to download a free app from Android market and checked the format of the downloaded files, one is an 'app file, the other is image files. Do I have to somehow turn the saved files from my eclipse created app into the above file types for transfer to my phone? If so how? If not, which files do I transfer to my phone? s
View 2 Replies
View Related
May 4, 2010
My phone (htc desire) loses connection with HTC Sync, version: 2.0.33 on my laptop when I start eclipse galileo. I have windows 7 32 bit. The followings are what I have done to solve this problem but with no luck:
- Unplug and replug the USB cable.
- Installed the old version of HTC sync
- Uninstalled the old version and installed the newest version of HTC sync.
I've to log off or restart my laptop to be able to connect the phone with htc sync again but when I start eclipse the connection is lost again.
View 1 Replies
View Related
Jun 23, 2009
I want to let the users send me the logs from the device i wonder how do i extract the logs in to a file on the device ?
View 2 Replies
View Related
Jun 22, 2010
I want to get started with an Android application but can't download the plug-in.
Anyone know where else I can get this?
View 3 Replies
View Related
Apr 23, 2010
Every app I make starts out with a number of common base classes, interfaces, utility classes and a basic package structure that has been working for me. Is there a way for me to set up a project template in Eclipse that will give me all of the basic Android project stuff PLUS a bunch of custom packages, classes and interfaces? I guess I could just put all of this stuff into one or more libraries as opposed to creating a whole project template, so if you have a preferred approach or information/links/etc on how to do any of the above, please share (I'm relatively inexperienced with Eclipse, so the more detail the better).
View 1 Replies
View Related
Aug 16, 2010
I have been trying this for hours without success. http://replicaisland.googlecode.com/svn/trunk/ I have added the repository and successfully downloaded the project into the workspace using the option "check out as a project in the workspace" calling it replicaisland. I tired using the option "check out as project using the New Configuration Wizard" but when I selected and android project I had to enter details that I don't yet have. I right click on the project and select "convert to Android project" which gives me an error. Code...
View 1 Replies
View Related
Sep 27, 2010
I have an application I am writing for Android that basically does a screen scrape of a large table on the web and presents it in a nicer way on the handset. Its 500k of html and takes about 20 seconds or so normally.
When I have my phone hooked up to the computer, I used to be able to just click on "Run" and my code would execute similiarly speedy, as opposed to Debug where it would take 10 minutes to complete.
Now, however, clicking "run" behaves just like debug mode.... I don't want this overhead, how do I get eclipse to stop sending my app to the debugger already? I have searched online and found a couple people with the same issue, but simply rebooting my phone doesn't fix it, and there have been no other solutions posted that I have found.
View 1 Replies
View Related
Mar 29, 2010
Is it normal for my Eclipse to totally freak out when I plug more than one phone in at a time?
Either my Hero or my Droid work fine solo, but if I try both at the same time they both become unrecognised and I have to then restart Eclipse (2 minutes of waiting) before I can go back to using just one phone. Kinda sucks having to unplug and re-plug phones all the time. I have 8 USB ports and no specific combination I can find seems to help.
Plugging in more than one phone also crashes my DDMS.
View 6 Replies
View Related
Aug 20, 2010
I'm just getting started with Android app development on a Mac, and I keep getting a NullPointerException everytime I go into Strings.xml to edit it. Here's the steps I followed - The project compiles and runs fine, but if I add even a single character to Strings.xml, a popup comes up that says - "An error has occured. Please see the log for details. An error has occured. Please see the log for details." When I click details, all I see is - "An error has occurred. See error log for more details. java.lang.NullPointerException" Anything I'm missing completely? Code...
View 2 Replies
View Related
Jan 30, 2009
I can't seem to get anything back from https://dl-ssl.google.com/android/eclipse/ - even accessing from a browser just gives a 404.
View 6 Replies
View Related
Oct 10, 2010
I don't know if this is kosher, but I wanted to see if anyone would want to test an app I built. I don't want to release an app to the market without getting out all the bugs I can, but I'm a lone developer trying to build apps on the side in my free time. I don't know many people with Droids, so I'm trying to reach out to the community. I built an app I call "Next Track on Shake". Not a good name, (and I'm up for suggestions for a better name) but I can't think of anything else to explain its function. I listen to alot of music, usually on shuffle, and I hate having to wake the phone up, unlock the screen, open the music player, and change the track. The new versions of Android require PIN or Password when you use a corporate account, and that adds another step in changing tracks. I built an app that allows you to shake the phone, whether awake or not, and it will move to the next track for you. I also added the ability to customize the shake; you can set how hard or how fast you need to shake the phone to change the track. The default shake is a good setting for most people, but alot of people jog with the phone on their arm or hip and would need to adjust the strength of the shake so as to not accidentally change tracks. I've also added the ability to stop/start the service when needed, and I display an ongoing notification when the service is running. When the phone is rebooted, the app checks the preferences, and only starts the app if you had the service running before reboot.
View 3 Replies
View Related
Jan 26, 2010
I have created an app which needs some testing done. I have tested it on the HTC Hero (UK version) and the HTC Tattoo. Worked well on both the devices. I wanted to test it on the newer android phones like the Droid or the Nexus One. If anyone could help me out with the testing, there is a link to the .apk file below. This app does functions like silencing the ringtone when the phone is flipped, switching on the speakerphone when in call etc.
http://dl.dropbox.com/u/556550/FlipShake.apk.
View 3 Replies
View Related
Oct 11, 2010
I developed my first (small) Andoid application using Eclipse and are now ready to transfer it to my Galaxy S mobile device (develping for Android 2.1)
Following another thread in SE, I changed the run mode in Eclipse to manual in the hope that I would be able to chose my phone and/or AVD every time I run the program.
The popup list howerver only show the AVD, my phone is not present in the list.
So obviously, my Samsung Galaxy S device is not recognized. Howerver, I can transfer to and from the device using a drive letter, so the USB connection is working properly.
Anyone any idea what I am missing here ? I'm not sure if it is an Eclipse problem , or a driver or ....
View 1 Replies
View Related
Jun 24, 2009
I'm prepping my first app for publishing and am a bit confused about how to properly test my <uses-permission> tags.. if i don't specify any permissions my app runs with no complaints on my G1. I tried installing it via "adb install" as well as with the eoeAppInstaller (as somebody had recommended). Also, the app is signed with my own certificate (not the debug cert). given that it works fine with no permissions (btw, it accesses camera and sd card), how will I know if I've set all of the proper <uses- permission> tags?
View 5 Replies
View Related
Feb 8, 2010
Is there anything to test the UI of an Android app like Jemmy for Swing?
View 3 Replies
View Related