android-emulator

SipManager.newInstance not working for android Gingerbread

佐手、 提交于 2019-12-03 10:06:29
I am trying to run a simple SIP program using android 2.3 emulator. When i am trying to create an instance of SipManager i get a return value as null(which means the SIP API isn't supported). Pls suggest how i can test SIP in emulator. I got this working for me thanks to the Issues list link below : http://code.google.com/p/android/issues/detail?id=13037 and the thing which worked for me is in sub link in this thread. How to enable SIP in Android 2.3 emulator. Make the system partition writeable. Open a cmd window and enter these: emulator -avd -partition-size 128 adb shell mount -o remount,rw

Marking Current Location on Map, Android

江枫思渺然 提交于 2019-12-03 10:03:39
问题 I followed some tutorials to create an application that shows the current position of the user on the map with a marking. But for some reasons I can't get to work the marking part? The other parts work well, but whenever I add the marking code the application crashes. Here is the code: public class LocationActivity extends MapActivity { private MapView mapView; private LocationManager lm; private LocationListener ll; private MapController mc; GeoPoint p = null; Drawable defaultMarker = null;

Android application control flow?

感情迁移 提交于 2019-12-03 09:56:57
问题 I am very new to Android application development. Just started Hello world android application yesterday. I was wondering whether there will be any control flow in the android application, like the Struts MVC, Spring MVC etc. has in them. I am working on enhancing the android application, so I thought that knowing the flow of control would be a good start. 回答1: The following three materials will be very good for you if you'd like to know the control flow of an Android application: Application

Error while starting android emulator: FB::flushWindowSurfaceColorBuffer: window handle 0x4 not found

余生长醉 提交于 2019-12-03 09:55:14
I just started working with android. So when i try to start the AVD (details below) it doesn't start, just a black screen for a time, until I get tired of it and shut it down. I have intelhaxm installed, and hyper-v disabled. This is the log i got form the console: [2014-07-28 20:02:52 - app2] ------------------------------ [2014-07-28 20:02:52 - app2] Android Launch! [2014-07-28 20:02:52 - app2] adb is running normally. [2014-07-28 20:02:52 - app2] Performing com.example.app2.MainActivity activity launch [2014-07-28 20:02:52 - app2] Automatic Target Mode: Preferred AVD 'Test5' is not

How to use adb pull command? [duplicate]

天大地大妈咪最大 提交于 2019-12-03 09:46:06
Possible Duplicate: How to copy selected files from Android with adb pull I am using adb pull command like this: adb pull /sdcard/*.trace C:/ but i show me remote object '/sdcard/*.trace' does not exit i check trace files are in the sdcard.Now how to pull these files from sdcard.Can you help me How to fix? Aditya I don't think adb pull handles wildcards for multiple files. I ran into the same problem and did this by moving the files to a folder and then pulling the folder. I found a link doing the same thing. Try following these steps. How to copy selected files from Android with adb pull 来源:

Why not standard Android emulators?

喜你入骨 提交于 2019-12-03 09:44:32
I'm new to Android, but have published iphone and bberry apps. I see that I have to create an emulator using the SDK, before I can write and test an app. Why are there no default emulators? Why not at least a Nexus one, or HTC hero emulator shipped with the product? Sure its supposed to be flexible, but why not make it easy to create hello world and play around with a virtual Android phone? Both blackberry and iphone come with default simulators when you download the sdk. Thanks, Gerry Since you can create an emulator configuration - or Android Virtual Device (AVD) - with three mouse clicks

Unable to use keyboard in Android emulator

白昼怎懂夜的黑 提交于 2019-12-03 09:28:45
I just set up of Android development environment in Ubuntu 12.04. I made an AVD for Android version 2.3.3 and ran my app on it. But I am not able to use my computer's keyboard or keyboard given on the right side of it. What is the reason for this? My ADT version is 20.0. I was earlier developing on Windows and it was working fine. rishiag Got the answer from here . Apparently they have removed default keyboard support after ADT 20.0, so we need to add keyboard support manually by editing the AVD. I have just tested and it still works perfectly. You just need to enable this. And I do not see

Emulator's clock doesn't match the host system clock

旧城冷巷雨未停 提交于 2019-12-03 09:26:02
Why doesn't the Android emulator's clock match the host system clock? It's not a time zone difference --it's always off by several minutes. Is there a way to synchronize them besides manually setting the emulator's time? Raykud I believe there is no way to synchronize the time. The default image of the emulator sets to UTC/GMT (+00:00). However you can change it to your own. Here is an image on how to do so: First un-check the "Automatic Time Zone" (red arrow) then click on the "Selected Time Zone" (green arrow) and finally select your time zone and it should match the one on your system

android:Page curl animation effect

左心房为你撑大大i 提交于 2019-12-03 09:15:39
If anybody have a Page Curl Effect example Demo so please give me link for this Thanks 100rabh Hardik ,there are already tons of questions out there see this http://www.google.co.in/search?hl=en&client=ubuntu&hs=FOq&channel=cs&q=page+curl+android+stackoverflow&aq=f&aqi=&aql=&oq= or refer this project android-page-curl 来源: https://stackoverflow.com/questions/5727276/androidpage-curl-animation-effect

How to set up android SDK for command line development on linux?

左心房为你撑大大i 提交于 2019-12-03 09:04:14
问题 I'm trying to set up the android SDK to develop a simple program on the command line in Linux (Ubuntu 9.10). I tried eclipse, but it has know problems running on Ubuntu, so I gave up on it. Here's what I've done so far: downloaded android-sdk_r05-linux_86.tgz from http://developer.android.com/sdk/index.html tar xvzf android-sdk_r05-linux_86.tgz ln -s android-sdk-linux_86 android in .tcshrc added setenv PATH .....:/home/user/android/tools source .tcshrc ran 'android'. This opened a gui. Under