android-emulator

it is possible to use perl for automation testing of android applications

I am trying to automate the testing of an application of android using ASE(Android scripting Environment) and Perl. for eg: for viewing contacts on phone, i have used the showcontact api to display the conatcts in phone. similarly for starting browser, i have used the startActivity to launch the browser use Android; my $a=Android->new()...

Android : launching diff activities under TabWidget

hiii I am trying to launch activities under each tab. I hav tried with following code public class Tab_Proj1 extends TabActivity { TabHost mTabHost ; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); final Context context = getApplicationContext(); //mTabHost = (T...

Android SDK Camera API Demo Crashes

The Android SDK has an API demo for using the preview of the camera. However, this gives me a runtime exception in the emulator. I'm running with Eclipse on a Mac with 10.6 Here's the link where I grabbed the code: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html ...

Android emulator crashing on Windows 7 64 Bit

Hi Guys I am a newbie android developer and so far have only got Hello World running on my android phone. When I try to run my app in emulator mode I see the emulator window with the keyboard and answer / hangup buttons but I get a windows dialogue before my app runs sayingemulator.exe has stopped responding: Can anyone else get the...

Android SDK and AVD Manager where is Settings menu?

I am dealing with a problem discussed on many forums but they all say go to the "settings" menu on the "Android SDK and AVD Manager" screen. Yet I have installed in on multiple machines and do not see a Settings menu. Where is the menu? I have it installed on Windows XP and Vista. Thanx Julian ...

Android SDK and AVD Manager, Stalls and/or never finishes

Recorded for posterity. I saw only a few posts around the net and all suggest to use HTTP instead of HTTPS and there were several ways to do this. None of them discussed Windows only Linux. Well this did not work for me and I could not find any way to get the files downloaded to my Windows Vista 64 machine. So after much work I manua...

How much processor power does the andoid SDK take?

I am a total noob to this. I have literally just started today. I know Java and have developed in Eclipse forever - I am just new to Android. So, I downloaded the SDK and ADT plugin. I even coded the Hello Android app with a simple textview and got it going. What I am surprised at is the amount of RAM and processing power that eclipse is...

android.process.acore has stopped unexpectedly problem ?

when i try to run emulator it give me following error android.process.acore has stopped unexpectedly force close and i cannot run any application can any one guide me how to resolve this issue? ...

How to add icon/image to listitem of ListView

I have created listview by using arrayadpter i add arraryadapter to listview contaning string array but i m unable to add icon to eatch listitem help me out... ...

No internet on Android emulator - why and how to fix?

Hello I am trying to use internet with the Android emulator, but with no success. Any ideas? ...

Android SDK Setup.exe will not run

Running XP sp3 when i click SDK Setup.exe command line promt comes up and goes away fast and nothing else happens is there a fix for this ? ...

Android Emulator: Receive SMS sent from emulator on a port

Hi! I intend to use the Android Emulator to send/receive SMS. I send SMS to the emulator using the sms send command. I'm aware of emulators being able to converse with each other over SMS but would it possible to receive that the SMS reply sent from an Android Emulator on a external TCP port? Any pointers would be very appreciated. ...

How to attach back the Android emulator to ADB?

After I start the emulator by hitting Debug in Eclipse, after certain time it disconnects from the ADB, but the emulator stays open. It is responsive, I can navigate and start apps. How can I attach back the emulator to ADB, to be able to debug from Eclipse? (the current workaround is the terminate the emulator, close Eclipse and resta...

How to increase storage for Android Emulator? (INSTALL_FAILED_INSUFFICIENT_STORAGE)

I get this sometimes(not often) for one of my projects, couple of classes only Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE How do I increase emulator's storage? ...

android execution in emulator or device ?

Is there any way to know if my application is running on the emulator or on the device ? ...

App is not stable

Ive developed some app for Android, the Weirdthing that on the emulator it's pretty stable, but when i tryied on real device of a friend(nexus), it crushes times to times, cant finger on a specific case when exaclly it happens. i realy want to distribute the app asap, but i cant find any leaks in my emulator.. what I should do? how can i...

Passing Activity to non-activity object properly

In my app ive got a non-activity object which it's role is being a manager class. many times i need to pass "source activity" to methods as parameter to that manager class in order to make some operations on that activity. for exaple let's assume we have MyActivity which gotta do some toast. so i have this manager class called MyManage...

Allocation tracker disabled

For some reason the allocation tracker is disabled in my ddms.. i can see the logcat.. also i can see the proccess, but for some weird reason the proccess are shown as '?' in their name. what could be the reason? Thanks, ray. ...

Android emulator browser detecting

Hey there, I'm developing a mobile version of a website. I'm currently using this Javascript to detect and redirect the user: if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/Android/i)) || (navigator.userAgent.match(/iPod/i))) { window.location = "http://sitena...

tab content handling.... how in android???

hi all, i have a tabactivity with two tabs. in this tabactivity i have edittext and button to search the local database. i have a listactivity class as a tabcontent. it shows by the framelayout. i want to refresh that listactivity based on the text entered in edittext which is in the tabactivity. how to do that? i created a method ...