Coding for Mobile Platforms

Random thoughts, sometimes relevant to mobile programming.

  • Mobile Coder

  • Subscribe to Mobile Coder and receive notifications of new posts by email.

    Join 185 other followers

Archive for September, 2010

An Ares View Menu Example for WebOS

Posted by error454 on 09/24/2010


The viewMenu

Want a menu that looks like this?

Are you using Ares as your development environment?

Are you frustrated because this menu doesn’t exist in the list of Widgets?

Read on for a full example of how to easily implement this widget along with how to tie in the functionality for the buttons.

Read the rest of this entry »

Posted in Ares, WebOS | Tagged: , , , , , , | 1 Comment »

Using the Palm Pre as Xbox 360 Storage (the finale)

Posted by error454 on 09/16/2010


The joy of discovery!

15 days ago, I set out to determine why I couldn’t use my Palm Pre on my Xbox 360.  We all start somewhere, but I started with absolutely no knowledge of the composite gadget framework or Palm’s rockhopper composite driver.  In retrospect, I spent a lot of time asking silly questions and researching irrelevant things.  But once again I have been awarded for persistence, while picking up some great knowledge and tools for the future.

For the last 2 days, I have relished the joy of discovery.  Truth be told, this problem was solved 2 years ago by one Felipe Balbi on the linux-usb mailing list.  The next logical question is why the problem exists on so many devices if it was fixed 2 years ago?  Am I really the first person to discover this problem and solution and actually care enough to try and get it fixed on Palm and Android devices?

Read on as I reveal all that I know. (Palm users can skip to the good stuff by grabbing the latest UberKernel release and plugging in to their Xbox 360)

Read the rest of this entry »

Posted in Android, WebOS | Tagged: , , , , , , , , , , , | Leave a Comment »

Using the Palm Pre as Xbox 360 Storage (part 2)

Posted by error454 on 09/12/2010


In my last post, I incorrectly theorized that the reason my Xbox 360 could not see my Palm Pre was because the mass storage driver was implemented as BOT instead of CBI.  BOT or Bulk Only Transfer has only 2 endpoints, bulk-in & bulk-out.  CBI or Control Bulk Interrupt has 3 endpoints, bulk-in, bulk-out and interrupt.

After spending some time in the code, I finished my cosmetic CBI driver hack, essentially making the Pre look identical to my working USB thumb drive in every single way.  This was not the solution!  I now have a working solution and it happens to be BOT, so we can safely say that the CBI vs BOT theory is moot.

Lab notes below.

Read the rest of this entry »

Posted in PDK, WebOS | Tagged: , , , , | 1 Comment »

Using the Palm Pre as Xbox 360 storage

Posted by error454 on 09/01/2010


I have a dream where I plug my Palm Pre into my Xbox 360 and it is recognized as a USB Mass Storage device.  I then save all my games and downloaded content to it.  Later, I fire up a PDK app that loads x360 (A FUSE filesystem driver for the 360) and I edit my saved games, adding more health, more gold, etc.

What would it take for a USB newb to turn this into a reality?  I’m not sure, but I am willing to try.

Read the rest of this entry »

Posted in PDK, WebOS | Tagged: , , , , , , , | 2 Comments »

 
Follow

Get every new post delivered to your Inbox.

Join 185 other followers

%d bloggers like this: