samsung-mobile

Non-game App gets treated as game by Samsung game launcher

痞子三分冷 提交于 2019-11-30 08:58:44
问题 Whenever I open my android app it triggers the game mode/game launcher on samsung galaxy s8. But the app isn't a game. In a previous version the app used opengl and it seems like samsung treats an app as game if it uses opengl. I already removed the opengl code but samsung still treats the app as game. The strange thing is when I change the application-id the app launches normally. So, I think samsung stores the application-id as game somewhere. Anyone ever had a similar problem with samsung

How to record video of particular width and height on samsung device android?

橙三吉。 提交于 2019-11-30 08:44:09
Hello I am making an android application in which I am using custom camera for recording camera.I am having problem on samsung device.I can not set the profile of Media recorder to CamcorderProfile.get(cameraid, CamcorderProfile.QUALITY_HIGH) also when try to use profile = CamcorderProfile.get(cameraid, CamcorderProfile.QUALITY_LOW); profile.videoFrameHeight=360; profile.videoFrameWidth=640; then my app is working on some devices but crashes on many devices.Any type of help will be appreciable.Thanks in advance please check the code Camera.Parameters param = mCamera.getParameters(); param.set(

Cordova / Samsung Galaxy SIII - Camera Crashes app

无人久伴 提交于 2019-11-30 08:28:27
问题 Fixed: "Do not keep activities" is default on SG3 Samsung Galaxy S3 ships with "Do not keep Activities" on by default (test models in two locations were both having this fault out the box) Of course this means that as soon as any other activity is started, including from within your Cordova/PhoneGap app, your app's main activity will be destroyed. Any callback events will obviously never fire. Switching the option off fixes the problem. Check developer options regardless of brand/model, for

Prevent Samsung predictive text in HTML form

佐手、 提交于 2019-11-30 07:46:28
问题 I have an HTML form with a text input field. As the user types, we do AJAX requests to get predictive text suggestions, based on a list of values in our database. We display that list and the user can select one of them; then we show them the rest of the form. If you're viewing our web page on a Samsung Galaxy S4, in its built-in browser or Chrome or Firefox, the device's predictive input suggestions also appear as the user types. e.g. see the screenshot: It's easy enough for an individual

DatePicker crash in samsung with android 5.0

柔情痞子 提交于 2019-11-30 06:03:45
I am having trouble with creating a datepicker in samsung note 2 device with lollipop 5.0. The exception is: java.util.IllegalFormatConversionException: %d can not format java.lang.String arguments at java.util.Formatter.badArgumentType(Formatter.java:1489) at java.util.Formatter.transformFromInteger(Formatter.java:1689) at java.util.Formatter.transform(Formatter.java:1461) at java.util.Formatter.doFormat(Formatter.java:1081) at java.util.Formatter.format(Formatter.java:1042) at java.util.Formatter.format(Formatter.java:1011) at java.lang.String.format(String.java:1803) at android.content.res

Creating Galaxy S4 emulator

南笙酒味 提交于 2019-11-30 03:51:54
I am trying to run my app specifically on Galaxy S4. But I do not have the real time device. So, I'm trying to create the emulator for Galaxy S4. I have a normal Core I3 system with 4GB RAM. It doesn't have any graphics card and all. I am finding the ways for installing the Samsung Galaxy S4 add-ons to my sdk. But I am not getting it. I referred these links, Android Galaxy S4 Emulator Not Opening How to test android app in Galaxy S4 configuration using emulator? http://developer.samsung.com/android/technical-docs/Using-Samsung-Emulators-for-Android-Application-Development http://developer

Keyboard hiding EditTexts in Fragments

假装没事ソ 提交于 2019-11-30 03:35:47
edit: I need to use the keyboard, but it hides my EditText , I need it to scroll so the keyboard is not hiding it. I am using a Samsung tablet. My style: parent="android:Theme.Holo.NoActionBar.Fullscreen" The EditText fields are in a scrollable view, like so: The fragment layout: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"

Images are being rotated by default upon upload

ぃ、小莉子 提交于 2019-11-30 03:16:12
问题 I am trying to take a photo and upload the same into my application using Samsung S7. But the image is being rotated upon upload. Even if I am selecting the image from gallery also, it is being rotated upon upload. Is there anything that we can fix from jquery code. Please suggest. Thanks in advance HTML: <div class="photo-div" id="photo"> <img id="uploadimage" src="" hidden=""> </div> <label id="files-label" for="files" class=" myprofile-btn-bold">Replace Image</label> <input id="files"

NullPointer Exception on socket.connect() Galaxy Tab 2 running Android 4.04

社会主义新天地 提交于 2019-11-29 23:46:41
问题 I seem to be facing this weird error on a socket.connect(): 09-18 14:41:22.968: W/System.err(2593): java.lang.NullPointerException 09-18 14:41:22.968: W/System.err(2593): at android.sec.enterprise.BluetoothUtils.**isSocketAllowedBySecurityPolicy**(BluetoothUtils.java:106) 09-18 14:41:22.968: W/System.err(2593): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:220) 09-18 14:41:22.968: W/System.err(2593): at com._._.android._._.bluetoothmodule.BluetoothController

How android app can detect what store installed it?

佐手、 提交于 2019-11-29 23:16:13
I have app in Google Play, Amazon, Samsung Apps and I plan to upload to other stores. I do not wish to compile separate build for every store. Is there way to detect what store installed app if same app submitted to different stores? prestomation You'll have to expand this for each additional store, but this should get you started if (context.getPackageManager().getInstallerPackageName(context.getPackageName()).equals("com.android.vending") { //do google things } else if (context.getPackageManager().getInstallerPackageName(context.getPackageName()).equals("com.amazon.venezia") { //do amazon