jorgecis / ShortcutPlugin

MIT License
13 stars 17 forks source link

reopen app problem #3

Open bau720123 opened 10 years ago

bau720123 commented 10 years ago

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

jorgecis commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

hi @jorgecis anything update or anything unclear?

bau720123 commented 10 years ago

hi @jorgecis anything update or anything unclear?