galaxy

building android 4.1 from source targetting non-nexus device (galaxy s3)

♀尐吖头ヾ 提交于 2019-12-11 06:15:43
问题 I am interested in building Android for Source for a Galaxy S3 (but just knowing how to do it in general will be quite helpful) I know how to do it for all the nexus devices in general, but I was wondering how to do it for some of the other phones. I know that it is possible because CyanogenMod and other modders do it. Usually when they announce them they include the source for the kernel. How do you put the pieces together? Getting the android source code and the custom kernel together in

Samsung Galaxy s4 in Eclipse ADT

烂漫一生 提交于 2019-12-11 03:31:18
问题 I want to test my App in a Samsung Galaxy S4, i've checked "unknown sources" and enabled the developer menu and checked "Debug mode". But It is displayed offline C:\Program Files (x86)\Android\android-sdk\platform-tools>adb.exe devices List of devices attached XXXXXXXX offline any ideas why? 回答1: Check that you have latest Android SDK tools. After installing latest SDK tools, check your phone: you need to confirm that you allow debugging from your computer. 回答2: For me, it wasn't until I

LogCat: Unable to open log device

拟墨画扇 提交于 2019-12-11 00:23:17
问题 My Phone: Samsung Galaxy Note N7000 Kernel: HyDraCore_v6.2_B3_R3P0 Build: MIUI-2.10.19 RocketMIUI v8 I read many threads about that but nothing solved my problem... When I connect my phone to my computer and run the project wirh "Run As -> Android Application" the program starts on my phone but the logcat is empty in eclipse :-/ In logcat I only receive this one message: Unable to open log device '/dev/log/main': No such file or directory What do I have to do to get it worked?? 回答1: I'm using

Galaxy s3 emulator

旧城冷巷雨未停 提交于 2019-12-10 23:36:17
问题 Starting emulator for AVD 's3' Failed to allocate memory: 8 T his application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am getting this problem while running s3 emulator with this configuration Target: Google APIs - API Level 15 Skin: Built-in WXGA720 Hardware Back/Home: yes Abstracted LCD density: 320 Keyboard lid support: no Max VM application heap size: 48 Device ram size: 512 回答1: There is a common

Galaxy S 3 memory problems

旧巷老猫 提交于 2019-12-10 19:27:22
问题 I have a game which does a whole lot of image-scaling (once every time you enter a level). The scaling is done with a simple call to Bitmap.createScaledBitmap(Bitmap). I realize that until the garbage collector comes, I effectively have two copies of these images, but I've tested it to death on several Android devices, and only recently got a Galaxy S3. You would have thought that if a game runs perfectly well on the Xoom2, the Galaxy Tab and the Galaxy S2, to say nothing of lower-end models

Mono for Android OnPause event not triggering on Galaxy Nexus

家住魔仙堡 提交于 2019-12-10 18:31:00
问题 I put together my first Mono for Android project (targeting API level 8, minimum Android 2.2) and deployed it to an HTC Incredible [1] running 2.3.4. Everything worked great and breakpoints in my main activities OnCreate , OnStart , OnResume , OnPause , and OnStop all triggered as described on Xamarin's Activity Lifecycle tutorial. Without changing any project settings, I swapped for a Samsung Galaxy Nexus running 4.0.2 and deployed the same app. It called OnCreate just fine, but never

ObjectAnimator.setDuration is ignored

风格不统一 提交于 2019-12-10 16:39:34
问题 The setDuration function of the ObjectAnimator class in Android appears to be completely ignored. No matter what value I pass it, the animation is always completed instantly. ObjectAnimator.ofFloat(mView, "translationY", 0, 100) .setDuration(2000) .start(); The above code increases the Y value of mView by 100 (essentially pushing it further down the screen). The actual translation occurs correctly, however it is instantaneous. The setDuration(2000) is completely ignored. Why is this? EDIT:

Samsung Galaxy S2 AVD - Official skin, how to render correct dimensions

倖福魔咒の 提交于 2019-12-10 14:53:54
问题 I have installed the official Samsung Galaxy S2 skin thanks to another stackoverflow question, in Eclipse. The problem I have is that it doesn't render my app anywhere near the resolution of the actual device when running in the Emulator, surely this is the point of using the skin. Please see the screenshots and settings I'm using, where am I going wrong? Emulator output - API 11 Emulator output - API 15 Device screenshot AVD settings - automatically generated by the skin 回答1: Try changing

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

拟墨画扇 提交于 2019-12-10 14:47:54
问题 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

What browser does the Samsung Galaxy use?

人走茶凉 提交于 2019-12-10 12:32:40
问题 Looking to check a site on a Samsung Galaxy, what browser does it use out the box and where can I emulate it - either online or on OSX? Reason I am asking is a few CSS properties do not work and need to find a fix. 回答1: The Browser app that is present on TouchWiz (Galaxy) devices is not the stock Android (AOSP) Browser. The Samsung Browser has customizations on top of the stock browser (such as the functionality for OS/Browser-controlled elements i.e. select fields). The bad news is that it