Questions tagged [android-4.4-kitkat]

Android 4.4 (codename KitKat) is API level 19 of the mobile operating system developed by Google.

Google released Android 4.4 (KitKat) on 31 October 2013. The Nexus 5 was the first device to officially ship with it, with Nexus 7 receiving the update soon after.

More Info:

1483 questions
0
votes
2 answers

Android PowerProfile/BATTERY_STATS stopped working in Kitkat

I am using private API for PowerProfile and since Android 4.4 (Kitkat), it stoped working. I didn´t find any reason why it should (in Android documentation). It returns only zero values. Do you have any idea why this could stop working?
Michal
  • 2,071
  • 19
  • 30
0
votes
1 answer

Can a DocumentsProvider tag be used in an Android manifest targeting APIs < 19?

So I'm trying to implement the new Storage Access Framework stuff introduced in Android 4.4 (KitKat). I've extended a DocumentsProvider class as described on YouTube, which works great when I try it on KitKat (API 19) devices. I have a content…
fattire
  • 6,823
  • 3
  • 25
  • 38
0
votes
1 answer

AlarmManager.setExact undefined

I'm upgrading one of my apps to work properly on Kit Kat, and it depends on an exactly timed alarm. Now the API changes page says that you must use a new call, setExact, to get this behavior back in 4.4. I'm attempting to use it but Eclipse is…
Nick
  • 6,900
  • 5
  • 45
  • 66
0
votes
1 answer

Can not locate Movies folder after update to Android 4.4 KitKat

In my application I use the code below to list movies in Movies folder in storage. But since I upgraded my Nexus 7 tablet to Android 4.4 this code is not working (the toast at the end of the code pops up meaning the code did not find any files in…
Dumbo
  • 13,555
  • 54
  • 184
  • 288
0
votes
2 answers

Android 4.4 WifiScan result

I created a small test android app to do a scan of the surrounding wifi networks. When I run the app on my galaxy nexus( jellybean) the result returns: ( SSID, BSSID, Capabilities, level, timestamp). However when I run the same app on my Nexus…
Sadiq A
  • 36
  • 3
0
votes
1 answer

Android GoogleMaps v1 LocationManager working odd on 4.4 kitkat

I have an application that used to locate a user's location with this code public static Location getCurrentLocation(Context context) { LocationManager lm = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); Criteria c =…
wapples
  • 183
  • 2
  • 12
0
votes
5 answers

Android "string error" while developing for Android API 19?

So, I'm developing with Android. I'd like to know, what is wrong with this code? On activity_main.xml in the res/layout directory, in the Graphical Layout editor, it gives me this error: Couldn't resolve resource @string/edit_message Couldn't…
user3003189
  • 13
  • 1
  • 3
0
votes
1 answer

Forcing immersive full screen from Service on Android

I was wondering if it would be possible to force the new immersive full screen feature in Android 4.4 from a background service, which would result in the system being full screen 'at all times'. The idea was something like 'get the current active…
Brian Spilner
  • 581
  • 1
  • 5
  • 12
0
votes
1 answer

why evaluateJavascript crashes?

I'm trying to use the new evaluateJavascript method in Android 4.4, but when i try to evaluate this javascript code browser.evaluateJavascript("(function() { document.getElementById('login').value='"+username+"';…
0
votes
2 answers

Encoding issue on Kit Kat / Android when saving and reading a webview

I have noticed that for Android 4.4 handsets, saving a webview with: webview.saveWebArchive(name); and reading it after with WebArchiveReader WebArchiveReader (see code below) throws an Encoding Exception: 11-08 15:10:31.976: W/System.err(2240):…
Narseo
  • 214
  • 1
  • 4
  • 11
0
votes
3 answers

Android TextView Animation issue

I need to animate textview with text D. but when i run programe, it animates both textview with text A and textview with text D. textview with text A is the first textview in the list. public class CustomArrayAdapter extends ArrayAdapter
Bishan
  • 15,211
  • 52
  • 164
  • 258
0
votes
1 answer

Storage Access Framework in KitKat4

I just wanna implement this Storage Access Framework in my app. Could anyone please help help me to find out tutorials, or sample app ? I really have no idea about Storage Access Framework, and not able to understand the tutorial. please some one…
0
votes
4 answers

Android 4.4 is coming - should I update my app?

Now that Android 4.4 is almost released, I have a question. Does it make sense to build my app against the new version of API and release the updated version to the market? Or does it make sense only if I want to use any of the new features? What is…
Szymon
  • 42,577
  • 16
  • 96
  • 114
-1
votes
1 answer

Why NETWORK_PROVIDER is not available?

I am working on a GPS device (not a phone, no screen ...) with a custom rom. My app is a system app. NETWORK_PROVIDER is not available, only FUSED_PROVIDER and GPS_PROVIDER are enable. I check with this code…
-1
votes
1 answer

How do I flash an Android ROM using my M1 Mac onto an old Android tablet?

I want to flash Android ROMs onto old Samsung tablets (Android 4.4) which Samsung hasn't allowed to be updated past Android 4.4. The issue is that I have an M1 Mac. I tried: https://flash.android.com/ - it won't detect anything connected. Developer…
Waqqas
  • 1