[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 "Andr

[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 subs

[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 w

[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 problem

[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 wrote: > On Tue, Sep 20, 2011 at 12:21 PM, GregAZ wrote: > > But the problem still remai

[android-developers] Re: savedInstanceState always null

2011-09-20 Thread GregAZ
instead of doing step 3 I 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,

[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 wrote: > savedInstanceState is always n

[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 rea

[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 wrote: > It's not just my phone, it's happening for others as well.  And yes, I > p

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

2011-09-15 Thread GregAZ
mulator, right? > > On Sep 16, 10:40 am, GregAZ 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, Gr

[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 wrote: > As the title says, but I'll try to make it easier to understand. > > I copied a project using Windo

[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 phone,

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

2010-09-19 Thread GregAZ
nstanceState() and restore it in onCreate(), this will all work > correctly. > > > > > > > > > > On Sun, Sep 19, 2010 at 12:37 PM, GregAZ wrote: > > That's what I thought. > > > Any ideas why the value is getting lost from the application? > >

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

2010-09-19 Thread GregAZ
if (requestCode == 1) { BaseClass appState = ((BaseClass)getApplicationContext()); String uploadUrl = appState.getUploadUrl(); // NULL on Droid phones } } I added android:name=".BaseClass" to the manifest. On Sep 19, 2:05 pm, Mark Murphy wrote: > O

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

2010-09-19 Thread GregAZ
CTION_PICK, 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 wrote: > Thanks fo

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

2010-09-17 Thread GregAZ
l to the data (Intent) that is returned: > >   data.putExtra("url", url) > > On Sep 17, 7:57 am, GregAZ wrote: > > > > > > > > > I have a problem that's only affecting Droid phones. I end up not > > being able to access global variables after an onActivi

[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 th

[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 wrote: > I have an Android app that is mostly a WebView ex

[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] 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 wrote: > Hi, > I registered myself on this mailing list yesterday > > I 've send an honnest/serious/polite.. question > > so why is this not apea

[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 one