samsung-mobile

Alternative to ☐ and ☒ on Android (Samsung Tab 2) browser

北城余情 提交于 2020-01-05 07:36:33
问题 Internet browser I have installed (by default) on my Samsung Tab2 does not display ☐ ☐ and ☒ ☒ characters properly. What are alternative solutions? 回答1: The fonts on Android do not contain these characters, so your options seem to be: Use a downloadable font, via @font-face . It can be difficult to find a font suitable for this, since most free fonts are rather limited in their character coverage. Among the relatively few fonts that contain these characters (cf. to font coverage info at

Alternative to ☐ and ☒ on Android (Samsung Tab 2) browser

送分小仙女□ 提交于 2020-01-05 07:35:09
问题 Internet browser I have installed (by default) on my Samsung Tab2 does not display ☐ ☐ and ☒ ☒ characters properly. What are alternative solutions? 回答1: The fonts on Android do not contain these characters, so your options seem to be: Use a downloadable font, via @font-face . It can be difficult to find a font suitable for this, since most free fonts are rather limited in their character coverage. Among the relatively few fonts that contain these characters (cf. to font coverage info at

control orientation by sensor on Samsung devices

冷暖自知 提交于 2020-01-05 04:41:07
问题 I painfully found out today that setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR); Does not work properly on the latest Samsung devices. I want to be able to set screen orientation by the state of the sensor, meaning that even if the device has portrait only set (on device level), if the user rotates the device to landscape my app should change configuration - Reload activity with the proper layout. SCREEN_ORIENTATION_FULL_SENSOR works fine on any other device, and on old

How can I make a Google Sheet script run reliably on Samsung tablets?

荒凉一梦 提交于 2020-01-05 04:22:06
问题 I have two functions in my Google Sheet script which are each triggered by means of a checkbox (since Google Sheets on mobile can't use images as buttons). They work on PC (rather slowly), but on tablets, they tend to fail more often than not, which then also affects PC users. The script is set up to perform an onEdit check of two checkbox cells. If the checkbox in cell C3 is checked, the AUTOFILL function should run (which displays the A cell value of the last row on the Info sheet plus 1 in

How to install a system font programmatically on a Samsung Android device?

早过忘川 提交于 2020-01-03 05:01:31
问题 As I understand it, it is not possible to set a custom font as a system font in standard Android devices that have not been rooted. However, I hear that it is possible to do on devices from certain manufacturers, like Samsung. So I would like to know how to install a bundled font from my app as a system font if the user has a Samsung phone. Or even if I can't install it directly, how do I make the font available for the user to go into settings to choose it? This is apparently possible since

BiometricPrompt crashes on Samsung S9 with Face unlock

ε祈祈猫儿з 提交于 2020-01-01 08:40:09
问题 I am using the new BiometricPrompt API in Android P (API 28) in my application. (I am actually using it inside a wrapper based on this project so that it functions on older devices too, but that is not relevant to the question.) This is working very well on all devices I have tested, except for the Samsung S9 with face unlock. Even though the stock Android version of BiometricPrompt currently only implements fingerprint authentication, Samsung appears to have extended it to support Face

LocationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER) always returns NULL on Galaxy S7 (ONLY)

China☆狼群 提交于 2020-01-01 05:13:25
问题 Just received a Galaxy S7 (Edge) running Marshmallow (6.0.1) and find that it has an issue with my app that uses android.permission.ACCESS_COARSE_LOCATION and targets Sdk Version 22 (Lollipop). When I call locationManager.getLastKnownLocation() it always returns NULL. Here's what I'm running: public Location getLastKnownLocationObject(Context context) { LocationManager locationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); try { if (locationManager

Disabling or detecting the app specific power saving mode

自闭症网瘾萝莉.ら 提交于 2019-12-31 10:39:47
问题 Samsung devices (well, at least some of them) add all installed apps to an "App Power Saving Mode" list which affects the background services listening to some crucial info for the app. Some apps, somehow, disable this mode after installation without any extra steps. Comments on Programmatically disable app power saving mode on Samsung thread suggest that apps like Facebook and WhatsApp might be in the OS whitelist but I've seen apps that are not as popular doing the same. Any idea how to

Android App is not showing for tablet users of Google play store

时光总嘲笑我的痴心妄想 提交于 2019-12-31 04:37:10
问题 My android app is not found through tablets in google play store. the App manifest is as : <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true" /> <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission

Samsung galaxy S4 image capture Issue

久未见 提交于 2019-12-30 07:15:10
问题 I am developing an Android Application. I created a custom camera class to capture images. It is working fine in som many devices but when i Tried it with Samsung Galaxy S4 it returns image with gray lins as shown. My Code is : ![`*public void surfaceCreated(SurfaceHolder holder) { frontCam = SharedUserPrefs.getSharedPrefData(AutoCapture.this, Constants.IS_FRONT_CAMERA); if (frontCam.equals(Constants.VALUE_ON)) { for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); camIdx++) { Camera