Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DroidFuApp's onClose can not work #57

Open
13leaf opened this issue Sep 16, 2011 · 0 comments
Open

DroidFuApp's onClose can not work #57

13leaf opened this issue Sep 16, 2011 · 0 comments

Comments

@13leaf
Copy link

13leaf commented Sep 16, 2011

I use droidfu in samsung p1000,then I notice that DroidFuApp can't receive onClose method.
I have read some source code about DroidFu.I know it overload onKeyDown to check activity's back action.
But it really have some issues,such as following:
1.If I overload onKeyDown,and prevent default back action,and handler exit by myself.It won't work.Why do not you use onDestroy to check?
2.To check if the activity is the last of app.DroidFu use something wrong strategy.Firstly,not every android device use the default launcher,so check packageName==com.android.launcher is not right.Secondly,if I start myApp from another app.Then,whatever they are in different.onClose will work not as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant