Geo Location &
   Communication
Framework for Mobile
      Platform
   By Benson Lim and Liu Tianwei
Motivations

• High growth rate of LBS on mobile phone
• Lack of simple implementation for
  developer
• No easy way for communication between
  neighbouring mobile devices.
Objectives and Goals
• To develop a library which developers can
  make use of
   • Geo Location and Communications
• To create applications to demostrate the
  usage of our framework
   • Geoscribe and bluetooth chat-room
Research Done
• Professional Android Application
  Development by Reto Meier
• The Busy Coder’s Guide to Android
  Development by Mark L. Murphy
• Sams Teach Yourself Android Application
  Development in 24 Hours by Lauren
  Darcey & Shane Conder
• Google Android Developers’ Forum
Research Done
• Broadcast-Based Peer-to-Peer
  Collaborative Video Streaming among
  Mobiles by Man-Fung Leung & S-H. Gary
  Chan
• Bluetooth Dynamic Topology by Suresh
  Srinivasan, Keyur Desai, Akash Tilak
  Choudhari and Dinesh Rajan
• Always Best Connected by Eva Gustafsson
  and Annika Jonsson, Ericsson Research
Research Done


• Practical API Design: Confessions of a Java
  Framework Architect by Jaroslav Tulach
Solution


• Framework for
   -   Geo Location Services
   -   P2P Blue-tooth Communications
Solution - Con’t

• Client-based implementation
• SOAP compliance
• Power Management
• Security
Framework Overview
                      Applications
Mobile Games       Geoscribe     Chat-room         ...


                          Core Apis
                                       Communication
      Geo location Apis                   Apis


                          Libraries
 Math library    Map Library    GUI Library   Communication
                                                 Library



                          Link layer
Applications Layer
•   Mobile Games
•   Chat-room
•   File sharing server
•   Download boaster
•   GPS
•   Geoscribe
•   ...
Geo Locations Apis

• get location()
• locationToMap()
• findNearby()
• showAppUser()
• getApproxLocation()
Geo Location Services
• Get location
• Get misc readings, eg altitude, speed etc
• Notify users when readings changed
• To get locations of friends, with integration
  from other components
• Map integrations
Geo Location Services
• Map Integration




            • Path Calculation
P2P
      Communication
• Seamless Connections to a bluetooth
  piconet/scatter net
• Allow sending of data to one/many node of
  the scatter net.
• Allow usage of resources of all node in the
  ad-hoc network.
P2P
    Communication
               C




A
Communication Apis

• Initialize()
• routeTrace()
• getConnectedNodes()
• createNetwork
• joinNetwork
Libraries

• Math Library
   -   Range Calculations, Shortest path, etc


• Map Library
   -   Creating overlays, etc
Libraries
• GUI Library
   -   Create Views, modify Views, etc


• Communications Library
   -   sendBtye(), setSendHandler(), isSending(), recvBtye(), etc

   -   Encryption
Link Layer

• To link with platform Apis
• Allow for cross platform
  implementation(portability)
SOAP compliance

• Simple Object Access Protocol
• Between client and server
• Standardize way of communication
• Easy integration/propagation of library
Power Management
• Provide developers with various modes of
  operations
 • High Accuracy Mode
 • Power Saving Mode
 • All-Rounded Mode
 • User customizable Mode
• Do testing and provide developers with
  statistics
Security

• Allow developers to customize security
  settings
• Default: plug-and-play
• Application specific
• User specific
Geoscribe Demo
• Code Snippet
To be done

• Fully develop the libraries
• To design and implement the algorithm
  which the bluetooth communication will
  make use of
• Complete the Geoscribe and bluetooth
  chat-room application
Timeline & Conclusion
• Before start of Semester 2
   • Devise the communication algorithm
   • Complete the blue-tooth chatroom
   • Begin real world testing on geo
      location framework, power
      management
Timeline & Conclusion
• Semester 2 recess week
   • fully develop the libraries
   • complete the Geoscribe application
• Before CA4
   • Done real world testing
   • Push out framework and application as
      an open source project
