galaxy

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

Samsung hovering API with finger

回眸只為那壹抹淺笑 提交于 2019-12-02 18:54:55
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 instance) EDIT: The accepted answer is a better solution and works perfectly well ( requires API 14 but

Android manifest that will support Galaxy S4, HTC One

[亡魂溺海] 提交于 2019-12-02 01:39:26
问题 Im trying to create Android manifest that Google Play will show to Samsung Galaxy S4, HTC One and so on since current one doesn't list those in compatible devices list. I did search Stack Overflow, but all advices here didn't help me. Below is manifest that I am using for our app... We tried also to remove complete <compatible-screens> and leave only <support-screens> but still no-go... Thanks in advance <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android

Hide camera preview but still receive preview callbacks

萝らか妹 提交于 2019-12-02 01:19:54
问题 I want to show filtered camera preview in my application. I'm using Camera.setPreviewCallback() for this. I managed to process callback data and show filtered image in OpenGL view but I have no idea how to hide original camera preview and still receive preview callbacks. Making surface view "gone" or "invisible" doesn't work, making it small enough (10x10) to hide behind GUI doesn't work either. It just stops sending callbacks with preview data. Can you share some workaround on this? I'm

Android manifest that will support Galaxy S4, HTC One

孤人 提交于 2019-12-02 01:04:13
Im trying to create Android manifest that Google Play will show to Samsung Galaxy S4, HTC One and so on since current one doesn't list those in compatible devices list. I did search Stack Overflow, but all advices here didn't help me. Below is manifest that I am using for our app... We tried also to remove complete <compatible-screens> and leave only <support-screens> but still no-go... Thanks in advance <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.application.testapp" android:versionCode="4" android:versionName="1.01c

Hide camera preview but still receive preview callbacks

﹥>﹥吖頭↗ 提交于 2019-12-01 21:35:49
I want to show filtered camera preview in my application. I'm using Camera.setPreviewCallback() for this. I managed to process callback data and show filtered image in OpenGL view but I have no idea how to hide original camera preview and still receive preview callbacks. Making surface view "gone" or "invisible" doesn't work, making it small enough (10x10) to hide behind GUI doesn't work either. It just stops sending callbacks with preview data. Can you share some workaround on this? I'm testing using Galaxy S2. Thank you in advance. A solution is to even though set the Preview Size to be as

Hide “NFC Tag type not supported” error on Samsung Galaxy devices

耗尽温柔 提交于 2019-12-01 19:16:58
I am working on an app that scans just the UID of MIFARE Classic cards to facilitate attendance registration. I have got it working. However, every time I scan a card on my Galaxy S4, I get a toast stating "NFC tag type not supported". I want to either block or hide that message while the app is open. I noticed there was one other question asking for the same thing on a Galaxy S6 but it was down-voted once and then ignored. I found this conversation on the Samsung Developers forum, however, I could not extract an answer from what is written there: if (NfcAdapter.ACTION_TECH_DISCOVERED.equals

Android Bluetooth SPP with Galaxy S3

倾然丶 夕夏残阳落幕 提交于 2019-12-01 13:25:51
I'm trying to establish a bluetooth connexion between a Samsung Galaxy S3 running with Android 4.0.3 and a RN 42 Bluetooth Chip, here is the model : I used lot's of different codes for setting up a bluetooth serial communication, and all of them are working very well on the HTC Wildfire i was using before. But now that i'm using the galaxy s3 phone, it's impossible to establish the connexion. Here is the code i'm using, i found it here : I put the permissions in the android manifest. First, my Bluetooth Interface : public class BtInterface { private BluetoothDevice device = null; private

HttpClient not storing cookies on galaxy s2

一笑奈何 提交于 2019-12-01 13:12:57
I'm trying to fetch data from a server with this code DefaultHttpClient httpClient = new DefaultHttpClient(); httpClient.getParams().setParameter(CoreProtocolPNames.USER_AGENT, USER_AGENT); HttpRequestRetryHandler retryhandler = new DefaultHttpRequestRetryHandler(6, true); httpClient.setHttpRequestRetryHandler(retryhandler); BasicCookieStore cookieStore = new BasicCookieStore(); httpClient.setCookieStore(cookieStore); if(Build.VERSION.SDK_INT>8){ CookieManager cookieManager = new CookieManager(); cookieManager.setCookiePolicy(CookiePolicy.ACCEPT_ALL); CookieHandler.setDefault(cookieManager); }

HttpClient not storing cookies on galaxy s2

陌路散爱 提交于 2019-12-01 12:01:55
问题 I'm trying to fetch data from a server with this code DefaultHttpClient httpClient = new DefaultHttpClient(); httpClient.getParams().setParameter(CoreProtocolPNames.USER_AGENT, USER_AGENT); HttpRequestRetryHandler retryhandler = new DefaultHttpRequestRetryHandler(6, true); httpClient.setHttpRequestRetryHandler(retryhandler); BasicCookieStore cookieStore = new BasicCookieStore(); httpClient.setCookieStore(cookieStore); if(Build.VERSION.SDK_INT>8){ CookieManager cookieManager = new