android-4.1-jelly-bean Questions

4

Solved

This question asked how to know if Android Talkback is active; that worked until Jelly Bean. Starting from Android 4.1, that steps no longer work, because the mentioned cursor is empty. Having thi...
Internuncio asked 6/8, 2012 at 15:50

2

Solved

I am using fromHtml to display formatted text (bold italic etc) in TextView. However, I found it's behaviour is different on JellyBean (4.1.2) and KitKat(4.4.2) Here is code: String myHtml = "&l...
Shaughnessy asked 14/3, 2018 at 5:26

1

Solved

I'm developing an application that need this permission: android.permission.MANAGE_USB. I know that this permission is given only at System Application. If I install the application as a system...

4

Solved

I have a button style with a blue background that works fine in API 22, but the same button appears in dark grey without the applied style in Android 4. This is my style: <style name="MyApp.Pl...

4

I have a popup in my page which has a listview. I have created design of popup in a seperate xml and loading it on some button click in my main page. The popup has a listview with each row having a...
Standish asked 11/12, 2015 at 17:50

2

For video view in Android, I have added some media player listener such as onPreparedListener, onCompletionListener etc. But when video get completed then onCompletionListener is not getting called...

0

Android NDK newbie question. I'm trying to compile a library using the Android NDK. I'm building for API16 and get the following errors in the build: In file included from /Volumes/MacAirExt/An...

0

I have a webview I am loading custom HTML into using loadDataWithBaseURL: mArticleWebView.loadDataWithBaseURL("http://www.example.com/", htmlString, "text/html", "utf-8", null); This will work f...
Flickinger asked 21/4, 2015 at 14:21

2

Solved

I'm overriding onPrepareOptionsMenu to hide and show menu items. When testing it with the API level 16 emulator; onPrepareOptionsMenu is not called when opening the menu for the first time. But whe...
Capriccio asked 14/10, 2012 at 21:35
1

© 2022 - 2024 — McMap. All rights reserved.