Questions tagged [android-compatibility]

Related with Android compatibility issues.

147 questions
1
vote
2 answers

How to do the compatibility mode for below android versions?

I am developing a android application.i am using action-bar in my app.but its not working in my Android smartphone(2.2.3) crashing. give me the solution.
1
vote
2 answers

Eclipse and Android with Maven: Unable to instantiate activity ComponentInfo with java.lang.ClassNotFoundException

I've got one issue with Eclipse. There is an android project configured with Maven. Here is pom.xml from child project (all versioning configuration was moved o parent pom.xml): android.support
1
vote
1 answer

NoSuchMethod Error in ContentValues.keySet() on old android devices

I get a weird error when using this function. On new devices and emulator works well but when testing the app on old devices it crashes.. Any clue on what is happening? public boolean bind(ContentValues values ) throws DatabaseException { …
spacebiker
  • 3,777
  • 4
  • 30
  • 49
1
vote
3 answers

Full size horizontal progressbar in layout when running Android 2.x

The following is a very simplified layout for a list view item that works as expected running on multiple different android 4.x devices but not on android 2.3 (device and emulator). Expected: The progressbar should cover the entire background of…
1
vote
1 answer

nineoldAndroid AnimationListenerAdapter

I used the android.animation.AnimatorListenerAdapter class in my code to listen to animations. Example : downView.animate().translationX(-mViewWidth).setDuration(mAnimationTime). setListener(new AnimatorListenerAdapter() { …
newbie
  • 1,049
  • 5
  • 15
  • 29
1
vote
1 answer

My app is running fine on ics but not in froyo

I have this app where in I have the below shown layout as the starting activity.It works fine in ICS but not in froyo. In froyo it only shows the ABOUT button and nothing else. I have also updated my manifest file below
human
  • 637
  • 4
  • 15
  • 41
1
vote
2 answers

Ant + Proguard provide android-support-v4.jar errors

While building project using ANT 1.8.2 and proguarg 4.8.1 [proguard] Unexpected error while evaluating instruction: [proguard] Class = [android/support/v4/view/AccessibilityDelegateCompat$AccessibilityDelegateJellyBeanImpl] [proguard] …
Oleg Karakoz
  • 532
  • 1
  • 6
  • 18
1
vote
1 answer

Android Compatibility Library and New Software Releases

QUESTION I use a custom version of the Compatibility Support Library that enables me to use Google Maps with Fragments. My question is, when new software releases happen, such as Jelly Bean just being released, will my compatibility library still…
StuStirling
  • 15,601
  • 23
  • 93
  • 150
1
vote
3 answers

Action Bar in API Level > 3.0 but Still Support API < 3.0

Yet another compatibility question. THE PROBLEM I need to use a tabbed action bar in api level 3.0 and greater to switch between fragments. However, I also need to be able to switch between these fragments somehow in api level < 3.0. The spanner in…
1
vote
1 answer

How to use Display.getSize and support API level 10?

I'm trying to support Devices with API level 10 onwards. To check the screen size I have this: Point size = new Point(); Display display = getWindowManager().getDefaultDisplay(); if(android.os.Build.VERSION.SDK_INT <…
mmaag
  • 1,534
  • 2
  • 18
  • 24
1
vote
1 answer

Android accessibility service backwards compatibility and jelly bean

I've got an app that uses the accessibility service to monitor for events. It's always worked fine in versions of android up to ICS, but with Jelly bean I'm not having much luck. As the documents mention I've…
Andrew
  • 7,548
  • 7
  • 50
  • 72
0
votes
1 answer

How to get the current latitude and longitude in my mobile

I have developed an application which uses Google's API Level 8, when I run the app in my device supporting Android Version 2.2 , It is working properly, I can also get my current latitude and longitude.But when I run the same application on the…
shvivek
  • 328
  • 3
  • 6
  • 18
0
votes
1 answer

Why my native android app is marked as not compatible with some chinese tablet?

I've a native app compiled for armeabi and armeabi-v7a Some users reported me that the Android Market says that my app is not compatible with their device, and I really don't understand why it isn't. In the AndroidManifest.xml I've:
Giuseppe
  • 2,093
  • 1
  • 21
  • 26
0
votes
2 answers

Android solving compatibility with SDK_INT hack; is this ok?

Running the following (note: target > 3.0) ActionBar actionBar = getActionBar(); on Android with version < 3.0 (SDK 11) results in a NoSuchMethodError. There are several ways to get around this, including reflection and class lazy loading.…
galaxy infinite
  • 143
  • 3
  • 9
0
votes
1 answer

onAttach() in the compatibility library ListFragment

I want to override the onAttach() http://developer.android.com/reference/android/app/Fragment.html#onAttach(android.app.Activity) method of a ListFragment from the compatibility library, but it seems it can't be found... am I getting something…
ofirbt
  • 1,846
  • 7
  • 26
  • 41