Related with Android compatibility issues.
Questions tagged [android-compatibility]
147 questions
3
votes
1 answer
Compatibility Issues with Nexus 10
No matter what I do I cannot get my application to be considered compatible with my nexus 10. On the play store, I believe the issue is in my manifest file, but I'm not seeing where the problem is. Any advice?
What I've seen:
Why my App is not…

ryandawkins
- 1,537
- 5
- 25
- 38
3
votes
3 answers
Android AsyncTask vs. Threads for a specific case
I am working on an application that Looks similar to the Google Play App (swipe view with gridviews inside the fragments, in addition data in the gridview [image + text] is retrieved from a remote server).
My problem is with background tasks. I…

user1851212
- 691
- 1
- 7
- 19
3
votes
1 answer
Android Compatibility libraries. Best Practice
I have been developing an application to target Android API level 10. When i started my theory was to target a low API so it would be useable on most devices. I feel like this is what most new developers do. As i dive deeper into android i started…

doubleA
- 2,446
- 22
- 45
3
votes
1 answer
Android compatiblity - micromax funbook
I am new in android development. And I have confusion about android layout compatibility.
I am creating one app in android 4.0.3 but it's UI look like android 2.2 related UI.
I used all default controls in app but it not look like 4.0.3 related…

KeTaN
- 724
- 8
- 22
2
votes
1 answer
Can EntityUtils.toString() cause a NetworkOnMainThreadException?
I have a setup where I perform my http requests in the doInBackground() method of an AsyncTask as follows:
@Override
protected HttpResponse doInBackground(HttpRequestBase... httpRequests)
{
HttpResponse httpResponse =…

Adil Hussain
- 30,049
- 21
- 112
- 147
2
votes
3 answers
How do I supply many Fragments to ViewPager and avoid bad code?
I have 20 FragmentActivity, they all represent like the game screens with different mechanics.
I want to put them all in ViewPager. The only thing that comes to mind is this dummy code:
public static class MyAdapter extends FragmentPagerAdapter…
user468311
2
votes
0 answers
CTS run stops in Middle - AdbCommandRejectedException - insufficient permission for device
Iam executing Full CTS run (640 modules).But in between the device gets restarted and the device USB mode goes to charging the device from USB files transfer. So, CTS will stops executing because of device not available.
Solutions I tried :
I gave…

prakash421
- 139
- 1
- 8
2
votes
0 answers
getScript alternative for Android API 19
I have an application in Android API level 21 and it's currently using the getScript method which was added in the same api level in class Locale.
The application must have backwards compatibility with Android API level 19 and I need another…

Lind
- 277
- 2
- 5
- 16
2
votes
0 answers
Activity does not go fully immersive after restoring from being Destroyed (Lollipop only)
When my application is destroyed and then resumed, a black bar appears where the soft navigation buttons would otherwise be. My application is meant to be fullscreen with no navigation buttons, so this bar blocks some of my content from view. I have…

NSouth
- 5,067
- 7
- 48
- 83
2
votes
1 answer
How to use Android's AppCompat theming application-wide?
IDE: Android Studio 1.1.0
ENV: Debugging on usb-connected phone using Android API v10.
I'm trying to use AppCompat to support Android API v8 and up. Compiles fine but crashes when the activity is drawn, saying:
lang.IllegalStateException: You need…

Kevin J.
- 87
- 2
- 11
2
votes
1 answer
Mic sensitivity in Android CDD
The Android Compatibility Definition Document states that
"Audio input sensitivity SHOULD be set such that a 90 dB sound power level (SPL) source at 1000 Hz yields RMS of 2500 for 16-bit samples".
"PCM amplitude levels SHOULD linearly track input…

CGT
- 21
- 1
2
votes
5 answers
Setting background color of android actionbar
I am operating with the compatibility library v7.
I am just trying to set the color of my actionbar (for Android 2.1 and above - though I run Android 4.4.2) to a solid color.
However the color does not change. It remains the same.
I have also tried…

Laurent
- 1,554
- 19
- 42
2
votes
1 answer
Adding support for Fragments in API 10
I've been building an app that untill recently had minSdkVersion="14", but i want to change that and add compatability for api 10. The first problem i had was with styles but i sort-off fixed it by using Theme.AppCompat. Now i have problems in my…

Squeazer
- 1,234
- 1
- 14
- 33
2
votes
1 answer
Is checking SDK_INT enough or is lazy loading needed for using newer android APIs ? Why?
Code such as :
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD)
ed.apply();
else ed.commit();
produces a warning in Froyo :
04-27 03:40:35.025: W/dalvikvm(3138): VFY: unable to resolve interface method 219:…

Mr_and_Mrs_D
- 32,208
- 39
- 178
- 361
2
votes
5 answers
Arranging radio buttons just below the text and perfectly in center for all android devices
I want to Arrange radio butons just below the text but I am not able to do it. I have used android:layout_marginLeft="20dp" but it works for only particular device not for all.

akshay
- 5,811
- 5
- 39
- 58