Questions tagged [samsung-mobile]

0

votes
0

answer
5

Views

How do I extract and compile my devices proprietary binaries together with the android source code?

I have a Samsung A3(2015) and I want to build android from source and load it onto the device. Following the fairly straightforward steps on https://source.android.com/ I have setup the environment on my Mac and downloaded the source for lollipop(5.0.2) into the working directory. Now the next ste...
Varun
3

votes
0

answer
129

Views

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

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.dispa...
Nik
1

votes
0

answer
52

Views

WebVR Gamepad Extensions won't enable on Samsung S8

I have a Samsung S8 with a GearVR headset. WebVR is working fine in both Oculus and Samsung Internet browser, but the Gamepad Extensions won't enable. I have toggled both WebVR and Gamepad Extensions flags using internet://flags The controller is working fine in non-WebVR apps. But any webpage tha...
griffin2000
1

votes
0

answer
248

Views

Bluetooth LE Peripheral Support for Samsung S8

I am working with Bluetooth Low Energy (BLE) using iPhone 8 as central. Here are few observation on throughput that we found during our RnD on iPhone with BLE. The below data is based on write_with_response. iPhone 8 (BLE 5.0) as Central and Linux desktop (Ubuntu 16.04 with BLE dongle 4.0): MTU = 20...
Sudhin Philip
1

votes
1

answer
25

Views

Android Studio cannot detect phone

When I tried to run the app, I don't see the phone listed on the connected devices list at all. I have connected the Samsung S3 GT-I9300, which is rooted using Kingo ROOT app downloaded from Google Play Store. I also have turned on developer options and the USB debugging. Still, nothing seems to wor...
Jeremy Foo
1

votes
1

answer
34

Views

Can I - on a Samsung phone - opena new Activity or App in pop-up view?

I have tried it out and by using SMultiWindowActivity.makeMultiWindowIntent(intent, SMultiWindowActivity.ZONE_A); I can make an action intent appear on the top half of the screen. Is there a way to make the same intent appear as a pop-up window?
CodeSharpMarvin
1

votes
0

answer
56

Views

Focusing a button at a samsung activity

It is known from another discussions that the samsung battery monitor can be reached by starting the activity 'com.samsung.android.sm.ui.battery.BatteryActivity'. Is it possible (maybe using some extras) to focus on the 'Unmonitored apps' button ?
Lucas Dias
1

votes
0

answer
459

Views

Why android device id change when i am debugging?

We have and old App Works perfect in all devices for all this years, except in a New Samsung Note8. The problem is that Android Studio change the DeviceId of this Smartphone without any reason, Seems to be imposible, but it's true. Every time that we debug our APP, the Deviceid Change. This is an im...
1

votes
2

answer
207

Views

java.lang.SecurityException: [INSERT] User permission to WRITE is not acquired in Samsung Health

I am getting below error in Samsung Health: 04-23 11:42:08.700 15067-15067/com.demo.samsunghealthdemo E/AndroidRuntime: FATAL EXCEPTION: main Process: com.demo.samsunghealthdemo, PID: 15067 java.lang.SecurityException: [INSERT] User permission to WRITE is not acquired at android.os.Parcel.readExcept...
Vishal Bhadani
1

votes
1

answer
48

Views

Android auto sync and power saving mode

I am using Google photos to back up my all the photos. So in my Samsung galaxy J7 2016 phone, I have turned on auto sync and it is set to use only in wifi. So whenever I connected to a wifi network it automatically uploads all photos to google photos. This is the process. I know you all know that....
1

votes
0

answer
212

Views

How to access clipboard's 'image content'

In Android samsung s5 device, when I long click on edittext, 'Clipboard' option is available to paste content(image+text) from clipboard. I want that my user can paste image from clipboard.But when I click on clipboard, all clipboard's images are strike off(not accessible) while text is accessible.D...
Annu Rani
1

votes
0

answer
277

Views

Navigation bar visibility on Samsung S8

As many of you already know, Samsung has introduced option to hide navigation bar by double-clicking on small dot in bottom-left corner. I need to figure out if it is hidden or not, so I tried to do that by getting its height. It looks like it always 144, no matter if it's visible or not. Samsung do...
vanste25
1

votes
1

answer
199

Views

Logcat doesn't show errors only

Logcat specifically doesn't show errors for my real device Samsung S8, but it does work fine for all other devices, so for now whenever I have an error and I can't see it in the log, I need to switch to another device and reproduce it again. Did anyone face something like this before? any help appre...
Mohammad Ersan
1

votes
0

answer
281

Views

