Android :: Android - Manifest TargetSdkVersion Change - Icon Not Visible - Widget No Longer Works - Cannot Access Data

Mar 20, 2010

I recently upgraded my Android app to support multiple resolutions. Previously, my Android.manifest file had a line:

To support multiple density and resolution devices, I changed this to:

CODE:............

I then added a couple of new directories, like drawable-hdpi-v4 and drawable-long-hdpi-v4 that includes the high-res versions of the graphics. That's about it.

Ever since releasing this update, there have been a decent number of users complaining about various problems:

the app icon doesn't appear (I did not create a high res version of the icon)
the home screen widget no longer works, even if they delete and re-add it (this code did not change with the update). I've had a user send me their error log, which shows:

CODE:................

There is one questionable section in my existing widget code that may be relevant:

CODE:..........

And perhaps most troublesome: the sqlite database is no longer accessible/writeable for some users so their data is no longer available. I did add the WRITE_EXTERNAL_STORAGE permission to the manifest. This is only happening to certain users and it tends to be HTC Eris users. In that error log I see things such as:

CODE:.........

It's as if the update has caused a new process and it can't access the old process's data, or something.

Android :: Android - manifest targetSdkVersion change - icon not visible - widget no longer works - cannot access data


Android :: Not Able To Use New Resource Identifiers With TargetSdkVersion Defined In Manifest?

Jul 9, 2010

I'm developing an Android application that I'd like to be compatible with 1.5 (SDK version 4).

I'm testing the application on 2.2 (SDK version 8).

To do this, I'm including in the manifest file the line <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8" />

I thought this would allow me to use the newest manifest elements and APIs, but I'm getting a compile error whenever I try to use them. For example, I try to define the element installLocation to allow the app to be installed on the SD card, but Eclipse gives me the error

No resource identifier found for attribute 'installLocation' in package 'android'

Is there something else I have to do to get this to work? If I can't get this to work, what benefit is defining targetSdkVersion?

View 2 Replies View Related

Android :: How To Change Manifest Meta-data From Code?

Jul 4, 2010

I have a app that uses ads. The ad id is set in the manifest id with a meta-data tag. I want to change this tag when i start the app in some cases (diferent id for some localisations) Can i do this in code?

View 1 Replies View Related

HTC Incredible : Weather Widget - No Longer Works

Jul 19, 2010

used to be that hitting the word "weather" on the weather widget would pull up the webpage to get more weather info. This no longer works. What did I do?? (from page 123 of the manual)

Quote:

View 1 Replies View Related

HTC Incredible :: Data No Longer Works While On Phone

May 6, 2010

I had heard Verizon was unable to allow voice and data usage at the same time. However, when I got my DI I was able to surf the web while talking on the phone. Then this morning Verizon pushes out some update and suddenly when im on the phone 3g disappears.from the top bar and I get an error message that I can't connect to the web. What happened and is there anyway.to reverse this?

View 5 Replies View Related

Motorola Droid :: 3G Icon Disappears / No Data Access

Nov 10, 2009

I've noticed this happen 2 or 3 different times since Friday. For whatever reason the 3G icon disappears from the title bar but I still show 3-4 bars signal strength. At this time all data access is lost, no response from email, web, talk, etc. I've tried waiting it out but it doesn't seem to respond. During this time I've also tried cycling airplane mode, but that doesn't help. So I power the phone off and back on and it comes up with 3g data access again. Anyone seen this or know how to "wake up" 3g data access again once its gone?

View 3 Replies View Related

Android :: Write / Read Access To SD Card In Manifest File

Mar 1, 2010

Is there a right associated with write/read access to the sd card that needs to be set in the manifest.xml file? I'm currently trying to write to the sd card using a standard FileOutputStream here:

FileOutputStream out = new FileOutputStream("/ sdcard/images/"+imageName);
bmp.compress(Bitmap.CompressFormat.JPEG, 90, out);

But it doesn't seem to be working. It just says the location isn't found, which can happen if there are no permissions to read/write to the location.

View 2 Replies View Related

Android :: Access Values Defined In A Java Manifest From Code?

Feb 4, 2010

Can I access the values defined in a java manifest from code?

View 3 Replies View Related

Android :: Android Surfaceview Is No Longer Visible After Back From Other Activity

Apr 4, 2010

i use surfaceview for camera preview. it works fine, but has one problem when i start other activity (by clicking something) and then back from that activity. after that, surfaceview is no longer visible. (but onclicklistener is working)but when i occur surfacecreated/destoryed by visible/invisible surfaceview in single activity, it works very good.

View 1 Replies View Related

Android :: Geocoder No Longer Works On New PC

Feb 16, 2010

I have a problem getting the Geocoder to return results on my new PC during development. I started writing a android app on my other (Win XP) system and Geocoder worked fine and returned locations based on an address that I passed to it.

I recently bought a new PC (Win 7). Moved the code over to it and now the no address queries return any results. I tried a couple that did work on the xp machine, but are returning no results on the new pc. It does not give any errors.

