samsung-mobile

Samsung My Files explorer: Pick file from specified folder

感情迁移 提交于 2019-12-03 14:25:21
问题 I'm using the following code to open Samsung's My Files application to pick a file... public void openFileBrowser( ) { Intent intent = new Intent( "com.sec.android.app.myfiles.PICK_DATA" ); try { startActivityForResult( intent, PICKFILE_RESULT_CODE ); } catch ( ActivityNotFoundException e ) { e.printStackTrace( ); Log.log( Log.ERROR, TAG + "MyFiles is not installed !!" ); } } this opens My Files application and lets user choose a file through it. However, I wish to open a particular folder on

Android MediaPlayer not playing on Galaxy S6 with Android 5.1.1

吃可爱长大的小学妹 提交于 2019-12-03 12:17:55
I'm seeing an issue that is specific to the Galaxy S6 running Android 5.1.1. I'm using MediaPlayer to play audio streams and on this specific configuration of device and Android version, it fails to ever reach the onPrepared method, and therefore never plays. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mAndroidPlayer = new MediaPlayer(); mAndroidPlayer.setOnErrorListener(new MediaPlayer.OnErrorListener() { @Override public boolean onError(MediaPlayer mediaPlayer, int i, int i1) { System.out.print(

Native crashes received in Samsung devices only with Lollipop 5.0 & 5.1 versions

ε祈祈猫儿з 提交于 2019-12-03 11:59:02
Since past 2 months, we have started receiving native crashes in our developer console only for some Samsung devices. Here is the crash trace *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'samsung/ha3gjv/ha3g:5.0/LRX21V/N9000QXXUEBOG3:user/release-keys' Revision: '11' ABI: 'arm' pid: 10422, tid: 10478, name: AsyncTask #2 >>> com.sample.app <<< signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c r0 131413a0 r1 131413a0 r2 b1687070 r3 00262827 r4 00000349 r5 131413a0 r6 00000000 r7 00000002 r8 131412c0 r9 af071800 sl 87783218 fp 13141360 ip 000031d0 sp

How can I create an Android AVD for a Samsung Galaxy Note 2?

给你一囗甜甜゛ 提交于 2019-12-03 07:10:01
问题 I want to create an AVD to test apps on a Samsung Galaxy Note 2. I have checked similar questions, but they are intended for older AVD versions. Which device should I use? Should I set the target as "Android 2.3.3 - API Level 10"? 回答1: I know the following: Screen Size 5.55" Resolution 720w x 1280h Density xhdpi RAM 2 GiB Hardware buttons* The rest I just left at the defaults: Sensors: Accelerometer, GPS, Gyroscope, Proximity Sensor Cameras: Front, Rear Input: No Nav Size: Large Screen Ratio:

Why can't OSX detect android Galaxy S for USB debugging?

流过昼夜 提交于 2019-12-03 06:30:17
问题 I searched for similar questions on this issue but found none related to Mac OSX. Situation: Trying to test android apps on a Galaxy S (Details below) but Mac is not detecting the device. Tried all the things below and have wondered whether this might be a driver issue ( which I've heard things about for Samsung USB debugging ). Questions: 1) Are samsung drivers required for android USB debugging? 2) And are they available for Mac OSX? 3) Any other reasons OSX might not detect device for usb

Samsung hovering API with finger

你说的曾经没有我的故事 提交于 2019-12-03 05:36:37
问题 Samsung has done something great with the hovering API, and I'm interested in including it in my app. The problem is that the hovering API included in the SPen SDK only work with the SPen and not with the finger detection like the latest apps do on the Samsung Galaxy S4. Can anyone provide me with a link to the right SDK or even a sample project? EDIT: Nifhel commented, fallow this link: Floating Touch on Galaxy S4 ( requires API 12 and to create a new class that inherit from TextView for

Layout on Samsung Galaxy Note

左心房为你撑大大i 提交于 2019-12-03 03:17:40
问题 I have a weird issue that only occurs on the Samsung Galaxy Note. I have landscape and portrait layouts , in normal and large , as per : http://developer.android.com/guide/practices/screens_support.html On all phone so far it uses the normal and the tablets 7inch and 10 inch use the large layout (which was designed for tablets) and all is ok. However the Samsung Galaxy Note is using the large layout (and from it's screen size would indicate so) - but the layout is a complete mess as it does

How can I create an Android AVD for a Samsung Galaxy Note 2?

烂漫一生 提交于 2019-12-02 20:45:52
I want to create an AVD to test apps on a Samsung Galaxy Note 2. I have checked similar questions, but they are intended for older AVD versions. Which device should I use? Should I set the target as "Android 2.3.3 - API Level 10"? RobA I know the following: Screen Size 5.55" Resolution 720w x 1280h Density xhdpi RAM 2 GiB Hardware buttons* The rest I just left at the defaults: Sensors: Accelerometer, GPS, Gyroscope, Proximity Sensor Cameras: Front, Rear Input: No Nav Size: Large Screen Ratio: long Buttons: Software Portrait: Enabled Device States: Enabled *Picture does not show the "Buttons"

Samsung Galaxy Phone is not recognized on Android Studio

久未见 提交于 2019-12-02 20:16:12
My Samsung phone was not recognized by Android Studio on windows 7. I repaired it by installing the Samung Driver here: http://developer.samsung.com/technical-doc/view.do?v=T000000117 I tested with my Galaxy S2 and the Samsung S7560 and it works now Here are few steps if your android phone create problem next time Make sure developer mode is enable Make sure Android studio is up to date Make sure Android Phone is also up to date I had the same issue when connecting a SM-T113 to a Windows 7 PC. The problem was solved by installing Smart Switch. Galaxy J7(2016) same problem solved when i go to

Why can't OSX detect android Galaxy S for USB debugging?

蹲街弑〆低调 提交于 2019-12-02 20:04:27
I searched for similar questions on this issue but found none related to Mac OSX. Situation: Trying to test android apps on a Galaxy S (Details below) but Mac is not detecting the device. Tried all the things below and have wondered whether this might be a driver issue ( which I've heard things about for Samsung USB debugging ). Questions: 1) Are samsung drivers required for android USB debugging? 2) And are they available for Mac OSX? 3) Any other reasons OSX might not detect device for usb debugging? Things I tried: Enabled USB Debugging @ Settings >> Applications >> Development >> USB