Android :: Points To Remember While Testing Droid Application?
Oct 2, 2010What are different points to note down while testing android applications? What are different techniques or test cases used for android?
View 1 RepliesWhat are different points to note down while testing android applications? What are different techniques or test cases used for android?
View 1 Replies1. My app opens a web view, with a web page that requires a username & password. 2. The user writes his password, and on the Android popup to remember the password he chooses "remember". 3. Now the user wants to log in with a different password. But the web view always remembers his last password and doesn't even show him the login page. How can I programmatically clear that saved password? Assuming that I know the host URL. I tried webView.clearCache(true), webView.clearFormData(). But it didn't work.
View 3 Replies View RelatedHow to showActivity which will display route between two points.
This will start installed map application on android phone.
We are working on an application that is a "Black Box in a phone" Written only for Android at the moment, we have tested on T1 and Magic, and we are looking for people to help us test it in various circumstances.
The app is designed for pilots and those that fly, tracks the phone in realtime and displays it on others phones and also in 3D on the website, GPS Logbooks - Home | Black Box Flight Recording, using only your Android cell phone.
The app is now in the marketplace, so we are looking for pilots, navigators, glider pilots, balloonists, sky divers and anyone else who likes to fly to download the app and go flying. After that you can publish your flights and share them with others.
Please note that your location data is visible to anyone on the site when you are flying live, so don't use it if you are somewhere that you don't want people to know about.
I'm having troubles with users that report that if they leave the application opened and after a few hours when they return to it the app crashes. I'm pretty sure it is because I'm not storing/restoring the status correctly when my process is killed by the system, but I would like to be able to test it in a repeatable way. Which is the best way to simulate the same behavior that happens when Android kills my process on low memory conditions?
View 4 Replies View RelatedI wrote a simplest test based on android.test.ActivityInstrumentationTestCase2.
CODE:..............
i get following error, if i test my app on a real android phone. On the emulator, my app works fine.
W/dalvikvm( 321): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) E/AndroidRuntime( 321): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime( 321): java.lang.VerifyError: de.stefandahmen.android.TourList E/AndroidRuntime( 321): at java.lang.Class.newInstanceImpl (Native Method) E/AndroidRuntime( 321): at java.lang.Class.newInstance (Class.java:1472) E/AndroidRuntime( 321): at android.app.Instrumentation.newActivity(Instrumentation.java:1097) E/AndroidRuntime( 321):.....
I want to start with a consistent test environment so I need to reset/clear my preferences. Here's the SetUp for test I have so far. It's not reporting any errors, and my tests pass, but the preferences are not being cleared.
I'm testing the "MainMenu" activity, but I temporarily switch to the OptionScreen activity (which extends Android's PreferenceActivity class.)
I do see the test correctly open the OptionScreen during the run.
CODE
:...............
StartNewActivity Code:
CODE:.................
Are there pitfalls or the points to remember while programming for Android? I think the list will include topics on Multithreading, Persistent Storage, etc.
View 4 Replies View RelatedDoes anyone know if the X can "remember" a sent email address? My iPhone/BB both did this, but I cant tell if there is an option for this here.
For example, if I email an address thats not in my contacts, the next time I try to email that address I have to type out the entire address again, whereas with my iPhone or BB it would remember my sent addresses and I could just select them, even if they werent in my contacts.
Also I see no option to never delete from server. If I download email from my POP account onto my phone, will I still be able to get that on my PC when I get to my office? If I delete it as well?
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?
Today I updated to the latest cyanogenmod and like I always do I restore all of my apps with Titanium. However, when I restored helix, none of my apps were restored to their appropriate home screen like it normally is. It's a pain to drag them all one by one again to where I want them. Am I missing something, or is there an app out there that will remember them next time?
View 4 Replies View Relatedmy app works fine on samsung galaxy and nexus one. It is giving problem on htc incredible. How should I test my application for various phones?
View 4 Replies View RelatedI'm new to android unit testing. I'm trying to write a unit test for the Phone application:
package com.android.phone;
import android.content.Intent;
import android.net.Uri;
import android.test.ApplicationTestCase;
import android.test.suitebuilder.annotation.MediumTest;
import com.android.phone.PhoneApp;
import dalvik.annotation.TestTargetClass;...............
What exactly are mock tests... I need to know the mock and performance tests available in android for testing android apps..what is the best tool for testing android apps and how..
View 1 Replies View RelatedWhy should the debugger don't make breakpoints stop when running an android app on Eclipse ?
View 4 Replies View RelatedI was wondering if any one had compiled a list of the most commonly used Android devices so I can get an idea of what I should test for. Even better would be suggested configurations for emulating each device.
View 2 Replies View RelatedHow do I test my android application such that it works on all major android phones ? e.g. Motorola, HTC, Samsung etc. I have an app that works on nexus one and samsung but it is giving problems on htc incredible.
View 4 Replies View RelatedI got my Droid Tuesday, 11/3/09, around 9:30am. I'm enjoying this phone more than any other smartphone that I've used so far, including any blackberry, winmo, and my iphone. The OS is fast, smooth, everything works great. I simply activated my phone, turned it on, it asked me if I had a google account. I signed in and my gmail account, contacts with picture id, and google talk were set up in just a few minutes. The downside is that it doesn't sync with Outlook, no user manual or sync software included with the phone.
You can drop and drag and for ringtones, you need to create a folder, then drop and drag. There is no default video player but you can get one from the Android Market. Actually, you can get almost anything there. You may find other things you'd expect to have on the phone by default, you have to get from the Market. So, it will take some time to get everything set up. I haven't used the camera yet. The keyboard is not the best, but it's useable. The touch screen keyboard is very good though.
I noticed when i first installed the app on my eris, it worked great. since then, I have to calibrate it every time, and it always points to the right of the phone until it does whatever it does.....
View 10 Replies View RelatedI have looked all over, and done a few searches already, but that don't mean I'm not blind.
How do you/Can you calibrate the screen touch points on the DX? I seem to have to aim slightly lower left of every thing I want to hit. Sadly it seems to be getting worse or well, I'm blinder than I thought.
I got 'no JUnit3 tests' info when trying to use JUnit4-only tests under android 1.6
View 3 Replies View RelatedJust got my hands on a Droid and now I'm working out some kinks. My iPhone and laptop have no problem roaming aggressively between multiple access points we have at work that share the same SSID. I can't seem to get the Droid to do the same thing. I've tried downloading some wifi scanners, but they don't quite cut it. Is there a setting I'm missing? The expected behavior would be for the Droid to happily associate with any AP that shares a "remembered" SSID. Right now, it requires manually going into settings and associating with each and every AP in order for it to hop automatically as I move around the building.
View 4 Replies View RelatedI recently reset my phone and i had a game me and my daughter love but i can remember the name it was a egg that will turn in a alien you had to feed him give him baths and he will get sick here and there if anyone can help me finding the name ill appreciate my daughter love it.
View 1 Replies View RelatedMy 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 RelatedIf user clicks on remember password than how to remember user name and password on client ?
View 2 Replies View RelatedNothing to see here, please move along
View 3 Replies View RelatedIs there anyway for the phone to remember my password, so that when it tries to connect to the WiFi, it will NOT ask me to enter the password. It is a hexadecimal number and it is frustrating me when I have to enter it every few minutes when the phone finds a different network, then wants to switch back to mine.
View 1 Replies View RelatedIf you would like to test it then you can download it here: http://downloads.sholes.info/finalre...-2.0.6.rom.tgz Changes: 5 setCPU slots, temp moniter, new boot animation.
View 23 Replies View RelatedI am using ralink WiFi driver in android, I am able to connect to the access-point using the Wireless Settings provided in the Android, But once I connect to the network and restart the WiFi. I have to reconnect manually by providing the authentication key. WiFi Manager is not remembering the last access point used. I am using the Settings application provided by the android.
View 2 Replies View Related