Android app crashes on Long click on the Edit text

I am checking a very strange bug reported on Crashlytics. Basically the logs shows that whenever the user clicks on one of the edit text in the app, it crashes. Crashed: main at android.widget.Editor.performLongClick(Editor.java:1142) at android.widget.TextView.performLongClick(TextView.java:12675)...
jiahao
1

votes
1

answer
65

Views

Samsung S9: Reports rounded RggbChannelVector values

I'm attempting to extract the white balance parameters from the auto white balance algorithm in the S9. On every other device I've tested, it gives meaningful parameters back (the numbers have a floating point precision of like 6 digits and are constantly changing) but the S9 appears to round it's...
Brian Burgess
1

votes
0

answer
407

Views

how to enable Samsung Pass support on login screen

I have a login screen (with username and password) in my app. I want that after logging in, Samsung Pass asks to store the credentials and fills the login credentials in the future. It works on the twitter app, but not in my app? My current login input fields look like this: When I login, there is n...
stamanuel
1

votes
0

answer
34

Views

Memory leak in Android Spen library

This is quite specific topic related to S Pen Library. However any Android developer can help with this. I am working with S Pen library and trying to create PDF from .spd file. For that I am using SpenCapturePage spenCapturePage = new SpenCapturePage(mContext); spenCapturePage.setPageDoc(spenPageD...
Pulah Nandha
1

votes
0

answer
438

Views

Restricted user app selection not working on Oreo 8.0?

I have created a restricted profile in Samsung s3 Oreo 8.0. it seems the created app does not show up in the list of apps when trying to enabling apps for restricted user (settings >cloud and accounts> users, select restricted user). Is this Samsung device related issue or Android os related, cause...
code-reader
1

votes
0

answer
498

Views

/system/bin/sh: sm: not found in Samsung Galaxy J1 Ace

I have a Samsung Galaxy J1 Ace and wanted to increase my storage for apps by configuring my SD card. I tried to follow the steps that this video indicates: Use your SD Card as Internal Storage Android Marshmallow (no Root) and I failed. When I write 'adb shell' in cmd, everything's ok. But on the ne...
Aremazu
1

votes
2

answer
446

Views

React native notification icon not working on Samsung

After upgrading to android sdk to v26 the notification icons became white boxes, we have solved this issue by using white/transparent icons. However, on Samsung phones the small icons in push notifications are green android robots. In all other phones where push notifications are using large icons (...
Mikayel Saghyan
1

votes
0

answer
125

Views

Camera2 Samsung Galaxy s9 Preview Size

I have been using Camera2 and based a lot of it of the Google Camera2 examples. I'm running into some problems when dealing with aspect ratios on different phones. I get the largest output size and set the preview; this seems to always be a 4:3 aspect ratio. On a Pixel, Galaxy S9, Galaxy Note 8, and...
user2836202
1

votes
0

answer
89

Views

Android Custom EditText Numbers

In my application I've EditText-Fields, which should be able to hold decimal numbers. So my keyboard should show all numbers, the comma, the point and the minus sign, in order to type in currency-values. I defined the EditText-Field through the following InputTypes: InputType.TYPE_CLASS_NUMBER | I...
beware_bear
1

votes
1

answer
100

Views

WifiManager.ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE not working in samsung 8.0+

Intent wifiAlwaysAvailable = new Intent(WifiManager.ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE); wifiAlwaysAvailable.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); mContext.startActivity(wifiAlwaysAvailable); I'm trying to enable programatically the Wifi scanning setting to improve accuracy in our location....
AdriRegueira
1

votes
1

answer
643

Views

There was problem parsing the package on Samsung s8 any solution for it?

I want to test my APK by installing from Google Drive, but when i downloads it, it gives me There was problem parsing the package error on Samsung S8 running Android 8.1.0(Oreo).However for my other Moto C Plus running Android 7.1.0 it installs the app. I went through App-> three dots -> special ac...
Yogesh Katkar
1

votes
0

answer
45

Views

Android detect if your app is running in Samsung Kids Mode

I need to know if my app is running in Samsung Kids Mode. Is it possible to programmatically check it?
Kenn
1

votes
0

answer
74

Views

Detect if page is viewed in samsung stock browser or as a standalone web app

As the title states, I’m trying to detect if my web page is being viewed as a web page in samsungs stock browser or if it is opened as a standalone web app saved on the homescreen. But the javascript-codes i’ve found for doing that only works for Safari and Chrome as far as I can tell. Can some...
lormiz
1

votes
2

answer
195

Views

Bixby Developer Studio sign up fails since captcha crashes

Bixby Developer Studio Developers sign up fails since captcha crashes. Any idea on how to sign up anyway ? Any idea, Bixby Developer Studio: AI aided programming > dynamic program generation stays for what by examples ? thank you
darius
1

votes
0

answer
36

Views

Failed to resolve: com.samsung.android:samsungpay:1.9.0

I am trying to enable Samsung Pay within My Braintree Sandbox Payment Gateway. I update my processing settings in my Braintree sandbox dashboard and As Per This Link update my module-level build.gradle file apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applic...
Alyosha_Karamazov
1

votes
1

answer
152

Views

Shared Element transition crash on Samsung device running Android 8.0

I've a weird crash, apparently unfixable happening on Samsung devices only running Android 8.0. I've a recyclerView populated in a Fragment that it's launching an Activity. Here is my ItemHolder layout ... Here's is my Intent to the activity with the shared element private val teamProfileOnClick = V...
DoM4
1

votes
1

answer
42

Views

logic that works on every browser/device except samsung internet

I have a piece of code that works on everything except Samsung Internet. Chrome mobile works fine, as do chrome dev tools mobile emulators. I clear the browsing data every attempt. When a services category button is clicked (first image below), it should open the associated bootstrap collapse card (...
Dan Byler
1

votes
0

answer
288

Views

Recaptcha (both v2 and v3) not working on Samsung Browser (but works with HTTPS)

I am having a very strange problem with Google Recaptcha and it has started since mid October. I can confirm that this is happening for both Recaptcha v2 and newer v3. Its primarily happening on mobile Samsung Browser, but working fine on chrome, safari, firefox on mobile. This is the frontend code,...
thatguyvicky
1

votes
0

answer
92

Views

SIGABRT crash in Samsung Devices

Android Application crashes as soon as it goes in background with this error. A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 31234 (RenderThread) Below is the stack trace on developer console, there is no detailed log in stack trace: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***...
Angad Singh
1

votes
0

answer
45

Views

Samsung Overlay Component

Can anyone explain what below lines do when include in AndroidManifest.xml
Alok
1

votes
0

answer
24

Views

Samsung Storage Cloud API

This might a be a broad question or a wrong place, but has anybody dealt with any api's from Samsung? My interest is with Samsung Cloud api which would potential allow me to gain information on files which are stored on users account? Thanks in advance
Vilius
1

votes
0

answer
16

Views

touch issue for my app only in several Samsung device like galaxy J7 pro?

app works properly in every other devices (any company) but in two Samsung device (separate model) cant touch buttons or PopUps are showing wired behaviour does any body have same experience in their apps with Samsung? how tom solve it? this is the app that I am working on. can be downloaded by t...
tahaDev
1

votes
1

answer
68

Views

Typeface not applied on Huawei EMUI

I'm applying a typeface like so: findViewById(R.id.text).apply { typeface = Typeface.createFromAsset(assets, 'fonts/blackjack.otf') } It works in the emulator and on most Android devices, but it has no effect on Huawei devices with a system font selected. One such device has the following specs: EMU...
Andrew Gallasch
1

votes
1

answer
43

Views

I face android media player error (-38, 0) in Samsung and Google latest version mobile

ref: log We use the Google sample project with the following changes. Same things we use in our project, we got an error (-38,0) on media player error listener in Samsung flagship devices and Google devices. (tested in note 8-8.1 and pixel 2xl-9.0) Here, onError listener calls first then onPrepared...
BDC
1

votes
0

answer
46

Views

This application does not support pin Windows

Users are complaining that my application is not able to be pinned on their S7 Devices using Oreo. Neither Snapdragon nor Exynos. The error does apparently only happen since a certain point in time - but did not happen immediately after the Oreo update, and has not yet been observed on non-Samsung d...
Daiopent
1

votes
0

answer
17

Views

Android Application only respond to Samsung SPen hover and touch events

I have an Android application that has a transparent overlay, which I want to only respond to SPen events and not regular touch input. It appears that the Pen SDK from Samsung is completely deprecated and breaks on Android 8.0 and up devices as it requires the gnustl_shared library. My original plan...
cjstittles
1

votes
0

answer
62

Views

Emulate Samsung Galaxy devices on Chrome

Somebody knows how to emulate Samsung Galaxy Sx devices on Chrome? S6 and S10. Is there somekind of calculation to find these settings: width, height, DPR? There is only information to emulate in Android Studio and this one: https://www.danhendricks.com/2018/04/adding-iphone-galaxy-chrome-mobile-emu...
georgeos

View additional questions