Is there a utility / service / way to properly test Android apps since there are currently 18 active screen resolutions and 9 OS versions.
So far I can test on 1 device with 480x800 resolution and OS version 4.4.x
As a second device I want to get 1080x1920 resolution and OS version 4.2.x
Without having a proper device can I check compatibility with OS version 5.x.x and of course all other display resolutions?
With the Genymotion Emulator you can test your apps with a huge amount of versions and screen resolutions, phones, tablets...
I think if there existed such a thing for native android apps we all knew about it.
There exists such a thing, but not for native apps, it is for Xamarin developers(C#). More info here
All you can do(Android Studio) is that:
1.Choose one layout
2.Go to Design page of it
3.In the Left corner you have a button like this:
4.You can choose to:
-Preview All Screens Sizes
-Preview Android Versions
-others...
This is a static testing method but is better than nothing. Hope it helps!
Related
Can we based on Android Studio Emulators for different display screens create the App? Can we trust Android Studio Emulators ?
I mean for example whatever that's displayed on the Nexus 7 Emulator, would be exactly the same as it is really displayed on the real Tablet itself.
Yes, we can.
I've compared lots of emulators vs real devices - they are almost identical
Android Emulators give you a basic idea of different layout. Padding and pixel adjustment may be different in real device due to difference between system screen resolution and real device screen resolution.
The Android Emulator is built hand-in-hand with the Android platform for the Android SDK. Moreover, the latest Android Emulator system images (API 24+) 100% pass the Android Compatibility Definition, so that you can have even more assurance that app behavior will be exactly the same between the Android Emulator and a physical Android device.
I have wrote an application using android 2.2 in eclipse.
My app is working fine on the samsung galaxy mini android 2.2. However, it is not working on samsung galaxy s3 android 4.1.
My app is only taking up half of the screen on the samsung galaxy s3.
Why is my app not working on higher resolution devices?
How can i make the app compatible with other devices running
different versions of android?
Sounds like it's most likely you just have a LinearLayout at the top of your layout XML and it just takes up less space on the S3.
I would advise taking a look at the two links below; if you want a specific starting point, you could adjust your layout to match_parent and use the l/m/h/xhdpi folders to place different size graphics in. Also worth checking whether you are using dp or dip (density independent pixels)
http://developer.android.com/training/multiscreen/index.html
http://android-developers.blogspot.co.uk/2012/11/designing-for-tablets-were-here-to-help.html
The best way to ensure that your app will work on other devices is to get access to other devices and test your application on those devices before you release.
Another way is to make sure that you are targeting the correct SDK you need to target and use the AndroidSupportLibrary when needing to have backwards compatibility.
For us to help with your specific problem we would need more details as to what exactly is going on, but make sure the packages and libraries you are using are compatible with the android versions you are trying to target.
And make good use of the AndroidSupportLibrary.
Did you check the resolution compatibility? This seems more like an Android Manifest issue then an Android version issue.
I want to ask my application only for 4.0" and 4.3" screens mobile.
When I install it to 3.0" or 3.4" mobile my full screen does not appear.
Some buttons and labels went down and not seen.
And finally I want to learn how I do this application for all mobile?
Can I do this in code ? or in manifest file?
I want to ask my application only for 4.0" and 4.3" screens mobile.
Using http://developer.android.com/guide/practices/screens-distribution.html, you can limit your app to devices with specific screen sizes.
When I install it to 3.0" or 3.4" mobile my full screen does not appear. Some buttons and labels went down and not seen.
Strange! Are you using absolute pixel values in your layouts? If you are not, the layouts will scale on any phone. Only it will not look very good.
If you want to run application for 4.0 and 4.3. you need to install 4.3. then you can run 4.0 also. if you install 3.0 or 3.4 it will run 3.4 and below the version only. it won't work for hiegher versions otherthan 3.4.
We have developed an app in medium(320x480) and high (480x800) supporting portrait and landscape. App has so many images so the build apk file size is 27 MB up to now.
Now client wants app in tablet version. If i do tablet version in the same project i think app size will be reach to more than 30MB.
Is there any problem if the app size reaches more than 30MB ?
Shall i do this tablet version in the same project or in different project. Please suggest me.
Thank you
Your application may not work as expected on Tablet if
1) you have used Android APIs that have been deprecated in HoneyComb version (Android version for Tablet). This begs using new APIs, worst case redesign.
2) you have tailormade UI widget for 320x480. This could include hardcoded resolution values, small resolution images used in UI widgets. In this case you need to redesign your UI Screen and fine tune it for Tablet.
3) your workspace in Froyo /Gingerbread. You need to migrate your application workspace to HoneyComb.
4) your app has put any limitation because of hardware. This I derived from the fact that your current app has been developed for 320x480 resolution, must be a slow hardware. But Tablet are powered by 1 - 1.5 GHz processors. You may need to have a look at new set of limitation (or freedom ?). For example memory limit on application may have gone up.
In short I would suggest have a different workspace for Tablet, however if your application has classes that are independent of above stuff, then you can share your package across application. (Tablet Vs Phone App).
Shash
Is there any problem if the app size reaches more than 30MB ?
If you are planing to upload your application to android market there is a file size limit of 50MB for an apk file. Other problems related to large apk files are listed in this SO question
Update:
Google updated their market policies you may refer this link
I have build an iPhone app and using same code to compile Android app. When I run the app in the phone (HTC Desire) instead in emulator, the main window shrinked to the quarter of the screen size, everything else is working fine except this. Can someone please let me know if there is any configuration to look for in Titanium ?
Ubuntu
Appaccelerator Tatanium Studio
HTC Desire
This could possibly help you?
Looking at screenshots on Appaccelerator website I see that Android phone is presented by HTC Hero, which is kind of old for 2011. This makes me think that Appaccelerator is not aware of newest high-density devices like Desire. If Appaccelerator uses physical coordinates for pixels then on high-density phones you'll get exactly the behavior you describe.
Anyways, phrase patent-pending development technology stated on the Appaccelerator website is already an alarming sign against using it.