galaxy

How can I prevent Galaxy S3 from stopping my app when turning idle?

左心房为你撑大大i 提交于 2019-12-10 12:17:06
问题 I am currently updating my Android app with Samsung Galaxy S3 and was shocked that I couldn't stop the phone pausing my app when turning idle. With the Galaxy S2 of our department there doesn't occur this particular problem, if the screen goes black the app still streams data to the sd-card and over the wifi-network. The S3 stops any data-stream. I tried now fiddling with the energy- and display-settings but I have no solution to the problem so far. My Internet-search was not succesfull

Failed to start monitoring and not run the program. Why?

故事扮演 提交于 2019-12-10 11:33:19
问题 I reinstalled Windows 7 last week and unzipped Eclipse and reinstalled the SDK again, but I didn't run the program in Eclipse. When I connect the Galaxy phone to my computer, Eclipse shows an error and frequently writes in the console tab Failed to start monitoring 0A3C202B1601A00A . After a while, Eclipse qill show an Android Device Chooser window. I can't select 0A3C202B1601A00A . I use ADB and i write adb address and adb devices in cmd, cmd writes deamon not running. When I disconnect the

Android studio running app on Samsung Galaxy S3 hangs at Uploading file

风流意气都作罢 提交于 2019-12-10 04:10:14
问题 My app with only one activity runs perfect on all emulators including the Samsung Galaxy S3 emulator provided by Genymotion. I am using the Android Studio. When I hook up my real Samsung Galaxy S3 to my computer it reads the device correct and it is online with all the correct developer options. It's correctly listed by adb as "device". I am targeting the correct API (18) for my device I believe, android 4.3 This is where it gets "stuck" and nothing happens on the real device: 回答1: I had

Cannot create directory in external storage although permissions are apparently set correctly

為{幸葍}努か 提交于 2019-12-10 01:30:09
问题 I have <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> in my manifest file, however I fail when trying to create a directory Log.d(LOG_STRING, android.os.Environment.getExternalStorageState() ); java.io.File folder = new java.io.File(Environment.getExternalStorageDirectory() + java.io.File.separator + "test"); boolean success = true; if (!folder.exists()) { success = folder.mkdir(); } if (success) { Log.d(LOG_STRING, "Created directory"); } else { Log.d(LOG_STRING

Samsung Galaxy Devices can't use geolocation.getCurrentPosition

﹥>﹥吖頭↗ 提交于 2019-12-09 05:33:15
问题 OK, so I've been looking for an adequate response to this issue for quite some time. I have a web application that uses navigator.geolocation.getCurrentPosition to get a user's position. The native browser on the Samsung Galaxy devices nearly always have problems with the getCurrentPosition code. I have tried all kinds of variations of this code with callbacks and timeouts, but its always the same issue. Plenty of people have documented this issue, and some indicate that restarting the device

How to get OEM USB driver for Samsung Galaxy SIII with model number GT-I9300

霸气de小男生 提交于 2019-12-08 17:45:22
问题 I want to get OEM USB driver for Galaxy SIII. I following this official OEM USB Drivers page. So I select OEM - Samsung and visit this official Samsung website. This website ask me to enter my model number so I write - "GT-I9300". But then I can't get anything. Can you help me? 回答1: I had the same problem following the same tutorial. I'm using Eclipse IDE, on a 64-bit Windows machine. This is how I solved it: Theoretically, the USB driver for a clone version should be the same as a regular

Android Override multitasking-key

喜夏-厌秋 提交于 2019-12-08 07:39:28
问题 I have an older Android App with the old legacy menu button and do not plan to update this at the moment. On newer hardware - Samsung Galaxy S5 - the menu button is removed and replaced with a "Multitasking"-button. I know a longpress will show the menu - However, is there a way to override the new "Multitasking"-button on the the same way as one can do @Override public void onBackPressed() { //Stuff } 回答1: However, is there a way to override the new "Multitasking"-button on the the same way

How to make an AVD with > 768MB RAM To emulate Galaxy devices

三世轮回 提交于 2019-12-08 05:33:34
问题 I am trying to emulate the Galaxy Note 2 which contains 2GiB RAM and some custom hardware like the s-pen and TouchWiz. I created an emulator with 2GB to start with. The emulator won't launch, in fact it is crashing eclipse. I would also like to emulate multi-screen TouchWiz support. I don't see any info anywhere on emulating custom platforms like TouchWiz. Any ideas? I need a decent testing platform for the Galaxy series, but I can't even get basic android working. edit: The Samsung dev page

Android HttpURLConnection VERY slow

喜欢而已 提交于 2019-12-08 05:08:31
问题 This is the situation I'm facing with the code below: As you can see I'm trying to read an HTTP stream. When I run the following code on the Android simulator it works 100% of the time, when I run the following code on my Galaxy S3 while on 3G it works 100% of the time, when I try to connect to the URL using my laptop browser it works 100% of the time, when I try to connect using the Galaxy S3 browser (in both wifi and 3g) it works... 100% of the time. HOWEVER, when I try to connect using my

Transceive failed on Galaxy S3 with a NFC-B card

∥☆過路亽.° 提交于 2019-12-08 04:14:21
问题 I am working on an application for Android reading a contactless smart card but I have some problems with my Galaxy S3. Before to describe problems, I need to precise that on a PC, I can communicate perfectly with the card using the smartcardio API in Java and NFC readers from different manufacturers. This card is detected as supporting technologies "IsoDep" and "NfcB" by the NFC stack. However, when I send my apdu command with "transceive", I get an exception "Transceive failed". I have