I want to reproduce a bug that is specific to certain device brand, but Android Studio's AVD manager only shows generic system images.
Is it possible to emulate a specific vendor's flavor of Android?
Note: I am not talking about device skins. They are irrelevant to the problem to solve.
There is no option on AVD to emulate some device brands, but https://www.genymotion.com/ can emulate some devices, but a list of devices is limited.
There's nothing in the documentation about emulating different brand flavors of Android in Android Studio, but you can look into some third party options.
Related
I am developing an app on a very powerful desktop machine. I need to know how it would perform on a phone. When running the app on the Android Studio Emulator, doe sth emulator also emulate the spec and performance of the phone?
No. This is not an exact 1:1 simulator of existing device. It's emulator. And given the variety of existing devices it'd be rather problematic to have one that would exactly mimic specific device. If you need one, the I'd say that having physical device in hand would be the best approach, aside the emulator.
I am trying to emulate a Samsung Galaxy Tab E in the AVD on Mac. However, most of the documentation is old see this SO question and doesn't apply to studio 2.0.
How do I add or emulate other devices in Android Studio 2.0 that are NOT apart of the pre-installed templates?
I understand the question as, why isn't there an easier way to use the "import hardware profiles" button to simply bring in a preconfigured profile off manufacturer sites? Haven't found one yet...
For emulator skins, which will give you the device's layout and look, but not the hardware specs, Samsung has a great tool http://developer.samsung.com/galaxy/emulator-skin
I am new to Android App Development. (Did a year back but completely forgot)
A year back I had created a Virtual Device and I had setup the Emulator using the AVD Manager. Back then, it only asked me to choose the Target and I chose 2.2 everytime so that it supported in the latest versions too.
One year down the lane, the problem I am facing is, it is asking me to choose a target device too. I use a Galaxy Fit but there are other people with different handsets and resolutions for tablets, smartphones, notes, etc. I referred to all the tutorials on YouTube, Google and the Android Documentation itself, it only gives information about the old setup, the one without Device information.
I want to know which device to choose so that my app can be compatible on all devices and screen sizes(I chose Android 2.2 for the target) because without choosing the Device, the OK button is not getting activated.
Thank You
Making an app to be compatible with all devices depends on how you design your app, not on the virtual device chosen.
Some recommended Android documentation on how to polish your app for different screens can be found here.
Regarding sensors or other features that may be present or not in some devices, you should check if they are available before making use of them.
If you follow those, you are probably in a good position to be compatible with the phones that support the minimum API set you have chosen.
However, testing in different virtual devices can help you verify that your app is compatible in different real devices.
By the way, the device option when creating an AVD is for creating an AVD that matches a specific device (there is a question about it here). However for compatibility, you do not need to test specific devices, but a wide range of features values (resolution, screens, and on)
I can't find a clear list of what files needs developer's attention when i'm building a new Android image.
All the guides that i have found until now are way too generic or really old.
I'm supposing that i'm not interested on customize the platform, i just want a vanilla flavour but for my device only.
The answer is a bit complicated. You probably cannot build a vanilla Android for your device, unless your device is one of the google developer phones. Here is a list of the devices you can build Android for. The reason being that the manufactures usually does not publish all the parts needed to actually build Android for their devices.
But do have a look at the cyanogenmod project, and see if they support your device. They are kind of trying to make a "vanilla" android source for the devices which the manufactures themselves does not support. And they are doing quite a nice job, in my opinion. I have a custom build of Android 4.0 for my Galaxy SII running for months now, and it is working perfectly fine.
If you update your questions with the devices your are using, I can probably provide specifics on how you can build cyanogenmod for your specific device.
What are you trying to do ?
Declare some images or layout specific to only one device ?
You can't do it with a selector on a folder (-large, -fr, ...), but with some code. Check this out : http://developer.android.com/reference/android/os/Build.html#MODEL,
Can I use any Android Phone for app development? Here in the Philippines, there are many available mobile phones with Android installed. But I want to buy the cheapest phone available (which I think is Samsung i5500 Galaxy 5). Thanks in advance!
You can use any android powered device for development, just make sure it has Development menu option. To check go to Menu -> Settings -> Applications -> Development. If there is somewhat like USB Debugging option you can use device for the development.
Why not use the actual dev kit? There is a complete setup with virtual phone included that you can run as an eclipse plugin.
http://developer.android.com/sdk/index.html
I think any Android platform based phone will be OK.
Yes you can, and I would definitely recommend using a real phone. The emulator is excellent, but somewhat slow for a number of applications that require hardware (OpenGL comes to mind). Even a G1 tends to be faster than the emulator for certain things. If you're creating an app that uses Bluetooth, there's no way to do so on the emulator currently. Konstantin's directions are good for actually setting up the phone.
You need to understand one thing before you buy the phone. What version of Android SDK you will be using for to develop the app. If say, you are developing the app for cupcake and above, you better have a phone with cupcake version. But if you have Froyo phone, you will not be still able to run the app, but some depreciated functions might not be available and your app may crash.
If you want to develop in Windows there is a list of devices available for which the USB drivers work: USB Driver for Windows
If you don't need the GSM part you could also think about using the Archos 5 Internet Tablet, which is a Android powered media player and supports ADB (Android debug bridge) as well