How To Handle Compatibility Between Android Versions

May 28, 2013

I will be creating my first application and if I want it to be backwards compatible with Gingerbread (according to androidtapp.com/android-platform-stats-jelly-bean-nudges-ice-cream-sandwich-gingerbread-dips Gingerbread is still widely used). If I choose to build against API level for Jelly Bean, would it be backwards compatible? Or do I need to choose an API level for Gingerbread?

How to handle compatibility between android versions


Android :: Application Compatibility Between Different Versions

Jan 26, 2010

I can run my application on 1.5, 1.6 and 2.0 emulator and on a 1.5 device without any problems. But some of my users are reporting force close and strange menu entries (see the attachment) using 1.6 and higher version devices.
This screen should look like this:
http://www.taypo.com/blog/WindowsLiveWriter/TurkceKlavye0.7_6F1/settings_0.7_2.png

And the code that generates this screen is:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/general_settings">
<CheckBoxPreference android:title="@string/haptic_feedback" android:defaultValue="true"android:summary="@string/haptic_feedback_summary" android:key="vibrate"/>
<CheckBoxPreference android:title="@string/sound_feedback" android:defaultValue="false" android:summary="@string/sound_feedback_summary" android:key="sound" />
<CheckBoxPreference android:title="@string/auto_caps" android:defaultValue="true"
android:summary="@string/auto_caps_summary" android:key="auto_caps" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/layout_settings">
<ListPreference android:title="@string/keyboard_layout" android:defaultValue="TRQ" android:key="kbd_layout" android:entries="@array/layout_names" android:entryValues="@array/layout_values" />
</PreferenceCategory>
</PreferenceScreen>

View 1 Replies View Related

Android :: New Versions To Handle Lack Of A Keyboard?

Jul 21, 2009

Has anyone with a MyTouch/Magic tried any of the nesoid/snesoid/negsoid/gameboid emulators? Is there a way to get in touch with the developer to see if he's working on, or planning on working on, new versions to handle the lack of a keyboard?

View 4 Replies View Related

Android :: Handle Application Versions/updates

Mar 1, 2010

I'm pretty new to Android, and I had some questions that I've had trouble getting answered via the web. I have done a few searches, but I'm not sure how to word my question, either. So I apologize if this has already been covered somewhere...but here it goes. I was wanting to know how the Android handles application versions/ updates. Specifically, does an update blow away my database? Is there a way to preserve the users' settings as well?

View 5 Replies View Related

Android :: Screen Compatibility Not Quite Right

Nov 21, 2009

<supports-screens android:anyDensity="false" android:largeScreens="false" android:normalScreens="true" android:smallScreens="false" android:resizeable="false"></supports- screens>

first of all what is the resizeable attribute? It does not seem to be documented. This is working almost 90% for my game except when testing in WVGA screen resolution, all my images are scaled incorrectly, it is longer vertically than horizontally. I was expecting the screen compatibility to maintain aspect ratios as that of HVGA.

Also in my layout I have a scrollview and it is designed in such a way that in HVGA when it is not scrolled down, the items are hidden away, however now in WVGA those things are shown. If the aspect ratio of HVGA is maintained I won't have this issue. How can I make sure the aspect ratio is maintained? Also in my layout I am positioning some items using pixel positions. Should I convert these to dpi? How do I calculate what dpi they should be?

View 9 Replies View Related

Android :: Application Compatibility Between SDK 1.5 And 1.6

Oct 12, 2009

What is the recommended approach to have currently shipping 1.5-SDK compliant apps to start offering 1.6 features (such as TTL) in the Market? Can we just publish 2 versions of the same package name each compiled with a different SDK level (will the Market automatically push out only the right version of the app) or do we have to use different package name and assume that the user will find a way to understand the version of the OS he has. A public statement to the developper community would be more than welcomed here!

View 5 Replies View Related

Android :: DevPhone1 SDK Compatibility

Apr 21, 2010

I've found again my DevPhone1 (aka G1) on a shelf and though that this time I should really give it a try and create an app for it. But I've really lost touch with the Android world and now I don't know where to start really. There have been many SDK releases lately for many new and better devices. Which one of these can I use with G1? What is the most recent one which can be used on that hardware (although with reduced performance) but which will enable development for rather modern Android releases as well. The firmware update received today, while recharging the phone, is 1.6. Can I go higher with some R&D build?

View 3 Replies View Related

Android :: Os Compatibility On Mobiles

Jan 24, 2010

i want to develop an application on android,webos,wince. how to develop application that should run on all paltform with developing each paltform

View 2 Replies View Related

Android :: Multiple API Versions Of An App

Oct 3, 2009

How can I publish two versions of my app without changing the package name, so that users may upgrade to either version, one for Anroid 1.5 and one for Android 1.6 ? I want to offer new features requiring Android 1.6 as soon as possible, but not all users will have upgraded to Android 1.6.

