DEPARTMENT OF COMPUTER SCIENCE THE UNIVERSITY OF HONG KONG. CSIS0801 Final Year Project. WhozzUp - A Novel Big Data App for HK (Individual Report)
|
|
- Randolph Dixon
- 6 years ago
- Views:
Transcription
1 DEPARTMENT OF COMPUTER SCIENCE THE UNIVERSITY OF HONG KONG CSIS0801 Final Year Project WhozzUp - A Novel Big Data App for HK (Individual Report) Nundraj NARAYEN ( ) 4/17/2016
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Final Year Project Page 21
22 Page 22
23 Page 23
24 <meta-data android:name="com.facebook.sdk.applicationid" /> <meta-data android:name="com.google.android.geo.api_key" android:value="aizasyajx3c788ite-2vg3t9ror2aezrgzxn0rw" /> <meta-data android:name="com.google.android.gms.version" /> <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.access_fine_location" /> <uses-permission android:name="android.permission.access_coarse_location" /> <uses-permission android:name="android.permission.access_network_state" /> Final Year Project Page 24
25 loginbutton = (LoginButton) findviewbyid(r.id.login_button); loginbutton.setreadpermissions(arrays.aslist("user_status", "user_friends", "user_events", "public_profile", "user_actions.music", "user_likes", "user_location", "user_about_me")); Final Year Project Page 25
26 private class UserInfo extends AsyncTask<String, Void, String> { protected String doinbackground(string... str){ InputStream in = null; try { DataOutputStream printout; URL url = new URL(str[0]); HttpURLConnection con = (HttpURLConnection) url.openconnection(); con.setdooutput(true); con.setdoinput(true); con.setrequestproperty("content-type", "application/json"); con.setrequestproperty("accept", "application/json"); con.setrequestmethod("post"); String id = AccessToken.getCurrentAccessToken().getUserId(); JSONObject info = new JSONObject(); info.put("userid", id); printout = new DataOutputStream(con.getOutputStream ()); String data = info.tostring(); byte[] send = data.getbytes("utf-8"); printout.write(send); printout.flush(); printout.close(); in = con.getinputstream(); globals glob = ((globals)getapplicationcontext()); glob.setglobalvarvalue(util.readjsonstream(in)); String res = "Success"; return res; } } } catch (Exception e) { Log.d(TAG, e.tostring()); return e.tostring(); } Final Year Project Page 26
27 new GraphRequest( AccessToken.getCurrentAccessToken(), "/me/likes", null, HttpMethod.GET, graphcallback).executeasync(); Final Year Project Page 27
28 <fragment android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.example.lukasz.whozzup.mapsactivity" public void onmapready(googlemap googlemap) { mmap = googlemap; LatLng loc = new LatLng( , ); mmap.movecamera(cameraupdatefactory.newlatlng(loc)); mmap.animatecamera(cameraupdatefactory.zoomto(10), 1000, null); mmap.setonmaplongclicklistener(mapsactivity.this); mmap.setmylocationenabled(true); } Final Year Project Page 28
29 @Override public void onmaplongclick(latlng latlng) { if (mmarker!= null) mmarker.remove(); mmarker = mmap.addmarker(new MarkerOptions().position(latLng).title("Your Event")); } PlaceAutocompleteFragment autocompletefragment = (PlaceAutocompleteFragment) getfragmentmanager().findfragmentbyid(r.id.place_autocomplete_fragment); autocompletefragment.setboundsbias(new LatLngBounds( new LatLng(22, 114.9), new LatLng(22.5, 114.4))); autocompletefragment.setonplaceselectedlistener(new PlaceSelectionListener() public void onplaceselected(place place) { LatLng loc = place.getlatlng(); if (mmarker!= null) mmarker.remove(); mmarker = mmap.addmarker(new MarkerOptions().position(loc).title("Your Event")); mmap.movecamera(cameraupdatefactory.newlatlng(loc)); mmap.animatecamera(cameraupdatefactory.zoomto(10), 1000, null); } public void onerror(status status) { } Final Year Project Page 29
30 Page 30
31 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android=" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_alignparentbottom="true"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustviewbounds="true" android:maxwidth="80dp" android:maxheight="80dp" android:scaletype="fitcenter" android:paddingleft="3dp" android:paddingright="3dp" android:paddingtop="3dp" android:paddingbottom="3dp" <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="event Name" android:textsize="16sp" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparentright="true" android:layout_alignparentbottom="true" android:ellipsize="marquee" android:singleline="true" android:text="event Date" android:textsize="12sp" /> </LinearLayout> </LinearLayout> Final Year Project Page 31
32 @Override public View getview(int position, View convertview, ViewGroup parent) { ImageHelper hlp = new ImageHelper(); if (convertview == null) { LayoutInflater vi; vi = LayoutInflater.from(getContext()); convertview = vi.inflate(r.layout.event_list_item, null); Event p = getitem(position); System.out.println(position); if (p!= null) { ImageView tt1 = (ImageView) convertview.findviewbyid(r.id.icon); String category = p.getcategory(); Bitmap largeicon = BitmapFactory.decodeResource(getContext().getResources(), getimage(category)); largeicon = hlp.getroundedcornerbitmap(largeicon, 500); tt1.setimagebitmap(largeicon); TextView tt2 = (TextView) convertview.findviewbyid(r.id.event_time); TextView tt3 = (TextView) convertview.findviewbyid(r.id.event_title); if (tt2!= null) tt2.settext(p.getfulldate()); } if (tt3!= null) tt3.settext(p.gettitle()); } } return public void notifydatasetchanged(){ this.setnotifyonchange(false); this.sort(new Comparator<Event>() public int compare(event lhs, Event rhs) { System.out.println(lhs.getScore() - rhs.getscore()); return (rhs.getscore() - lhs.getscore()); } }); this.setnotifyonchange(true); super.notifydatasetchanged(); } Final Year Project Page 32
33 Page 33
34 Page 34
35 locationlistener = new LocationListener() public void onlocationchanged(location loc) { location.setlatitude(loc.getlatitude()); location.setlongitude(loc.getlongitude()); public void onproviderdisabled(string provider) { System.out.println(provider + " disabled"); public void onproviderenabled(string provider) { System.out.println(provider + " enabled"); public void onstatuschanged(string provider, int status, Bundle extras) {} }; locationmanager = (LocationManager) getactivity().getsystemservice(context.location_service); try{ locationmanager.requestlocationupdates(locationmanager.gps_provider, 0, 0, locationlistener); locationmanager.requestlocationupdates(locationmanager.network_provider, 0, 0, locationlistener); location = locationmanager.getlastknownlocation(locationmanager.network_provider); } catch(securityexception e){ } Final Year Project Page 35
36 from django.conf.urls import include, url from django.contrib import admin admin.autodiscover() import hello.views urlpatterns = [ url(r'^$', hello.views.index, name='index'), url(r'^db', hello.views.db, name='db'), url(r'^admin/', include(admin.site.urls)), url(r'^event/join/', hello.views.join_event), url(r'^event/leave/', hello.views.leave_event), url(r'^event/create/', hello.views.create_event), url(r'^event/delete/', hello.views.delete_event), url(r'^event/all/', hello.views.get_all_events), url(r'^event/available/', hello.views.get_available_events), url(r'^user/events/', hello.views.user_events), url(r'^user/attending/', hello.views.user_attending), url(r'^user/update/description/', hello.views.update_description), url(r'^user/update/likes/', hello.views.update_likes), url(r'^user/update/interests/', hello.views.update_interests), url(r'^user/friends/', hello.views.user_friends), url(r'^user/', hello.views.user), url(r'^event/', hello.views.get_event) ] def user_attending(request): events = db['events'] req = json.loads(request.body) cursor = events.find({'attendees' : req['userid']}) data = list() for document in cursor: data.append(document) return HttpResponse(json_util.dumps(data)) Final Year Project Page 36
37 Page 37
38 Page 38
39 location = event['location'] #location of event user_location = req['location'].split(',') user_location = (float(user_location[0]), float(user_location[1])) distance = great_circle(user_location, location).miles location_score = / (distance ** (1. / 3.)) event['score'] = event['score'] + location_score * sensitivity /50 Final Year Project Page 39
40 Page 40
41 creator = event['creator'] creator_cursor = users.find({"userid": creator}) C_profile = creator_cursor[0] for tag_c in C_profile['tags']: c_like = str(tag_c['name'].encode("utf-8")) c_like = c_like[2:-1] c_likes+=c_like c_likes+=" " vect = sklearn.feature_extraction.text.tfidfvectorizer(min_df=1) tfidf = vect.fit_transform([mylikes, c_likes]) similarity = (tfidf * tfidf.t).a score = 100 * similarity[(0,1)] event['score'] = event['score'] + score Final Year Project Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Recommender System references Final Year Project Page 49
CSIS 0801 FINAL YEAR PROJECT
CSIS 0801 FINAL YEAR PROJECT Development of a Novel Big Data App for Hong Kong Supervisor: Dr. Cheng Reynold APRIL 17, 2016 LUKASZ ZAJACZKOWSKI, KAUSHAL SILVA R.P, VIKAY NARAYEN Acknowledgements First
More informationCreating a Custom ListView
Creating a Custom ListView References https://developer.android.com/guide/topics/ui/declaring-layout.html#adapterviews Overview The ListView in the previous tutorial creates a TextView object for each
More informationIntents. Your first app assignment
Intents Your first app assignment We will make this. Decidedly lackluster. Java Code Java Code XML XML Preview XML Java Code Java Code XML Buttons that work
More informationExternal Services. CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion
External Services CSE 5236: Mobile Application Development Course Coordinator: Dr. Rajiv Ramnath Instructor: Adam C. Champion 1 External Services Viewing websites Location- and map-based functionality
More informationAndroid Specifics. Jonathan Diehl (Informatik 10) Hendrik Thüs (Informatik 9)
Android Specifics Jonathan Diehl (Informatik 10) Hendrik Thüs (Informatik 9) Android Specifics ArrayAdapter Preferences Widgets Jonathan Diehl, Hendrik Thüs 2 ArrayAdapter Jonathan Diehl, Hendrik Thüs
More informationAndroid Programming วรเศรษฐ ส วรรณ ก.
Android Programming วรเศรษฐ ส วรรณ ก uuriter@yahoo.com http://bit.ly/wannikacademy 1 Google Map API v2 2 Preparation SDK Manager Google Play Services AVD Google API >= 4.2.2 [http://bit.ly/1hedxwm] https://developers.google.com/maps/documentation/android/start
More informationDiving into Android. By Jeroen Tietema. Jeroen Tietema,
Diving into Android By Jeroen Tietema Jeroen Tietema, 2015 1 Requirements 4 Android SDK 1 4 Android Studio (or your IDE / editor of choice) 4 Emulator (Genymotion) or a real device. 1 See https://developer.android.com
More informationAgenda. Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen
Gill Cleeren Agenda Overview of Xamarin and Xamarin.Android Xamarin.Android fundamentals Creating a detail screen Lists and navigation Navigating from master to detail Optimizing the application Preparing
More informationDesigning Apps Using The WebView Control
28 Designing Apps Using The Control Victor Matos Cleveland State University Notes are based on: Android Developers http://developer.android.com/index.html The Busy Coder's Guide to Advanced Android Development
More information1. Location Services. 1.1 GPS Location. 1. Create the Android application with the following attributes. Application Name: MyLocation
1. Location Services 1.1 GPS Location 1. Create the Android application with the following attributes. Application Name: MyLocation Project Name: Package Name: MyLocation com.example.mylocation 2. Put
More informationPractical 1.ListView example
Practical 1.ListView example In this example, we show you how to display a list of fruit name via ListView. Android Layout file File : res/layout/list_fruit.xml
More informationandroid:layout_margintop="5dp" > <EditText android:layout_width="210dp"
activity_main.xml
More informationGoogle Maps library requires v2.50 or above.
Google Maps library requires v2.50 or above. Google Maps library allows you to add Google maps to your application. This library requires Android 3+ and will only work on devices with Google Play service.
More informationAndroid Help. Section 8. Eric Xiao
Android Help Section 8 Eric Xiao The Midterm That happened Any residual questions? New Assignment! Make a low-fi prototype Must be interactive Use balsamiq or paper Test it with users 3 tasks Test task
More informationAndroid UI Development
Android UI Development Android UI Studio Widget Layout Android UI 1 Building Applications A typical application will include: Activities - MainActivity as your entry point - Possibly other activities (corresponding
More informationCSE 660 Lab 3 Khoi Pham Thanh Ho April 19 th, 2015
CSE 660 Lab 3 Khoi Pham Thanh Ho April 19 th, 2015 Comment and Evaluation: This lab introduces us about Android SDK and how to write a program for Android platform. The calculator is pretty easy, everything
More informationBSCS 514- Computer Graphics. Course Supervisor : Dr. Humera Tariq Hands on Lab Sessions: Mr. Faraz Naqvi
BSCS 514- Computer Graphics Course Supervisor : Dr. Humera Tariq Hands on Lab Sessions: Mr. Faraz Naqvi Lab 01 Running your First App on Android to Handle Text and Images Content Android studio setup Creating
More informationPENGEMBANGAN APLIKASI PERANGKAT BERGERAK (MOBILE)
PENGEMBANGAN APLIKASI PERANGKAT BERGERAK (MOBILE) Network Connection Web Service K Candra Brata andra.course@gmail.com Mobille App Lab 2015-2016 Network Connection http://developer.android.com/training/basics/network-ops/connecting.html
More informationArrays of Buttons. Inside Android
Arrays of Buttons Inside Android The Complete Code Listing. Be careful about cutting and pasting.
More informationGraphical User Interfaces
Graphical User Interfaces Some suggestions Avoid displaying too many things Well-known anti-patterns Display useful content on your start screen Use action bars to provide consistent navigation Keep your
More informationTopics of Discussion
Reference CPET 565 Mobile Computing Systems CPET/ITC 499 Mobile Computing Fragments, ActionBar and Menus Part 3 of 5 Android Programming Concepts, by Trish Cornez and Richard Cornez, pubslihed by Jones
More informationAn Overview of the Android Programming
ID2212 Network Programming with Java Lecture 14 An Overview of the Android Programming Hooman Peiro Sajjad KTH/ICT/SCS HT 2016 References http://developer.android.com/training/index.html Developing Android
More informationProgramming with Android: Introduction. Layouts. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna
Programming with Android: Introduction Layouts Luca Bedogni Marco Di Felice Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna Views: outline Main difference between a Drawable and
More informationEMBEDDED SYSTEMS PROGRAMMING Application Tip: Managing Screen Orientation
EMBEDDED SYSTEMS PROGRAMMING 2016-17 Application Tip: Managing Screen Orientation ORIENTATIONS Portrait Landscape Reverse portrait Reverse landscape ON REVERSE PORTRAIT Android: all four orientations are
More informationEMBEDDED SYSTEMS PROGRAMMING Application Tip: Saving State
EMBEDDED SYSTEMS PROGRAMMING 2016-17 Application Tip: Saving State THE PROBLEM How to save the state (of a UI, for instance) so that it survives even when the application is closed/killed The state should
More informationApplied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB)
Applied Cognitive Computing Fall 2016 Android Application + IBM Bluemix (Cloudant NoSQL DB) In this exercise, we will create a simple Android application that uses IBM Bluemix Cloudant NoSQL DB. The application
More informationUser Interface Development in Android Applications
ITU- FAO- DOA- TRCSL Training on Innovation & Application Development for E- Agriculture User Interface Development in Android Applications 11 th - 15 th December 2017 Peradeniya, Sri Lanka Shahryar Khan
More informationLecture 14. Android Application Development
Lecture 14 Android Application Development Notification Instructor Muhammad Owais muhammad.owais@riphah.edu.pk Cell: 03215500223 Notifications Used to notify user for events Three general forms of Notifications
More informationOPTIMIZING ANDROID UI PRO TIPS FOR CREATING SMOOTH AND RESPONSIVE APPS
OPTIMIZING ANDROID UI PRO TIPS FOR CREATING SMOOTH AND RESPONSIVE APPS @CYRILMOTTIER GET TO KNOW JAVA DON T USE BOXED TYPES UNNECESSARILY HashMap hashmap = new HashMap();
More informationAndroid App Development. Mr. Michaud ICE Programs Georgia Institute of Technology
Android App Development Mr. Michaud ICE Programs Georgia Institute of Technology Android Operating System Created by Android, Inc. Bought by Google in 2005. First Android Device released in 2008 Based
More informationActionBar. import android.support.v7.app.actionbaractivity; public class MyAppBarActivity extends ActionBarActivity { }
Android ActionBar import android.support.v7.app.actionbaractivity; public class MyAppBarActivity extends ActionBarActivity { Layout, activity.xml
More informationregister/unregister for Intent to be activated if device is within a specific distance of of given lat/long
stolen from: http://developer.android.com/guide/topics/sensors/index.html Locations and Maps Build using android.location package and google maps libraries Main component to talk to is LocationManager
More informationProgramming with Android: The Google Maps Library. Slides taken from
Programming with Android: The Google Slides taken from Marco Di Felice Android: Deploying Map-based Apps Two versions of Android Google API API v1 API v2 - Deprecated, not supported anymore since 18th
More informationCSE 660 Lab 7. Submitted by: Arumugam Thendramil Pavai. 1)Simple Remote Calculator. Server is created using ServerSocket class of java. Server.
CSE 660 Lab 7 Submitted by: Arumugam Thendramil Pavai 1)Simple Remote Calculator Server is created using ServerSocket class of java Server.java import java.io.ioexception; import java.net.serversocket;
More informationEMBEDDED SYSTEMS PROGRAMMING UI Specification: Approaches
EMBEDDED SYSTEMS PROGRAMMING 2016-17 UI Specification: Approaches UIS: APPROACHES Programmatic approach: UI elements are created inside the application code Declarative approach: UI elements are listed
More informationSizing and Positioning
CS 193A Layout This document is copyright (C) Marty Stepp and Stanford Computer Science. Licensed under Creative Commons Attribution 2.5 License. All rights reserved. Sizing and Positioning How does the
More informationAndroid UI: Overview
1 Android UI: Overview An Activity is the front end component and it can contain screens. Android screens are composed of components or screen containers and components within the containers Screen containers
More informationProduced by. Mobile Application Development. Higher Diploma in Science in Computer Science. Eamonn de Leastar
Mobile Application Development Higher Diploma in Science in Computer Science Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology
More informationThe World of List View. Romain Guy and Adam Powell May 19, 2010
The World of List View Romain Guy and Adam Powell May 19, 2010 View live notes and ask questions about this session on Wave http://bit.ly/9zozbr Agenda Virtualization and adapters Item properties Headers
More informationTabel mysql. Kode di PHP. Config.php. Service.php
Tabel mysql Kode di PHP Config.php Service.php Layout Kode di Main Activity package com.example.mini.webandroid; import android.app.progressdialog; import android.os.asynctask; import android.support.v7.app.appcompatactivity;
More informationOverview. What are layouts Creating and using layouts Common layouts and examples Layout parameters Types of views Event listeners
Layouts and Views http://developer.android.com/guide/topics/ui/declaring-layout.html http://developer.android.com/reference/android/view/view.html Repo: https://github.com/karlmorris/viewsandlayouts Overview
More informationUpon completion of the second part of the lab the students will have:
ETSN05, Fall 2017, Version 2.0 Software Development of Large Systems Lab 2 1. INTRODUCTION The goal of lab 2 is to introduce students to the basics of Android development and help them to create a starting
More informationM.A.D ASSIGNMENT # 2 REHAN ASGHAR BSSE 15126
M.A.D ASSIGNMENT # 2 REHAN ASGHAR BSSE 15126 Submitted to: Sir Waqas Asghar MAY 23, 2017 SUBMITTED BY: REHAN ASGHAR Intent in Android What are Intent? An Intent is a messaging object you can use to request
More informationMobile Application Development Lab [] Simple Android Application for Native Calculator. To develop a Simple Android Application for Native Calculator.
Simple Android Application for Native Calculator Aim: To develop a Simple Android Application for Native Calculator. Procedure: Creating a New project: Open Android Stdio and then click on File -> New
More informationAdapter.
1 Adapter An Adapter object acts as a bridge between an AdapterView and the underlying data for that view The Adapter provides access to the data items The Adapter is also responsible for making a View
More informationLab 6: Google Maps Android API v2 Android Studio 10/14/2016
Lab 6: Google Maps Android API v2 Android Studio 10/14/2016 One of the defining features of mobile phones is their portability. It's not surprising that some of the most enticing APIs are those that enable
More informationAndroid Volley Tutorial
Android Volley Tutorial by Kapil - Monday, May 16, 2016 http://www.androidtutorialpoint.com/networking/android-volley-tutorial/ YouTube Video Volley is an HTTP library developed by Google to ease networking
More informationAdaptation of materials: dr Tomasz Xięski. Based on presentations made available by Victor Matos, Cleveland State University.
Creating dialogs Adaptation of materials: dr Tomasz Xięski. Based on presentations made available by Victor Matos, Cleveland State University. Portions of this page are reproduced from work created and
More informationProgramming with Android: Geo-localization and Google Map Services. Luca Bedogni. Dipartimento di Scienze dell Informazione Università di Bologna
Programming with Android: Geo-localization and Google Map Services Luca Bedogni Dipartimento di Scienze dell Informazione Università di Bologna Outline Geo-localization techniques Location Listener and
More informationCreated By: Keith Acosta Instructor: Wei Zhong Courses: Senior Seminar Cryptography
Created By: Keith Acosta Instructor: Wei Zhong Courses: Senior Seminar Cryptography 1. Thread Summery 2. Thread creation 3. App Diagram and information flow 4. General flow of Diffie-Hellman 5. Steps of
More informationTHE CONTEXTUAL DATA SUPPLIER. API Integration Guide
THE CONTEXTUAL DATA SUPPLIER API Integration Guide Contextual Data API v3 April 2018 Overview No Matter if you want to integrate our Contextual Data API into your website with JavaScript or call it from
More informationMobile Computing Fragments
Fragments APM@FEUP 1 Fragments (1) Activities are used to define a full screen interface and its functionality That s right for small screen devices (smartphones) In bigger devices we can have more interface
More informationAndroid + TIBBO + Socket 建國科技大學資管系 饒瑞佶
Android + TIBBO + Socket 建國科技大學資管系 饒瑞佶 Socket Socket 開始前 TIBBO 需要設定 Socket on_sock_data_arrival() ' 接收外界來的 SOCKET 資訊 sub on_sock_data_arrival() Dim command_data as string ' 完整控制命令 command_data = "" ' 初始化控制命令
More informationAndroid List-Based Selection Widgets
Lesson 6 Android List-Based Selection Widgets Notes are based on: Android Developers http://developer.android.com/index.html Victor Matos Cleveland State University Portions of this page are reproduced
More informationProgramming with Android: Introduction. Layouts. Luca Bedogni. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna
Programming with Android: Introduction Layouts Luca Bedogni Dipartimento di Informatica: Scienza e Ingegneria Uniersità di Bologna Views: outline Main difference between a Drawable and a View is reaction
More informationFragment Example Create the following files and test the application on emulator or device.
Fragment Example Create the following files and test the application on emulator or device. File: AndroidManifest.xml
More informationWhen programming in groups of people, it s essential to version the code. One of the most popular versioning tools is git. Some benefits of git are:
ETSN05, Fall 2017, Version 1.0 Software Development of Large Systems Lab 2 preparations Read through this document carefully. In order to pass lab 2, you will need to understand the topics presented in
More informationUser Interface Development. CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr.
User Interface Development CSE 5236: Mobile Application Development Instructor: Adam C. Champion Course Coordinator: Dr. Rajiv Ramnath 1 Outline UI Support in Android Fragments 2 UI Support in the Android
More informationAdFalcon Android Native Ad SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group
AdFalcon Android Native Ad SDK 3.0.0 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction... 3 Native Ads Overview... 3 OS version support...
More informationLAMPIRAN PROGRAM. public class Listdata_adiktif extends ArrayAdapter<ModelData_adiktif> {
1 LAMPIRAN PROGRAM JAVA Listdata_adiktif.java package com.example.win.api.adapter; import android.content.context; import android.support.annotation.nonnull; import android.view.layoutinflater; import
More informationAction Bar. (c) 2010 Haim Michael. All Rights Reserv ed.
Action Bar Introduction The Action Bar is a widget that is shown on top of the screen. It includes the application logo on its left side together with items available from the options menu on the right.
More informationA Crash Course to Android Mobile Platform
Enterprise Application Development using J2EE Shmulik London Lecture #2 A Crash Course to Android Mobile Platform Enterprise Application Development Using J2EE / Shmulik London 2004 Interdisciplinary Center
More informationIPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application.
Learning Unit Exam Project IPN-ESCOM Application Development for Mobile Devices. Extraordinary. A Web service, invoking the SOAP protocol, in an Android application. The delivery of this project is essential
More informationPress project on the left toolbar if it doesn t show an overview of the app yet.
#3 Setting up the permissions needed to allow the app to use GPS. Okay! Press project on the left toolbar if it doesn t show an overview of the app yet. In this project plane, we will navigate to the manifests
More informationCheetah Orion Ad Platform SDK Guide (for Android) V1.0
Cheetah Orion Ad Platform SDK Guide (for Android) V1.0 Cheetah Mobile Date 2015-11-12 Version 1.0 1 Introduction... 3 2 Integration Workflow... 3 2.1 Integration Workflow... 3 2.2 Load Cheetah Orion Ad
More informationAdFalcon Android Native Ad SDK Developer's Guide. AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group
AdFalcon Android Native Ad SDK 3.4.0 Developer's Guide AdFalcon Mobile Ad Network Product of Noqoush Mobile Media Group Table of Contents 1 Introduction... 3 Native Ads Overview... 3 OS version support...
More informationAndroid HelloWorld - Example. Tushar B. Kute,
Android HelloWorld - Example Tushar B. Kute, http://tusharkute.com Anatomy of Android Application Anatomy of Android Application Java This contains the.java source files for your project. By default, it
More informationProgramming with Android: Layouts, Widgets and Events. Dipartimento di Scienze dell Informazione Università di Bologna
Programming with Android: Layouts, Widgets and Events Luca Bedogni Marco Di Felice Dipartimento di Scienze dell Informazione Università di Bologna Outline Components of an Activity ViewGroup: definition
More informationAndroid Workshop: Model View Controller ( MVC):
Android Workshop: Android Details: Android is framework that provides java programmers the ability to control different aspects of smart devices. This interaction happens through the Android SDK (Software
More informationAndroid Layout Types
Android Layout Types Android Linear Layout Android LinearLayout is a view group that aligns all children in either vertically or horizontally. android:divider - This is drawable to use as a vertical divider
More informationProduced by. Mobile Application Development. Higher Diploma in Science in Computer Science. Eamonn de Leastar
Mobile Application Development Higher Diploma in Science in Computer Science Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology
More informationEECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University. Overview (Review)
EECS 4443 Mobile User Interfaces More About Layouts Scott MacKenzie York University Overview (Review) A layout defines the visual structure for a user interface, such as the UI for an activity or app widget
More information8/30/15 MOBILE COMPUTING. CSE 40814/60814 Fall How many of you. have implemented a command-line user interface?
MOBILE COMPUTING CSE 40814/60814 Fall 2015 How many of you have implemented a command-line user interface? 1 How many of you have implemented a graphical user interface? HTML/CSS Java Swing.NET Framework
More information1 Radio Button Radio Group, CheckBox, Spinner
1 Radio Button Radio Group, CheckBox, Spinner Thiết kế màn hình thu thập thông tin người dùng và hiển thị lại kết quả gửi thông tin dùng AlertDialog. Cấu trúc layout màn hình ứng dụng: Ths. Lương Trần
More informationAndroid DP SDK Integration Guide
Android DP SDK Integration Guide Requirements Minimum Android Version : Android 4.1 'Jelly Bean' (API level 16) instant Run Removal. (Preferences -> Instant Run -> Unlock to Enable Instant Run) Step 1.
More informationAndroid development. Outline. Android Studio. Setting up Android Studio. 1. Set up Android Studio. Tiberiu Vilcu. 2.
Outline 1. Set up Android Studio Android development Tiberiu Vilcu Prepared for EECS 411 Sugih Jamin 15 September 2017 2. Create sample app 3. Add UI to see how the design interface works 4. Add some code
More informationMobile Development Lecture 9: Android & RESTFUL Services
Mobile Development Lecture 9: Android & RESTFUL Services Mahmoud El-Gayyar elgayyar@ci.suez.edu.eg Elgayyar.weebly.com What is a RESTFUL Web Service REST stands for REpresentational State Transfer. In
More information<uses-permission android:name="android.permission.internet"/>
Chapter 11 Playing Video 11.1 Introduction We have discussed how to play audio in Chapter 9 using the class MediaPlayer. This class can also play video clips. In fact, the Android multimedia framework
More informationProduced by. Mobile Application Development. Higher Diploma in Science in Computer Science. Eamonn de Leastar
Mobile Application Development Higher Diploma in Science in Computer Science Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology
More informationandroid:orientation="horizontal" android:layout_margintop="30dp"> <Button android:text="button2"
Parametrų keitimas veikiančioje aplikacijoje Let s create a project: Project name: P0181_DynamicLayout3 Build Target: Android 2.3.3 Application name: DynamicLayout3 Package name: ru.startandroid.develop.dynamiclayout3
More informationSouth Africa
South Africa 2013 Lecture 6: Layouts, Menus, Views http://aiti.mit.edu Create an Android Virtual Device Click the AVD Icon: Window -> AVD Manager -> New Name & start the virtual device (this may take a
More informationAndroid Application Development
Android Application Development Octav Chipara What is Android A free, open source mobile platform A Linux-based, multiprocess, multithreaded OS Android is not a device or a product It s not even limited
More informationINTRODUCTION COS MOBILE DEVELOPMENT WHAT IS ANDROID CORE OS. 6-Android Basics.key - February 21, Linux-based.
1 COS 470 - MOBILE DEVELOPMENT INTRODUCTION 2 WHAT IS ANDROID Linux-based Java/Kotlin Android Runtime (ART) System Apps SMS, Calendar, etc. Platform Architecture 3 CORE OS Linux (64 bit) Each app is a
More informationStarting Another Activity Preferences
Starting Another Activity Preferences Android Application Development Training Xorsat Pvt. Ltd www.xorsat.net fb.com/xorsat.education Outline Starting Another Activity Respond to the Button Create the
More informationSMART VEHICLE TRACKING APPLICATION
SMART VEHICLE TRACKING APPLICATION Report submitted for the partial fulfillment of the requirements for the degree of Bachelor of Technology in Information Technology Submitted by Ritaman Baral (IT2014/008)
More informationEECS 4443 Mobile User Interfaces. More About Layouts. Scott MacKenzie. York University
EECS 4443 Mobile User Interfaces More About Layouts Scott MacKenzie York University Overview (Review) A layout defines the visual structure for a user interface, such as the UI for an activity or app widget
More informationMobile Software Development for Android - I397
1 Mobile Software Development for Android - I397 IT COLLEGE, ANDRES KÄVER, 2015-2016 EMAIL: AKAVER@ITCOLLEGE.EE WEB: HTTP://ENOS.ITCOLLEGE.EE/~AKAVER/2015-2016/DISTANCE/ANDROID SKYPE: AKAVER Layout fundamentals
More informationNotification mechanism
Notification mechanism Adaptation of materials: dr Tomasz Xięski. Based on presentations made available by Victor Matos, Cleveland State University. Portions of this page are reproduced from work created
More informationBluetooth Low Energy in Android Java
Bluetooth Low Energy in Android Java 1st Edition Tony Gaitatzis BackupBrain Publishing, 2017 ISBN: 978-1-7751280-4-5 backupbrain.co i Bluetooth Low Energy in Android Java by Tony Gaitatzis Copyright 2015
More informationSoftware Practice 3 Before we start Today s lecture Today s Task Team organization
1 Software Practice 3 Before we start Today s lecture Today s Task Team organization Prof. Hwansoo Han T.A. Jeonghwan Park 43 2 Lecture Schedule Spring 2017 (Monday) This schedule can be changed M A R
More informationMVC Apps Basic Widget Lifecycle Logging Debugging Dialogs
Overview MVC Apps Basic Widget Lifecycle Logging Debugging Dialogs Lecture: MVC Model View Controller What is an App? Android Activity Lifecycle Android Debugging Fixing Rotations & Landscape Layouts Localization
More informationMensch-Maschine-Interaktion 2 Übung 12
Mensch-Maschine-Interaktion 2 Übung 12 Ludwig-Maximilians-Universität München Wintersemester 2010/2011 Michael Rohs 1 Preview Android Development Tips Location-Based Services and Maps Media Framework Android
More informationFragments. Lecture 11
Fragments Lecture 11 Situational layouts Your app can use different layouts in different situations Different device type (tablet vs. phone vs. watch) Different screen size Different orientation (portrait
More informationAndroid Basics. Android UI Architecture. Android UI 1
Android Basics Android UI Architecture Android UI 1 Android Design Constraints Limited resources like memory, processing, battery à Android stops your app when not in use Primarily touch interaction à
More informationAndroid & iphone. Amir Eibagi. Localization
Android & iphone Amir Eibagi Localization Topics Android Localization: Overview Language & Strings Country/region language variations Images & Media Currency, date & Time iphone Localization Language &
More informationLet s take a display of HTC Desire smartphone as an example. Screen size = 3.7 inches, resolution = 800x480 pixels.
Screens To begin with, here is some theory about screens. A screen has such physical properties as size and resolution. Screen size - a distance between two opposite corners of the screens, usually measured
More informationProgramming with Android: Android for Tablets. Dipartimento di Scienze dell Informazione Università di Bologna
Programming with Android: Android for Tablets Luca Bedogni Marco Di Felice Dipartimento di Scienze dell Informazione Università di Bologna Outline Android for Tablets: A Case Study Android for Tablets:
More informationOur First Android Application
Mobile Application Development Lecture 04 Imran Ihsan Our First Android Application Even though the HelloWorld program is trivial in introduces a wealth of new ideas the framework, activities, manifest,
More informationDatabase Development In Android Applications
ITU- FAO- DOA- TRCSL Training on Innovation & Application Development for E- Agriculture Database Development In Android Applications 11 th - 15 th December 2017 Peradeniya, Sri Lanka Shahryar Khan & Imran
More information