Android :: Retrive Different Icon When App Targets MinSdkVersion 3 And 4
May 30, 2010
My application retrieve icons of installed apps on the phone. But for the dialer, the icon is different when I target a minSdkVersion = 3 or minSdkVersion = 4. I did not found different icon for an other application.
I am testing on a motorola milestone. and I use ActivityInfo.loadIcon() to load icons.
Can someone explain this behavior ?
View 2 Replies
Sep 10, 2010
I removed the Android Battery Manager widget by moving it to the trash bin because it was taking up too much room on the home screen. I thought it would still be located in the Adroid Widgets queue, but it is not. Is there a way to retrieve it?
View 1 Replies
View Related
Jul 22, 2010
I have a doubt, I don't know how to retrieve the key from the shared preference?
View 1 Replies
View Related
Oct 12, 2010
I am getting the warning: Attribute minSdkVersion (3) is lower than the project target API level (8)
How will this affect my app?
View 1 Replies
View Related
Mar 15, 2010
A few days ago I was trying to fix this issue: I have a header (three ImageButton's) and a ListView. If I use the dpad, pressing DOWN to focus the ListView, the ListView shows as selected the seventh or eighth row, not the first one.
What I need to do is that the first element of the ListView get the focus (or selection) when I use the dpad, from another screen component, but instead, the seventh or eighth is selected.
I had minSdkVersion=3 in my manifest. When I changed it to minSdkVersion=4 it worked as expected (first row selected). Don't know why, but there is a difference between both.
View 6 Replies
View Related
Nov 3, 2009
I have implemented a SearchManager which make uses of a searchable.xml with all the settings and put it in the xml/ directory.
I tried to create a new directory called xml_v4/ to add some attributes (the android:includeInGlobalSearch ie) which isn't supported in sdk3/1.5 but the xml directory seems not to be supported by the dir_suffixes.
How do I deal with this?
View 4 Replies
View Related
Apr 27, 2010
I wrote a basic soundboard app, and it runs fine there's nothing wrong with it. I want to upload it to the Market, but every time I try I get an error message:
Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml
That is already in there, I'm using 1.5 so I have my minSdkVersion set at 3. I don't understand what the problem is, and I've asked a lot of devs that never know what to tell me. I don't want to use a different platform because my phone currently uses 1.5. Others have suggested putting the <uses-sdk> line under the <manifest> line, but that hasn't helped at all.
Here is what my manifest looks like:
code:....................
View 5 Replies
View Related
Aug 11, 2010
i'm currently trying to specifically target ARMv7 custom hardware and I'm facing issues when trying to install the APK. When I try doing "adb install app.apk" Logcat informs me that: W/PackageManager( 1062): Native ABI mismatch from package file And does not install the APK. With searching I was able to trace down that the problem might have something to do with the architectures not matching on the APK and the platform. Is this it? How does the PackageManager find out the architecture from the APK file? I'm guessing it's not trying to execute the binary or anything, it just checks the files meta data? If so, is there a place in the APK where this information is located? Or am I completely hitting blank here and I should look somewhere else?
View 3 Replies
View Related
Nov 16, 2010
I would like to know what I have to do in order to have the Business Card Sample in SDK 3 (android 1.5), because it uses some stuff that does not compile in android 1.5, example: - if (sdkVersion < Build.VERSION_CODES.ECLAIR)... -import android.provider.ContactsContract.Contacts; -import android.provider.ContactsContract.CommonDataKinds.Phone; What is the best way to have the application compiling in eclipse and be able to run in android 2.0 and 1.5?
View 2 Replies
View Related
Nov 5, 2009
This is for an Android application but I'm broadening the question to Java as I don't know how this is usually implemented. Assuming you have a project that targets a specific SDK version. A new release of the SDK is backward incompatible and requires changing three lines in one class. How is this managed in Java without duplicating any code(or by duplicating the least amount)?
I don't want to create two projects for only 3 lines that are different. What I'm trying to achieve in the end is a single executable that'll work for both versions. In C/C++, you'd have a #define based on the version. How do I achieve the same thing in Java?
View 5 Replies
View Related
Apr 16, 2010
Here's my situation: I have an app that's been compiled using 1.5 SDK and minSdkVersion=3. Now I want to add 2 icons: one for high density screens like Droid and another one for low density screens like G1.
For this, I added the high density icon to new directory drawable-hdpi- v4/. I then compiled using 1.6 sdk and added targetSdkVersion="4" to the manifest. minSdkVersion is still 3.
This is working in limited testing, but I'm not sure if I have done everything correctly.
I have many questions:
1. By specifying v4 in drawable-hdpi-v4, the icon will not be displayed to 1.5 or below OS's. But what about users with 2.0 or higher SDK's? Will they get the non-hdpi icon, since they will have v6 or v7 ?
2. The documentation for targetSdkVersion states, "Specifying this target version allows the platform to disable compatibility settings that are not required for the target version (which may otherwise be turned on in order to maintain forward-compatibility)". Does this mean that my app will not be forward compatible as soon as I specify a targetSdkVersion? What exactly is being turned off?
3. Even if I leave out the targetSdkVersion="4", the app runs ok. So do I really need it?
4. Should I be using the latest SDK (2.1) and setting that as the targetsdkversion and compiling against that? Or some other combination of targetsdkversion and compiling sdk? I'm not using any API's that are not in 1.5..
5. Is any of this related to why some of my HTC Eris users have complained that they can no longer find my app in Market after upgrading to 2.1?
View 3 Replies
View Related
Aug 5, 2010
I"m planning to store my data in a binary format as a resource, read it into an int buffer and basically pass it straight down to a native C++ function, which might cast it to a struct/class and work with it. No pointers, obviously, just ints and floats. The question is - what kind of fixing up do I need to do? I suppose that I need to check ByteOrder.nativeOrder(), figure out if it's big Indian or little Indian, and perform byte-swapping if need be. Other than that, floats are presumably guaranteed to be expected in IEEE 754 format? Are there any other caveats I'm completely overlooking here? (Also - since I'm compiling using the NDK, I know what architecture it is already (ARMv7-A, in my case), so can I technically skip the Indian shenanigans and just take the data the way it is?)
View 1 Replies
View Related
Nov 7, 2010
I haven't posted here in a while and I thought I'd share some stuff on the new update.
If you aren't familiar with Agent, here are some screenshots:
Episode 1
Episode 2
New Bonus Level in Episode 2
Episode 3
Halloween Episode
QR Code for the Full Game
QR Code for the Demo Game
YouTube Video: http://www.youtube.com/watch?v=I42G2Tc2qOI
View 12 Replies
View Related
Feb 8, 2013
"No compatible targets were found. Do you wish to a add new Android Virtual Device?"
I'm using windows 7 and a sony Xperia J.I rebooted both already, and re-installed the drivers (assuming I installed the correct drivers, but I'm pretty sure I did)
View 3 Replies
View Related
Apr 24, 2009
I have the following clear message :
Market requires the minSdkVersion to be set in AndroidManifest.xml.
But my manifest has the line : <uses-sdk minSdkVersion="2" /> and I also tried even <uses-sdk minsdkversion="2" />... I try to put this line : as the first child of manifest, as the last child and also right after application.. Is there a hidden rule I don't know ...
View 11 Replies
View Related
Sep 6, 2010
I have people complaining my application gets FC when they launch it (meanwhile others never had a single problem). Here is my full activity source. Since it happens on devices I don't own I can not fix it. From what they tell me it doesn't work on: Motorola Blackflip, Motorola Dext, Motorola CLIQ XT. Guess Motorola doesn't like my app after all...
Could it be that I allow a minSdkVersion="3"? I tested 1.5 on the emulator and worked fine... code...
View 1 Replies
View Related
Nov 4, 2010
I have following queries. How can I display icon in Signal Area(what it is called?) ? Like default audio player when playback is on and u press HOME or BACK at last screen of audio player, Play icon is displayed in that areA? Kind of minimize application. How to display shortcut of media player? the minimal version of media player in that area
View 2 Replies
View Related
Aug 1, 2012
I have a floder containing Google Earth. The normal icon has been replaced by a little droid icon labeled "loading." When I click it, Google Earth loads.
View 1 Replies
View Related
Mar 26, 2013
How to edit standard icon battery to numeric icon?
GT-S6102
View 2 Replies
View Related
Nov 20, 2010
I have a H icon with a up/down arrow underneath it. It is next to signal indicator. What does this represent?
View 1 Replies
View Related
Jul 27, 2010
Got a replacement Droid Incredible the other day and I've been working on getting it set up like my previous phone, with the exception of random restarts.Anyway, I updated Google Maps and for some reason I'm not getting the Navigation app icon like I used to.
View 3 Replies
View Related
Feb 14, 2009
I don't see a place to upload an app icon or photos. Is there now way for users to see screens of your app before they buy it?
View 2 Replies
View Related
Sep 21, 2009
Is there a way to have one status bar icon, but multiple entries in the notification pull down? I need to generate a few notifications that each trigger a different action when clicked, but I don't want to fill the status bar with useless icons in the process. Being able to create a notification without an icon at all would work too.
View 4 Replies
View Related
May 25, 2010
The speakerphone icon is on at the top and it won't go away. I use the speakerphone every once in a while when i'm on the phone, but not always. I tried turning the speaker phone on then off when I was on the phone, but it didn't make the icon go away. I can't find any settings to make it go away either.
View 1 Replies
View Related
Oct 13, 2010
Let's suppose I want to install an app that doesn't have a launcher icon. Maybe it contains content providers, or maybe it is a license key app that just needs to be present.What is the proper way to do that? If I don't have an <application> tag at all, that works, but I don't think that is the proper way, since <provider> and <receiver> are also inside <application>.But the user experience is *unacceptable*. Instead of being removed, the icon sticks around and says 'Application not installed' until they reboot their phone, or, more likely, go for the refund.
View 5 Replies
View Related
Dec 3, 2009
Does anybody know how to add a notification without an icon in the status bar to the notification (just like Quick Settings)?
View 2 Replies
View Related
Jan 28, 2009
Is there any way to get rid of the the stupid red balloon locale icon that shows up in the notification bar? I can't stand having icons up there, its a pain to clear them.
View 3 Replies
View Related
Apr 20, 2009
I have a image view and I want to show different images based on the current theme. I want to do this using the XML only. Via code it can be done .....but then that is not a elegant solution. On the same lines, can we add our own attributes to the theme (theme that i created)?
View 5 Replies
View Related
Jan 10, 2010
Moving over from Palm, I have been with them from the days of the Treo 600. And I love the look of the Palm Pre but went with the Sprint HTC Hero. So I was wondering if there is a app the will give me a wave icon dock like what is on the Pre? I have a 3rd party app that I used on my Centro and loved it!
View 10 Replies
View Related
Apr 16, 2010
My app icon shows up on my Nexus One, but not on the Android Market site or the emulator. Is there some naming convention to use?
View 1 Replies
View Related