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>

Android :: Application compatibility Between Different Versions


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?

View 1 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 :: 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 :: Cannot See Application In Market (Different OS Versions)

Jun 12, 2010

I have 3 android phones with different Os version. I can see all my apps, but one disappeared for more than a day and still can not see it.

View 3 Replies View Related

Android :: Maintaining Both Free And Pro Versions Of Application

Mar 27, 2010

I want to create a PRO version of my application for Android and was wondering how to structure my repository. For know I have a trunk and feature branches. I'd like to put a pro version in another branch but maybe there is a better way? For example, maybe I should create two branches - one for free version, the other for pro?

Pro version will have additional features and will be ads-free, so e.g. I don't want to include AdMob libraries in the pro version. Do you have any experience or suggestions as to what would be the best way to structure the repository in this case? I think I've found the best solution (for my app) in this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/4ad3d67f735f16d7/948b4f9eee2490a3

The trick discussed there is about having another application that only serves the purpose of unlocking PRO functionality in the actual application. The unlocking app is paid in the market and the actual app merely checks for the existence of it on the device.

View 3 Replies View Related

Android :: Building Two Versions Of Application - Best Practice?

Apr 19, 2009

What is the best way to release two versions of an application? E.g. a free version with limited features, and a paid version with the full feature set. #ifdef would be the ideal way to do this, but Java doesn't support it. Could I do something like: try {import com.foo.myapplication.ExtraFeatures; } catch (Exception e) { // ignore it, this must be the free version}? I could manage with this kind of construct, although #ifdef really would be ideal.

View 10 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 :: Backward Compatibility Tutorial - Application Not Working

Jun 29, 2010

I'm having trouble getting my app to work properly on older devices. I've ready the "Backward Compatibility" tutorial, I'm working for performance - and it suggestions using .invoke is considerably slower than using a wrapper class. But it seems the wrapper class only works for if a class is not available on older devices. I'm compiling with 2.2, but minSDK is 1.5. I'm working with multitouch, I assumed that if I checked against Build.Version.SDK, and didn't call getPointerCount() - then it wouldn't raise an error. But when I create an instance of the class which has my methods in, I get this: 06-29 08:17:28.263: ERROR/dalvikvm(255): Could not find method android.view.MotionEvent.getPointerCount, referenced from method com.myPackage.myClass. Despite not actually calling it. Is this normal?

View 1 Replies View Related

Android :: Developing Application Which Support All Versions And Screens

Jul 19, 2010

I want to develop application that should support all version (latest and old) and it should adjust screen resolution (large,medium). I read document. There I found legacy application if I develop application in 1.6 there I am giving:

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>

Is it good way to develop application and is it support 1.5 and 1.5+. Users able to find my application there market.

View 4 Replies View Related

Android :: Application For Different Versions And Resolutions / How To Create Emulator?

Oct 23, 2010

I am in middle of learning application development. I have created an application in 2.2 and tested that in my HTC Nexus One device. I looks like fine. My client testing same application setup in his device (Droid2). I don't have that device to test.

He said there are some font sizes are vary and button alignments are missing. When I testing in my device everything looks fine. So, I need to test my application in Simulator which resembles like Droid2 device. Can anyone tell me how to create emulator and setup like Droid2. And also, is there any need to adjust my code or anything in manifest file.

View 2 Replies View Related

Android :: Upload Multiple Versions For Single Android Application For SDK Levels

Dec 16, 2009

I'm developing one android application which needs to support Android OS 1.5, 1.6, and 2.0. I've three different .apk files for all three SDK. How can I upload three different .apk files on Android Market Place for single application? I would like to have all 3 versions available under one application name. is this possible? So, users with any SDK can use my application.

View 5 Replies View Related

Android :: Easiest Way To Release Android Application For Multiple OS Versions?

Jul 1, 2010

I have written an Android application that I am about to release, but I would like to have a 2.1 version with multitouch and a lower API version without. However, if I simply just use the minSDK setting, the 1.6+ version would show up in the market with the 2.1 version on 2.1 phones. Is there any way to release for a specific range of OS versions?

View 3 Replies View Related

Android :: Compiling Demo / Final Versions Of Android Application

Nov 1, 2010

Right now I've finished an application that I want to distribute on Android Market. It will have a payed version and a free version with some limited features. While developing it, I was doing obviously just the main project of fully featured release. And now after finished I've included a "boolean" DEMO_VERSION=true that restrict those features. My question is if it's possible to generate both apk from the same project? Or should I create new project with the same source but changing the Java package to tell android market that they're two different applications.

View 1 Replies View Related

Android :: Compile Android Application On 2.1 To Support All Versions?

May 4, 2010

I want my Android application to have maximum reach, and hence want to support all versions V1.5 onwards. I find some features lacking in V1.5 that are available in V2.0 or V2.1. Could I compile on V2.1, and then set minSDK for the application to run on 1.5? Plain logic says 2.1 specific features would not work, but let me know your thoughts. Also, what are some other workarounds? What would "you" normally do in such a situation?

View 2 Replies View Related

Android :: Best Way To Store Application Data / When Data Stored / Data Format Could Change In Future Versions?

Mar 4, 2010

I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.

View 3 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 :: 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







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