I should also say that I'm kind of searching for a best practice here as well. I get the vibe that opening the context menu in this way may not be the most sound way of doing it, but hey, if it works and it's not troublesome for the user, that works for me.
Regards, Chris Stewart Fantasy Football<http://chriswstewart.com/android-applications/fantasy-football/>- Android app for fantasy football fanatics and MFL owners Social Updater<http://chriswstewart.com/android-applications/social-updater/>- An easy way to send your status blast to multiple social networks On Tue, Aug 10, 2010 at 12:04 AM, Chris Stewart <cstewart...@gmail.com>wrote: > I have tried variations of that but getting the View is where I'm falling > short. Something like: > > registerForContextMenu(this.getCurrentFocus()); > openContextMenu(this.getCurrentFocus()); > > I'm not sure what View I should be passing in as right now this Activity > doesn't really have any UI components laid out in the XML file. > > Regards, > Chris Stewart > > Fantasy > Football<http://chriswstewart.com/android-applications/fantasy-football/>- > Android app for fantasy football fanatics and MFL owners > Social > Updater<http://chriswstewart.com/android-applications/social-updater/>- An > easy way to send your status blast to multiple social networks > > > > On Mon, Aug 9, 2010 at 11:49 PM, TreKing <treking...@gmail.com> wrote: > >> On Mon, Aug 9, 2010 at 10:44 PM, Chris Stewart <cstewart...@gmail.com>wrote: >> >>> I'm not finding a way to do what I'm after and was wondering if anyone >>> has run into this before and how they solved it. >> >> >> I'm sure you tried this already, yes? >> >> http://developer.android.com/reference/android/app/Activity.html#openContextMenu(android.view.View) >> <http://developer.android.com/reference/android/app/Activity.html#openContextMenu(android.view.View)> >> >> ------------------------------------------------------------------------------------------------- >> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago >> transit tracking app for Android-powered devices >> >> -- >> 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<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- 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