The code is in Launcher.java
1526 public boolean onLongClick(View v) { 1527 if (mDesktopLocked) { 1528 return false; 1529 } 1530 1531 if (!(v instanceof CellLayout)) { 1532 v = (View) v.getParent(); 1533 } 1534 .......(skip) -Ju1ian On Wed, Aug 19, 2009 at 4:58 PM, Jimmy Huang <huan...@gmail.com> wrote: > > Anyone know this ? Thanks > > On Aug 10, 3:20 pm, Jimmy Huang <huan...@gmail.com> wrote: > > Thanks for your quick reply. > > But if I develop one myself's Home, then I can define the Long press > > event on myself widget on Home? > > > > Thanks, > > Jimmy > > > > On Aug 10, 3:01 pm, Romain Guy <romain...@google.com> wrote: > > > > > > > > > You cannot do this. Long press on Home is reserved to drag and drop. > -- Julian Chu. a.k.a. WalkingIce -- 會走路的冰塊 http://walkingice.twbbs.org 只放拖鞋的鞋櫃 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---