I did generate a keyfile on the old pc. Do i need to create another on the new pc? Does the Geocoder require the key? It is not from the maps api.

View 2 Replies View Related

Android :: 1.5 Bugs Reports - Calendar No Longer Works

May 1, 2009

Since the 1.5 upgrade, the phone exhibits a lot of strange behavior. 1) Calendar no longer works. It starts, then exists and not with a "forced exit" msg. I've tried deleting all of it's data/cache. Same behavior. It does appear in what looks like a background window (hold "home", which I just discovered today), but if selected it just returns to the main screen. 2) Market has the same problem. 3) Once the application list window is displayed, it takes a noticeably longer time than with the previous version for the window to respond to gestures 4) Set-up got into a weird circle of starting, "forced exit", repeat. I tried to enter set-up to disable the wifi, but accidentally hit something else, and do not know what that is.

View 4 Replies View Related

General :: Viber No Longer Works On Any Android Phone?

Nov 7, 2013

I have a just came from a Xperia Z1 (Viber working) to a Nexus 5 and put on my defacto apps of which Viber is one of them and straight away after entering the phone number it said waiting for sms activation and a couple of seconds after it pops up with 'error' on the screen and that is all it says.

Prior to this I have had many android phones and never had an issue with activating viber.

Troubleshooting wise I have tried all of the below and nothing so far works.

1. Tried activating on wifi and 3g

2. Tried my wife's number on my nexus 5 which gets past the initial country code and phone number screen and tries to send an sms

3. Tried my number on my wife's phone and get the same lovely 'Error' popup

4. Placed my wife's sim card into my phone and activation works so proving this issue is number specific not phone specific.

The screenshot of the 'Error' is below.

View 2 Replies View Related

Android :: Automatic Way To Change VersionCode - And/or VersionName - In Manifest

Sep 2, 2010

I feel like this one it's going to be a silly question but after asking google and the list, I have no answer so... there I go:

Is there any way using "just eclipse" to automatic update android:versionCode and/or android:versionName each time I rebuild my app or every time I export it?

As I don't know any way of doing it with eclipse, I'm thinking about making a build_app script that change the values and use the script before generating the apk file, but I feel like there should be an "really easy" option.

View 3 Replies View Related

Android :: How Update Widget Often But Only When It Is Visible

Mar 10, 2010

I'm going to create widget which needs to update its content every minute (it shows time-related data).

However, there is no need to update widget if it is currently invisible, which means:

screen is turned off
another app is running
widget is placed on another (invisible) home screen tab

What is the best way to update only visible widget every minute - without waking up device nor doing unnecessary computations? After widget becomes visible, small lag before update is acceptable.

View 2 Replies View Related

Android :: Method To Open The Image Gallery - Previous Implemention No Longer Works

Oct 14, 2010

I've had an app on the market for over a year. Recently customers have been reporting a crash; all customers have been running Android 2.1 or 2.2 (note sure if the crash is limited to those platforms tho; interesting that this does work on the simulator but not physical devices. Maybe devices renamed the component name of the image gallery?). The crash occurs when I attempt to lauch the Image Gallery app.

Is there a preferred method to launching the Image Gallery?

I use the following code.

CODE:.............

How to fix this or a new method to launch the Image Gallery?

View 2 Replies View Related

Android :: How Often And For How Long Widget Is Visible? (Statistics)

Jan 14, 2010

I'm at the beginning of writing an AddWidget for the home-screens. From what I understand, these can only utilize RemoteViews ran by the home-process and not your own. Which means we won't be getting any callbacks, such as onDraw. Is there a way you can get knowledge of how often and for how long a widget is visible? The RemoteView API seems very simplistic, what am I missing?

View 2 Replies View Related

Android :: Android And Eclispe - Export Signed Application No Longer Works

Sep 11, 2010

All of a sudden I cannot export a signed application in eclipse

Right Click -> Android Tools -> Export Signed Application Package

Nothing happens, I can still install it on the emulator and export an Unsigned package

I get the following in the error log when I press the "Export Signed Application Package" menu item

CODE:..................

View 2 Replies View Related

HTC EVO 4G :: Evo Swype No Longer Works On Phones?

Sep 26, 2010

I'm sorry to bother everyone with this, especially if it was already asked. My sister, her husband and her son (my neph) own an Evo. They were OTA's to froyo way back. Now, I've gotten a call from her asking me why their swype no longer works on their phones. They had a swype.apk that was unauthorized, fyi. Note: I am not asking for a link, I'm asking if anyone knows what happened. She's asking me (everyone comes to me with their android questions).

View 1 Replies View Related

Android :: Method To Detect Widget Is Visible - Foreground Or Background?

Aug 6, 2009

It would appear on a G1 (with the latest software update) that onUpdate () runs even when the widget is not visible. Is there a way of sensing that the widget is or is not visible or is otherwise in foreground? That is, running the code below shows a logcat message at whatever interval the Widget is scheduled to update, whether it's in foreground or not, whether even the screen is dim or otherwise in deep sleep. It would seem onUpdate should only be scheduled to run when the Widget is in the foreground or visible. Is this a defect in the G1, or is there some other API call to detect if the Widget is visible?

public class HomeScreenWidget extends AppWidgetProvider { ...

View 2 Replies View Related

Android :: Get Data Index Of Visible Item

Jan 4, 2010

I have an Android ListView created with a SimpleAdapter that has more items in it than fit in the screen. After the list has been scrolled, I need to get the position in the data model of the first visible item in the list.Basically I want a function like: listView.getChildAt(0).getPositionInDataModel().Adapter has a few functions in it, like getItemId(position) that looked useful; however, the SimpleAdapter implementation just returns the passed in position, not a row id like I'd hoped.A brute force solution would be to get the View at index 0, and compare it to the view for each item in the adapter.However, there doesn't seem to be an easy way to get the view for a particular position from the adapter.

View 3 Replies View Related

Samsung Captivate :: Settings - No Longer Works

Sep 27, 2010

I didn't see mention of this, but I received the JH7 update this morning and now I can no longer enter settings using *#*#1472365#*#*

It used to be that when I type out that character string I don't even have to press talk; it would automatically open the settings. Now the text string just disappears.

View 5 Replies View Related

Sprint HTC Hero :: 2.1 And PDANET No Longer Works

May 19, 2010

I read somewhere that 2.1 will block the tethering with PDANET. Does anyone know if that is true or not?

I just bought the paid version of PDANET a few days ago and that will suck it I can't use it anymore after 2.1.

View 7 Replies View Related

HTC Hero :: Long Touch No Longer Works

Feb 24, 2010

On my HTC Hero, when typing messages, I could always easily access characters like "?" and "!" and numerals by simply "long touching" that button. Very convenient. However, recently, that featured stopped working. I can no longer "long touch" the K-key and get a question mark like I used to.

Is this a setting that has been inadvertently turned off? If so, I can't find it.

View 1 Replies View Related

HTC EVO 4G :: Pressing 2 When Voicemail Answers No Longer Works

Jun 9, 2010

Normally if you call a Sprint phone and voicemail picks up you can press 2 which bypasses voicemail and automatically sends a text showing "PLEASE CALL (# your calling from)".

For people that use the automated greeting it usually says "You have reached the The Sprint voicecaller "recites number" please leave a message" and at that point you press 2 to to send the page showing you called.

NOW on the Evo, (or maybe its the Andriod platform) when people call you they get a greeting that says "you reached phone number" and if you hit 2 to bypass it, it says sorry "that option is not available". This sucks and by no means is this feature a deal breaker for me, (this phone is The One like Jet Li) however...

The reason I'm bringing this up it that "press 2 to page feature" I been using for years now has been extremely useful when I have no service or 1-2 bars. If you miss calls by receiving that quick text showing please call. this at least alerts you know someone called when you didnt have service.

Just looking to see if anyone knew of a workaround or another quick option, (besides the person having to type a text. I think ppl are less reluctant to leave messages nowadays..I dont either)

View 2 Replies View Related

HTC EVO 4G :: System Panel History No Longer Works

Jun 12, 2010

For some reason the history tab on the system panel app no longer works. When I click it nothing happens. I'm not sure why it stopped. Every other part of the program works fine. Any idea what the problem could be?

Also I'm typing this from the default browser and it seems to be working just fine, I'm impressed.

View 3 Replies View Related

HTC Desire :: Countdown Sound No Longer Works / Way To Fix It

Aug 19, 2010

When my countdown has timed pu, the sound no longer works. I've tried everything and every setting, anyone had this problem or got any ideas?

View 1 Replies View Related

HTC EVO 4G : Shootme No Longer Works With Unrooted Phone?

Jun 28, 2010

Has anyone else noticed that shootme no longer works with unrooted evo?

View 42 Replies View Related

Android :: Change The First Visible Item In A List View

Jan 11, 2010

How can I change the first visible item in a list view (I searched a method such as setFirstVisiblePosition) ?

View 2 Replies View Related

Sony Ericsson Xperia X10 :: TrackID No Longer Works

Sep 12, 2010

Since Updating to R2BA020, whenever I attempt to run TrackID, I get the following error:
(process com.sonyericsson.trackid3.client.rachael) has stopped unexpectedly) I have been completely unable to get it to work since the update.

View 4 Replies View Related

Motorola Droid :: Since 2.1 Update Gmail No Longer Works

May 7, 2010

I have just updated to version 2.1 and noticed my push Gmail wasnt working. I then went into the Google Mail application and can see its not showing any emails in the inbox and its not downloading any mail in "All items" either. Its only showing emails prior to the update. If I hit refresh it spins for a few moments and I see the data arrows indicate transfer but it doesnt refresh the inbox.

View 5 Replies View Related







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