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
Jan 29, 2010
I would like to know whether the Android provides any sort of compatibility i.e either forward or backward. It means as in Blackberry if develop an Application with JDE 4.2 then that application will work on any handset with OS 4.2 or higher which means it has forward compatibility. Is there anything similar in Android? Suppose I develop application with Android SDK 1.5 then will that application work on any handset having OS 1.5 or higher.
View 1 Replies
View Related
Sep 11, 2010
I want to develop droid application which is work on other device as well like Google nexus one. so what is the perfect emulator or AVD settings to develop such application which is work on all screen resolution and all device.
View 2 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sep 14, 2010
How to make website that should compatibility with desktop browser as well as mobile browser?
View 2 Replies
View Related
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
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
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
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
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
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
Nov 24, 2009
How do you forward a MMS in Handcent. When I get a pic and want to send it to someone else there is no option for it.
View 1 Replies
View Related
Nov 7, 2009
Do you have to rip DVD's to watch a movie on say, the Droid Eris? Why isn't anyone making the android phones compatible with the Amazon Video On Demand Marketplace where you could rent and purchase movies, then watch just like our own form of iTunes? I'm a newbie, so if this question is out of left field and already easily addressed. Seems kinda crazy they make the phone work with the MP3 section of Amazon and not the video!
View 9 Replies
View Related
Jun 29, 2010
Sometimes when I run a FWVGA or WVGA emulator it causes my app to run in compatibility mode (small inner rectangle instead of full screen / MDPI instead of HDPI). If I delete the emulator and recreate another one this usually solves the problem. My app can support HDPI, MDPI, and LDPI screens. My Android Manifest Support Screens says Small Screens = true Normal Screens = true Large Screens = false Resize able = true Any Density = true, Usually the front page looks like this: http://4.bp.blogspot.com/_hmNcPpDB070/TCmGaxEdS-I/AAAAAAAAAEQ/g0tlmQu. But when it screws up it looks like this: http://2.bp.blogspot.com/_hmNcPpDB070/TCmGvlOUqtI/AEY/mLUVGxN. Does anyone know what causes this or if there is a solution? It's not a major problem, just annoying.
View 3 Replies
View Related
Sep 23, 2009
I'm thinking about getting a motorola cliq when it comes out and there seems to be a lot of cool apps that are popular on the g1, like meebo for example. Would this work on the motorola cliq since it's got android too?
View 10 Replies
View Related
Sep 11, 2009
I have a query:
Is LGPL'd code compatible with Android applications? Or are there any gotchas!
View 4 Replies
View Related