Questions tagged [android-compatibility]

Related with Android compatibility issues.

147 questions
2
votes
2 answers

Choose between different implementations of the same class

I am not sure if this is possible or if I am thinking of this correctly. In the Android developer training for Displaying Bitmaps Efficiently, a custom version of the AsyncTask is used to make the code compatible with android versions below…
btalb
  • 6,937
  • 11
  • 36
  • 44
2
votes
1 answer

Why does Android CDD advise against using a temperature sensor other than CPU temperature sensor

The Android CDD states as follows 7.3.7. Thermometer Device implementations MAY but SHOULD NOT include a thermometer (i.e. temperature sensor.) If a device implementation does include a thermometer, it MUST measure the temperature of the device …
Rajesh
  • 654
  • 5
  • 8
2
votes
1 answer

Using Android Compatibility Library

I have worked a lot with the Android Compatibility library and have always used the class in the library over the class in the Android jar to ensure backwards compatibility. Is this the correct way to use it? I had an idea to have an interface for…
jiduvah
  • 5,108
  • 6
  • 39
  • 55
2
votes
1 answer

Running fragments on 2.2 error - Could not find class

I'm trying to make my app backwards compatible to Android 2.2. I've got Fragments, ListFragments, a FragmentPagerAdapter, and ActionBarSherlock all happening. I've got the android support library included, and the build works perfectly on my android…
Tim Malseed
  • 6,003
  • 6
  • 48
  • 66
2
votes
1 answer

FragmentActivity with a Fragment Containing a MapView

I know there are a few questions like this but what I'm looking for is slightly different the way I see it. THE PROBLEM I have one Activity and I am only ever going to have one Activity. I do however have multiple Fragments; one of which contains a…
2
votes
1 answer

google play compatibility check

So I am developing an android app and want to publish it to Google Play. The projects contains some methods that are supported only after API 13 (Like Display.GetSize() for example). I made my project backward compatible by going around these…
2
votes
2 answers

Calling startActivity(intentServiceIntent) within (Sherlock)DialogFragment results in ActivityNotFoundException

Scenario: SherlockFragmentActivity displaying SherlockFragment. SherlockFragment showing SherlockDialogFragment. Verions: Build API: Google APIs 15 Compatibility/Support Package: v4 ActionBarSherclock: 4.1.0 Android Emulator:…
1
vote
1 answer

Error inflating class switch, ActionBarSherlock (InflateException)

I'm running into a pain of an error. I have a SherlockFragmentActivity, and at least two SherlockFragments. Both use onCreateView to inflate an xml file. LoginFragment, however, has a switch widget: econ fragment does not. If I add a switch widget…
1
vote
2 answers

ActionBar on sub3.0 devices - implementing ActionBarSherlock with my customized system?

My app has progressed enough to start testing it out on a variety of devices. Now, I would like for people sub 3.0 to be able to use my app. Granted, I am using the compatibility library with the standard actionbar, which obviously crashes the app…
1
vote
1 answer

Strange Redraw behavior in Android

I am using android support package v4 and the following layout to show up a scrollable tabbar + corresponding slideable contentviews:
tobi.g
  • 924
  • 6
  • 23
1
vote
1 answer

Textures in OpenGL corrupted based on Android screen density (hdpi)

I am having a problem with HDPI screens (tested on Samsung Galaxy S2). I have a texture map which I use in conjunction with the OES_draw_texture 1.1 extension. This works fine for MDPI screens, big and small (tested on HTC Legend and Asus…
Dororo
  • 3,420
  • 2
  • 30
  • 46
1
vote
1 answer

Compatibility Issue with Flutter Project on Android 12 and Later Versions

I have a Flutter project and I developed it in Flutter 1.20.0. However, I'm getting a warning in the Google Play Store that the app is incompatible with Android 12 and higher. I have taken several steps to resolve this issue but still no solution. I…
1
vote
2 answers

Android: compatibility package Fragment crash

I am trying to use the Android compatibility package to create a backwards-compatible app that uses Fragments. However, it crashes when I run it on an Android v2.2 emulator. It does not crash on my Xoom (v3.2). I suspect the fragment tag in the…
Ken
  • 2,918
  • 1
  • 25
  • 31
1
vote
1 answer

Android CDD/CTS complaince for non telephony devices

I would like to know if Android is developed to a non telephony device, is there any strict CDD/CTS requirements that has to be complied in order to get Google certification? I am aware of some products such as tablets,TV and other terminals which…
Rock55
  • 25
  • 7
1
vote
1 answer

How can I create drawable file compatible with all devices on both orientations in Android?

I have created a rectangle structure with a tooltip arrow using a layer list. And showing this as a popup window. But that pop-up left and right ends are cutting for Large tablets on portrait mode. Structure :