[android-developers] Re: How to create home screen short cut?

2009-04-15 Thread patrick
Did you add the permission in the manifest? On Apr 15, 5:06 pm, havexz wrote: > I am trying this code but its not working > >                 Intent shortcutIntent = new Intent > (Intent.ACTION_MAIN); >                 shortcutIntent.setClassName(this, this.getClass > ().getName()); > >    

[android-developers] Re: How to create home screen short cut?

2009-04-15 Thread havexz
What permission do i have to add? On Apr 15, 11:21 am, patrick wrote: > Did you add the permission in the manifest? > > On Apr 15, 5:06 pm, havexz wrote: > > > I am trying this code but its not working > > >                 Intent shortcutIntent = new Intent > > (Intent.ACTION_MAIN); > >  

[android-developers] Re: How to create home screen short cut?

2009-04-16 Thread patrick
com.android.launcher.permission.INSTALL_SHORTCUT On Apr 16, 1:36 am, havexz wrote: > What permission do i have to add? > > On Apr 15, 11:21 am, patrick wrote: > > > Did you add the permission in the manifest? > > > On Apr 15, 5:06 pm, havexz wrote: > > > > I am trying this code but its not wo

[android-developers] Re: How to create home screen short cut?

2009-04-16 Thread havexz
Thanks a lot But why this small piece of infomation not easily accessible in the online documentation. Thanks again...help appreciated On Apr 16, 7:31 am, patrick wrote: > com.android.launcher.permission.INSTALL_SHORTCUT > > On Apr 16, 1:36 am, havexz wrote: > > > > > What permission do i