SlideShare a Scribd company logo
1 of 52
Download to read offline
W E B V E V E R I E T
Ravn Webveveriet AS, 2010-11-11
Jan Schreiber <jans@ravn.no>
Topic Maps based
applications on
iPhone OS and Android
XML Holland 2010
W E B V E V E R I E T
Ravn
• Founded in 1998, based in Oslo
• Publishing solutions based on Topic Maps
• E-learning standards: (NOR)LOM, IMS QTI,
OAI-PMH
• Customers: CappelenDamm, national sites
for nature science and mathematics, The
Royal Palace of Norway, The Norwegian
Labour Inspection Authority
2
W E B V E V E R I E T
Outline
• Topic Maps (TMs) in two minutes
• tmjs - A TM Engine in JavaScript
• Subjects App - A generic TM viewer
• Visualizing TMs in an augmented reality
browser
3
W E B V E V E R I E T
Topic Maps
introduction
• International Standard (ISO 13250)
• Description and exchange of knowledge
structures
• Improves findability of information
• More info at http://www.topicmaps.org
4
W E B V E V E R I E T
Topic Maps are about subjects
Topics are "proxies" for subjects
that you might want to talk about
Based on Steve Pepper: Topic Maps (2010),
in Encyclopedia of Library and
Information Sciences, Third Edition
A topic in the
computer domain
A subject in the real world
5
W E B V E V E R I E T
<http://psi.ravn.no/norlom/vocabulary/
educational-learning-resource-type#simuleringer>
Identity and merging
• Subject locators (direct)
• Subject identifiers (indirect)
Topic
Topic
<http://psi.ravn.no/norlom/vocabulary/educational-
learning-resource-type#simuleringer>
Topic Map #1
Topic Map #2
6
W E B V E V E R I E T
Photo: Christine Veeschkens
CC: Some rights reserved
Geranium
sanguineum
Name
Occurrence
Type
Topic
Picture
<http://www.flickr.com/photos/chris_vees/4649759088/>
Name
Blodstorkenebb
Scope
Norwegian
Occurrence
"30-40cm"
Type
Size
7
W E B V E V E R I E T
Photo: Christine Veeschkens
CC: Some rights reserved
Geranium
sanguineum
Donus
vidua
AssociationAss. role
Role type
Topic
Association
type
is-food-plant-forfood plant species
8
W E B V E V E R I E T
The TM
Universe
9
W E B V E V E R I E T
JavaScript
• JavaScript is LISP with a C-like syntax
10
W E B V E V E R I E T
JavaScript
• JavaScript is LISP with a C-like syntax
• Virtually every personal computer in
the world has at least one JavaScript
interpreter installed on it and in active
use
11
W E B V E V E R I E T
tmjs
• A Topic Maps engine
• Written in pure JavaScript
• Full Topic Maps Data Model (TMDM)
• Standard API: TMAPI 2.0-based
• Unit tests, CXTM tests (most of it) &
JSLint validating
12
W E B V E V E R I E T
tmjs
• Platform independent: All modern
browsers, mobile devices (iPhone, iPad
& Android), server-side JavaScript
• In-memory backend, JSON Topic Maps
(JTM) import/export
• Fast on modern JavaScript engines
• It's Open Source (MIT license)
13
W E B V E V E R I E T
Future work
• Persistence:
• Web SQL Database backend
• Persistent backend for Node (couchdb?)
• Complete TMAPI, add more tests, full CXTM
• More import/export formats: XTM 2.0, CTM
• Later: Query language
14
W E B V E V E R I E T
JSON Topic Maps (JTM 1.0)
15
W E B V E V E R I E T
JSON Topic Maps (JTM 1.1)
JTM 1.1 introduced features for aimed at mobile
platforms
• Prefixes. Usually QNames, but:
what about e.g. isbn:0321154991 ?
• => SafeCURIEs1
• special case for type-instance associations
• Summary: Much more compact than JTM 1.0, but
still simple to parse
1) CURIE Syntax 1.0, A syntax for expressing Compact URIs,
http://www.w3.org/TR/curie/
16
W E B V E V E R I E T
JSON Topic Maps (JTM 1.1)
17
W E B V E V E R I E T
The Subjects App
• A generic Topic Maps viewer for mobile phones
• It's a prototype!
• Idea: Browse small topic maps directly on a mobile
device
• Uses the tmjs Topic Maps engine
• It's three applications in one:
• iPhone App
• Android App
• Web Application
18
W E B V E V E R I E T
Native vs.Web app
• Native pros: functionality, cosmetics
• Native cons: a platform nightmare
• Web pros: cross-platform, easy to
develop, easy testing
• Web cons: no access to native functions
(File IO, contacts API, accelerometer,
camera, sound, etc.) and what about the
App store?
19
W E B V E V E R I E T
We can do both!
20
W E B V E V E R I E T
PhoneGap
• Open Source development tool created
by nitobi
• PhoneGap wraps a Web app into a
native app
• Gives JavaScript access to native
functions
• You get App-store ready apps
21
W E B V E V E R I E T
Source: http://wiki.phonegap.com/Roadmap
22
W E B V E V E R I E T
Native vs.Web app
conclusion
Web apps are the way to go!
• Platform independent
• Simplified development
• Almost as flexible and powerful as
native apps
23
W E B V E V E R I E T
jQTouch
• jQuery plugin by David Kaneda,
maintained by Jonathan Stark
• Native look & feel for iPhone and
Android with CSS3 animations
• WebKit Animations, Navigation,
Image Preloading, Events,
Themes, Extensions, MIT license
• Similar: jQuery mobile, Sencha's
touch lib (both support iPad)
http://www.jqtouch.com
24
W E B V E V E R I E T
Architecture
HTML rendering
subjects.js
jQTouch
jQuery
tm.js
PhoneGap
Native iPhone App Native Android App
25
26
27
28
29
30
31
32
33
34
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:
Subject-centric view of the presented information
35
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
• Max. practical size on my phone
(Samsung Galaxy S): ~2000 topics,
~5000 associations
36
W E B V E V E R I E T
Future work
• Maiana Integration
• Support for GeoURIs
• Publish the Subjects App as Open
Source!
• Web SQL Database support (tmjs)
• Editing features
37
W E B V E V E R I E T
Visualizing TMs in an
augmented reality browser
• On the rise: Topic maps with geo
information
• Supported in Ontopia, Maiana
• How can we view those topic maps on
mobile devices?
38
W E B V E V E R I E T
Visualizing TMs in an
augmented reality browser
• Augmented Reality Browsers:
Look through the camera of your phone
and get an annotated view of the world
around you
• Commercial AR-Browsers like Layers or
Wikitude let you create you own layers or
worlds
• Here: Experiment with Wikitude
39
W E B V E V E R I E T
Architecture
1. Request
2. Search index
3. Request
Response
4. Merge results
5. Response
AR-Server (Wikitude) Server w/ Topic Maps engine
Topic map with geo-tagged
topics
Based on http://www.wikitude.me/assets/WikitudeWebservice.pdf
Mobile phone
with Wikitude AR
Browser App
40
W E B V E V E R I E T
Augmented Reality Markup Language
Source: http://www.openarml.org/wikitude4.html
41
42
43
44
45
46
47
48
49
W E B V E V E R I E T
Visualizing TMs in an
augmented reality browser
• Prototype: Biological Specimen observation
data
• Other use cases:
• E-learning, teaching in the field: Geology,
Biology
• Travel: City guides
• Unsolved: switch between TM viewer and
AR-browser
50
W E B V E V E R I E T
Summary
• Intro to Topic Maps
• HTML, CSS & JavaScript for (native) apps
• Tools for the creation of semantic mobile
apps: tmjs, PhoneGap
• Two use cases:
• A generic Topic Maps viewer
• Visualization of TMs in a AR-browser
51
W E B V E V E R I E T
Thank you
Questions?
Download tmjs now! http://github.com/jansc/tmjs
Company: http://www.ravn.no
Blog: http://www.semanticheadache.com
52

