Android tablet for development - android

Can some one please suggest what kind of a tablet should I get for testing my apps ? I've just started learning Android development and mobile web app development. I was looking at the Ainol Elf 2, Ainol Aurora 2 and Nexus 7 but I'm not sure.

Any tablet is fine. I would get the Nexus 7 though because
It's cheap ($200 compared to some others that are over $500).
It's made by Google (i.e. no UI modifications made by manufacturers like Samsung and HTC).
It's running the latest version of Android 4.1 Jelly Bean.
But honestly, you really can't go wrong with any of those tablets.

Related

Does Android 7.0+ still support Accessory Mode

I'm trying to connect my Android phone to Arduino board with USB Host Sheild in order to let Android to launch my app in accessory mode. Basically, it works perfectly well on older devices as Moto G (2015) - Android 6.0, Nexus 5 - Android 6.0.1 and ancient noname tablet with Android 4.4.2. But I noticed that on Android 7 and above the app doesn't get launched or no prompt accessory dialog is shown, I tried a few Huawei devices, Xiaomi all of them have Android 7 or above.
So, my question, is accessories API still available in Android 7+? Thanks in advance.
UPD. Seems I got pretty firm evidence that Accessory Mode is still available in Android. Basically, I tested my solution against Google Pixel 3XL with Android 10. Works well.
Thus my conclusion is, how well that mode supported is up to a manufacturer.
Is there any ideas how enable this mode, maybe by installing custom ROMs or using some unofficial tweaks. Thanks.
Of course it does - but these stock ROM might lack an application to deal with it. The problem rather seems to be that usbremotecontrol.com went down - and the one snapshot available on archive.org looks strange. Just see which application is used on these Android 6.0 devices.

Can you use a nexus 7 to develop for an Android phone

So I am developing an application for Android OS 4.x really is my main focus. I do not have an Android phone but can get the nexus 7 tablet, but the application is meant to be for a phone (I guess 4.8inch screen, something like an S3) and was wondering how well would it work testing on a Nexus 7.
I am going to use Android Studio to develop the app, not sure if this will be of any value.
I am not looking at this moment in time to make the app go fully main stream etc. It is a project for myself, so I understand if I wanted it too I would have to test on several devices.
Thanks.
There are emulators available to develop on in lieu of or in addition to actual hardware. Genymotion is one I use, and it works well.

Porting application to android

I am about to port my application on android. Since I am new to this system I would like to ask for tips on android phones for testing my app. The number of phones is pretty huge so it is pretty hard to choose the right one. Also I wasn't able to find some kind of official chart of system distribution.
I know that it really depends on hardware and how much my app demands from hardware. It is pretty basic app and I am able to run this app at 30fps on iPhone 4S.
I did some research and people are talking about the latest phones but I think that it is not necessary to buy the newest one. Also, is there option to buy for example tablet and emulate android devices on this tablet?
So my goal is to focus on devices people have the most.
Thank you for any advice.
You can run many of your tests on the Android emulator. Using it together
with the DDMS will allow you to simulate several real life situations
(arriving call, arriving sms, change position...)
You can use BlueStacks which is an emulator put on steroids.
TestFairy and UTest are awsome communities for crowd testing were you can test ~any device you can think of.
Still, it is a good idea, especially if you plan your run at Android to be long,
to maintain a small stash of real devices.
Which devices should you buy? Which OS version should they run?
The Android dashboard is the official source for answering some of these questions. It gives an
up to date statistics of worldwide distribution by OS version, svreen size/density and more:
OS Distribution
Screen type Distribution
So, true to July 2014 you would want devices running Jelly Bean, Gingerbread & ICS and you screens of types normal/hdpi, normal/xxhdpi and normal/xhdpi. This list can grow but even this will provide you with a good sample of the Android device ecosystem.
As for manufacturers, the picture is clear: Samsung is the winner. Exact number &
distributions are harder to find here, but a Google search might help.
If my memory serves me write some 65% of all Android devices are Samsungs made with
Galaxy S3 taking 15% (of ENTIRE Android market) and Galaxy S4 = 10%.
Device screen features:
Galaxy S2 is normal/hdpi
Galaxy S3 is normal/xhdpi
Galaxy S4/S5 is normal/xxhdpi
These will probably be your best bet. You will do smartly to install on them 2-3 different OS versions, at
minimum Jelly Bean and ICS.
The Android Development Tools in Eclipse and Android Studio both have emulators that can be used to emulate different devices, including tablets and phones. You don't need to buy anything to be able to test your app on an emulator. The emulators run on your computer.
For more information
As for what devices most people have, while I don't have official statistics, looking at my own applications' downloads, most people are using either a Nexus 4 or Nexus 5.