View 2 Replies View Related

Android : How To Maintain Two Different Versions Of Same App?

Jan 8, 2010

The requirement is totally simple: I want to have a lite and pro version of an app. There is a little bit of difference between those two apps, but they are 99% identically. Unfortunately it seems that the best choice is to really treat this as two projects that are one and the same and copy over the source code and assets from one to the other. The Android Manifest file must be different, because the Android Market - for some reason - makes the implementation's package name the ID. Working around this ID issue the straight forward approach would be to have a third project with the common code that exports its code, libraries and in a best case scenario also the ressources to the other two objects. Unfortunately this doesn't work. Only the actual Android projects generate the R.class and so the common project would need to be dependent on it..

View 6 Replies View Related

Android :: StartForeground Backwards Compatibility

Nov 15, 2009

I've got a question as I don't have an Android 2.0 device to test on and this particular aspect seems untestable in the emulator. I've got a service that needs to be run as a foreground service. I have a notification that stops it etc, so I have no problem using startForeground instead of setForeground. However, I'd like to have 1 version of my app that works across all platforms... Is this possible? If my app is compiled with Android 1.5 and uses setForeground, then will that command actually work on an Android 2.0 device, or does it not matter which sdk was used to compile? I've tried compiling with 2.0, and surrounding the call to startForeground with a try/catch, but that throws a VerifyError when the service is started, when run on a 1.5/6 device since startForeground doesn't exist there. Can I catch and ignore the VerifyError somehow and make it work that way?

View 5 Replies View Related

Android :: App2sd Backward Compatibility

Sep 4, 2010

I recently enabled the app2sd functionality in my app.When i test the apk on my NexusOne (2.2) the app goes to the SD card, perfect! But when i publish the app on the market and install the same apk from the market on the same Nexus, the app2sd function is missing, I can't install it to my SD card.

View 5 Replies View Related

Android :: 1.5_r3 Backward Compatibility

Aug 2, 2009

If I build against the 1.5_r3 SDK are there any compatibility issues with running it on devices that are at previous levels of 1.5? I would certainly hope not, but I've learned not to make such assumptions.

View 11 Replies View Related

Android :: How To Develop For Forward Compatibility?

Dec 10, 2009

I have an app that uses People provider. This is deprecated in version 2.0. I have built my application against API1.6 and set <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" /> Everything was fine until I wanted to run the app on Android 2.0. Not only is People deprecated it actually doesn't even work! So, I have changed the API I'm compiling against API2.0 and do the OS version check in my code and use People provider or ContactsContract accordingly. I still keep <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" /> so I can target 1.6 devices. Now when I want to debug in Eclipse it insists on running it on 2.0 emulator. How can I tell Eclipse that I really want to debug on 1.6 emulator? I have installed my APK on 1.6 emulator via the browser. It installed fine, but when I want to use People provider it crashes. I need to be able to debug it.

View 3 Replies View Related

Android :: No Technology Compatibility Kit On Platform?

Mar 9, 2009

Is there any TCK (Technology Compatibility Kit) on Android such like Sun TCK? How can I assure my android platform after changing it as own style. Can some one help me clarify this point?

View 2 Replies View Related

Android :: Any Way To Emulate Particular Device Compatibility?

Jun 22, 2010

I program and test using the Droid Incredible. The other day my friend downloaded my alpha version, which works flawlessly on the Incredible, but crashed on his Moto Droid. I just updated my app to use 2.1 api's instead of 1.6; maybe this will make a difference? I upped my min version requirements to 7. My question is how can you make sure your app works on all phones and not just the phone your are building and testing on? Is there a way to emulate a particular device?

View 3 Replies View Related

Android :: Compatibility With Nonexistant Classes

Apr 19, 2010

I have read the Backward Compatibility Article, and I don't full understand how (or if I can) make a program backwards compatible if I want to use a class introduced in later versions. For example, I want to use WallpaperManager for apis 5+, but make the app as a whole compatible with api 3+. Is this possible?

View 14 Replies View Related

Android :: Froyo Still Breaks Compatibility

Jun 30, 2010

You can no longer send the ACTION_ATTACH_DATA intent with an image URI to a custom content provider without crashing the Gallery app. This bug was reported more than a month ago. It is a stupid bug that is super easy to fix, and as soon as Froyo was open sourced a patch was submitted. Still Froyo was officially released and the bug remains leaving developers who use this with an app that is no longer compatible and no easy way to work around it for 2.2. There are other bugs that also have not been acknowledged. This 'open' thing is great but it is not of much use this way.

View 2 Replies View Related

Android :: Development Platform Compatibility

Mar 15, 2009

I am getting a new OS, which OS is Android SDK/IDE development environment compatible with XP64, Vista64 or Windows7? Or Do I need to keep a XP32 partition around?

View 5 Replies View Related

