Android :: Changing Entry Point Activity To App Messes Up App Update
Aug 9, 2010
This is the second time this has happened to me now. I changed the starting activity of my app, and put out an update, and now the icon on people's phone will not open my app. The only way they can open it is through the downloads section of their Android Market app, or if they uninstall and reinstall the app, causing them to lose ALL their data. I have no problem with updates on my N1, but every other Android phone has a problem with this. Why?
View 1 Replies
Apr 26, 2010
For a new update I am changing the start-up work flow for the application. Part of this is setting the "android.intent.category.LAUNCHER" from one activity to another in my manifest. When I run an update from what is on the market to what I download from my website the application starts in the Activity where it used to start before the update. When I un install the application and install it from the same package I got from my website it starts in the Activity where I have now specified it to start. Shorter version: Update fails to update launching activity, un install- reinstall does update the launching activity. Is this a known issue? Do I really need to add logic to correct for people who update the app instead of installing fresh? Asking people to un install for an update is not a viable option. Is there something I can do to clean out whatever is getting saved that is causing the app to launch with the incorrect Activity? You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To un subscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en.
View 4 Replies
View Related
Jun 22, 2012
I am attempting to use bin2elf/bin2sin. Where can I find entrypoint and load address for kernel & ramdisk of msm8255? Will any technical papers of qualcomm have that?
View 3 Replies
View Related
Jun 14, 2010
I recently added an activity to one of my apps, and made it the starting activity for the application and published an update. The update worked perfectly with no problems on my N1, but I'm getting emails from users telling me that the only way they can open my app is from their Downloads page in the Android Market app. I have no clue what could be causing this behavior.
View 2 Replies
View Related
Sep 20, 2009
I'm writing program for Android (SDK 1.5). I would like to know how to add/register one of my program activities in "Home Screen -> Menu -> Add-> Shortcuts" (or on Hero "Home Screen -> Menu -> Add to Home-> Shortcut") so that user will be able to add it to his home screen. Is there an Intent Filter or any other way to achieve that?
View 2 Replies
View Related
Mar 7, 2010
How can I bind my application so, when the Birthday entry is clicked on a Contact Entry, it will open up my activity?
View 1 Replies
View Related
Mar 8, 2010
I am just getting started with the Android SDK and I had a quick question. I am trying to set up a ListView with a rectangle of color on the left and then a bit of text for each row. I also want to make it so I can click each entry in the list and open a new activity to display some information (similar to the contact list).
View 3 Replies
View Related
Sep 20, 2009
I'm writing program for Android (SDK 1.5). I would like to know how to add/register one of my program activities in "Home Screen -> Menu -> Add-> Shortcuts" (or on Hero "Home Screen -> Menu -> Add to Home-> Shortcut") so that user will be able to add it to his home screen. Is there an Intent Filter or any other way to achieve that?
View 2 Replies
View Related
Jul 20, 2010
I am in my fourth activity and I want to come back to the first activity directly (without closing the second and third activity). How to change to the activity directly?
View 1 Replies
View Related
Sep 27, 2009
Is there a possibility to update ones ADC2 entry incase it gets into the second round? I e.g. found a stupid bug that I would like fixed if the app gets further into ADC2 second round.
View 4 Replies
View Related
Apr 8, 2010
I updated my app to use the "new" startForeground() method of Service. Now beta testers are complaining about the foreground app going slow. Is that a coincidence or does startForeground() mess with the thread's prio or does anything else but what is written below? Just as an additional information the background activity does some syncing, reports the progress to the notification using remote views and as it is not latency dependent I use (and did that before already) this: Process.setThreadPriority(Process.THREAD_PRIORITY_LOWEST);
Should I use another Priority? And if it makes any difference, how does that play with Android 1.5 devices?
View 13 Replies
View Related
Oct 13, 2010
I have successfully programmed insertion & deletion of an Access Point in database but I need to find out how to update an access point. I'm using db.update() but its not producing any result. I am using the following code to update an access point:
ContentValues updateFields = new ContentValues();
ContentResolver resolver = getContentResolver();
updateFields.put("name:", "AIRTEL");
updateFields.put("apn_addr", 11023);
resolver.update(TABLE_APN_URI,updateFields,"_id=?",new String[] {Long.toString(2)});
While updating I'm not getting any error as well.
View 1 Replies
View Related
Feb 8, 2010
I've got a button with italics text in an app widget and the last letter gets clipped when I set the width to wrap_content. It doesn't get clipped with fill_parent, but then that messes up the selection order.
Things I've tried: - space after my text - seems to get trimmed off automatically - layout_marginRight - paddingRight
Anybody know what's going on here? Is this a bug?
View 2 Replies
View Related
Jan 4, 2010
when i am composing a text message, sometimes the box of the entry goes larger and goes back smaller, is there a way to increase the text entry box size, say, double tap on it to bring up a whole screen text entry area?
View 2 Replies
View Related
Nov 6, 2010
I rooted my DINC a while back using Unrevoked 3. When 2.2 became available via OTA, I kept refusing the update, because I wasn't sure if I could update to it from a rooted phone. My wife was using the phone one day when the update notice popped up again, and she proceeded with the update. Sure enough, the update ended up failing, with a red triangle and exclamation point.
After I rebooted the device, I never received another OTA update request. So I tried to unroot the phone, but clockwork seems to stick around. Just an hour ago, I tried to install the official 2.2 ROM (PB31IMG.zip). After applying the image, I get a green triangle, then the same red triangle with an exclamation point. I restarted the device, but now it boots into the white hboot screen, with the following info:
INCREDIBLEC XC SHIP S-ON
HBOOT-0.92.0000
MICROP-0417
TOUCH PANEL-ATMEL224_16ab
RADIO-1.00.03.04.06
Jul 23 2010,10:06:51
View 3 Replies
View Related
Nov 19, 2009
I wanted to see if anybody had some advice on the 1.29-1.56 update. I have tried several times including multiple hard resets to get my device to update. Each time the update downloads successfully but after the phone restarts and shows the progress bar unzipping the package it stops halfway and shows the phone with a triangle and a yellow exclamation point.
View 2 Replies
View Related
Jan 31, 2010
When i launch Activity A, the screen goes black, then dark-gray. Then A launches B, and the screen goes black and dark-gray again. Is there a way to set the default background color to black? Activity A has no screen, its just a stub that calls B.
View 4 Replies
View Related
Jul 24, 2010
I created an activity by using a layout written in a XML file. I would like, in response to some events, to change the content of this activity. I would like to show a VideoView over the content. In response to some other event, I may want to go back to the first content. Would it be possible to switch the content of the activity this way without running another activity (I have another technical difficult in doing that)? I tried using setContentView( videoView), and then switching back with setContentView(T.layout.main), but it seems that, when going back to the main layout, all my buttons and text boxes are created again as they were new. Would it be possible to go back to the last state of all the controls?
View 4 Replies
View Related
Jul 7, 2009
I finally got to the point where I was ready to deploy my app to my G1 and test it out and the first thing I noticed was that when I change my phone to landscape view my main activity restarts and resets all of my variables to their default settings. How can I avoid this?
View 7 Replies
View Related
May 30, 2010
There are apparently at least three different techniques for changing screen brightness in the Android OS. Two of them no longer work post-cupcake and the third accepted technique evidently has a bug. I would like to increase screen brightness at the start of a one-view activity then turn the brightness back to the user setting at the end of the activity. No buttons, no second view or second activity. Just a maxed brightness at start and a return to original brightness setting at the end of the activity. The examples of the current technique using WindowManager.LayoutParams that I have located range from 2 lines of code
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = 100 / 100.0f;
getWindow().setAttributes(lp);
To several pages of source code and numerous activities. Is there a simple example of maxing the screen brightness at start that someone can provide a link to?
View 1 Replies
View Related
Apr 7, 2010
I have Activity with ListView inside it and in the onCreate method of the Activity I have code for populating the Data of the ListView this Data is a server based and so populating includes calling Network URLs. I have the ArrayAdapter of the ListView in the Same Activity Class.
Now the Issue I'am facing is that, in Rest all scenarios my Activity is behaving in a proper way but when the Orientation [ Portrait to Landscaped or other way round] is taking place the Data is Getting lost and Newer Data calls are Required to Populate the Same Old Data now this is something that is not intended out the code how should I deal with it.
View 4 Replies
View Related
Oct 4, 2010
I currently have a tab layout with 2 tabs, one tab with a list view and one with the option make strings so I can add them in the list view. Both tabs have their own activity because this made the code much more structured, and I dont have to repeat my self later.
Lets say im in the tab that offer me to create an string, and i press the update list button, how do I update the list view without startActivity()? If i use startActivity(), it starts List.java, and instead of displaying the list in the list view tab, it takes full screen, which defies the purpose of the tab view. In other words, the startActivity() steals the focus from the tab view of the list, and sends it fulscreen.
I want to update the activity in my list view tab, without starting a new activity that goes to fullscreen, and doesnt update the one in the tab.
View 2 Replies
View Related
Apr 15, 2010
I have a language setting in my application. When the language is switched, I would like all the textviews etc to change language immediately. Currently I just change the locale in the configuration, so the language has changed when the user restarts the activity.
Solution to my problem would be to make each textview load the new resources each time the language is changed. Is there a better solution? Perhaps a neat way to discretely restart the activity? Or maybe just force reload of the resources?
View 2 Replies
View Related
Nov 19, 2010
I have an Android activity that, onCreate(), will query a database and display the query results in textviews on the UI.The problem that I am having is at some point, users can open another activity and update the database. When they go back to the original activity, I would like for the text views to update with the new database information (so, I will re query the database and display the info).Another thing that I am willing to do is to take the new input from the user (in the new activity) and directly update the textview in the existing activity (without having the existing activity re-query the database). But I'm not sure how to do something like that either.Can someone please inform me on the best way to go about doing this? The only solution that I have found so far has to do with broadcast receivers, but I'm not sure if that is best suited for what I have to do.
View 2 Replies
View Related
Aug 6, 2010
I downloaded the Android 2.2 update, it installed and everything, but it is still showing Android 2.1-update1 in the Phone info. After it reset, it said that Froyo was installed.
View 1 Replies
View Related
Dec 24, 2012
I am working on developing an app and I am not sure when should I use a new activity and when should I update the existing view.
For example, lets say I have a view that shows a multiple choice question.Now, when the user selects his choices and clicks on say "Evaluate", I want to show the same question view but along with the right answers and explanations for each option. So does that mean, I should send an Intent upon a click on Evaluate or I should just update the view (i am not sure how)?
If I send an intent and show a new screen, how can the user go back to the next question without displaying the answers? If I don't create an new activity, how can I update the existing view that is already displayed?
View 4 Replies
View Related
Sep 10, 2010
I am trying to change the locale programmatically on Android. The code I have below works fine on the Incredible(2.2) and Droid(2.2). However, it doesn't on the DroidX(2.1 Update 1) Anyone here have encountered similar problem ?? Any insight would be helpful.
public void overrideLocale(String languageToLoad) {
Locale locale = new Locale(languageToLoad);
Locale.setDefault(locale);
Configuration config = new Configuration();
config.locale = locale;
getBaseContext().getResources().updateConfiguration(config, null);
Intent intent = new Intent(this, ActivityB.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent); }
View 1 Replies
View Related
Apr 13, 2010
I will try to explain a simple app scenario: My app goes right to a 'main view'. In this main view I have inserted a 'TextView' which displays current settings created by way of the PreferenceManager. For simplicities sake, let's say I have a checkbox in my settings. When I first start my app - the TextView on my main view shows my checkbox setting correctly (true). Now I go to the settings menu, it pops-up, and then I change it to false. I go back to the main view and...no change. It still say's true even after I changed it to false. If I end the app and then re-start it - all is well and it shows my change.
Apparently the main view just stays in the background while I'm changing settings? How can I redraw or update the main view after I change settings?
View 2 Replies
View Related
Jul 29, 2010
Even though I change my FB to update every 2 hrs and Flickr to once day, when I go back to check, FB always resets back to 'once a day' and Flickr resorts back to every hour.
Anyone else had this?
View 1 Replies
View Related
Jan 3, 2013
I am having an issue on my Asus Transformer Prime tablet. I had my account on there and downloaded a bunch of apps and games. My wife signed up for an account and we added that one and removed my account as she has taken over my tablet. LOL. The app/game says there is an update but when we go to the Play Store it will not allow us to update it, it only shows OPEN and UNINSTALL. If I add my account back onto the tablet the option for update is there.
Is there anyway to update the apps/games without my account being on there? I thought about just deleting the game and re-installing it under her account but that would erase all of her progress in the game.
View 1 Replies
View Related