Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
Mobile Multi-Service Smart Room Client:Initial Study for Multi-Platform Development
Andrey S. Vdovenko, Sergey A. Marchenkov, Dmitry G. Korzun
Petrozavodsk State UniversityDepartment of Computer Science
This project is supported by grant KA179 of Karelia ENPI - joint programof the European Union, Russian Federation and the Republic of Finland
13th FRUCT conferenceApril 25, 2013, Petrozavodsk, Russia
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 1 / 15
Table of Contents
1 Smart Room
2 Development of SR clients
3 Conclusion
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 2 / 15
Smart Room
Smart Room system
Smart Room aims at many services:informational, control, collaborative work, . . .
Participation of many users Many (mobile) clients running and accessing SR services
Users come with own devices Many mobile platforms
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 3 / 15
Smart Room
Multi-Service PropertyServices allow user interact with SmartRoom and get different sortof informationAccess to services go via a client from a mobile device of user
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 4 / 15
Smart Room
Client for Smart Room
Basic servicesI everyone uses them, e.g., slide show
Personalized service access (UI design problem)I appropriate services from a large set
SR services appear and disappear dynamically
Development unification (as much as possible, trade-offs)I Windows Phone and Symbian (Qt) are our reference casesI Desktop solutions (Windows, Linux)I Android and iOS are in progress
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 5 / 15
Development of SR clients
Multi-platform considerations
Platform Programming language IDEAndroid Java, partly C, C++ EclipseiOS Objective-C XcodeSymbian platform C++, QML Qt CreatorWindows Phone 7&8 C#, Visual Basic Visual Studio 2010Windows desktop C#, Visual Basic Visual Studio
A lot of programming languages and IDEsGUI is platform-aware
I Universal GUI frameworks are not mature enough
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 6 / 15
Development of SR clients
Object oriented design
KnowledgeProcessor - SmartSpace interactionClasses of main services - e.g. Agenda (list of participants),Projector (presentation, changing slides) and etcInternal logic - logic of work with got dataGraphical user interface - representation of information on user’sdevice
Green - same partRed - different part
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 7 / 15
Development of SR clients
Smart Spaces SDK
The primary SDK is SmartSloghttp://oss.fruct.org/wiki/SmartSlog/
ANSI C version for mobile Linux family, Qt/Symbian, Android, iOSC# version for Windows desktop family, Windows Phone 7&8High-level (model-driven, ontology-based) programmingModest to device capacity
Use of native code is required for some platforms
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 8 / 15
Development of SR clients
User interface
Each service as tabMenu with all servicesStatic and dynamic services
Static - implemented for eachplatformDynamic - download fromavailable services
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 9 / 15
Development of SR clients
HTML5 solutions
HTML5 application with specialized mobile frameworks(PhoneGap, jQuerry Mobile, . . . ):
I ”+” one code for any platformI ”+” application can be used in any browserI ”-” bad performance on old mobile devicesI ”-” some difficulties in implementation
HTML5+CSS+JavaScript pagesI ”+” many platforms support HTML5I ”+” one page for all platformsI ”+” cross-platformI ”-” some difficulties in implementation
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 10 / 15
Development of SR clients
MVVM pattern
Model is data required for the application;View is graphical user interface;ViewModel contains data for View and commands for workwith Model.
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 11 / 15
Development of SR clients
Graphical user interface examples
Agenda on WP Agenda on Windows
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 12 / 15
Development of SR clients
Graphical user interface examples
Agenda on Symbian Projector on Symbian
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 13 / 15
Development of SR clients
Android and iOS
AndroidI JavaI ANSI C SmartSlogI IDE Eclipse
iOSI Objective-CI ANSI C SmartSlogI IDE XCode
Every platform use MVC pattern for default
Come to our demo to see what we have
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 14 / 15
Conclusion
Results
Service PlatformAgenda Windows family, Symbian, Android, iOSProjector Windows family, SymbianAutorization Windows family, Symbian, AndroidBlogging In futureSensors In futureGoogle Schoolar In future
We have solution for dynamic services;We almost have basic services for each platform;
Andrey Vdovenko Mobile Multi-Service Smart Room Client FRUCT13 15 / 15