[android-developers] Re: After Signing Pressing App Icon Restarts App Every Time

2011-10-19 Thread GregAZ
I'm still trying to identify the cause of this. I believe it's also causing some users to not be able to run the app (it crashes on startup). There are no helpful crash reports. I took a version of the app that didn't have the problem, exported and re-signed it and it now has the same

[android-developers] Activity killed when users leave it every single time

2011-10-19 Thread GregAZ
My app contains 2 activities, one is mine which is not much more than the web browser control. The other is PayPal's for accepting money through the app. Up until recently everything was great. You leave the app, come back and you're right where you left off. But now, you leave the app and

[android-developers] Re: Activity killed when users leave it every single time

2011-10-19 Thread GregAZ
Also I've removed everything from onCreate except for a toast alert. After signing and running it it shows my alert. I hit home, hit the app icon and again it shows my alert. WTF? Switching to it by holding down home does not show the alert. -- You received this message because you are

[android-developers] Re: Activity killed when users leave it every single time

2011-10-19 Thread GregAZ
I'm having the exact same problem with the skeleton app. All I added was a toast alert. App is restarted every single time. I downloaded the newest Eclipse. I downloaded the latest Android SDK. Same problem. -- You received this message because you are subscribed to the Google Groups

[android-developers] savedInstanceState always null

2011-09-20 Thread GregAZ
savedInstanceState is always null. For some reason this just started happening. onSaveInstanceState is being called but here's what's happening: 1. Launch app by pressing app icon 2. Hit home button (I've verified onSaveInstanceState is called) 3. Launch app by pressing app icon 4. Attempt to

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread GregAZ
I think I misunderstood when onRestoreInstanceState is called so ignore that part. But the problem still remains, the bundle is always null even though it is saved. I have logging showing me onSaveInstanceState is called. On Sep 20, 12:11 pm, GregAZ ggur...@gmail.com wrote: savedInstanceState

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread GregAZ
hold home down and switch to the app it just resumes, onCreate isn't called again. I thought I had instance problems but it seems my problem is onCreate is called when it shouldn't be which is starting my app all over again. Bundle is null, my variables are reset, etc. On Sep 20, 12:21 pm, GregAZ

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread GregAZ
it. This is very odd because I just put an update out for it about a month ago and it was fine. I hadn't touched it since. This is the only activity in the app. On Sep 20, 12:38 pm, TreKing treking...@gmail.com wrote: On Tue, Sep 20, 2011 at 12:21 PM, GregAZ ggur...@gmail.com wrote

[android-developers] Re: After Signing Pressing App Icon Restarts App Every Time

2011-09-16 Thread GregAZ
It happens after I sign it cuz I didn't zip align it once to see which was causing. I updated my jaraligner to the latest version and it's still doing it. On Sep 15, 10:23 pm, GregAZ ggur...@gmail.com wrote: It's not just my phone, it's happening for others as well.  And yes, I put the signed

[android-developers] After Signing Pressing App Icon Restarts App Every Time

2011-09-15 Thread GregAZ
As the title says, but I'll try to make it easier to understand. I copied a project using Windows explorer, imported it, and then used the Android menu to rename the application package. Then I ran it, worked great (just as I would expect). I signed it, uninstalled the dev version from my

[android-developers] Re: After Signing Pressing App Icon Restarts App Every Time

2011-09-15 Thread GregAZ
It happens if I sign it and not zip align it. Maybe my jarsigner was updated? I guess I'll see what I have and if there's a newer one. On Sep 15, 9:10 pm, GregAZ ggur...@gmail.com wrote: As the title says, but I'll try to make it easier to understand. I copied a project using Windows

[android-developers] Re: After Signing Pressing App Icon Restarts App Every Time

2011-09-15 Thread GregAZ
, right? On Sep 16, 10:40 am, GregAZ ggur...@gmail.com wrote: It happens if I sign it and not zip align it.  Maybe my jarsigner was updated?  I guess I'll see what I have and if there's a newer one. On Sep 15, 9:10 pm, GregAZ ggur...@gmail.com wrote: As the title says, but I'll try

[android-developers] Re: After onActivityResult event State Is Gone (Droid Phones)

2010-09-19 Thread GregAZ
, android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI); i.putExtra(url, url); setResult(1, i); startActivityForResult(i, 1); In the onActivityResult: String url = intent.getStringExtra(url); It's null. On Sep 17, 2:31 pm, GregAZ ggur...@gmail.com wrote: Thanks for the reply. I actually

[android-developers] Re: After onActivityResult event State Is Gone (Droid Phones)

2010-09-19 Thread GregAZ
at 2:59 PM, GregAZ ggur...@gmail.com wrote: I think I'm missing something.  If I add the string as an extra to the image picker intent, then show that intent, that extra is gone in the onActivityResult. Correct.  Even with setResult it's still gone.  This is on my HTC Hero

[android-developers] Re: After onActivityResult event State Is Gone (Droid Phones)

2010-09-19 Thread GregAZ
work correctly. On Sun, Sep 19, 2010 at 12:37 PM, GregAZ ggur...@gmail.com wrote: That's what I thought. Any ideas why the value is getting lost from the application? I created a class that I called BaseClass that inherits Application. That class contains:        private

[android-developers] After onActivityResult event State Is Gone (Droid Phones)

2010-09-17 Thread GregAZ
I have a problem that's only affecting Droid phones. I end up not being able to access global variables after an onActivityResult event. While looking into this I came across: http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables I follow those directions, but still

[android-developers] Re: After onActivityResult event State Is Gone (Droid Phones)

2010-09-17 Thread GregAZ
:   data.putExtra(url, url) On Sep 17, 7:57 am, GregAZ ggur...@gmail.com wrote: I have a problem that's only affecting Droid phones. I end up not being able to access global variables after an onActivityResult event. While looking into this I came across:http://stackoverflow.com

[android-developers] Re: Droid Losing Values When I Load Image Picker

2010-09-16 Thread GregAZ
To try to work-around it, I added the URL to the image picker intent figuring I could read it back out in the onActivityResult, but that didn't work, even on my Hero it was NULL. Anyone have any ideas? On Sep 15, 8:09 pm, GregAZ ggur...@gmail.com wrote: I have an Android app that is mostly

[android-developers] Droid Losing Values When I Load Image Picker

2010-09-15 Thread GregAZ
I have an Android app that is mostly a WebView except for a few things. One of them is uploading pictures. After the user picks an image I get the filepath and pass that along with the webview's url to a new method in a new thread. For some reason, in the onActivityResult method I can't get the

[android-developers] Weird Issue with CheckedTextView in a ListView

2009-12-21 Thread GregAZ
I'm creating a view where it will list about 30 items, each with its own checkbox. I'm using the android.R.layout.simple_list_item_multiple_choice layout for this. I have it displaying on the screen with my items and the checkboxes and it looks great. But here's the problem. When I click on

[android-developers] Re: what is wrong here?

2009-12-21 Thread GregAZ
I have the same problem. Mine still isn't showing up and it's not in FAQ's either. It's been over 12 hours now. On Dec 20, 6:08 am, rompelstilchen666 rompelstilchen...@gmail.com wrote: Hi, I registered myself on this mailing list yesterday I 've send an honnest/serious/polite.. question