A generic Topic Maps viewer for the iPhone
description
Transcript of A generic Topic Maps viewer for the iPhone
W E B V E V E R I E T
Ravn Webveveriet AS, 2010-10-01
Jan Schreiber<[email protected]>
Subjects - A generic Topic Maps viewer for
the iPhone and Android
mandag 11. oktober 2010
W E B V E V E R I E T
Overview• Inspired by Patrick Durusau who blogged about the
iPhone and Topic Maps
• It's a prototype!
• Idea: Browse small topic maps on a mobile device
• Uses the tmjs Topic Maps engine
• It's three applications in one:
• iPhone App
• Android App
• Web Application
mandag 11. oktober 2010
W E B V E V E R I E T
Architecture
HTML rendering
subjects.js
jQTouchjQuery tm.js
PhoneGap
Native iPhone App Native Android App
mandag 11. oktober 2010
W E B V E V E R I E T
Navigating topic maps on a mobile device
• Visible information has to be reduced to a minimum
• Existing viewers like Omnigator and Maiana display lots of information on their main page that is rarely used as an entry point for navigation (role types, name type, occurrence types)
• "Topic map Metadata", "Browse By Type", "Browse By Name"
• From a topic page the user can navigate to other topic pages via associations
mandag 11. oktober 2010
W E B V E V E R I E T
Displaying topic labels
• Find the default name
• Find a name with the fewest scoping topics
• Find a subject identifier, subject locator, item identifier
mandag 11. oktober 2010
W E B V E V E R I E T
Used components
• tmjs Topic Maps engine
• PhoneGap: Framework for wrapping web applications
• jQTouch: gives it a native look and feel
mandag 11. oktober 2010
W E B V E V E R I E T
Issues
• Memory usage is hard to control
• Script execution timeouts occur
• jQTouch maybe not the best choice
• PSIs are not meant for mobile devices
mandag 11. oktober 2010
W E B V E V E R I E T
Current status
• It works (on a Samsung Galaxy S and in the iPhone simulator)
• Still work in progress
mandag 11. oktober 2010
W E B V E V E R I E T
Future work
• Maiana Integration
• Editing features and web sockets for communication with a (node) server
• Web SQL Database support
• Support for GeoURIs
mandag 11. oktober 2010