Android :: Screen Size Compatibility

Dec 17, 2009

I want to make my app compatible to different screen sizes. I am right now developing on the Droid and need to know how can I import the screen image on eclipse emulator? I don't have a droid phone but want to make sure my app layout doesn't change on the Droid.

View 2 Replies View Related

Android : Aapt Backwards Compatibility

Dec 14, 2009

Are the newest versions of aapt backwards compatible with the older versions? i.e. can i read 1.0 & 1.5 apks with the 2.0.1 SDK aapt? My tests show me it works, but is it failsafe?If this is not the case, what's the easiest way to determine the android version an APK was developed for and know which aapt binary to use?

View 2 Replies View Related

Android : Website Mobile Compatibility

Sep 14, 2010

How to make website that should compatibility with desktop browser as well as mobile browser?

View 2 Replies View Related

Android : Checking 3rd Party App Compatibility Using CTS

Feb 8, 2010

I wanted to get the info on the following query, could you guys please help me in getting the answer?I have set of platform api those will be tested by CTS to check compatibility, and I am making use of some 3rd party api in one of the platforms api. Suppose if I am changing or modifying the 3rd party api (to suit some of my requirement), is CTS is capable of telling whether compatibility is broken in the 3rd party app?

View 2 Replies View Related

Android : Requires Class Compatibility Set To 5.0

Apr 21, 2010

I had to reload XP and Eclipse + android of course. I am using the 2.0.1 SDK version/ API 6.Everything was fine before, Now the project doesn't load- I get:

[2010-04-21 09:59:24 - LatLonQ] Android requires .class compatibility set to 5.0. Please fix project properties.

View 2 Replies View Related

Android : SDK And Helios / Compatibility Errors

Jun 27, 2010

Are folks having success with Helios (Eclipse 3.6) and the latest SDK (r_06)?I am having problems getting the Eclipse DDMS to work;. It is missing most of its views (such as logcat) and complained about that the first time I ran it (but not since, so I don't have a list of what is going on.I had a previous working version with a prior Eclipse, but started from scratch with this one.

View 6 Replies View Related

Android : How To Maintain Backwards-compatibility?

Apr 17, 2010

According to the instructions found here, to make your app state which screen sizes you can support, you'll need to compile your app against Android 1.6.

View 1 Replies View Related

LG Eve : Android 1.5 And Compatibility With Games And Apps

Sep 17, 2010

I'd like to ask you if android 1.5 is compatible with most of apps, as the majority of apps and games I've found don't say anything at the description about If the app/game is compatible with cupcake. For example, will I be able to run Fifa 2010 on android 1.5? (device Lg gw620) Thanks! (and sorry for my silly questions )

View 6 Replies View Related

Android :: Manage 2 Versions Of The Same Application?

Sep 3, 2009

I want to use the same eclipse project to maintain only one source code (or two projects that refer to a generic project). My problem is that the names of the package have to be different on the market (eg: my.android.app.lite and my.android.app.pro). If the package names are differents, the generated java ressource files are differents (eg: my.android.app.lite.R.java and my.android.app.pro.R.java). So, the source files must point to differents R files according to the version (pro or lite) and I have to change all the import...

View 6 Replies View Related

Android :: Targeting Multiple OS Versions

Nov 17, 2009

We are upgrading our application to add 2.0 support. I have read http://developer.android.com/guide/appendix/api-levels.html and the older blog post http://android-developers.blogspot.com/2009/04/backward-compatibility.... I want to avoid using reflection if possible. I have found that if I set my minSdkVersion="3" in the application manifest but in my build path in eclipse point to the Adroid 2.0 jar file I can compile with direct calls to 2.0 code (with the relevant code to ensure they are not invoked on <2.0 devices). My question is will people with pre 2.0 devices be able to see the application in the market place in this case? What are other people using for multi-targeting different API levels with the same package.

View 7 Replies View Related

Android :: Having Multiple Versions Of Same App In Market

Feb 19, 2009

I am planning to have two versions of the same app available in the market - let's say "App-Lite" and "App-Advanced". They both almost the same core functionality, but App-Advanced has a bit more specific features, than the App-Lite has. Now I am thinking what would be the strategy of deploying those two apps in the market. The simple way is to provide different name space in AndroidManifest.xml for both apps, so "App-Lite" and "App-Advanced" would show up as two completely different applications and could be installed parallel on the same device. But I'm also thinking about another way of installing the App-Advanced version - like an upgrade to the App-Lite which might be already installed. To do this, I can just set the same name space for both app in AndroidManifest.xml, so after installing one app would replace the other one - I can do this from adb command line, but I'm not sure how android market would behave in this case. Will it show them as two different apps, will it show them as two different versions of the same app with the ability to upgrade from one version to another, or it just will not allow to publish two apps with the same name space? Is this scenario doable with Android Market?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved