This post originated from an RSS feed registered with Java Buzz
by Fred Grott.
Original Post: Interesing UserInterface Puzzle
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
As many of you know I am switching my Xspot user interface design around so that the menu is native as that balances some look design issues along with reducing some of the javascript load.
Not a bad problem as most of the upcoming mobile browsers will have a WebView type class and a MapView class. The puzzle issues come about in that I have some interesting options. Remember we can make that native menu pop out and slide back to hidden thus I could make both WebView and MapView full screen. Also I can move some of the notifications to the title bar of the application.
The puzzle comes in in that WebView does not have a HitTestResult that collects via grids but by the html elements. Whereas MapView in fact has a HitTestResult feature that collects touch events based on the surface grids. But for some of features I need to have the java to javascript bridge access while in MapView.
My answer is to use the WebView as a MapView outer container so I get access to the java to javascript bridge. However, than I have duplicate a class. Why? Because the non MapView screens only have a WebView container and now way to makeMapView transparent in one screen and not in the other, well at least not yet.
The art of the puzzle is getting the right balance between conserving screen real estae, the scirpt loading on the javascript engine of the browser, and th deisgn look o fthe application that makes it easy to use for the consumer.