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

no way can delete a ShortcutPlugin #4

Open
bau720123 opened this issue Feb 25, 2014 · 7 comments
Open

no way can delete a ShortcutPlugin #4

bau720123 opened this issue Feb 25, 2014 · 7 comments

Comments

@bau720123
Copy link

your example show how to create a shortcut
https://github.com/jorgecis/ShortcutPlugin/blob/4c2c01cc2473f4d3af8bfb6809f5d647c0078d72/README.md

but no example to tell us how to delete it
I tried
window.plugins.Shortcut.RemoveShortcut("Text to show", successfunc, failfunc );
but not work

@jorgecis
Copy link
Owner

are u using the same text?, for example in you case the text in the shortcut is "Text to show"?

@bau720123
Copy link
Author

hi @jorgecis
sorry for the lately reply

my answer is yes
"Text to show" is just my shortCut's name on my phone's desktop

your sample told us how to create a shortCut

window.plugins.Shortcut.CreateShortcut("Text to show", successfunc, failfunc );

but seem no way to delete a shortCut

@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?

@jorgecis
Copy link
Owner

I working on that, sorry for the delay but I have other priorities

George

On Mon, Apr 14, 2014 at 3:28 AM, bau720123 [email protected] wrote:

hi @jorgecis https://github.com/jorgecis
anything update or anything unclear?

Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-40343380
.

@bau720123
Copy link
Author

oh~?
tks @jorgecis
you mean is that you have other thing must to do
so...maybe later or after period of time,this issue could be fixed,right?

@merbin2012
Copy link

I can not able to delete the shortcut. Please help me.

For creating new shortcut
window.plugins.Shortcut.CreateShortcut("Text to show", function(){ alert("success") }, function(){ alert("Error") } );

For removing shortcut
window.plugins.Shortcut.RemoveShortcut("Text to show", function(){ alert("success") }, function(){ alert("Error") } );

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

3 participants