samsung-galaxy

What is the keycode for multitasking/appswitch for samsung galaxy s3?

女生的网名这么多〃 提交于 2019-12-02 19:52:37
问题 Our app is crashing (it says "application has stopped) after we longpress the home button on samsung galaxy s3 (the longpress button is used to popup the multitasking screen/app switch dialog) we do not have this problem on our another testing device htc evo 3d so what is the keycode for this "action" ? and how can we disable this function ? This code sadly does not work: public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_APP_SWITCH) { System.exit(0);

What is the keycode for multitasking/appswitch for samsung galaxy s3?

倾然丶 夕夏残阳落幕 提交于 2019-12-02 08:35:25
Our app is crashing (it says "application has stopped) after we longpress the home button on samsung galaxy s3 (the longpress button is used to popup the multitasking screen/app switch dialog) we do not have this problem on our another testing device htc evo 3d so what is the keycode for this "action" ? and how can we disable this function ? This code sadly does not work: public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_APP_SWITCH) { System.exit(0); return false; } return super.onKeyDown(keyCode, event); } 来源: https://stackoverflow.com/questions/26554207

No devices detected when remote debugging in Chrome Developer Tools from Windows 7 Enterprise to Samsung Galaxy Tab A

梦想与她 提交于 2019-11-30 15:19:07
I am having problems with a web application on Chrome in Samsung Galaxy Tab A . I want to troubleshoot them with Chrome's Developer Tools . On tablets you do not have access to Chrome's Developer Tools , so you need to set up Remote Debugging . The process, according to Google's official documentation , should essentially be: 1) Install the required driver on the PC so the tablet can be recognised. 2) Connect the tablet to the PC via USB cable. 2) On PC, go to Chrome > Developer Tools > Menu > More Tools > Remote devices The tablet is not showing up as a device in developer tools in chrome on

tgkill - native error on Android 8.0 Samsung S8

最后都变了- 提交于 2019-11-30 12:08:20
Recently I started getting Android native crashes (reported in Google Play vitals). They happen only on Samsung Galaxy S8 or S8+ phones with Android 8. According to the stack trace it is related to the UI renderer thread. However I don't know how to fix it or even where exactly in the app does it happen. Any idea how to find out where in the app does this happen? And why only Galaxy S8 with Android 8 are affected? Thanks. backtrace: #00 pc 0000000000071854 /system/lib64/libc.so (tgkill+8) #01 pc 000000000001e058 /system/lib64/libc.so (abort+88) #02 pc 0000000000008248 /system/lib64/liblog.so (

Samsung Galaxy S8 full screen mode

巧了我就是萌 提交于 2019-11-29 23:08:23
Latest Samsung's smartphone has interesting feature called full screen (or in marketing terms infinity display ). In this mode app covers also part of display where home/back buttons are. Usual apps don't cover this area, leaving it black. But Samsung's native ones cover this area. Question: how to achieve this effect? I mean what kind of manifest declaration or programmatic call (possibly Samsung's legacy API) should I use? To enable new Samsung Galaxy S8 and LG G6 full screen support add to the AndroidManifest.xml under the <application> element: <meta-data android:name="android.max_aspect"

tgkill - native error on Android 8.0 Samsung S8

空扰寡人 提交于 2019-11-29 17:23:00
问题 Recently I started getting Android native crashes (reported in Google Play vitals). They happen only on Samsung Galaxy S8 or S8+ phones with Android 8. According to the stack trace it is related to the UI renderer thread. However I don't know how to fix it or even where exactly in the app does it happen. Any idea how to find out where in the app does this happen? And why only Galaxy S8 with Android 8 are affected? Thanks. backtrace: #00 pc 0000000000071854 /system/lib64/libc.so (tgkill+8) #01

Samsung Galaxy S8 full screen mode

折月煮酒 提交于 2019-11-28 20:21:17
问题 Latest Samsung's smartphone has interesting feature called full screen (or in marketing terms infinity display ). In this mode app covers also part of display where home/back buttons are. Usual apps don't cover this area, leaving it black. But Samsung's native ones cover this area. Question: how to achieve this effect? I mean what kind of manifest declaration or programmatic call (possibly Samsung's legacy API) should I use? 回答1: To enable new Samsung Galaxy S8 and LG G6 full screen support