More Related Content

Similar to Topic Maps based applications on iPhone OS and Android

Appcelerator Titanium Intro
Appcelerator Titanium IntroAppcelerator Titanium Intro
Appcelerator Titanium Intro
Nicholas Jansma
 
Zadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone DevelopmentZadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone Development
Niko Vrdoljak
 
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Bala Subra
 
Idea to Appstore with Titanium Mobile
Idea to Appstore with Titanium MobileIdea to Appstore with Titanium Mobile
Idea to Appstore with Titanium Mobile
Christian Sulllivan
 
WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...
WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...
WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...
WSO2
 
Transmission2 25.11.2009
Transmission2 25.11.2009Transmission2 25.11.2009
Transmission2 25.11.2009
Patrick Lauke
 
Sinergija 12 Windows Phone is around the corned
Sinergija 12   Windows Phone is around the cornedSinergija 12   Windows Phone is around the corned
Sinergija 12 Windows Phone is around the corned
Catalin Gheorghiu
 

Similar to Topic Maps based applications on iPhone OS and Android (20)

Appcelerator Titanium Intro
Appcelerator Titanium IntroAppcelerator Titanium Intro
Appcelerator Titanium Intro
 
Zadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone DevelopmentZadar Developers Hub - Windows Phone Development
Zadar Developers Hub - Windows Phone Development
 
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
Mobile Development Architecture Ppt with Slides, Book Notes on using Web Silv...
 
