Looc: a Cyber-Physical Social Network on Android Platforms
Total Page:16
File Type:pdf, Size:1020Kb
LOOC: A CYBER-PHYSICAL SOCIAL NETWORK ON ANDROID PLATFORMS By CARMEN PATRICIA AYERDIS ESPINOZA Bachelor of Computer Systems Universidad Católica Managua, Nicaragua 2000 Submitted to the Faculty of the Graduate College of the Oklahoma State University in partial fulfillment of the requirements for the Degree of MASTER OF SCIENCE December, 2010 LOOC: A CYBER-PHYSICAL SOCIAL NETWORK ON ANDROID PLATFORMS Thesis Approved: Dr. Xiaolin Li Thesis Adviser Dr. Subhash Kak Dr. Blayne Mayfield Dr. Mark E. Payton Dean of the Graduate College ii ACKNOWLEDGMENTS I would love to express my gratitude to all the people who support me during this amazing two years. I am very grateful with Fulbright Fellowship for this life experience. Also, my thanks go to Dr. Li for the opportunity to work with him and be part of his amazing team of students. It was such an exciting experience to be part of the computer science family at Oklahoma State University. I have never met such a faculty so excited to teach their students how to be better and more dedicated. Special thanks to the wonderful family God gave me. My gratitude goes to my baby brother Jose Luis for being such a wonderful source of inspiration. Thanks to God for giving me the best American sister I could possible ask, Stacey Bridges who welcomed in her house and her life. Thanks to Noah Paul Evans for making me smile during this year. While studying in OSU I met amazing people and friends….Thanks to everybody who supports me. Finally, to my dad Dr. Guillermo Ayerdis thanks, you were right…… this country is an amazing one and I still miss you. This work is dedicated especially to you iii TABLE OF CONTENTS I INTRODUCTION ................................................................................................................ 1 1.1 Purpose of the study ...................................................................................................... 2 1.2 Objectives of the study ................................................................................................. 2 1.3 Significance of the study ............................................................................................... 3 II REVIEW OF LITERATURE .............................................................................................. 4 2.1 Android ........................................................................................................................ 4 2.2 What is Android? .......................................................................................................... 4 2.3 Benefits of working with Android ................................................................................ 6 2.4 Requirements to work with Android ............................................................................ 7 2.4.1 Eclipse Java Editor ................................................................................................. 7 2.4.2 Android SDK ......................................................................................................... 9 2.4.3 Java and Dalvik Virtual Machine .......................................................................... 9 2.4.3 Eclipse Debugger ................................................................................................... 9 2.4.4 Logcat .................................................................................................................. 10 2.4.5 Android Debug Bridge (ADB) ............................................................................. 10 2.5 System Requirements ................................................................................................. 10 2.6 Features in Android .................................................................................................... 11 2.7 System Architecture in Android ................................................................................. 12 2.7.1 Linux Kernel ........................................................................................................ 13 2.7.2 Libraries ............................................................................................................... 13 2.7.3 Android Runtime ................................................................................................. 14 2.7.3.1 Davilk Virtual Machine ................................................................................ 14 2.7.3.2 Core libraries ................................................................................................. 15 2.7.4 Application Framework ....................................................................................... 15 2.7.5 Application Layer ................................................................................................ 15 2.8 Android Application Life Cycle ................................................................................. 16 2.8.1 Activities .............................................................................................................. 16 2.8.2 Services ................................................................................................................ 20 2.8.3 Content providers ................................................................................................ 21 iv 2.8.4 Intents ................................................................................................................... 21 2.8.5 Broadcast receivers .............................................................................................. 21 2.9 Application priority in Android .................................................................................. 21 2.10 Create applications in Android ................................................................................. 24 2.11 The AndroidManifest.xml File ................................................................................. 28 2.12 Android phones to test applications .......................................................................... 28 2.12.1 T-Mobile G1 ...................................................................................................... 28 2.12.1Android Dev Phone 1 .......................................................................................... 28 2.13 Social Computing ..................................................................................................... 29 2.14 What is a social network site? ................................................................................... 30 2.15 Benefits in using social networks ............................................................................. 32 2.16 Basic features of a social network site ...................................................................... 33 2.16.1 Accounts ............................................................................................................ 33 2.16.2 Profiles ............................................................................................................... 33 2.16.3 Friends ................................................................................................................ 34 2.16.4Messaging ........................................................................................................... 34 2.16.5 Media galleries ................................................................................................... 34 2.16.6 Blogging ............................................................................................................. 34 2.16.7 Message boards .................................................................................................. 35 2.16.8 Groups ................................................................................................................ 35 2.16.9 Comments and tags ............................................................................................ 35 2.17 Mobile Social Computing ......................................................................................... 36 2.18 Mobile Social applications ........................................................................................ 37 2.18.1 Mobile micro-blogging ..................................................................................... 38 2.18.2 Mobile lifestreamming ....................................................................................... 38 2.18.3 Mobile social tagging ......................................................................................... 38 2.18.4 Mobile podcasting .............................................................................................. 39 2.18.5 Mobile social network ........................................................................................ 39 2.18.6 Mobile social gaming ......................................................................................... 39 2.19 Android and social networks .................................................................................... 40 2.20 Cyber-Physical Systems definition ........................................................................... 40 2.21 CPS design models ................................................................................................... 41 2.22 Challenges in CPS .................................................................................................... 42 2.23 Physical Topology .................................................................................................... 45 III.METHODOLOGY .........................................................................................................