android-compatibility Questions

17

Solved

I'm using vector drawables in android prior to Lollipop and these are of some of my libraries and tool versions: Android Studio : 2.0 Android Gradle Plugin : 2.0.0 Build Tools : 23.0.2 Android...

2

I have following Error in Google Play before app publish. It is not a warning but an error. I can see warnings with similar stack trace. I am not sure if the app will be rejected because of these b...
Menard asked 5/5, 2021 at 23:17

2

Solved

I just tried updating the target and compile API level of our app to 29 (Android 10) and noticed that I cannot compile any more because LocationManager.addNmeaListener only accepts OnNmeaMessageLis...

6

Solved

I have a viewpager that pages through fragments. My FragmentPagerAdapter subclass creates a new fragment in the getItem method which seems wasteful. Is there a FragmentPagerAdapter equivalent to th...

3

Solved

I am using 'com.google.android.gms:play-services-ads:12.0.1'. and android support version 27.1.1. when I try to upgrade my ads library to the latest (15.0.0) I get an error saying that I must use...

4

Solved

I wanted to know the difference between android-support-v4.jar and android-support-v7-appcompat.jar. If I want to add appcompat Action Bar in my application do I need to add both android-support-v7...

1

Recently I discovered what is AppCompatDelegate so a natural question arises - is it worse than using AppCompatActivity or do they have their differences and what are they?

4

Solved

Basically, I need to detect when the progress changes in the SeekBar and draw a text view on top of the thumb indicating the progress value. I do this by implementing a OnSeekBarChangeListener an...
Lyautey asked 4/9, 2013 at 19:24

10

Hii i have submitted an app to playstore but it isn't compatible with Nexus here is my Manifest My App is on List of supported Devices in the Google Play and when i check the same in the nexu...

1

Solved

I'm trying to use a SwitchCompat widget on the overflow menu of android.support.v7.widget.Toolbar but I just can't get it to work, it always appears blank. Here is my menu definition: <menu x...

6

Solved

Been searching for this issue for a while to no avail now: How to determine fragment is being restored from backstack? I'm using the compatibility library and a ListFragment inside a FragmentActiv...
Quintonquintuple asked 27/10, 2011 at 17:9

6

Solved

I've just read this description of the Android Support Package / Compatibility Library... http://developer.android.com/sdk/compatibility-library.html ... and it's left me a little confused! It sa...
Nucleotide asked 29/3, 2012 at 13:31

2

Solved

We have an existing Android app that supports API Level 8 up to 18. We used compatibility libraries 19.1.0. Now we are changing/upgrading to: Minimum SDK = 14 Target = android-22 Now given that...

1

Solved

In the support library appCompat v7 of the Android platform, there is a android.support.v7.widget.LinearLayoutCompat class. Does someone know why this class exist? The original LinearLayout class ...
Chasitychasm asked 22/10, 2014 at 17:15

2

Solved

From API level 11 setDividerDrawable() and setShowDividers() was introduced on LinearLayout, enabling the linear layout to show dividers between child elements. I would really like to use this feat...

3

Solved

I've created a simple app to illustrate a change in how LinearLayout behaves when wrapped in a RelativeLayout between SDK 17 and SDK 18. First, screenshots: When targetSdkVersion is "17": When ...

2

Solved

I'm making my app to have minimum Android version of 4.0 (ICS, API level 14). First I guessed that I can get rid of using FragmentActivity as the base class for the activities, but it seems that s...

2

I'm trying to use Fragments and ActionBar in a Android 2.2 project. There is some error when using "?android:attr/actionBarSize", how to get and set that value correctly? Example: <LinearLayou...
Minimal asked 13/10, 2011 at 21:47

1

Solved

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):...
Bracketing asked 28/11, 2013 at 17:11

1

Solved

Since my minimum SDK version is 14, I don't want to add support library to my application. Based on what Android says on DrawerLayout page, this view group is defined in support library (android.su...
Staceestacey asked 27/11, 2013 at 10:58

3

Solved

I'm trying to make my ICS (API level 15) app compatible with Gingerbread (API level 10), and I'm getting InflateException Error inflating class <Unknown> for any layout XML that has an ?andro...
Relativistic asked 8/7, 2012 at 12:6

3

Solved

I developed a application for Android 3.0, and it's runs perfectly well, but the client insist on compatibility with 2.2 devices. Disabling hardware acceleration, using Android Compatibility Packa...

8

I am trying to add some visual indication, that there are no more pages in the desired fling direction in the ViewPager. However I am struggling to find a place, where to put relevant code. I have...
Anthropometry asked 27/5, 2012 at 11:19

3

I want to make my existing website automatically adjust itself when viewed either on mobiles, tablets, or even when you adjust your screen on a desktop. Failing that, if it's too difficult,...
Protocol asked 28/1, 2013 at 16:44

1

Solved

I am having issues getting my Manifest file to be compatible with a lot of the newer phones when I upload a new APK file and I don't understand why. I am testing it on a brand new HTC Evo V, but fo...

© 2022 - 2024 — McMap. All rights reserved.