Android :: Test For SDK Version / Switch Code For 1.5 Cupcake
Oct 15, 2009
Is it possible at runtime to determine whether the platform is running cupcake or donut? Due to some variation in my app between the two versions I'd like to run different code based on the SDK version.
View 4 Replies
Jan 20, 2009
I want to ask a question about the android source code - after building the code how and where can I test the built version, and what files that I need from the built version.
View 2 Replies
View Related
May 21, 2009
If iw ill do any changes in the External folder of Cupcake version i am unable to get the emulator Up.Emulator stops at Android(Booting stage) screen page itself.
View 3 Replies
View Related
Mar 3, 2009
I saw some people mentioned CupCake in the email threads, could anyone talk in details?
View 2 Replies
View Related
Apr 26, 2010
I don't know why, but in Eclair, the default (non-fancy) gallery app changed its behavior from the Cupcake version, and it broke one of my commercial applications Firstly, when long-pressing a gallery and choosing "Diashow", it does not publish an Intent to be picked up by any application that implements the Intent filter anymore. Instead, it will directly call "com.android.gallery/com.android.camera.ViewImage" with extras. Question: is it still possible to intercept this intent and allow the user to choose my application to do the Diashow? Secondly, the intent extras for the VIEW intent are messed up (in my build of 2.1 anyway): Instead of providing the BucketId of the picture in the Intent's query parameter. But in 2.1, the BucketId is moved to the Intent's extras. Except; it is not passing the BUCKET_ID, but the unlocalized BUCKET_DISPLAY_NAME instead Question: how can I still get the unique BUCKET_ID from the intent, so that I do not have to work with a potentially non-unique BUCKET_DISPLAY_NAME.
View 2 Replies
View Related
Mar 31, 2009
Accroding to GregS's "Announcing OpenCORE 2.0 release" mention, video telephony (a.k.a. 2way) engine is supported by OpenCORE 2.0. but he(?) was not sure that is included at Cupcake version.
So, can I get information about any progress for supporting video telephony service? like, whether video telehpony service is supported at Cupcake or any other version.
And where can I get any document about OpenCORE 2.XXX release?
View 4 Replies
View Related
Nov 4, 2009
Taken out from android.hdblog.it (translated), Nov 04 (Source):
Unfortunately, the network appeared rumors that Samsung would indicate that the Galaxy will not be upgrading to the new OS 1.6, nor even to Eclair Donut 2.0. The news is also reflected in the information that we have in the office for several weeks. The thing is still not official and the hope remains. Probably will receive a further update for this device but always Cupcake 1.5. In fact besides Spica Samsung is working on two other terminals for the European market and the same will be updated to Spica Eclair 2.0 by early 2010 (again according to the rumors).
And some good news:
Among the bad news but it comes a nice .... Given the success of the rom for Galaxy created exclusively by drakaz for HDblog, we decided to give a new rom, high performance, with an entirely new graphics and we hope you enjoy it. We show you a taste of what will be the dominant colors ... Soon you'll get more
View 49 Replies
View Related
Mar 10, 2010
I've installed galaxo (galaxhero to be precise) for quite a while now and it's been awesome. Only thing is, my Chinese ID3 tags come out as gibberish, I think it's 'cause of the II5 firmware. I've read threads about flashing to II5 before installed galaxo, but since updated versions have been coming out, I just wanted to find out. Is galaxo strictly only for II5? Meaning it isn't backward NOR forward compatible? My gibberish ID3 tags are really bugging me.
View 4 Replies
View Related
Aug 4, 2009
While running i am getting this error in my logcat and my app exiting automatically...
CODE:....................
View 3 Replies
View Related
Apr 23, 2009
The OpenWnn project was involved in the cupcake project when I got the code at 1st April, but it disappears in the latest cupcake code. Why? Will it be in the final cupcake release?
View 2 Replies
View Related
Sep 15, 2010
I have an Android Eclipse project and an associated Android Test Eclipse project checked into a subversion repository. Given a checked out working copy, how do I bring the Android Test project into an Eclipse workspace? It's easy to add the Android project to the workspace (just File->New Project->Android Project->From Existing Source and point it at the directory in the svn working copy). But, the 'New Android Test Project' does not have an option to create from existing source.
View 1 Replies
View Related
Jul 19, 2010
Is there a way to run unit tests for Android from Eclipse in a way that will instrument the code and measure test code coverage?
I'm looking for a simple way to find out which parts of my application aren't tested yet, fix the test cases and see if that helped.
View 1 Replies
View Related
Oct 2, 2010
I want to be able to have two projects, one that contains production code and one that contains test code. This shouldn't necessarily be an Android-specific question, but I'm want to write some unit tests for some non-platform-specific Android code on the host PC.
I created a new Java project so I can run the unit tests on the PC and only include the non-platform-specific classes from the Android project. Both projects are opened in the same Eclipse workspace. I assume I need to somehow include these Android-project sources explicitly in the new project where I'll run the Junit tests, but I can't figure out how to do this.
View 3 Replies
View Related
Jun 6, 2009
I've just start to study Android. But I have no linux PC & Android phone. I just using Emulator on Windows OS.
Now, I wanna try to use Sql lite & Contents provider on Android. Can I test sample code on Emulator without Linux? Some people say that I should build Android on Linux ad make Image for Emulator. Then test on Emulator on windows. Is it right? or Can emulator works alone?
View 3 Replies
View Related
Jun 5, 2010
Do we need to launch the virtual device from eclipse every time we want to test our code? If yes, then is there any other method to make it a bit faster?
View 4 Replies
View Related
Aug 7, 2009
Does anyone know if there's a way to manually switch from one carrier to another in code?
I could get actual operator data with serviceState.getOperatorAlphaLong (); etc, but wasn't able to find a solution to actually switch from one to another. Does one need to use AT commands or similar?
View 3 Replies
View Related
Jun 26, 2010
Anyone know the codes for the screen,vibration ect ect test for the SGS, I remember seeing it was posted somewhere.. A single service code that provides these tests.
View 3 Replies
View Related
Mar 15, 2009
it failed that i try to get android.R.attr.minSdkVersion. Would you like to let me know how to get SDK version in my application code?
View 2 Replies
View Related
Nov 24, 2010
In Android I get the version of the SDK easily (Build.VERSION.SDK) but I need to use LabeledIntent only if the platform is newer than 1.6 (>Build.VERSION_CODES.DONUT) I suppose that Reflection is necessary (I have read this link but it is not clear for a class or to me). This is the code but it gives me an exception because in my Android 1.6, the compiler verifies if the package exists even if the condition is not applied:
Intent theIntent=....;
if(Integer.parseInt(Build.VERSION.SDK) > Build.VERSION_CODES.DONUT)
{
try{
Intent intentChooser = Intent.createChooser(intent,"Choose between these programs");
Parcelable[] parcelable = new Parcelable[1];
parcelable[0] = new android.content.pm.LabeledIntent(theIntent, "", "Texto plano", 0);
intentChooser.putExtra(Intent.EXTRA_INITIAL_INTENTS, parcelable);
activity.startActivity(intentChooser);
}
catch(Exception e)
{
activity.startActivity(theIntent);
}
} else
{
activity.startActivity(intentMedicamento);
}
View 2 Replies
View Related
Mar 15, 2009
I wrote an app that, among other things, renders feed articles using WebView. Now I get error reports that seem to originate in WebView:
-- NewsRob Version: 1.7.0/170 -- Android Version: sdk=2, release=1.1, inc=128600 -- Thread State: RUNNABLE -- Stacktrace: java.lang.NullPointerException at android.webkit.CacheManager$1.run(CacheManager.java:391) at java.lang.Thread.run(Thread.java:935)
I've got another report with the same content, but a different incremental version of the sdk (126986). Probably one from the US and one from the UK. So now I would love to know why the code blows up and if there is anything I can do about it. And with the source files and line numbers I felt in good shape to so. If only I could match them to the public code repositories ;-(............................
View 5 Replies
View Related
May 19, 2009
Can I get current SDK version (like 1.0 or 1.5)in the program code?
View 4 Replies
View Related
May 21, 2010
Is there a simple way to find the current version of my application from with it? I would like to add the version string to the about screen.
View 1 Replies
View Related
Jan 23, 2010
How do you retrieve the current version code of an app's manifest? I don't need to access another application, I'm talking about My app accessing its own version code.
View 5 Replies
View Related
Nov 11, 2009
it is not available in 1.5. i went to do this then -- public static String getMfg() { if (compareVersion(android.os.Build.VERSION.RELEASE, "1.6") >= 0) { return android.os.Build.MANUFACTURER; } return "unknown";}
View 8 Replies
View Related
Aug 23, 2010
Is there a simple line of code that would allow only loading the code if the OS version meets the requirements? Lets say I have my target OS as 2.2 but the min sdk is 3 for android 1.5 so even if i have some code in my project that isn't compatable with 1.5 it will still compile since the target OS is 2.2. Anyway, I want to ad a feature that requires code that's not in the 1.5 SDK and will cause a crash if it's loaded on a 1.5 phone. Is there a simple thing like this that I can do? So i dont have to make the entire app not available to 1.5 users?
if (Android OS == >2.1){
//Insert code here that requires 2.1 and up}
else{
//insert code that would appear is OS is <2.1}
View 4 Replies
View Related
Dec 15, 2009
My old development process allowed me to make any change in the java code and use eclipse's Run button to install the updated package to the emulator.
Now I get [2009-12-15 11:51:55 - Scoopful]Application already deployed. No need to reinstall. even though the code has changed.
I realize the manifest version Code is used to determine if the app has changed and it works fine if I bump up that number. This did not used to be necessary and it slows down development when I have to enter AndroidManifest and make a change with every deploy to the emulator. Is there a way around this?
View 4 Replies
View Related
Oct 20, 2010
Ho could I get Android version of a running device using java code?
View 4 Replies
View Related
Nov 20, 2010
Has anybody got the code to switch from nordic 2.1 to Orange 2.1?
View 1 Replies
View Related
Aug 27, 2010
I am having the contact source code which i want to build on eclipse & test on emulator,but the contact application uses some of the hidden APIs of base code which is not present in default android.jar because of that i am getting lot of error in my code. I am trying to generate my own android.jar using "Android sdk - Including hidden APIs." option in android.mk of framework directory, but still the hidden APIs not getting exposed in android.jar. how to customize the android.jar in order to make all hidden APIs exposed to application.
View 2 Replies
View Related
Jun 4, 2009
We have a paid app in the market place, we would like to release a demo of the paid app. I was hoping we could just recompile w/ the same package name, but apparently that does not work. I have tried manually changing package name etc, but it is a chore, and it seems that several things that automatically happen in eclipse cause more harm than good when renaming the package name. Which brings me to my next question. If having a new package name is the only way to accomplish this. Is there an easy way to fork the paid app, where keeping the changes synchronized is easier? Some kind of Source Control?
View 6 Replies
View Related