Thanks a lot for the clarification.

On Jun 4, 6:32 pm, Jeff Sharkey <jshar...@android.com> wrote:
> > Is it possible to launch other apps from my app like the application
> > launcher or home screen do?
>
> Yes, you just need to build the Intent correctly, either using a
> well-known action string with any needed data, or a strongly-named
> ComponentName.  (The first approach of using generic action strings is
> by-far the preferred approach.)
>
> > At least would a widget on home screen be able to launch other
> > applications?
>
> Yes, you'd take the Intent you built above and wrap it into a
> PendingIntent to send across the RemoteViews to the widget.
>
> > Also can a widget on the (default) home screen receive swipe events
> > (before a touch event) ?
>
> Not in the default home screen.  Actions like swiping and
> long-pressing are overloaded actions on the default home screen, so
> they aren't passed on to widgets.  Also, there would be far too much
> overhead in passing each individual touch event across a
> PendingIntent.  For now, the framework only offers onClick.
>
> --
> Jeff Sharkey
> jshar...@android.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to