Android :: Need Test Strategy For Phone App Running On Various Handsets
Nov 24, 2010
We have been working on making a Android Application. The issue we are facing is the support across various Handsets, which actually are increasing by everyday. Our application deals with Android Calendar. Does anyone have idea about as to how we can span across the various handsets, is there a way where we can give types of handsets supported, or MARKET can handle it on its own?
View 1 Replies
Oct 20, 2010
I am working on android automation ,and i am new to this field , i went through the test example available at developer site and i am getting
11-05 14:43:14.509: WARN/TestGrouping(1485): Invalid Package: '' could not be found or has no tests
as error on running this code .
CODE:.................
View 2 Replies
View Related
Jan 28, 2009
I am trying to run Junit test case for the android APIDemo project under eclipse. I create an eclipse project from the APIDemo source, it compiles fine and then I did: 1. Debug->Run as Junit tests
But I get this error: 'Lanuching AllTests' has encountered a problem. Cannot connect to VM...................
View 9 Replies
View Related
Apr 15, 2010
In college, my senior project was to create a simple 2D game engine complete with a scripting language which compiled to bytecode, which was interpreted. For fun, I'd like to port the engine to android. I'm new to android development, so I'm not sure which way to go as far as deploying the engine on the phone. The easiest way I suppose would be to require the engine/interpreter to be bundled with every game that uses it. This solves any versioning issues. There are two problems with this. One: this makes each game app larger and two: I originally released the engine under the LGPL license (unfortunately), but this deployment strategy makes it difficult to conform to the rules of that license, particularly with respect to allowing users to replace the lib easily with another version. So, my other option is to somehow have the engine stand alone as an Activity or service that somehow responds to intents raised by game apps, and somehow give the engine app permissions to read the scripts and other assets to "run" the game. The user could then be able to replace the engine app with a different version (possibly one they made themselves). Is this even possible? What would you recommend? How could I handle it in a secure way?
View 1 Replies
View Related
May 26, 2010
I am building an Android hello world application in Netbeans. It's building properly and I am able to run in the emulator also. But when creating and running the Junit test I get a java.lang.NoClassDefFoundError.
View 2 Replies
View Related
May 14, 2010
Long story short, my Dad gets a discount on monthly data plans on VZW through his job, so I don't want to order the Incredible online or by mail because it would be a hassle to set up the contract that way. And after reading other forums people are having a ton of problems with finding when their orders will arrive, canceling credit card billing, etc. So next week I'm coming home from school, my current phone is broken, and I need a new phone before I start a new job on the week of the 24th. If I went into one of my four local Verizon stores on Monday, Tuesday, or Wednesday, what are some tips to get the phone in-store? Are there any chances of finding one or advice you guys could offer on getting employees to pull strings?
View 12 Replies
View Related
Apr 7, 2010
Apparantly the 2.1 update has reduced the graphics capabilities of the Droid, and therefore I'm assuming the Milestone too. Unfortunately, I never ran the lag test before I updated to 2.1 so I can't say whether my phone is better or worse off in the graphics department. Currently running official 2.1, my average fps sits at about 37. Can anyone still running 2.0.1 download this app , run it, and post their results here? I'd be interested to know whether the reports on the Droid's graphics are the same as on our Milestones. And of course we then need to make Motorola aware!
View 10 Replies
View Related
Apr 22, 2010
Fully charged, never registered/activated, new, 8GB card in place, fingerprints wiped off. Ready... you'd think. I press the right hand power button, and see "Airplane Mode is on" and the time. Battery indicates full, time is correct. If I push the MENU button, I feel the buzz and the screen goes black with htc in the middle. Pushing the power button goes DARK, then back to Airplane Mode. All four touch points (Home, menu, back, and search) produce the buzz but do nothing. I haven't found the RESET button, and it's not in the Index. What basic, simple thing have I missed? Unfortunately, there's no 10 year old kid around to show me how to operate this #$!! thing.
View 5 Replies
View Related
Aug 2, 2010
YouTube - HTC Desire 720p Test
View 5 Replies
View Related
Jul 20, 2010
How are you guys checking what speed your processor is running after overclocking?
View 5 Replies
View Related
May 17, 2010
I'm new to this forum. I have been searching around for Android 2.1 to place onto my Hero (GSM) - that IS the one that Telus uses, right? I have found several links which claim to have the download + instructions, but turn out to be dead. Can anyone comment on where to find this update? Is it stable? Are many people running it now? Any ideas when Telus will be releasing the full version?
View 6 Replies
View Related
Oct 20, 2010
Just a quick question about android updates when they come to a handset such as the X10 mini pro do they come automatically or is it just on the new handsets (bought in a shop or online)
View 1 Replies
View Related
Apr 15, 2010
I am working on developing an application which requires high precision time synchronization between handsets. I'm looking for under 100 microseconds of skew between phones. I wondered if anyone had tried this before. In theory the GPS receivers could be used to pretty accurately synchronize timing, but I'm not sure if Android is setup to use them that way. My first cut plan is to port a PTP (precision time protocol aka IEEE-1588) client to Android.
View 3 Replies
View Related
Oct 20, 2009
I have a background service that plays a sound when an event has happened with the following code: 1. MediaPlayer mp = MediaPlayer.create(getBaseContext(), R.raw.theEnd); 2. mp.start(); But sometimes I see from my errorlogs that people are getting a nullpointer on line nr 2 here. My music file is a MP3 file and works great on my G1. The comments on my app says "Doesn't work on Hero after update" but I am unsure if this is specific to the Hero since I don't have that information in my errorlogs. The app has > 50000 downloads so this code works for most of the people out there, but do anyone know why it doesn't work for all of them?
View 4 Replies
View Related
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
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 ( R.id.bike_button ); // 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
Oct 1, 2010
I wanted to get some public opinion on the usefulness of a HDMI out port on a smartphone/handset. Let's say the smartphone is capable of recording and decoding 720p or 1080p video. Would a HDMI port be useful for you? How would you use it?
View 4 Replies
View Related
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: numtests=2
stdout INSTRUMENTATION_STATUS: test=test_testOne
stdout INSTRUMENTATION_STATUS_CODE: 0
stdout INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
stdout INSTRUMENTATION_STATUS: current=2
stdout INSTRUMENTATION_STATUS: class=com.mycompany.myproject.test.SimpleTestCaseExample
stdout INSTRUMENTATION_STATUS: stream=
stdout INSTRUMENTATION_STATUS: numtests=2
stdout INSTRUMENTATION_STATUS: test=testAndroidTestCaseSetupProperly
stdout INSTRUMENTATION_STATUS_CODE: 1
stdout INSTRUMENTATION_STATUS: id=InstrumentationTestRunner
stdout INSTRUMENTATION_STATUS: current=2
stdout INSTRUMENTATION_STATUS: class=com.mycompany.myproject.test.SimpleTestCaseExample
stdout INSTRUMENTATION_STATUS: stream=.
stdout INSTRUMENTATION_STATUS: numtests=2
stdout INSTRUMENTATION_STATUS: test=testAndroidTestCaseSetupProperly
stdout INSTRUMENTATION_STATUS_CODE: 0
stdout INSTRUMENTATION_RESULT: stream=
stdout Test results for InstrumentationTestRunner=..
stdout Time: 0.07
stdout OK (2 tests)
stdout INSTRUMENTATION_CODE: -1
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
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
Apr 17, 2010
Can the forum members who have a handset from vodafone let me know if they are locked? Seems to be a mix of locked and unlocked handsets! I am on O2 looking to buy a Legend!
View 17 Replies
View Related
Jun 9, 2010
The camera on my Legend is faulty and I've finally got Vodafone to send me a replacement, but I'm worried that I'm going to lose all of my personalization etc and have to spend hours getting the new phone to the way I've got my current one. I'm not too bothered about background, widgets etc, but I was wondering if anyone could give me advice as to how to get as much info from the old handset to the new - particularly the contacts that I want who are linked through Google and Facebook, and the apps I've downloaded.I've tried syncing with HTC Sync but, to be honest, am finding it confusing; I can't see what I've synced so am not sure if there was any point in doing that. I've also backed my phone and Google contacts up on the SD card (I think!) but I'm not sure if this will work.I love the Legend, but I hate how much of a technoidiot it makes me feel! I'm supposed to be competent with these things!
View 4 Replies
View Related
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
Apr 15, 2010
I am using WCF to write a server that should be able to communicate with .Net clients, Android clients and possibly other types of clients. The main type of client is a desktop application that will be written in .Net. This client will usually be on the same intranet as the server. It will make an initial call to the server to get the current state of the system and will then receive updates from the server whenever a value changes. These updates are frequent, perhaps once a second. The Android clients will connect over the Internet. This client is also interested in updates, but it is not as critical as for the desktop client so a (less frequent) polling scenario might be acceptable.
All clients will have to login to use the services, and when connecting over the Internet the connection should be secure. I am familiar with WCF but I am not sure what bindings are most appropriate for the scenario and what security solution to use. Also, I have not used Android, but I would like to make it as simple as possible for the person implementing the Android client to consume my services. So, what is my strategy?
View 1 Replies
View Related
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
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
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
Sep 8, 2010
I have two EVO's, and I'm on the absolutely unlimited everything plan for both phones, which means that on a monthly basis Now, if I moved down to unlimited everything plan except for calls to landlines, I could save a lot. As I understand that plan, all calls to any cell phone are unlimited, but I would have a minutes cap on land line calls during the day on weekdays. So, can I use some kind of App to make land line calls during the day on weekdays and avoid the charge to my limited land line minutes? I would want an App that allows calls to be received and placed. I think there is an App for that, but it requires a new number to be registered?
View 13 Replies
View Related
Jul 8, 2010
I know that Android will help merge/link duplicates, but I keep wondering if I should consolidate my contact management in one place. That is your contact management strategy? Centralized? Distributed? Where do you keep your contacts? My gut is telling me to keep them all in MS-Exchange, and delete all contacts in the other places, and just keep them updated in MS-Exchange... At the same time, since Android is a Google based phone, perhaps consolidating in Google/Gmail is the right answer...
View 4 Replies
View Related
Jul 2, 2010
In my Android app, I have some data that needs to be synced daily but also needs to be updated every hour when a user is inside the app. I have already implemented a service that gets called from an alarm for the daily update. I'm having a problem with developing a strategy to do the hourly sync. I could use an hourly alarm too and fire the same intent, but since your app can be killed at any time, there would be no way to cancel it (and since they use the same Intent, doing a cancel would cancel ALL alarms including my daily sync, so that's probably not good). The other option is to use a Timer that's set when inside the app, and have that fire my Intent when inside the app. I'm assuming all Timers get canceled when an app is killed right? But my app consists of several activities and I want the timer to work across all activities, how do I do that? I dont want to duplicate code - we're already using a subclass for Activity and ListActivity.
View 2 Replies
View Related
Sep 3, 2010
So I've recently released an application on to the Android Market. Whilst it was in the "Just In" section I was seeing decent download numbers, but since then interest seems to have dropped off significantly. I think now people can only find my app through a specific keyword search, which doesn't make me particularly confident about it ever becoming popular.
What can you do when your app has passed the 'Just In' stage but has not reached the 'Featured' stage? The majority of applications seem to be in this middle stage so I think other people must have a similar problem. It seems like the 'Featured' section just makes the popular apps more popular, and makes it really difficult for newer apps to ever catch up with them. Does anyone know if the situation with the Apple App Store is any different?
It seems to be possible to refresh your app and make it appear in the 'Just In' section again if you update it sometime after, but I can't find any real guidelines on this. Is anyone familiar with the specific rules for this, and is repeatedly riding the 'Just In' buzz the only viable strategy for a new app?
View 1 Replies
View Related