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

reopen app problem #3

Open
bau720123 opened this issue Jan 9, 2014 · 4 comments
Open

reopen app problem #3

bau720123 opened this issue Jan 9, 2014 · 4 comments

Comments

@bau720123
Copy link

Android,HTC Sensation XL 4.03
Android,ASUS transformer Pad 4.11

when I call this method

window.plugins.Shortcut.CreateShortcut

that my Custom shortcut is successfully add to my desktop
but when I click the Custom one,it will reopen another same app,but I think,it should be reback to the original one

@bau720123 bau720123 reopened this Feb 27, 2014
@jorgecis
Copy link
Owner

Maybe I.m wrong but is not possible to run the same app twice, even if you have phone with multi windows support. Can you send me a screenshot or video.

What rom are u using? do you see the error in only one phone or in many?

@bau720123
Copy link
Author

Hi @jorgecis
sorry for the lately reply

OK
let me explain more detail
I am using PGB 3.3 and Android 4.0.3 or 4.1.1 with your plugin 0.1.1

Step1
This is the original ShortCut created by Google Play
http://www.littlebau.com/sh01.png

Step2
I click it and launch my app content very well,and use this line to create a Shortcut by your plugin

window.plugins.Shortcut.CreateShortcut("我的名稱", successfunc, failfunc);

Step3
This is the ShortCut created by your plugin that you can see
http://www.littlebau.com/sh02.png

Step4
I press the "home" button
if I click the "sh01.png" ShortCut,it will reback the original app (The last time that the state of the screen)
if I click the "sh02.png" ShortCut,it will reopen (recover) the original app (because of it will display the splashscreen and do some initialize function again....) (can't reback to The last time that the state of the screen)

@bau720123
Copy link
Author

hi @jorgecis
anything update or anything unclear?

1 similar comment
@bau720123
Copy link
Author

hi @jorgecis
anything update or anything unclear?

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

2 participants