Idea to Appstore with Titanium Mobile
Idea to Appstore with Titanium MobileIdea to Appstore with Titanium Mobile
Idea to Appstore with Titanium Mobile
 
Wikipedia Mobile App with PhoneGap
Wikipedia Mobile App with PhoneGapWikipedia Mobile App with PhoneGap
Wikipedia Mobile App with PhoneGap
 
Mobile applications chapter 2
Mobile applications chapter 2Mobile applications chapter 2
Mobile applications chapter 2
 
Windows Phone Introduction
Windows Phone IntroductionWindows Phone Introduction
Windows Phone Introduction
 
WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...
WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...
WSO2Con Asia 2014 - Accelerating Mobile Development with Mobile Enterprise Ap...
 
Memoways Presentation August 2013
Memoways Presentation August 2013Memoways Presentation August 2013
Memoways Presentation August 2013
 
Transmission2 25.11.2009
Transmission2 25.11.2009Transmission2 25.11.2009
Transmission2 25.11.2009
 
Sinergija 12 Windows Phone is around the corned
Sinergija 12   Windows Phone is around the cornedSinergija 12   Windows Phone is around the corned
Sinergija 12 Windows Phone is around the corned
 
developementofmobileapplication-160412025313 (1).pptx
developementofmobileapplication-160412025313 (1).pptxdevelopementofmobileapplication-160412025313 (1).pptx
developementofmobileapplication-160412025313 (1).pptx
 
Accelerating Mobile Development with Mobile Enterprise Application Platforms ...
Accelerating Mobile Development with Mobile Enterprise Application Platforms ...Accelerating Mobile Development with Mobile Enterprise Application Platforms ...
Accelerating Mobile Development with Mobile Enterprise Application Platforms ...
 
Teknologi Aplikasi Web I : Internet
Teknologi Aplikasi Web I : InternetTeknologi Aplikasi Web I : Internet
Teknologi Aplikasi Web I : Internet
 
Mobility today & what's next. Application ecosystems.
Mobility today & what's next.Application ecosystems.Mobility today & what's next.Application ecosystems.
Mobility today & what's next. Application ecosystems.
 
Sinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the cornerSinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the corner
 
Webinar Mobile ECM Apps with Nuxeo EP
Webinar Mobile ECM Apps with Nuxeo EPWebinar Mobile ECM Apps with Nuxeo EP
Webinar Mobile ECM Apps with Nuxeo EP
 
DDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su LotusDDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su Lotus
 
Nuxeo World Session: Mobile ECM Apps with Nuxeo EP
Nuxeo World Session: Mobile ECM Apps with Nuxeo EPNuxeo World Session: Mobile ECM Apps with Nuxeo EP
Nuxeo World Session: Mobile ECM Apps with Nuxeo EP
 
Web_of_Things_2013
Web_of_Things_2013Web_of_Things_2013
Web_of_Things_2013
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Topic Maps based applications on iPhone OS and Android

  • 1. W E B V E V E R I E T Ravn Webveveriet AS, 2010-11-11 Jan Schreiber <jans@ravn.no> Topic Maps based applications on iPhone OS and Android XML Holland 2010
  • 2. W E B V E V E R I E T Ravn • Founded in 1998, based in Oslo • Publishing solutions based on Topic Maps • E-learning standards: (NOR)LOM, IMS QTI, OAI-PMH • Customers: CappelenDamm, national sites for nature science and mathematics, The Royal Palace of Norway, The Norwegian Labour Inspection Authority 2
  • 3. W E B V E V E R I E T Outline • Topic Maps (TMs) in two minutes • tmjs - A TM Engine in JavaScript • Subjects App - A generic TM viewer • Visualizing TMs in an augmented reality browser 3
  • 4. W E B V E V E R I E T Topic Maps introduction • International Standard (ISO 13250) • Description and exchange of knowledge structures • Improves findability of information • More info at http://www.topicmaps.org 4
  • 5. W E B V E V E R I E T Topic Maps are about subjects Topics are "proxies" for subjects that you might want to talk about Based on Steve Pepper: Topic Maps (2010), in Encyclopedia of Library and Information Sciences, Third Edition A topic in the computer domain A subject in the real world 5
  • 6. W E B V E V E R I E T <http://psi.ravn.no/norlom/vocabulary/ educational-learning-resource-type#simuleringer> Identity and merging • Subject locators (direct) • Subject identifiers (indirect) Topic Topic <http://psi.ravn.no/norlom/vocabulary/educational- learning-resource-type#simuleringer> Topic Map #1 Topic Map #2 6
  • 7. W E B V E V E R I E T Photo: Christine Veeschkens CC: Some rights reserved Geranium sanguineum Name Occurrence Type Topic Picture <http://www.flickr.com/photos/chris_vees/4649759088/> Name Blodstorkenebb Scope Norwegian Occurrence "30-40cm" Type Size 7
  • 8. W E B V E V E R I E T Photo: Christine Veeschkens CC: Some rights reserved Geranium sanguineum Donus vidua AssociationAss. role Role type Topic Association type is-food-plant-forfood plant species 8
  • 9. W E B V E V E R I E T The TM Universe 9
  • 10. W E B V E V E R I E T JavaScript • JavaScript is LISP with a C-like syntax 10
  • 11. W E B V E V E R I E T JavaScript • JavaScript is LISP with a C-like syntax • Virtually every personal computer in the world has at least one JavaScript interpreter installed on it and in active use 11
  • 12. W E B V E V E R I E T tmjs • A Topic Maps engine • Written in pure JavaScript • Full Topic Maps Data Model (TMDM) • Standard API: TMAPI 2.0-based • Unit tests, CXTM tests (most of it) & JSLint validating 12
  • 13. W E B V E V E R I E T tmjs • Platform independent: All modern browsers, mobile devices (iPhone, iPad & Android), server-side JavaScript • In-memory backend, JSON Topic Maps (JTM) import/export • Fast on modern JavaScript engines • It's Open Source (MIT license) 13
  • 14. W E B V E V E R I E T Future work • Persistence: • Web SQL Database backend • Persistent backend for Node (couchdb?) • Complete TMAPI, add more tests, full CXTM • More import/export formats: XTM 2.0, CTM • Later: Query language 14
  • 15. W E B V E V E R I E T JSON Topic Maps (JTM 1.0) 15
  • 16. W E B V E V E R I E T JSON Topic Maps (JTM 1.1) JTM 1.1 introduced features for aimed at mobile platforms • Prefixes. Usually QNames, but: what about e.g. isbn:0321154991 ? • => SafeCURIEs1 • special case for type-instance associations • Summary: Much more compact than JTM 1.0, but still simple to parse 1) CURIE Syntax 1.0, A syntax for expressing Compact URIs, http://www.w3.org/TR/curie/ 16
  • 17. W E B V E V E R I E T JSON Topic Maps (JTM 1.1) 17
  • 18. W E B V E V E R I E T The Subjects App • A generic Topic Maps viewer for mobile phones • It's a prototype! • Idea: Browse small topic maps directly on a mobile device • Uses the tmjs Topic Maps engine • It's three applications in one: • iPhone App • Android App • Web Application 18
  • 19. W E B V E V E R I E T Native vs.Web app • Native pros: functionality, cosmetics • Native cons: a platform nightmare • Web pros: cross-platform, easy to develop, easy testing • Web cons: no access to native functions (File IO, contacts API, accelerometer, camera, sound, etc.) and what about the App store? 19
  • 20. W E B V E V E R I E T We can do both! 20
  • 21. W E B V E V E R I E T PhoneGap • Open Source development tool created by nitobi • PhoneGap wraps a Web app into a native app • Gives JavaScript access to native functions • You get App-store ready apps 21
  • 22. W E B V E V E R I E T Source: http://wiki.phonegap.com/Roadmap 22
  • 23. W E B V E V E R I E T Native vs.Web app conclusion Web apps are the way to go! • Platform independent • Simplified development • Almost as flexible and powerful as native apps 23
  • 24. W E B V E V E R I E T jQTouch • jQuery plugin by David Kaneda, maintained by Jonathan Stark • Native look & feel for iPhone and Android with CSS3 animations • WebKit Animations, Navigation, Image Preloading, Events, Themes, Extensions, MIT license • Similar: jQuery mobile, Sencha's touch lib (both support iPad) http://www.jqtouch.com 24
  • 25. W E B V E V E R I E T Architecture HTML rendering subjects.js jQTouch jQuery tm.js PhoneGap Native iPhone App Native Android App 25
  • 26. 26
  • 27. 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. 31
  • 32. 32
  • 33. 33
  • 34. 34
  • 35. 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: Subject-centric view of the presented information 35
  • 36. 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 • Max. practical size on my phone (Samsung Galaxy S): ~2000 topics, ~5000 associations 36
  • 37. W E B V E V E R I E T Future work • Maiana Integration • Support for GeoURIs • Publish the Subjects App as Open Source! • Web SQL Database support (tmjs) • Editing features 37
  • 38. W E B V E V E R I E T Visualizing TMs in an augmented reality browser • On the rise: Topic maps with geo information • Supported in Ontopia, Maiana • How can we view those topic maps on mobile devices? 38
  • 39. W E B V E V E R I E T Visualizing TMs in an augmented reality browser • Augmented Reality Browsers: Look through the camera of your phone and get an annotated view of the world around you • Commercial AR-Browsers like Layers or Wikitude let you create you own layers or worlds • Here: Experiment with Wikitude 39
  • 40. W E B V E V E R I E T Architecture 1. Request 2. Search index 3. Request Response 4. Merge results 5. Response AR-Server (Wikitude) Server w/ Topic Maps engine Topic map with geo-tagged topics Based on http://www.wikitude.me/assets/WikitudeWebservice.pdf Mobile phone with Wikitude AR Browser App 40
  • 41. W E B V E V E R I E T Augmented Reality Markup Language Source: http://www.openarml.org/wikitude4.html 41
  • 42. 42
  • 43. 43
  • 44. 44
  • 45. 45
  • 46. 46
  • 47. 47
  • 48. 48
  • 49. 49
  • 50. W E B V E V E R I E T Visualizing TMs in an augmented reality browser • Prototype: Biological Specimen observation data • Other use cases: • E-learning, teaching in the field: Geology, Biology • Travel: City guides • Unsolved: switch between TM viewer and AR-browser 50
  • 51. W E B V E V E R I E T Summary • Intro to Topic Maps • HTML, CSS & JavaScript for (native) apps • Tools for the creation of semantic mobile apps: tmjs, PhoneGap • Two use cases: • A generic Topic Maps viewer • Visualization of TMs in a AR-browser 51
  • 52. W E B V E V E R I E T Thank you Questions? Download tmjs now! http://github.com/jansc/tmjs Company: http://www.ravn.no Blog: http://www.semanticheadache.com 52