samsung-mobile

Getting neighboring cells information using android Samsung galaxy smartphones

纵然是瞬间 提交于 2019-12-07 16:00:38
问题 My target is to get all neighboring cell towers information like cell id, cell lac and RSS values, I used the class telephonyManager.getNeighboringCellInfo() to get required information but it return null every time. But, I succeeded to get the nearest single cell tower information which connected to mobile (i.e serving cell) using telephonyManager.getCellLocation() . I tried to fix this problem and searched on every thing related it, then we found that all samsung devices can not support

Couldn't create directory for SharedPreferences

感情迁移 提交于 2019-12-07 15:50:19
问题 I am getting the following error only on Samsung device. Went through this but it doesn't really provide a solution. Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml To be specific: This is how I have declared SharedPreferences in onCreate settings = getSharedPreferences("preferences", MODE_PRIVATE); 回答1: Based on a similar post it looks as if this error is specific to Samsung devices; this was confirmed by multiple users - Error creating SharedPreferences -

Galaxy S4 SupportActionBar covers whole screen in ActionMode

强颜欢笑 提交于 2019-12-07 15:26:36
问题 The Samsung Galaxy S4 shows a very weird behavior when going into ACtionMode on my app which is using SupportActionBar from Support-v7. Has anyone an idea how to fix this? I guess the issue comes from Samsung custom Android-Rom. 回答1: I solved this changing the parent of my custom actionmode theme from: <style name="MyApp.Widget.ActionMode" parent="@style/Widget.AppCompat.ActionMode"> to: <style name="Apo.Widget.ActionMode" parent="@style/Widget.AppCompat.Light.ActionMode.Inverse"> 回答2: For

Samsung S6 Webview css animations issue

泄露秘密 提交于 2019-12-07 14:05:23
I'm working on application written in cordova/phonegap. Now i have some strange issue - in Samsung s6 css animation does not work properly. For example - i have a spinner animated with css. Every time when launching application spinner doesn't want to hide. I also hide some element using css animation. And after launching application this element doesn't slide. What's strange these bugs occurs only on first application launching, every second time when css animation is applied it works. Also simple touching the screen makes animation starting to work. Version of Android is 5.1.1, webview is

Samsung Galaxy S5 media query

浪子不回头ぞ 提交于 2019-12-07 12:14:54
问题 I've done a bit of searching and have tried a few different things, but for the life of me I cannot seem to specifically target the Samsung Galaxy S5. I'm just playing around with a few things while working on a site but nothing I try seems to target the specific device. Here is what I have tried so far: @media only screen (min-resolution: 144dpi) and (device-width: 1920px) and (orientation: landscape) {/*styles here*/} @media screen (-webkit-min-device-pixel-ratio: 1.5), (min-resolution:

Intent filter for opening app from a link not working in Samsung Browser/Firefox etc. but working in Chrome

爱⌒轻易说出口 提交于 2019-12-07 10:03:51
问题 I have been experimenting with the Intent Filters for the past few hours, and I am really confused as to why the Google tutorial code for Handling App Links via Intent Filters is not working on my physical Samsung S8 devices's default Samsung browser or Firefox installed on it however working from the Google Chrome app. The code also works both in the default Android Studio Nexus 5's emulator default browser app as well as from Google Chrome. Here is the relevant code I have in the

Samsung Galaxy SIII mediaRecorder() issues. (Corrupt Video)

核能气质少年 提交于 2019-12-06 21:56:28
I have a problem with the Samsung Galaxy SIII. In the app we are creating, we use a mediaRecorder to record a video of the user using the front camera. I have looked thoroughly in the documentation and all over forums and I have seen a few similar posts for the SII or crashes in general, but those fixes unfortunately did not work for us. The process that the camera records is as follows --> There is a function (code will be provided) that checks each devices compatible camera resolutions, then we check to see if they meet our specifications (right now it is 480p or less) If there is one that

Samsung Smart Manager reporting slow app but shows information about errors

这一生的挚爱 提交于 2019-12-06 20:04:28
问题 I have an app that Samsung Smart Manager is complaining about. It reports that the app is causing the device to run slowly but then references the number of errors in a week. It's not entirely clear that "errors" in this case actually mean crashes but it's possible as I think this device might have had QA versions of this app installed. How do I determine anything about why Smart Manager would show this message about my app? And why does it report causing the app to run slow if it's just

IndexOutOfBoundsException on Samsung devices

醉酒当歌 提交于 2019-12-06 19:44:35
问题 I'm getting an IndexOutOfBoundsException on Samsung Galaxy S5 and Note 3 and 4. It doesn't reference my code. Has anyone encountered this? I haven't been able to find anything on here. It appears to be occasionally happening when try to long-click on the EditText to paste something in. Edit: I'm using a simple EditText field (not in ListView or Spinner). There's a hint of around 28 characters. I'm toggling the focus via clearFocus a few times and I'm using a setOnEditorActionListener and

Activity won't render randomly, shows only white screen on Samsung

拈花ヽ惹草 提交于 2019-12-06 19:03:02
问题 So, I acknowledge that this is a truly vague question. What happens is that very randomly and rarely on only Samsung devices (2x S3 and 1xS4 mini) the starting activity (basically any activity, I have not found common ground) won't render and shows only a white screen. The funny thing is that actually the views are there, I can click the white screen and when I hit the correct spots, I can open dialogs using buttons, and go to the next activities. What is more weird is the fact that when the