samsung-mobile-sdk

How to open both front and back camera at the same time on Samsung Galaxy Devices?

旧时模样 提交于 2020-04-16 06:12:10
问题 This is a question that is still left unanswered as i have gone through all the questions in SO. access both front and back camera simultaneously on samsung galaxy devices How to capture both front and back cameras in Galaxy S4 simultaneously? ...and so on but the real problem is that i have a perfectly working dual camera tested on multiple devices like: Google Pixel XL, LETV 1S, Elephone S7, LG Devices, practically most devices that have two Image Signal Processors, except for Samsung

How to access Galaxy S5 heart rate sensor?

删除回忆录丶 提交于 2020-01-22 16:25:08
问题 In the Samsung's programming guide (pages 77 - 81) there is a reference on how to set and get the heart rate information using the S Health Service SDK. However, I was looking to directly access the Galaxy S5's heart rate sensor, the same way you are able to access the accelerometer, gyroscope, light sensor, among other sensors. I found this example for the samsung gear live, but I cannot find any example for Galaxy S5. Is it possible to directly access the Galaxy S5's heart rate sensor? Does

How to get the list of installed Browser Apps in an Android 7.0 running devices programmatically?

不羁的心 提交于 2020-01-13 05:24:09
问题 Before Android 7.0 I was able to retrieve the list of installed browser type applications and it's package name. Then, I upgrade to Android 7.0 and I am only able to retrieve Samsung's Internet browser, but not the other browser type applications such as Chrome . Device Samsung Tab A This is the code : public static List<String> getListOfBrowser(Context context) { List<String> browserPackageName = new ArrayList<String>(); try { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData

Basic sample program of Spen SDK throws Run time exception

感情迁移 提交于 2019-12-25 04:22:22
问题 I am writing a basic android app involving Spen SDK. My XML file is:- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin" tools

Proximity sensor on Galaxy S4 (Air Gestures)

筅森魡賤 提交于 2019-12-18 11:27:12
问题 The new Samsung Galaxy S4 have and interesting new type of gestures called " Air Gesture " that use an infrared sensor to process users hand movement in front of the screen, adding a " pre-touch "/" proximity " event, in wich the fingers are detected before the touch. I'd like to use this " Floating Touch " event in one of my apps. I searched both on Google and in the Samsung Developers Center, but I coudnt find any API or information about that. Are the API available or is too early? Does

Can I use Samsung fingerprint to authenticate users in my app?

半城伤御伤魂 提交于 2019-12-14 03:49:19
问题 I was going through the Samsung SDK which supports "Pass" Fingerprint recognition as per the given link : http://developer.samsung.com/samsung-mobile#pass. Can I use this Fingerprint recognition for authentication of our application? Does any one have Samsung S5 and is this feature tested on this device our a third party app? 回答1: First please be sure about the tag as it does not belong to android.Its just samsung sdk going by the link you provided. Second for the testing part of the

AdMob in Samsung MultiWindow mode resize issue

好久不见. 提交于 2019-12-11 18:14:15
问题 When I use Samsung MultiWindow feature with my app AdMob stops loading ad and log such error: Not enough space to show ad. Needs 961x49 dp, but only has 471x50 dp. AdMob has SmartBanner size. If I set fixed banner size than it partially solves problem - sometimes ad is showing, sometimes I had the described error. It may show ad for size AxB and after few multi window border changes show error "Needs DxE dp, but only has AxB dp". AdMob view is correctly resizing when I change windows size,

What is the best strategy to recover from an error - neglecting the record where error occurs

不打扰是莪最后的温柔 提交于 2019-12-10 17:13:23
问题 I am getting a No implementation found for native Ldalvik/system/VMRuntime;.pauseGc Error, below is the logCat. 05-13 22:39:22.538: W/dalvikvm(8350): No implementation found for native Ldalvik/system/VMRuntime;.pauseGc:(Ljava/lang/String;)I 05-13 22:39:22.543: E/MyThread(8350): Pause GC 05-13 22:39:22.543: E/MyThread(8350): java.lang.reflect.InvocationTargetException 05-13 22:39:22.543: E/MyThread(8350): at java.lang.reflect.Method.invokeNative(Native Method) 05-13 22:39:22.543: E/MyThread

How to us Galaxy Note's handwriting recogntion

孤街浪徒 提交于 2019-12-10 12:23:22
问题 I have a simple prototype that receives spen input. I would like to recognize the text inputed by the user. Does the Galaxy Note family (Note 8, Note 2 and 3) provide an intent where you input the strokes and get out text recognized output ? 回答1: Download Samsung Mobile SDK http://developer.samsung.com/samsung-mobile-sdk The sample project at: Samsung_Mobile_SDK_1.5/Samples/Pen/src/com/samsung/android/sdk/pen/pg/example5_6 shows how to use text recognition. 回答2: Do not freeze or disable

Proguard error on SAAgent.class

偶尔善良 提交于 2019-12-08 07:42:28
问题 I'm developping a Samsung Gear application with Samsung's accessory-v1.0.0.jar . When I try to create a signed apk (which preforms proguard steps) I get Unknown verification type [10] in stack map frame exception, because of Samsung's SAAgent class in accessory-v1.0.0.jar . I couldn't find any solutions, do you have a workaround for this? Same problem (not answered on Samsung's forum) here. Similar problem on Samsung's SPen SDK (this problem was solved on a later version of SPen SDK) What I