programming android client for smart-m3 applications -0 · programming android client for smart-m3...

11
Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University Department of Computer Science Grant KA179 “Complex development of regional cooperation in the field of open ICT innovations” of Karelia ENPI CBC programme 2007–2013 of the European Union, the Russian Federation and the Republic of Finland 14 th FRUCT Conference November 12, 2013, Helsinki, Finland Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 1 / 11

Upload: others

Post on 11-Jul-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Programming Android Clientfor Smart-M3 Applications

Pavel Y. Kovyrshin, Dmitry G. Korzun

Petrozavodsk State UniversityDepartment of Computer Science

Grant KA179 “Complex development of regional cooperation in the fieldof open ICT innovations” of Karelia ENPI CBC programme 2007–2013 of the European Union,the Russian Federation and the Republic of Finland

14th FRUCT ConferenceNovember 12, 2013, Helsinki, Finland

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 1 / 11

Page 2: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Smart-M3 Application

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 2 / 11

Page 3: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Implementation tasks

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 3 / 11

Page 4: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Development kits

Android SDK for Java based GUI design

Android NDK for C based applicationlogic implementation

Java Native Interface (JNI) is a bridge between user interface and logic

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 4 / 11

Page 5: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Client architecture

User interface module usesAndroid SDK and is Java based

JNI is platform dependent

Application logic is C writtenand supported by Android NDK

SmartSlog supports:I high-level KP developmentI heterogeneous devices

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 5 / 11

Page 6: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

SmartRoom Service Environment

Many services in SmartRoomMany personal clients to access the servicesMany mobile platforms to host the clients

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 6 / 11

Page 7: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Agenda service

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 7 / 11

Page 8: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Presentation service

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 8 / 11

Page 9: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Client scenario

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 9 / 11

Page 10: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Microphone service

1 Initialization2 Publishing address3 Listening for connections4 Receiving data5 Playing audio flow

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 10 / 11

Page 11: Programming Android Client for Smart-M3 Applications -0 · Programming Android Client for Smart-M3 Applications Pavel Y. Kovyrshin, Dmitry G. Korzun Petrozavodsk State University

Conclusion

Published on Google playhttps://play.google.com/store/apps/

Project sources on sourceforgehttp://sourceforge.net/projects/smartroom/

Project wikihttp://oss.fruct.org/wiki/SmartRoom

Pavel Kovyrshin Android Client for Smart-M3 Applications FRUCT14 11 / 11