[PDF] Recommending Trigger-Action Rules for the IoT





Previous PDF Next PDF



Recommending Trigger-Action Rules for the IoT

the ontology by which the application is supported (EUPont) and some tools and libraries of Android (e.g. Room Database Data bindings)



Android Sqlite Rawquery Select Where Example

Example 1 Create a SQLite Database Device's memory Android's System Image. rawquery select where example code in android application is a query and then ...



UltraLite® - Java Programming

1 gen 2012 Lesson 4: Testing your Android application and synchronizing .................. 38 ... “Java SE example: Creating a database” on page 27.



Android SQLite database and content provider - Tutorial

SQLiteQueryBuilder is a convenience class that helps to build SQL queries. 2.4. rawQuery() Example. The following gives an example of a rawQuery() call. Cursor 



[Master Thesis] Cross-platform mobile application generation with a

build applications faster while keeping them consistent throughout Figure 2 Mobile devices in GSMArena's database . ... Smartphone iOS or Android.



Valente Pali

With water in mind lets create some tables. See along the data authorities the shared preferences used in your application. Most sleep the onupgrade samples 



Centralized Database for Android and Web Application

The android application will be having its own local database (SQLite database) which will Fig 1: Example for creating SQLiteOpenHelper Class [4].



AND-801: Android Application Development Exam Sample

Manual generation of SQL to create & drop tables. b. Simple setup of classes by adding annotations. c. Making native calls to Android SQLite database APIs. d.



Planning installation

https://www.ibm.com/docs/SSLKT6_7.6.0/com.ibm.si.mpl.doc_7.5.2/pdf_si_mpl_install.pdf



Heuristics and Evolutionary Algorithms for Android Malware

1 apr 2018 Hence a typical pattern among malware developers is to repack popular applications from Google Play by adding malicious features and distribute ...



[PDF] Android-Chapter17-SQL-Databasespdf

An alternative way of opening/creating a SQLITE database in your local Android's data Android as: /data/data//databases/myFriendsDB2



[PDF] Android SQLite database and content provider - Tutorial

To create and upgrade a database in your Android application you create a subclass of the The following gives an example of a rawQuery() call



(PDF) Android SQLite Database and Content Provider Tutorial

This tutorial describes how to use the SQLite database in Android applications It also demonstrates how to use existing ContentProvider and how to define 



[PDF] android-sqlitepdf

SQLite in Android abstract: layer of abstraction between stored data and app(s) common syntax: database e g INSERT INTO files (data size title)



[PDF] comment créer une base de données SQLite avec lAndroid Studio

avec l'Android Studio L'objectif est de savoir comment créer une BD à l'aide du moteur SQLite avec l'option CRUD (Create Read Update Delete) 



Android SQLite Database Example Tutorial - DigitalOcean

3 août 2022 · For Android SQLite is “baked into” the Android runtime so every Android application can create its own SQLite databases



[PDF] An Android Studio Sqlite Database Tutorial Full PDF - Adecco

29 jan 2022 · Android CRUD Tutorial with SQLite (Create Read Update Delete) Save data into SQLite database [Beginner Android Studio Example] SQLite + 



(PDF) Automatic Generation of Android SQLite Database Components

