Mike Plate

Freelance web and mobile developer

Show a context menu for long-clicks in an Android ListView

Coming from a Windows and .NET background, I had some trouble understanding how to interact with the ListView control and context menu creation in Android. Context menus are supposed to be shown on your mobile device when you touch/click the screen and hold on for a longer time. So here is how to determine which item is long-clicked and how to show a context menu for it. Read more...


How to connect to SkyDrive with WebDAV – and my Office 2010 awakening

[This does not work as decribed anymore, and it probably never was meant to by Microsoft. I've moved on to SugarSync for my cloud storage needs, even though they don't either support WebDAV.] Actually, I stumbled upon this when I decided to try out Office 2010 beta. I haven't found any official documentation about how to connect to Windows Live SkyDrive with WebDAV (or any API), so I'm not sure how well supported this will be in the future. If you find any word about this from Microsoft, please let me know in the comments. The good news is that it works. The bad news is that it is very slow, but being 25 GB for free I guess you get what you pay for speed-wise (understandably). Read more...

Twitter: @mikeplate