android-4.4-kitkat

Android 4.4 - create application dir on secondary sd card

雨燕双飞 提交于 2019-12-23 04:01:43
问题 I am aware about changes in Access to SD card introduced by Google with Android 4.4. However in my application I need to be able to store data on some removable /secondary sd card. When I create the application folder (app.xyz.com) on the secondary using default file manager then I am able to create dirs and files inside. But by default such dir dosen't exist on secondary sd card. So, I would like to create the application specific dir programmatically inside my application… Do you have any

startActivityForResult not working in Android version 4.4 ( Kitkat version )

最后都变了- 提交于 2019-12-23 03:12:56
问题 Through my application the user can choose a file from the filemanager and process the choosen file ( Example: A PDF document ) for other steps like printing or to email. To do this I used the below code to display the intent, from which the user can choose a file from file-manager option. protected void showFileChooser(String title, String type) { Log.i(TAG, "FileChooserActivity showFileChooser(title,type)"); if (TextUtils.isEmpty(title)) title = getString(R.string.select_file); if

Uncaught TypeError: Cannot set property 'value' of > null" in Android

纵然是瞬间 提交于 2019-12-22 10:57:15
问题 I try to update information through java script code in Android side . On Android version 4.3, it's work. But Android version 4.4, it appeared these error, so can not update information. [INFO:CONSOLE(1)] "Uncaught TypeError: Cannot set property 'value' of null", source: (1) I/chromium﹕ [INFO:CONSOLE(1)] "Uncaught TypeError: Cannot set property 'value' of null", source: (1) I/chromium﹕ [INFO:CONSOLE(1)] "Uncaught TypeError: Cannot call method 'submit' of null", source: (1) I know from Android

SSL certificate not verified Error on Android kitkat version

你。 提交于 2019-12-22 09:49:57
问题 I have SSL verified website, which is successfully verified by third party vendor. And it working fine without any warning/errors in other OS like windows, chrome browser When I am trying to open it from mobile with KitKat version It show below error code Error Code : NET:: ERR_CERT_AUTHORITY_INVALID 回答1: I had same error: app requesting https working fine on all platforms and versions except old android 4.4 - problem was conflicting Comodo root certificates on IIS server machine. The main

Any way to disable/override the mutitask button on Galaxy Tab 4? [duplicate]

旧街凉风 提交于 2019-12-22 08:44:08
问题 This question already has answers here : How to disable the Recent Tasks/Apps button (5 answers) Closed 3 years ago . We have an industrial control app we write and ship pre-loaded on Samsung Galaxy Tablets with our manufacturing products. The tablets we were using were Tab 10's which ran Honeycomb, but we can't get enough of those to OEM anymore so we're switching to Tab 4's which run KitKat. The new tablets have a button which looks like the old menu button - two overlapping rectangles -

Bug with Android 4.3 ImageView method getImageMatrix()

旧城冷巷雨未停 提交于 2019-12-22 05:15:08
问题 I recently upgraded to Android 4.4 and someone of the features of my app have surprisingly stopped working. I have this code for initializing and then drawing my custom view. The basic idea is it adjusts the zoom level so the entire view fits on the screen. private void initAtZoomLevel(float zoomLevel){ .... Matrix transformMatrix = new Matrix(); transformMatrix.setScale(initialZoomLevel, initialZoomLevel); float yTransCenter = (screenHeight - mapHeight)/2.0f; setImageMatrix(transformMatrix);

NotificationListenerService with RemoteController.OnClientUpdateListener crashes on API18 (4.3)

落爺英雄遲暮 提交于 2019-12-21 23:39:48
问题 The Problem I want to implement the new RemoteController API, which has been introduced with API19 (Kitkat,4.4). The API requires me to implement a class which extends from NotificationListenerService (introduced with API18) and implements the RemoteController.OnClientUpdateListener interface. (Further information on how to implement all this can be found here and a very helpful example project can be found here) Everything's working as it should on my API19 (Kitkat,4.4) device and every

License error with android 4.4 emulator

廉价感情. 提交于 2019-12-21 17:52:12
问题 I updated today the sdk to the new version and I've got a problem with the license. When my application starts with the new Google API lev. 19, I receive a "License has stopped" error. From logcat I can see this kind of error: 11-01 06:47:57.120: E/AndroidRuntime(991): FATAL EXCEPTION: main 11-01 06:47:57.120: E/AndroidRuntime(991): Process: com.android.vending, PID: 991 11-01 06:47:57.120: E/AndroidRuntime(991): java.lang.RuntimeException: Unable to instantiate application com.android

How to set status bar tint color in layout/style XML?

牧云@^-^@ 提交于 2019-12-21 06:25:19
问题 I'm using the windowTranslucentStatus in my app theme. Now, also want to tint the status bar to match my ActionBar. Currently I'm using the SystemBarTint library, which is mostly fine except of one problem: When the application launches, the OS shows a themed mockup layout as a splash image during the actual inflation. At that stage, there is no status bar tinting yet. It looks like that (Took me 5 times to capture this screenshot during app launch): Only after the activity is fully loaded

How can I use O_DIRECT or O_SYNC on an external SD card with Android KitKat

狂风中的少年 提交于 2019-12-21 06:04:59
问题 I work for a company that makes an SD memory card that includes a hardware encryption engine. We interact with the encryption module by writing/reading to a special file. Starting with KitKat, the O_DIRECT flag does not seem to be supported on the external SD card. Without O_DIRECT or O_SYNC support, the OS will returned cached data when we read the encryption engine's response from the SD card (via our special file). Is there a procedure to open a file on the eternal SD card, read/write,