-
Mavrik
android backwards-compatibility screen-orientation android-2.2
I’m developing an Android application targeting 2.x and 3.0 devices and thus I’m using the compatibilty API. I’m testing on Android 2.0.I’m trying to replace a displayed fragment with another one (search form with search results) and I’m experiencing a crash on orientation change when the second (results) fragment is displayed.Basically, I have an activity, that includes a fragment defined in layout xml as<fragment class=”org.prevoz.android.search.SearchFormFragment”android:id = “@+id/search_
-
rekire
android dropbox android-2.2 strictmode
I noticed that a DropBoxManager has been introduced in Android API since FroYo (API 8).It looks like an alternative logger capable of logging not only text but also files or byte arrays, but I could not find any detailed doc anywhere about how and when we should use it.The latest android dev blog post introducing StrictMode talks about it, StrictMode can append data to the DropBox, and we are given a shell command to retrieve these data.Please share here your knowledge about this! Why has it bee
-
Mark Ingram
android git android-2.2
I’ve never used git before, but I’d like to download the android source code as I’m getting a crash in the 2.2 emulator and I’d like to see exactly where in the android source code it’s crashing (so I can file a better bug report). Edit A decent answer would include instructions on using git to download a specific repository. I’m on windows, but have installed Msysgit.
-
rekire
android camera android-2.2
In Android SDK and AVD Manager, I created a new android virtual device as following:Name: myavd Target: Android 2.2 – API Level 8. SD Card: 50MiB. Build-in: Default (HVGA). Hardware: Abstracted LCD density 160.After starting this device, I can’t take a picture from build-in camera. The following is the error and exception.The application Camera (process com.android.camera) has stopped unexpectedly. Please try again.08-18 15:00:47.940: ERROR/AndroidRuntime(289): FATAL EXCEPTION: GLThread 1108-18
-
MikroDel
android bluetooth android-2.2
I have a piece of code which runs quite happily on the HTC Desire HD [v2.3.3], but when running on an HTC Desire [v2.2] crashes with a SIGSEGV when closing a bluetooth socket:07-25 16:23:52.462: INFO/DEBUG(64): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 07-25 16:23:52.462: INFO/DEBUG(64): Build fingerprint: ‘vodafone_uk/htc_bravo/bravo/bravo:2.2/FRF91/284385:user/release-keys’ 07-25 16:23:52.462: INFO/DEBUG(64): pid: 2494, tid: 2512 >>> uk.co.etiltd.bluetooth <&
-
Mr_and_Mrs_D
android illegalargumentexception android-2.2
My emulators :When I launch the tablet emulator I get :FATAL EXCEPTION: main java.lang.IllegalArgumentException: Component class TriggerMonitoringBootReceiver does not exist in di.k23b.hw3at android.os.Parcel.readException(Parcel.java:1429)at android.os.Parcel.readException(Parcel.java:1379)at android.content.pm.IPackageManager$Stub$Proxy.setComponentEnabledSetting(IPackageManager.java:2561)at android.app.ApplicationPackageManager.setComponentEnabledSetting(ApplicationPackageManager.java:1250)at
-
Leo
android listview android-2.2 listadapter simpleadapter
I am using SeparatedListAdapter as written by Jeff Sharkey . I originally started developing this application on Nexus One, where I have gotten it to work exactly as intended. Now I am moving on testing certain parts, and my application is crashing on all these other phones that are running Android 2.1 . My project Build Target is 2.1-update1 same as all these phones. Here is the LogCat for the error01-21 18:24:01.486: ERROR/AndroidRuntime(4615): Uncaught handler: thread main exiting due to u
-
xxxxxxxxxadfas
android android-sdk-2.2 android-2.2
Problem is simple. Two Activities. One throwing intent at other. Project have name : “Stupidroid” package : “com.examples.stupidroid” activity : “stupidOnSteroids”below is stupidOnSteroids .javapackage com.examples.stupidroid;import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button;public class stupidOnSteroids extends Activity {private Button buttonThatWillTakeYouPlacesButton;private Intent intentThatwillTakeYo
-
Kalisme
android opengl-es android-2.2
I know this is something i should have learned before switching to opengl es 1.0 from software drawing, but I’ve been unable to find any information on the subject…My opengl app crashes after going to sleep if nothing is touched for a while… I’m wondering if it’s because i’m not unloading textures or vertex/colour/texture/index buffers before it goes to sleep… I’m really unsure on how to do this or even if it would help… could someone direct me to or tell me a quick guide to the rules of
-
Ziker
android android-service android-2.2 looper
I have a problem with my app. My application is actually a service. I have Main extends Service, it has private Looper looper variable to get HandlerThread looper. In onCreate function I initialize location manager, location listener and HandlerThread (which sets its looper to looper variable), then I try to use requestLocationUpdates passing the looper variable as looper. I gets an error09-22 17:30:24.069: E/AndroidRuntime(1414): Caused by: java.lang.IllegalArgumentException: looper==nullShould
-
android developer
android google-play crash-reports android-2.2
it seems that as of android 2.2 , there is a new feature for sending crash reports , as mentioned on the next links :http://www.androidcentral.com/new-android-app-crash-report-tool-already-and-running http://android-developers.blogspot.com/2010/05/google-feedback-for-android.html http://developer.android.com/sdk/android-2.2-highlights.html http://www.youtube.com/watch?v=o8unC9bA4O8how do i use this feature? is it automatic for each application downloaded from the market (aka play store) ? where
-
rekire
android camera android-2.2
I have tested my application on the Android SDK on everything from 1.5 to 2.2 and the camera code in my activity works fine. Running it on a device with 2.1 is also working. But the same app does not work with 2.2 on HTC Desire and Nexus One and the app crashes. Any ideas why they might be happening?Am using import android.hardware.Camera;.Inside onCreate I have this:preview = (SurfaceView) findViewById(R.id.preview);previewHolder = preview.getHolder();previewHolder.addCallback(surfaceCallback);
-
rekire
android crash android-ndk android-2.2 skia
I got skia native crash when return ~SkSpriteBlitter(), below is the tombstone and stack trace. Does anyone get this issue before?[tombstone] signal 11 (SIGSEGV), fault addr 00000000r0 bec3a434 r1 ab248078 r2 ab248080 r3 ab2494dcr4 bec3a558 r5 bec3a434 r6 002ae6b0 r7 bec3a558r8 00000000 r9 bec3a5e8 10 bec3a434 fp 00000000ip 000002dc sp bec3a2d8 lr ab169da4 pc 00000000Stack Trace: signal 11 (SIGSEGV), fault addr 00000000r0 bec3a434 r1 ab248078 r2 ab248080 r3 ab2494dcr4 bec3a558 r5
-
Superbest
android listview crash android-2.2
I am trying to use the following code to populate a ListView using a predefined array of strings:String[] schedule_names = getResources().getStringArray(R.array.test_schedules);// Populate the ListView using the array of schedule names ArrayList<String> als = new ArrayList<String>(Arrays.asList(schedule_names)); ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, R.id.listView, als);adapter.add(“Test”);ListView listView = (ListView) findViewById(R.id.listView);
-
user2048724
android android-emulator android-2.2 android-4.2
The app is working absolutely fine in android 2.2. But in 4.2 the app is closing unexpectedly. The app uses client server architecture to send messages to laptop that acts as the server. the logcat shows:02-07 04:49:45.683: W/Trace(829): Unexpected value from nativeGetEnabledTags: 0 02-07 04:49:45.683: W/Trace(829): Unexpected value from nativeGetEnabledTags: 0 02-07 04:49:45.690: W/Trace(829): Unexpected value from nativeGetEnabledTags: 0 02-07 04:49:46.160: W/Trace(829): Unexpected value from
-
Matthew Mitchell
android android-emulator android-activity android-2.2
This is what happens when I run my app on the emulator on API 8, but on my phone it works fine:03-08 23:51:46.683: I/dalvikvm(414): Failed resolving Lcom/matthewmitchell/wakeify/MainActivity; interface 24 ‘Landroid/app/LoaderManager$LoaderCallbacks;’ 03-08 23:51:46.683: W/dalvikvm(414): Link of class ‘Lcom/matthewmitchell/wakeify/MainActivity;’ failed 03-08 23:51:46.693: D/AndroidRuntime(414): Shutting down VM 03-08 23:51:46.693: W/dalvikvm(414): threadid=1: thread exiting with uncaught exceptio
-
Dave
android eclipse exception emulator android-2.2
I’ve got an application which (although I’m not sure why,) requires Android 2.2 at least to work, so after getting Froyo on my phone, I tested the application and although it installs and begins to run, when I carry out a function, it results in the following error:”The application has stopped unexpected. Please try again.”It works fine on the emulator which is also running Froyo so I can’t figure out what the problem is. The error in adb logcat is the following:W/dalvikvm( 1027): threadid=1: t
-
rekire
android xml xml-schema android-2.2
With the Android SDK, the following code in a plain empty Activity fails:@Override protected void onStart() {super.onStart();SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); }The 2.2 emulator logcat shows this exception:06-28 05:38:06.107: WARN/dalvikvm(495): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 06-28 05:38:06.128: ERROR/AndroidRuntime(495): FATAL EXCEPTION: mainjava.lang.RuntimeException: Unable to start activity Compo
-
Emerald214
android font-face android-2.2
I want to change WebView font. There are 2 files in “assets” folder. They are:assets/fonts/DejaVuSans.ttf andassets/css/result.cssI searched some answers on StackOverflow and find out a solution but it doesn’t work. The result.css loads DejaVuSans.ttf using @font-face directive. Then it is included in < link > tag of data which is passed to WebView::loadDataWithBaseURL (The code is below). The problem is CSS styles works (the text is red) but the font doesn’t. Square characters appears when