Samsung Galaxy Note 2 configuration to enable developers mode - android

What are the lines that need to be added in android_usb.inf, so that I can use Samsung Galaxy Note 2 in developer's mode?
What are other changes needs to be made?

Related

android largeheap equated to true based on devices

I want to add in my manifest android:largeheap="true" based on some devices. Mostly devices running probably os 5.1 and below.Because alot of my clients are using samsung s3 , chinese , indian , pakistani phones.And I am getting lots of crashes in my firebase console. However this issue is not faced on top notch devices like google pixel samsung s8 etc.
How can I detect which devices i run largeheap, and how i run it on those devices only? I do not want to run it on devices i dont need to.
Well, you can't set this flag depending on the device. That's the true. But you can set it depending on OS version, screen size and etc. Check this answer to see how it can be done.

android setting up lock screen widget

I need to develop an app including feature to add widget on lock screen.
I tried that on 3 devices so far -
1) Samsung Galaxy s4 (KitKat 4.4) - It worked well, if the lock is swipe screen lock,
but doesn't work in case of pattern lock. Even in case of swipe lock, I am unable to add it on main lock screen, instead it appears on second or third screen, navigated from the main lock screen to its right.
2) Samsung Galaxy Grand (JB 4.2.2) - same behaviour as above.
3) LG ls970 (JB 4.1) - It doesn't seem to provide lock screen widget feature at all.
So, what must I do in case I need that to be worked in most of the devices.
What may be the issue by the way - Is it version specific issue or the brand specific or both.
Please let me know the solutions.
Thanks
Lock screen Widgets is not provided by "default" in "older" versions of Android.
Speaking of older - ALL DEVICES THAT ARE >= Android 4.2 SUPPORT lock screen widgets.
OLDER devices < Android 4.2 does NOT SUPPORT this feature. That's the problem
You can get more information on this topic here: Lock screen Widgets
And btw, make sure just to read more on the Google's provided information about Android. It supports search too!
Basics of Android by Google

Creating Galaxy S4 emulator

I am trying to run my app specifically on Galaxy S4. But I do not have the real time device. So, I'm trying to create the emulator for Galaxy S4. I have a normal Core I3 system with 4GB RAM. It doesn't have any graphics card and all.
I am finding the ways for installing the Samsung Galaxy S4 add-ons to my sdk. But I am not getting it.
I referred these links,
Android Galaxy S4 Emulator Not Opening
How to test android app in Galaxy S4 configuration using emulator?
http://developer.samsung.com/android/technical-docs/Using-Samsung-Emulators-for-Android-Application-Development
http://developer.samsung.com/board/list.do?ctgy1=1&ctgy2=1&menu=EN01010301&srchYn=Y&pageIndex=1&pageSize=10&search=
However, I am unable to get any results with these.
Then I referred this alternative for Galaxy S4 i.e., installing Sony add-on for Xperia Z which has the same config as S4. And I am able to create a Xperia Z avd. I have checked "Use Host GPU" option also. But still, the screen appears to be totally black.
http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/
So can any body tell me how to install S4 add on so that I can create an emulator for it.
Update:
RAM Allocated: 256MB
HeapSize: 64
And I have modified the screen size to 4.0 inches to adjust to my system.
This is how I created my S4 emulator and working perfectly.
Go to "Android VirtualDevice Manager" -> Device Manager -> New Device and fill in like this:
Or follow this tutorial:
http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/
You can check Samsung RTL. It will be very useful for testing. Just create a new credential and use any of available devices.
Try using Genymotion. It provides a built-in image for Galaxy S4/HTC One/Xperia Z (running Android 4.2.2). While it does not emulate any S4 specific software, it does provide a pretty good hardware match.
I am on mac-OSX and setting "Use Host GPU" solved the problem

Face detection on Samsung devices

I use android face detection API with Camera.FaceDetectionListener .
I have several tablets.
A Galaxy Tab GT-P5110 2 version 4.0.3 (Kernel: 3.0.8-365113-user dpi DELL155 # # 1)
A Galaxy Tab GT-P5110 2 version 4.1.1 (Kernel: 3.0.31-523998 se.infra # SEP-98 # 1)
A Galaxy Tab GT-P5210 3 version 4.2.2 (Kernel: 3.4.34-1135839 se.infra # S0210-10 # 1)
The detection works perfectly on the first but on the second Tab 2, as soon as I turn on face detection, preview flick and detection is slow.
On Tab 3, the listener is never invoked as if it did not detect any faces.
I also tried this sample : http://developer.samsung.com/android/samples/Mad-Hatter-Face-Recogition
but I have the same issues.
Is there a known bug on Samsung devices ?
Thanks
It is known that Samsung's devices perform differently. So you have to treat different Samsung's device carefully. You can use two steps to investigate this issue: 1. pass a bitmap directly to the detection API to check whether it can work. 2. check the preview FPS. maybe you have to set different parameters to improve camera performance.

How can I create an Android AVD for a Samsung Galaxy Note 2?

I want to create an AVD to test apps on a Samsung Galaxy Note 2.
I have checked similar questions, but they are intended for older AVD versions.
Which device should I use?
Should I set the target as "Android 2.3.3 - API Level 10"?
I know the following:
Screen Size 5.55"
Resolution 720w x 1280h
Density xhdpi
RAM 2 GiB
Hardware buttons*
The rest I just left at the defaults:
Sensors: Accelerometer, GPS, Gyroscope, Proximity Sensor
Cameras: Front, Rear
Input: No Nav
Size: Large
Screen Ratio: long
Buttons: Software
Portrait: Enabled
Device States: Enabled
*Picture does not show the "Buttons" as hardware, but it should be.
Hope this helps!
This link will definitely help you with galaxy note 3 smart phone emulator.
http://developer.samsung.com/android/tools-sdks/Samsung-GALAXY-Tab-Emulator
download file from this link and follow simple steps.
Hope this helps someone.....
Which device should I use?
Unless Samsung has some downloadable device definitions that you can use, you should define your own device that matches the Note II as closely as you can.
Should I set the target as "Android 2.3.3 - API Level 10"?
Only if for some reason you downgraded your Note II to Android 2.3.3. The Note II ships with Android 4.1 AFAIK.
I would like to post one more answer, though others are good enough.
Some times emulator doesn't work as expected when we are looking for emulator which compatible with the real device. I faced may frustrating problem like this, after some exploration I found that Samsung provides a significant solution for this i.e RTL (Remote Test Lab) it is free.
For more information and how to use it check out Samsung RTL Solution
Hope this one help you.

Categories

Resources