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 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, installed the signed and noticed every time
> I hit the apps icon it reloads the app as if it was never opened.  If
> I hold home and switch to it it doesn't reload.  So I uninstalled it
> and ran the app on my phone using Eclipse and the problem wasn't
> there.  So I signed it/zip aligned it again, put it back on the phone
> and once again same issue.  It seems that signing and zip aligning is
> causing this problem.  The project that copied does not have this
> problem.  Any ideas why this would be happening? I'm targeting Android
> 2.1 if that helps.
>
> Steps to cause problem:
>
> 1. Export app
> 2. Sign it, zip align it
> 3. Put on phone
> 4. Launch app
> 5. Hit home to leave app
> 6. Press app button again (shows splash screen as if it was never
> opened)
>
> Doesn't happen using these steps:
>
> 1. Start app from Eclipse (install app on my phone)
> 2. Hit home to leave app
> 3. Press app button (puts me where I left it in the app)
>
> What would cause it to reload?  It doesn't do it if I hold home down
> and switch to the app, only when pressing the apps icon.

-- 
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 unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to