Q&A

testing+123

  • 1.
    Geo Location & Communication Framework for Mobile Platform By Benson Lim and Liu Tianwei
  • 2.
    Motivations • High growthrate of LBS on mobile phone • Lack of simple implementation for developer • No easy way for communication between neighbouring mobile devices.
  • 3.
    Objectives and Goals •To develop a library which developers can make use of • Geo Location and Communications • To create applications to demostrate the usage of our framework • Geoscribe and bluetooth chat-room
  • 4.
    Research Done • ProfessionalAndroid Application Development by Reto Meier • The Busy Coder’s Guide to Android Development by Mark L. Murphy • Sams Teach Yourself Android Application Development in 24 Hours by Lauren Darcey & Shane Conder • Google Android Developers’ Forum
  • 5.
    Research Done • Broadcast-BasedPeer-to-Peer Collaborative Video Streaming among Mobiles by Man-Fung Leung & S-H. Gary Chan • Bluetooth Dynamic Topology by Suresh Srinivasan, Keyur Desai, Akash Tilak Choudhari and Dinesh Rajan • Always Best Connected by Eva Gustafsson and Annika Jonsson, Ericsson Research
  • 6.
    Research Done • PracticalAPI Design: Confessions of a Java Framework Architect by Jaroslav Tulach
  • 7.
    Solution • Framework for - Geo Location Services - P2P Blue-tooth Communications
  • 8.
    Solution - Con’t •Client-based implementation • SOAP compliance • Power Management • Security
  • 10.
    Framework Overview Applications Mobile Games Geoscribe Chat-room ... Core Apis Communication Geo location Apis Apis Libraries Math library Map Library GUI Library Communication Library Link layer
  • 11.
    Applications Layer • Mobile Games • Chat-room • File sharing server • Download boaster • GPS • Geoscribe • ...
  • 12.
    Geo Locations Apis •get location() • locationToMap() • findNearby() • showAppUser() • getApproxLocation()
  • 13.
    Geo Location Services •Get location • Get misc readings, eg altitude, speed etc • Notify users when readings changed • To get locations of friends, with integration from other components • Map integrations
  • 14.
    Geo Location Services •Map Integration • Path Calculation
  • 15.
    P2P Communication • Seamless Connections to a bluetooth piconet/scatter net • Allow sending of data to one/many node of the scatter net. • Allow usage of resources of all node in the ad-hoc network.
  • 16.
    P2P Communication C A
  • 17.
    Communication Apis • Initialize() •routeTrace() • getConnectedNodes() • createNetwork • joinNetwork
  • 18.
    Libraries • Math Library - Range Calculations, Shortest path, etc • Map Library - Creating overlays, etc
  • 19.
    Libraries • GUI Library - Create Views, modify Views, etc • Communications Library - sendBtye(), setSendHandler(), isSending(), recvBtye(), etc - Encryption
  • 20.
    Link Layer • Tolink with platform Apis • Allow for cross platform implementation(portability)
  • 21.
    SOAP compliance • SimpleObject Access Protocol • Between client and server • Standardize way of communication • Easy integration/propagation of library
  • 22.
    Power Management • Providedevelopers with various modes of operations • High Accuracy Mode • Power Saving Mode • All-Rounded Mode • User customizable Mode • Do testing and provide developers with statistics
  • 23.
    Security • Allow developersto customize security settings • Default: plug-and-play • Application specific • User specific
  • 24.
  • 25.
    To be done •Fully develop the libraries • To design and implement the algorithm which the bluetooth communication will make use of • Complete the Geoscribe and bluetooth chat-room application
  • 26.
    Timeline & Conclusion •Before start of Semester 2 • Devise the communication algorithm • Complete the blue-tooth chatroom • Begin real world testing on geo location framework, power management
  • 27.
    Timeline & Conclusion •Semester 2 recess week • fully develop the libraries • complete the Geoscribe application • Before CA4 • Done real world testing • Push out framework and application as an open source project
  • 28.

Editor's Notes