Abstract and Figures · 1 Create Android app using Android Studio · 2 Fill out required database information (database name tables columns and its · 3 After 



[PDF] Creating and Using Databases for Android Applications - NADIA

International Journal of Database Theory and Application Vol 5 No 2 June 2012 99 Creating and Using Databases for Android Applications Sunguk Lee



[PDF] An-Android-Studio-SQLite-Database-Tutorialpdf

integrating relational database storage into Android applications using the of this example we will simply remove the old database and create a new one:

:
Recommending Trigger-Action Rules for the IoT

POLITECNICO DI TORINO

Master degree in Computer Engineering

Master Degree Thesis

Recommending Trigger-Action

Rules for the IoTSupervisors:

Fulvio CORNO

Luigi DE RUSSIS

Alberto MONGE ROFFARELLO

Candidate:

Alessia MANTOVANI

December 2018

Contents

1 Introduction1

1.1 Problem definition . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1.2 Thesis goal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3

1.3 Thesis structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3

2 Background7

2.1 EUPont ontology . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7

2.2 Android . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

9

3 Analysis11

3.1 Research stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11

3.2 Android features . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13

3.3 Facebook service . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

15

4 Design17

4.1 System architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . .

17

4.2 Rule creation processes . . . . . . . . . . . . . . . . . . . . . . . . . .

19

4.3 Application structure . . . . . . . . . . . . . . . . . . . . . . . . . . .

22

5 Implementation25

5.1 Android application . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25

5.1.1 User interface . . . . . . . . . . . . . . . . . . . . . . . . . . .

25

5.1.2 Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

27

5.1.3 Data association . . . . . . . . . . . . . . . . . . . . . . . . .

32

5.2 Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32

5.3 Webhook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

6 In-the-wild evaluation37

6.1 Study procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

37

6.2 Measures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

38
iii

7 Results39

7.1 Data discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

39

8 Conclusions45

8.1 Future works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

A Appendix47

A.1 User information document . . . . . . . . . . . . . . . . . . . . . . . 47
A.2 Initial questionnaire . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
A.3 Final questionnaire . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

B Tables53

B.1 Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
B.1.1 Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
B.1.2 EventListened . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

Bibliography77

iv

List of Tables

3.1 Android Actions not supported . . . . . . . . . . . . . . . . . . . . .

13

3.2 Android Actions supported . . . . . . . . . . . . . . . . . . . . . . . .

13

3.3 Android Triggers supported . . . . . . . . . . . . . . . . . . . . . . .

14

3.4 Facebook Triggers supported . . . . . . . . . . . . . . . . . . . . . . .

15

3.5 Facebook Actions supported . . . . . . . . . . . . . . . . . . . . . . .

15

4.1 Local Database Tables . . . . . . . . . . . . . . . . . . . . . . . . . .

23

7.1 End-user evaluation results - part 1 . . . . . . . . . . . . . . . . . . .

43

7.2 End-user evaluation results - part 2 . . . . . . . . . . . . . . . . . . .

44
B.1 Triggers first list - part 1 . . . . . . . . . . . . . . . . . . . . . . . . . 54
B.2 Triggers first list - part 2 . . . . . . . . . . . . . . . . . . . . . . . . . 55
B.3 Triggers first list - part 3 . . . . . . . . . . . . . . . . . . . . . . . . . 56
B.4 Triggers first list - part 4 . . . . . . . . . . . . . . . . . . . . . . . . . 57
B.5 Actions first list - part 1 . . . . . . . . . . . . . . . . . . . . . . . . . 58
B.6 Actions first list - part 2 . . . . . . . . . . . . . . . . . . . . . . . . . 59
B.7 Actions first list - part 3 . . . . . . . . . . . . . . . . . . . . . . . . . 60
v

List of Figures

2.1 EUPont structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8

4.1 General architecture . . . . . . . . . . . . . . . . . . . . . . . . . . .

18

4.2 Android features process . . . . . . . . . . . . . . . . . . . . . . . . .

20

4.3 Facebook service architecture . . . . . . . . . . . . . . . . . . . . . .

21

4.4 Application structure . . . . . . . . . . . . . . . . . . . . . . . . . . .

22

5.1 Application login . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

26

5.2 Application places list . . . . . . . . . . . . . . . . . . . . . . . . . .

26

5.3 Application rule details . . . . . . . . . . . . . . . . . . . . . . . . . .

26

5.4 Application home . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

26

5.5 EventDB Room table . . . . . . . . . . . . . . . . . . . . . . . . . . .

29

5.6 TriggerActionDB Room table . . . . . . . . . . . . . . . . . . . . . .

30

5.7 Registration/Login process . . . . . . . . . . . . . . . . . . . . . . . .

33

7.1 Distribution total rules . . . . . . . . . . . . . . . . . . . . . . . . . .

39

7.2 Distribution rules per user . . . . . . . . . . . . . . . . . . . . . . . .

40

7.3 Distribution features: data form the evaluation . . . . . . . . . . . . .

41

7.4 Distribution features: data from initial questionnaire . . . . . . . . .

41

7.5 Application utility (1 = not useful, 5 = very useful) . . . . . . . . . .

42
A.1 Application rule details . . . . . . . . . . . . . . . . . . . . . . . . . . 49
A.2 Application home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
vi

Chapter 1

Introduction

The Internet of Things (IoT) is the Internet extended into to the physical world. Its function is to collect data from IoT objects and transform them into useful information. These objects can be standard devices, such as computers, smartphones and tablets, but also online services or any kind of non-internet-enabled physical device and everyday objects. Although IoT objects do most of the work without any human intervention, people can interact with them for example to set them up, to give them instructions or simply to access the data. For empowering users to program their IoT objects, a promising approach has been adopted (i.e. EUD). End-User Development (EUD) refers to activities and tools that allow end users (i.e., people who are not professional software developers) to program computers. One of the most used format in EUD is Trigger-Action programming paradigm. It is a paradigm where the user must define rules by means of "if-then" constructs, to create event-action rules. In the last years, an evolution of this area was the use of mobile devices to support end users development activities. Although EUD in the IoT has recently gained interest, interoperability and scalability challenges remain. With the spread of new smart "things", the amount of information may become too high and cluttered [1]. Therefore the most important concepts of the just mentioned paradigm are: •Trigger: an event that, when detected, causes the execution of an Action; •Action: an operation that is executed as a consequence of a Trigger; •Rule: the association of a Trigger with an Action (an example of a rule could be: IF I go into my home, THEN turn on smartphone Wi-fi); This thesis wants to use the EUD approach and the Trigger-Action program- ming paradigm, adding a system of automatic recommendations instead of having 1quotesdbs_dbs7.pdfusesText_5
[PDF] how to create digital signature in adobe acrobat pro

[PDF] how to create gckey

[PDF] how to create google form from google sheet

[PDF] how to create google form link

[PDF] how to create google form ppt

[PDF] how to create index page in word

[PDF] how to create ios in house profile

[PDF] how to create metrics in adobe analytics

[PDF] how to create pdf report in oracle apex

[PDF] how to create plugin for adobe acrobat

[PDF] how to create schema in adobe campaign standard

[PDF] how to create youtube channel

[PDF] how to customize google forms

[PDF] how to debate pdf

[PDF] how to debug apk in mobile