Questions tagged [samsung-mobile]

This tag is for questions related to application development issues affecting just Samsung Mobile devices.

This tag is for questions related to application development issues affecting just Samsung Mobile devices.

1611 questions
6
votes
0 answers

ContactsContract.DeletedContacts.CONTENT_URI does not show deleted contacts from some devices

I am using a content observer to track changes in contacts, and depending on that I check added/updated contacts through ContactsContract.Contacts.CONTENT_URI with ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP and deleted contacts…
JKOU
  • 255
  • 2
  • 14
6
votes
1 answer

Display density and size reduced by Samsung Game Optimization

I have a free and paid version of the same android app. Some users (always using Samsung tablets) reported that the camera preview was stretched with one of the apps, and OK with the other. I managed to find a Samsung Tab A6 to reproduce the…
shield
  • 139
  • 1
  • 7
6
votes
0 answers

Samsung Resources$NotFoundException in Editor$SuggestionsPopupWindow.initContentView()

Crash occurs on Samsung devices (J7 and S7) running Android 7.0. I've built a tiny test app and can reproduce the crash. Single Activity that extends Activity (not AppCompatActivity), simple layout containing a single EditText with inputType="text".…
David Wasser
  • 93,459
  • 16
  • 209
  • 274
6
votes
5 answers

How to disable "air command" on Android devices?

Hi, I've developed an application using a stylus (e.g., Samsung pen). As you know, when we click a button on the stylus, "Air command" (pop-up window) appears. My goal is "Overriding the air command into my custom functions" First, I started with…
Joonsung Kim
  • 246
  • 1
  • 3
  • 15
6
votes
3 answers

Can I develop with VS Code on the new Samsung Chromebook Pro?

Thinking more about leaving my MBP at home and instead taking the new Samsung Chromebook PRO to Starbucks for the day. Is this fantasy or will VS Code run properly on this new machine? I see options for the Arm chip based PLUS model but nothing for…
6
votes
1 answer

Recording video not working with Camera2 API on Samsung Note5 after using ImageReader

As the title says, I'm having a problem recording video on the Samsung Note5 using the Camera2 API. I've adapted my code from the Camera2Video sample, but the difference being that I setup the MediaRecorder using configuration options from the…
samgak
  • 23,944
  • 4
  • 60
  • 82
6
votes
1 answer

Doze mode, GCM notifications and http requests on Samsung S6

My problem is linked to stackoverflow's "doze-mode-and-gcm-notifications" and "android-doze-mode-gcm-priority" questions, but since the solution for both is to use Google play Service 8.3.0 it's not helping for my case. Context I am sending silent…
6
votes
2 answers

Unable to deploy app using Device Chooser after upgrading Android Studio to 1.4

This morning I upgraded the Android Studio from 1.3.[something] to 1.4. After the upgrade, when I runned the app at the bottom of the Device Chooser dialog there is a message in red "The selected device is incompatible." and the OK button is…
6
votes
1 answer

Screen size in Samsung Tablet 10.1

I have rooted my Samsung Tablet 10.1 (Android 4.1.2) and used AutoMacro for auto touching. But AutoMacro gets the wrong screen size. The expected values are 1280 X 800, but the new values are 4096 X 4096. I have the same problem in other auto…
Bangyou
  • 9,462
  • 16
  • 62
  • 94
6
votes
1 answer

How to use Samsung OAuth login on Android Device?

I am interested in adding an OAuth 2.0 login for Samsung Accounts on the Android device, but I can't seem to find any documentation on this. Could you please share any APIs, documentation on how to achieve this for Samsung Accounts?
code
  • 5,294
  • 16
  • 62
  • 113
6
votes
1 answer

Samsung Note 2 can't reach onLocationChanged()

It works on most devices except Galaxy Note 2. It connects to Google Client, but can't reach onLocationChanged() that implements LocationListener. Anyone has any idea what it causes and why only on this device? @Override public void…
jean d'arme
  • 4,033
  • 6
  • 35
  • 70
6
votes
2 answers

java.lang.NoClassDefFoundError exception on some devices

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…
6
votes
0 answers

Samsung Count Badge

I developed a count badge for Samsung device. I added badge permission: on Android…
Abah Adilah
  • 149
  • 4
6
votes
0 answers

Android Capture USB Mic Audio without root

My Android application is targeting non-rooted Samsung Galaxy Note 2 phones running Android 4.4.2. When my USB microphone is plugged into the phone, it appears as /dev/snd/pcmC1D0c, so I know it is being recognizing as an audio capture device. Is…
JFar
  • 423
  • 4
  • 13
6
votes
1 answer

Apk is rejected from Samsung Apps

I've tried publish my apk to Samsung Apps. It was rejected with description Failure Details: Your application package has failed the integrity test. We run integrity test to prove the integrity of resources when building the Application…
Dima Portenko
  • 3,443
  • 5
  • 35
  • 48