samsung-mobile

Android Phone Browser Detection

南笙酒味 提交于 2019-12-18 08:31:27
问题 I have an web application where mobile phone users see a mobile optimized website. The new Samsung Galaxy SIII user agent provides no clue that the request is coming from a mobile phone. What are the best pratices to detect mobile phones? I'm aware of javascript feature detection (ie. modernizer) but am hoping for something better. Below is the Samsung Galaxy SIII user agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.34 Safari/534.24 EDIT: The SIII

What models of Samsung smartphones have missing period for html5 input type=“number”?

此生再无相见时 提交于 2019-12-18 06:18:21
问题 HTML5 has a new input type named "number". On most mobile smartphones this brings up a numeric keypad. On pre-html5 phones the type falls back to "text" and we are OK. Yet, on some models the numeric keypad does not have a period and one cannot click the "symbols" button to add one. Known models with this flaw are: Samsung Galaxy S4, see: Missing period for Samsung Galaxy S4 numeric keypad Samsung Galaxy Note II Samsung Galaxy Tab 2 10". see: Samsung Galaxy Tablet does not allow entering

YouTube iframe embeds cannot autoplay on Android

六月ゝ 毕业季﹏ 提交于 2019-12-17 19:58:15
问题 I'm using a webView in my Android app to load YouTube iframe player and auto play videos. It works fine on Samsung Galaxy S2 & S3, but when runs on Samsung Galaxy S4, it always results in gray screen when trying to auto play. On Galaxy S4, it works fine without autoplay, needs user action(click) to start playing (Nothing happened if adding "autoplay:1" in playerVars). I tried to call player.playVideo() in onPlayerReady(), it resulted in this gray screen: The LogCat also shows a weird error

SGS-3 bug related to SMS conversations list?

試著忘記壹切 提交于 2019-12-17 19:05:43
问题 This issue was reported several times, but still not resolved yet. I read all messages/thread which somehow related to this topic either in Samsung's developers site or in StackOverflow Let me again describe whole problem just in few words: Developers used to get list of SMS conversations through simple query like: Uri.parse("content://mms-sms/conversations/"); Cursor cursor = context.getApplicationContext().getContentResolver().query(uri, null, null, null, null); or something like this. Key

sendUserActionEvent() is null

旧时模样 提交于 2019-12-17 03:34:16
问题 I've got a real doozy here. When I click on spinners, open menu items, or open context menus on long-clicks I get the same Logcat message: 08-02 21:20:57.264: E/ViewRootImpl(31835): sendUserActionEvent() mView == null The tag is ViewRootImpl , and the message is sendUserActionEvent() mView == null . I could not find anything helpful about this on the web. I searched through the Android sources and found some references to mView , but I could not find the file in which this log message is

Can I use Samsung fingerprint to authenticate users in my app?

半城伤御伤魂 提交于 2019-12-14 03:49:19
问题 I was going through the Samsung SDK which supports "Pass" Fingerprint recognition as per the given link : http://developer.samsung.com/samsung-mobile#pass. Can I use this Fingerprint recognition for authentication of our application? Does any one have Samsung S5 and is this feature tested on this device our a third party app? 回答1: First please be sure about the tag as it does not belong to android.Its just samsung sdk going by the link you provided. Second for the testing part of the

java.lang.NoClassDefFoundError exception on some devices

荒凉一梦 提交于 2019-12-14 03:46:56
问题 I have an ImageView in my Fragment , on which am setting an onClick Listener . public class TutorialFragment extends Fragment { private TutorialAdapter tutorialAdapter; private TutorialFragment tutorialFragment; private SplashActivity splashActivity; private RelativeLayout firstPageRelativeLayout,secondPageRelativeLayout,thirdPageRelativeLayout; private ImageView backgroundImageView,facebookLoginButton,dekkohLogoImageView; private ProgressDialogHandler progressDialogHandler; private

samsung mobile mtp device failed to install

被刻印的时光 ゝ 提交于 2019-12-14 02:43:34
问题 I am trying to test my android application on a samsung s2 phone with android version 4.0.3, I downloaded the usb driver from the official website, but the program does not detect the phone, returning a message telling me that samsung mobile mtp device failed any help please? 回答1: Hi I have followed the Exact steps from Link : http://androidforums.com/samsung-galaxy-s2-international/559858-samsung-mobile-mtp-device-cannot-installed.html Here are steps : (for Windows specific instructions):

ListView item state_selected is lost on real device

时光总嘲笑我的痴心妄想 提交于 2019-12-13 14:26:10
问题 I have a problem with a simple ListView on a Samsung phone. I create a new ListView programmatically. The items are simple TextView. I put a listener on my list view: listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { view.setSelected(true); } }); The TextView (i.e. items of listView) use a ColorStateList as textColor (pressed-->Green ; selected-->Blue ; default-->Red). On the

Context.startForegroundService() did not then call Service.startForeground() on Samsung devices

痴心易碎 提交于 2019-12-13 11:41:11
问题 I have an issue with background working of service on Samsung devices. Fatal Exception: android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground() at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1881) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6938) at java.lang.reflect.Method.invoke(Method.java) at com.android