Clone Android tablet - android

I have 200 android tablets all the same make and model and identical. I want to get one of them and install a few apps and make changes to some settings and so on and basically personalize it and then create an image of this device and clone it to all other 199 devices.
This is to avoid the time that is required to personalize all the devices one at the time. These are MTK base and I can use SP Flash Tool to load an image to them but I don't know how to build an image from one and then load it to others.
Thanks,

Related

How can i give support Multiple Device Support in react native?

Explanation:
I have created an application in which it's looking well in an android phone(480x320, such type of devices) and iPhone 7 plus and below. When I run my application into the tablet Nexus 7(nougat). It reduces the font size, Images and even height(which specify in the CSS) of my views.
In Android, we have different types of the drawable folder to easily manage multiple device support based on the values folder also.
Problem: How can I manage my application which will run on all the devices including phone and table in Android and iPhone and iPad in iOS?
Well you asked THE question. Looking through the react native elements library I found a function they call normalizeText, you can find it here:
https://github.com/react-native-training/react-native-elements/blob/master/src/helpers/normalizeText.js
Basically they take the pixel-ratio api, which docs you can find here:
https://facebook.github.io/react-native/docs/pixelratio.html
and depending on the screen size they multiply the values of with/height/font using that functions with values from 0.5 to 2. I found it a good solution to get a good visuals on every platform.
For the UI I would recommend you to use flex as much as you can, because it gets your app independent of width and height.
If you need some clarification feel free to comment.

Possible to determine size of android apk to be installed?

I want to calculate the space the installed APK needs before the APK installs.
Is it possible?
yes it is possible , you can check this by simply taking ur apk and using analyse ANDROID STUDIO->BUILD->ANALYSE APK tool to see approximate size your apps would take and see exactly why ( available only in android 2.2 and above). and if you simply want to know your apk size,you can simply right click on it and see properties for size.However i like to consider +10% margin to consider space on target device just as buffer.
And if you are talking about space taken up by the data of resources your app will write onto the storage,then that totally depends on your to be stored data size and overheads of storing it
if your looking for phone memory resources stats, you should try using tools such as systrace and memory trace tools available in android studio and run your app on emulator or device to see real time usages

Massive storage on android devices

I am using Icenium to build an application using map services, localisation services and more. I just realised that android-devices stores massive ammounts of pictures in the phones image-gallery. The application is build to look good on any device, therefore, all icons (and some images) come in 4 different sizes (high definition, low definition etc).
So when I start the application on a android-device, the image gallery instantly gets ALL the images that can be used with the app (around 600 small icons + some images).
This is a huge problem, and I havent really found a way to solve this. Is it a built in "feature" of icenium or is it a bug?
edit* Images/icons are fetched from a server at launch, so we do not want them to store locally..
Thanks!
//Joakim
As per the Icenium guys (check out this forum http://www.icenium.com/resources/forums/android-devices-/app-icons-and-images-displayed-in-gallery#a8qHkcQkbkiGelukQjTr6g), this is only true when your application is build in Debug, because in this case your app is on the SD card. Once the application is built in Release you should not see the app images in the gallery as it would be sandboxed (not on SD).

how to support an apk for both mobile and tablet

i am developed one apk for mobile(4 inch)..
same apk i can put tablet means total gui changed ..
i want my apk can put any mobile or any tablet . the gui cannot changed ..
please how to achieve this problem..please suggest me
what ever the screen resolution my application ui can change the according the resolution
See
http://developer.android.com/guide/practices/screens_support.html
There are all infos you need to know to make sure your app look great on all devices. It's barely not that easy as you think.

change image of phone on emulator

I need to make a screencast of an app to present to a client, but need it to look better than the ugly red phone or the various other incarnations of the emulator. Is there a way to swap out that image?
Also would be great to get rid of the keyboard that displays next to it and make the window borders go way (since I have to capture it full screen on a mac, unfortunately, I can't crop it tight).
When you create an AVD, you can specify a different skin to use. Besides the ones available by default, there are also a bunch on the web for various devices. You can search for "[phone name] emulator skin" to find a variety, but here are a couple of examples:
Nexus One
Nexus S
The Motorola MOTODEV site (http://developer.motorola.com/docstools/tools/) has addons for nearly every one of our released phones. Registration is required. Most of the addons are full system images, which should work or you could extract out the skin for your own uses. There is a "skin only" addon for the upcoming XOOM tablet that uses Gingerbread for the runtime.
Good luck

Categories

Resources