How can websites be tested in Android browsers on Windows?

Do I need to install an emulator of some sort? Are there any online services that offer this? I've found little guidance elsewhere on this matter. I'm on Windows 8, just trying to figure out (locally) why my android users are experiencing issues with an MVC app.
The easiest way would be to download and install the Android SDK and use the emulator to try and reproduce the problem. The SDK has emulator images for all versions of Android, and you can create devices with different screens (resolution/dpi/size), so if your site uses responsive design you can test also how it scales across different devices and whether the problem affects one specific or all Android devices.
However, it is possible that the emulator might not be good enough for reproducing and understanding the problem. The Android SDK images come with the browser that is part of the Android Open Source Project (AOSP). While this browser is technically based on WebKit, it is based on a rather old version of it. Most OEMs that have built Android devices have signed the Google Mobile Services (GMS) license ship on their devices the Google suite of apps which includes the latest version of Chrome, which is based on the most recent WebKit version. The difference in the behavior between the two browsers is rather big.
So if the problem turns out to be with Chrome instead of the AOSP Browser, you will have to buy a real device and test on it. Depending on the budget you have and whether you want a phone or a tablet, you can go with a Nexus 5 ($350 w/o contract), Nexus 7 ($230 wifi only), or a Moto G ($175 w/o contract). Of course, you could also buy Samsung Galaxy S4, HTC One X, or a Moto X, but they all will cost you more.
It might be worth also borrowing from someone a Samsung Galaxy Ace 2, or equivalent low end MDPI device.
well, you can install an android emulator and use the browser there (http://developer.android.com/tools/devices/index.html), but it's extremely slow,
so you should, instead, try Genymotion. It's an android virtual machine and it's pretty smooth. (http://www.genymotion.com/)
another option, is the Opera mobile emulator, but that is specifically for the mobile Opera browser. (http://www.opera.com/developer/mobile-emulator)
if you want a chrome specific approach, try this (https://developers.google.com/chrome-developer-tools/docs/mobile-emulation)
http://developer.android.com/sdk/index.html has the emulators.
… but it may be just as cost-effective to just spring the $40 for a cheap Android tablet with WiFi.

Target-specific emulators for Eclipse in Android?

I'm an Android newbie just getting past "hello world" in Eclipse. I was at the Verizon store today trying out 4 different Android phones for my next upgrade and I realized how DIFFERENT they all are even though they're all 2.1 or 2.2.
Short of buying an expensive collection of Android phones from different vendors, is there a way to EMULATE some of the major phones like HTC Incredible or Droid X in my Eclipse IDE?
How bad is the Android fragmentation problem I read about on blogs? When I write an app for a PC I don't have to worry about whether it's a Toshiba PC or an Acer or a Dell. How much do I need to worry about Droid 2 -vs- Droid X - vs HTC Incredible?
Thanks in advance!
Here is a link to a similar question with information on how to create emulators in Eclipse.
Essentially you just create an Android Virtual Device with the same screen resolution and OS version as the device you want to target.
Here is great blog post by Adam Powell on the official Android Developer Blog about the completely over-hyped fragmentation "issue", and what you can do to make sure your app runs on almost every Android device.

Categories

Resources