galaxy

How can I enable/disable the Debug-mode on my Samsung device?

人盡茶涼 提交于 2019-12-06 12:23:41
问题 This question have been asked already, but the answers seems still incomplete. The profound answers already found are the following: How do you set an Android phone to be a “debug” device? Android Device Chooser - Debug column But unfortunatly non of them could explain it with absolute certainty, why or why not an Android device has debug support, btw. I don't mean the debug flag in AndoridManifest.xml files. To check whether or not a rooted device could be managed to enable debug mode, I've

Android Development on Samsung Galaxy S

五迷三道 提交于 2019-12-06 12:13:59
I am trying to test my Android apps in my Samsung Galaxy S i9000 but I dont know why, I cant. It doesn't appear in the Devices tab on Eclipse. I've downloaded the Google Drivers via SDK Manager, I've got the Samsung Drivers for Windows x64, I've put it in debugging mode, and still nothing. This is weird, because some time ago, but in another computer, I was able to do this with my old Xperia X8 and Nexus S, with no problem. This phone is rooted and has a MIUI Rom on it, but my old phones were rooted and had cooked rooms too, and worked perfectly. Am I missing something? Thanks a lot! On your

Bring your app to the front when S Pen detached in android note?

自作多情 提交于 2019-12-06 08:13:03
问题 I want to open my application immediately when S Pen is detached , How can you do this, if the methods put under onSPenDetached is only called when my application is opened again? Thanks, Chandu 回答1: The following works on my Galaxy Tab A 9.7 with S-Pen (SM-P550) running Android 5.0.2. Attaching and detaching the stylus creates Broadcast Intents of type com.samsung.pen.INSERT with a booleanExtra named penInsert of false if detached and true if put back into the device. Thus a Broadcast

galaxy S3.. viewport meta tag doesns't work

南笙酒味 提交于 2019-12-06 07:56:17
I'm currently working on the web app which use medium-dpi in viewport meta tag like the below. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width, user-scalable=no, target-densitydpi=medium-dpi" /> When I test it on a galaxy S3 device, viewport seems not work correctly. I saw this kind of thing in Android 4.0.2. In android 4.0.2, i heard android OS itself has bug that can't apply the viewport correctly. Anybody has any idea?? I actually found an important clue. http://developer.android.com/guide/webapps/targeting.html " values less than

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

百般思念 提交于 2019-12-06 07:34:10
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 phone from my computer and I want to run the program with an emulator, the program won't run and when I

Images from Custom Camera are blurry on Galaxy Nexus

烂漫一生 提交于 2019-12-06 03:41:00
I have a custom camera in the app and the images that are taken on most of the devices look good but on galaxy nexus the story is different. Images are blurry in Galaxy nexus. I see grainy lines on Motorola Atrix as well. But Droid X, Droid Razr, HTC Evo, HTC incredible are showing good results. Any idea why it would happpen? This is what I have so far. P.S.: I am using Auto focus in the activity. public class CameraPreview extends SurfaceView implements SurfaceHolder.Callback { private SurfaceHolder mHolder; private Camera mCamera; public CameraPreview(Context context, Camera camera) { super

How to get the correct window width on orientation change for android devices both tablets and mobiles

烂漫一生 提交于 2019-12-06 03:35:01
问题 I am trying to calculate the window width on orientation change for android devices using jquery function $(window).outerWidth(true); . This calculation gives correct width on orientation change for both iphone and ipad but not in android. If i initially load the page in landscape mode or portrait mode i am getting the correct width but once i change the orientation after loading the page i am getting the width for portrait mode as was in landscape mode and vice versa. Please suggest what is

Galaxy S4 SupportActionBar covers whole screen in ActionMode

北城以北 提交于 2019-12-05 20:58:44
The Samsung Galaxy S4 shows a very weird behavior when going into ACtionMode on my app which is using SupportActionBar from Support-v7. Has anyone an idea how to fix this? I guess the issue comes from Samsung custom Android-Rom. I solved this changing the parent of my custom actionmode theme from: <style name="MyApp.Widget.ActionMode" parent="@style/Widget.AppCompat.ActionMode"> to: <style name="Apo.Widget.ActionMode" parent="@style/Widget.AppCompat.Light.ActionMode.Inverse"> For some reason those themes don't seem valid in the latest AppCompat libraries (I tried Widget.AppCompat.ActionMode

Galaxy s4 res folder

我们两清 提交于 2019-12-05 20:13:21
Galaxy s4 Screen: 4.99", 1920x1080 (FullHD). Which the res folder would be used in FHD and what's the dpi value should be set? xhdpi or xxhdpi? And how can I calculate it? I didn't find any info in the developer docs and in the screens_support article It's 441 dpi, isn't it? So almost certainly xxhdpi, which is already supported in the Android framework. But why worry about it at this time? Assuming you're already supporting xhdpi, the likelihood that the average user can detect the different between xhdpi and xxhdpi assets is becoming increasingly small. -- Edit -- Actually, I'd say it's

Android源代码为Galaxy nexus 编译

北城以北 提交于 2019-12-05 14:08:05
Android源代码为Galaxy nexus 编译 作者:JAROD 发布时间:JULY 29, 2012 分类: 原创技术 google发布了Android 4.1的代码,但是不包含蓝牙、wifi、显卡等驱动,google将这些驱动单独提供下载,并未集成到源码中,所以需要将其编译进rom中,步骤如下: 编译完成后会在android_souce/out/target/product/maguro/中生成一大堆img文件,这就是编译生成的刷机rom了 然后打开https://developers.google.com/android/nexus/drivers,下载Galaxy Nexus对应的4个文件并解压到源代码的目录,解压出来的4个文件是4个shell脚本,分别为extract-broadcom-maguro.sh,extract-imgtec-maguro.sh,extract-invensense-maguro.sh,extract-samsung-maguro.sh 分别执行这4个脚本,执行期间会要求输入“I ACCEPT” 重新执行make -j4进行编译,这次编译过程时间很短 完成上面的驱动集成后,可以把编译好的img拿到windows下面去刷机,也可以参照下面的方法在linux下刷: 输入 cd android_source/out/host/linux-x86