samsung-mobile

Retrieving conversations from Samsung Grand :Android

风流意气都作罢 提交于 2019-12-24 14:20:05
问题 Hi I am developing android SMS app where I am trying to retrieve messages from built in messaging app and display it on a listview . I am using the below code for retrieving conversations. Uri uriSMSURI = Uri.parse("content://mms-sms/conversations/"); This is working fine on all phones except Samsung Grand. I am getting exception as 08-23 11:29:53.778: E/AndroidRuntime(22826): FATAL EXCEPTION: main 08-23 11:29:53.778: E/AndroidRuntime(22826): java.lang.RuntimeException: Unable to start

HTC Desire X and Samsung Galaxy S Duos (GT-7582) - layout issue

帅比萌擦擦* 提交于 2019-12-24 09:55:26
问题 I have run into this strange issue. The two devices that I mentioned in the ques title have almost same specs in terms of screen sizes (if I am not missing something) as both are 4.0-inch hdpi phones (I think!?). However, one has got layouts coming up as close to shared .psd files (Samsung) as possible but, another (HTC) shows lot of differences like smaller font sizes but, larger padding. I tried different std. layout folders (small, large, xlarge) but, not to much help. It would be great if

Android CheckBox extra padding on TouchWiz

纵然是瞬间 提交于 2019-12-24 08:39:38
问题 I have a layout which contains a TextView and a CheckBox, and this looks as expected on my Galaxy Nexus (4.2.2): However when viewing on a Galaxy S3 and S2, I get some odd padding to the top, right and bottom of the CheckBox which is messing up the horizontal alignment of the whole subview: The XML layout: <?xml version="1.0" encoding="UTF-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/ll_vert" android:layout_width="match_parent" android:layout

Samsung Note layout issues

自作多情 提交于 2019-12-24 07:00:07
问题 In my application I have designed layouts for resolution 600x1024 and placed them in the layout-large folder. When I run the app on Samsung Galaxy Tab it picks up layouts from the layout-large folder and the UI looks fine. But for Samsung Note too it picks up layouts from the layout-large folder and the UI does not look good. Is there any way I can create an exceptional case for Samsung Note, and tell android not to use layouts from layout-large folder if the device is Samsung Note and

notification message only shows when device connected to USB

会有一股神秘感。 提交于 2019-12-24 00:57:17
问题 The notification message string in my app only shows if the development device is connected to USB. As soon as I disconnect the phone from USB, even with the app open, the notifications for my app no longer shows the message, it is just blank, yet everything else seems to work fine for the notification. I have no errors in logcat when running app in ADB, and all other params are passed successfully to the notification. The only issue is the setContentText() only seems to work if phone is

samsung s4 camera effects show in preview but not in picture

旧巷老猫 提交于 2019-12-24 00:56:59
问题 I have an interesting bug in my camera application. When the user selects a color effect to use the preview window shows the desired effect but the actual picture taken is sans (without) effect... A bit of code: backCameraParams.setColorEffect("mono"); mCamera.setParameters(backCameraParams); Please note that this "feature" has only been reproduced on the Samsung galaxy S4 GT-19500 Any help would be greatly appreciated. 来源: https://stackoverflow.com/questions/18173115/samsung-s4-camera

How to unpack, modify, pack and flash `system.img.ext4` file using Odin?

↘锁芯ラ 提交于 2019-12-23 23:19:49
问题 I have a system.img.ext4.lz4 file that is compatible with my Samsung S10 5G(Qualcomm) device. I have extracted system.img.ext4 file from the system.img.ext4.lz4 using unlz4 system.img.ext4.lz4 command. I want to play with its content. So I have decided it in two steps: Flash system.img.ext4 without modification : Using tar -cvf AP.tar system.img.ext4 command, I have created a AP.tar file. Flashed AP.tar file using Odin3 v3.13. It flashed successfully. Flash system.img.ext4 with modification :

Missing period for Samsung Galaxy S4 numeric keypad

妖精的绣舞 提交于 2019-12-23 16:08:12
问题 I have the tag <input type="number" pattern="[0-9\.]*" /> and trying to get the numeric keypad with an option to enter a period to show once the user selects the field. The above code works for iPhone 4/5 and Samsung Galaxy S3 but not on the S4. The S4 shows the numeric keypad but does not display the period button. Highly frustrating as it does so in the S3! Anyone know of a fix for the S4 standard keyboard setup? 回答1: It seems that there is a problem with the Samsung S4 keyboard. The only

Samsung-specific webview issues

◇◆丶佛笑我妖孽 提交于 2019-12-23 12:28:09
问题 I have a phonegap app that works seamlessly in Chromium and the native, unadultered Android Browser WebView. Something in the Samsung-altered Android Browser breaks my app, and I can't for the life of me find a resource describing the differences of the Samsung browser. This thread seems relevant, but the fix actually made things worse for me: Samsung Galaxy S4 and Phonegap Issue Is there any way to find out what the Samsung native browser is compatible with? 回答1: Suggest loading some

Samsung system image for Android emulator?

 ̄綄美尐妖づ 提交于 2019-12-23 09:49:29
问题 Is there any way to get the Android emulator to run a system image other than vanilla Android? I'm developing an app that works fine on the emulator, a physical Huawei device and a physical Motorola device, but experiences some weird issues on a Samsung Galaxy S7. Since I don't have physical access to a Galaxy S7, is there any way to run an emulator that actually runs the Samsung official ROM? Note that I'm not talking about an emulator skin, I'm talking about the actual system image. 回答1: