Soi recently switched the target of my android project to 4.0. Now i have practically errors on every line and the error "Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 14" on the console. So my question is, how do i change this to work with api 14 and compile? thanks.
I have 3 devices that have kitkat on them (Nexus 7 2013, Nexus 7 2013 and Galaxy Nexus obviously galaxy nexus is not an official build of kitkat) all of which I cannot do any debugging with in eclipse. All of whcih were working just fine before the update
to further prove that point I have a Samsung galaxy tab 10.1 with 4.0.4 and I can debug just fine, application stops on all breakpoints I set. Is there some setting that changed that I need to enable on the device or in eclipse so that debugging will work again on my kitkat devices?
Step 1. First of all you need to enable USB debugging on your device. This is a setting under "Developer Options". As of KitKat, this option has been hidden. There are many posts about how to enable this hidden section. The following is from -developer-options-nexus-5-kitkat/.
there is a well hidden setting in the options button in the storage menu which allows for multimedia storage took me a week but found this quick fix online. Worked for all those i've showed it to who've had this issue! :)
Update:It's a little weird but the debugging is now working on 4.4.2 Nexus 5 ART. I updated Android Tools and had flashed the phone with a sound fix post which it went with an "Android is upgrading" cycle on device boot. Not sure which of the two did the job but it is working now.
Confirming the same fix on Moto X first and second generation. Switching back to Dalvik from ART allowed me to debug. In fact, switching back to Dalvik alone was not enough. On both devices, I needed a secondary reboot of the device to allow the device to be recognized.
I've been working on an application which have a WebView in which a static page get loaded from the assets (Also using JavaScript). This WebView is not working in KitKat, it remains blank. I am aware of the change in rendering engine (webkit to chromium) which happened in WebView in kitkat and tried the steps for migrating, which is given in Android Developers page. But it didn't help.
From Googling, it seems to be because hardware accelerated canvas rendering is not supported in Chromium WebView. I added this line to the WebView to turn off hardware accelerated canvas and now it works.
The disabling of the hardware accelerator comes with heavy performance toll, In my case I found out that in Kitkat this happened to me when I was re instantiating the webview element within an activity that was finished and later restarted.After a lot of trial and error, when I added:
Just before ending the activity, it seems to have the problem solved. I haven't tested it on many devices yet but if this solution is proper, then it is better by far than disabling the hardware acceleration for KitKat for the webview.
Am i the only one having problems connecting to the bluetooth with startBluetoothSco? This works fine in all versions of Android except 4.4.2 (kitkat). Any suggestions? And yes, I have verified that I am connected to Bluetooth before I call this. Did something changed in 4.4.2?
The functionality of startBluetoothSco() changed between API 17 and API 18. In API 17, this function initiates a virtual call via SCO. In API 18, the function opens a raw SCO link. Some Bluetooth units will only respond to a virtual call.
Unfortunately it doesn't seem that Google have given us an option of choosing whether to open a virtual call or raw link so if you require a virtual call, you will need to ensure your app is built with API 17.
"NOTE: up to and including API version JELLY_BEAN_MR1, this method initiates a virtual voice call to the bluetooth headset. After API version JELLY_BEAN_MR2 only a raw SCO audio connection is established."
Had the same problem with an app I was developming. Upong updating my phone to KitKat, the SCO connection to my car stopped working.I finally come up with a solultion using a somehow private api in the bluetooth headset profile, while keeping my code compatible with API 19.
Fist I'm checking if current version is API 17, in that case, I use the standard startBluetoothSco from AudioManager, if not the case, I get the current BluetoothHeadset profile and use the following method to create the virtual call sco link (I can't take credit for this, I found it in the Google TalkBack application):
I found this solution when I was looking into the BluetoothHeadset code and found out the method actually exists, but it's hidden to the compiler +/master/core/java/android/bluetooth/BluetoothHeadset.java
I am having a similar problem, I have an Officejet Pro 7590, connected to my home wired network, and I am trying to print from my Android 4.4.4 devices, a tablet and a phone. I have both the HP Print service plugin and the HP ePrint app installed.
Both services are able to see and recognize my printer, however when I select print with the Plugin service, the print job just sits in the que, saning sending. Or there is a message that says the printer is unavailible.
I'm not sure what you mean by "wired". Suggest as the last post implied that you check the suitability of your printer on the HP website. If it is OK then make sure you have the latest firmware installed - this is downloadable from the HP Website. Then as I did and as a precaution, recycle power on your android device.
I forgot to say that the statement " E-All in one printer can only print on a mobile device" from another post could be misleading. My Laserjet was not sold as an eprinter (but was wireless) - the firmware update made it so.
Has anyone noticed any problems with ODK apps on the latest version of
Android? We use Nexus 7's to run Collect and the preliminary version of
Scan. The updates to Android 4.4 are starting to roll out to our devices
now. So far, I haven't installed any of the updates because I'm concerned
about compatibility (right now scan only works on a samsung tablet running
an older version of android). I want to make sure everything will work
before updating our devices.
I have been running CommCare ODK successfully on a Nexus 5 with Android 4.4 (KitKat). However, we have received a report of errors in CommCare ODK when updating from a previous version to KitKat (on a Nexus 4).
It would be great if the community could test ODK Collect running on 4.4
and report any issues before the end of April. If you find anything that is
broken, the sooner we know of it, the more likely it will be in the 1.4.3
release.
The one issue that has been reported is that the Choose-image, Choose-video
and Choose-audio functionality is broken in KitKat. For some reason, the
capture-* functionality still works (though it is using exactly the same
logic).
The upcoming ODK Collect 1.4.3 (ETA is end of April) will have a fix -- but
the fix is not in the recently announced release candidate -- we just added
it yesterday -- this issue also affects the ODK Survey beta-2.
You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit
The one issue that has been reported is that the Choose-image,
Choose-video and Choose-audio functionality is broken in KitKat. For some
reason, the capture-* functionality still works (though it is using exactly
the same logic).
The upcoming ODK Collect 1.4.3 (ETA is end of April) will have a fix --
but the fix is not in the recently announced release candidate -- we just
added it yesterday -- this issue also affects the ODK Survey beta-2.
3a8082e126