Favorite Twitter Searches App

Slides:



Advertisements
Similar presentations
Android User Interface
Advertisements

 User Interface - Raeha Sandalwala.  Introduction to UI  Layouts  UI Controls  Menus and ‘Toasts’  Notifications  Other interesting UIs ◦ ListView.
CS378 - Mobile Computing Persistence - SQLite. Databases RDBMS – relational data base management system Relational databases introduced by E. F. Codd.
NFC Inventory Android App
Data Persistence in Android
Creating Android user interfaces using layouts 1Android user interfaces using layouts.
Data Storage: Part 1 (Preferences)
Lecture 3 agenda Layouts Intents (both explicit and implicit) ListViews and Adapters.
Android: versions Note that: Honeycomb (Android v3.0) A tablet-only release Jelly Bean (Android v4.1) Released on July 09, 2012.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Content Providers & Services.
Take a leap towards the most promising technology
Favorite Twitter® Searches App Android How to Program © by Pearson Education, Inc. All Rights Reserved.
Android development basics Introduction,Structure,Development Boncho Valkov.Net Developer.
Android How to Program Presented by Thomas Bucag, Rob Goodfellowe, Samantha Tomeï © by Pearson Education, Inc. All Rights Reserved.
Tip Calculator App Building an Android App with Java © by Pearson Education, Inc. All Rights Reserved.
CS 170 – INTRO TO SCIENTIFIC AND ENGINEERING PROGRAMMING.
CS378 - Mobile Computing Persistence. Saving State We have already seen saving app state into a Bundle on orientation changes or when an app is killed.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Using Android XML Resources.
Asst Prof. Saeed Ahmadi Software Engineering CSF Kabul University 1.
SpotOn Game App Android How to Program © by Pearson Education, Inc. All Rights Reserved.
1 CA202 Spreadsheet Application Publishing Information on the Web Lecture # 15 Dammam Community College.
Android Boot Camp for Developers Using Java, 3E
Nilesh Singh Local Data Storage option Android provides several options for you to save persistent application data. - Shared preferences - Creation.
Data persistence How to save data using SharedPreferences, Files, and SQLite database 1Data persistence.
9 Persistence - SQLite CSNB544 Mobile Application Development Thanks to Utexas Austin.
Application Development for mobile Devices
Data Persistence Nasrullah Niazi. Share Preferences The SharedPreferences class provides a general framework that allows you to save and retrieve persistent.
Silicon Valley Code Camp 2009 “Embellish Your Pictures” Build an Application for an Android Phone Jack Ha, Balwinder Kaur Oct 3, 2009 – 5:15PM Room CCL.
Demo 02 StartUpScreen Display. We would like to include a button in our demo app to "do something". In the activity_main.xml we define a "Calc" button.
CS378 - Mobile Computing Persistence. Saving State We have already seen saving app state into a Bundle on orientation changes or when an app is killed.
Android App Basics Dr. David Janzen Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5.
Walkthrough example including SAS output How to create a mobile WebApp? PhUSE / 12. October 2015 / Katja Glaß BHC 4:3 Template 2010 June 2014Page 1.
Database Management System. DBMS A software package that allows users to create, retrieve and modify databases. A database is a collection of related.
Mobile Programming Lecture 7 Dialogs, Menus, and SharedPreferences.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Android Drawing Units and The.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Building User Interfaces Basic Applications
Presented By:. What is JavaHelp: Most software developers do not look forward to spending time documenting and explaining their product. JavaSoft has.
ANDROID LAYOUTS AND WIDGETS. Slide 2 Introduction Parts of the Android screen Sizing widgets and fonts Layouts and their characteristics Buttons, checkboxes.
Mobile Application Development Data Storage. Android provides several options for you to save persistent application data. The solution you choose depends.
The Flag Quiz app tests your ability to correctly identify 10 flags from various countries and territories.
Data Storage in Android Димитър Н. Димитров. Why talk about data? Why not 3D graphics or network connectivity? Data as fundamental term in computer science.
Editing a Twitter search. Viewing search results in a browser.
Data Persistence Chapter 9. Objectives Learn about data storage methods Understand use of Shared Preferences Understand file-based storage and the differences.
Chapter 2: Simplify! The Android User Interface
Reactive Android Development
Open Handset Alliance.
CS371m - Mobile Computing Persistence.
Android Application Data Storage 1.
Android Application SQLite 1.
Lecture 3 agenda A tour of Android studio features
Information Organization
Android Activities An application can have one or more activities, where Each activity Represents a screen that an app present to its user Extends the.
Mobile Application Development Chapter 4 [Android Navigation and Interface Design] IT448-Fall 2017 IT448- Fall2017.
Mobile Computing With Android ACST 4550 Alerts
Android Layout Basics Topics
Mobile Computing With Android ACST 4550 Intro to Android, Part 3
Apache Tuscany Demo BigBank Example
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Favorite Twitter Searches App
Building User Interfaces Basic Applications
Android Developer Fundamentals V2
HNDIT2417 Mobile Application Development
Android Topics Lab 5 Part II
05 | Desktop Applications
It is used to Start an Activity Start a Service Deliver a Broadcast
Mobile Programming Dr. Mohsin Ali Memon.
Tutorial 8 Sharing, Integrating, and Analyzing Data
Implication of Orientation Changes
Presentation transcript:

Favorite Twitter Searches App CS7030: Mobile App Development

Technologies Overview 1. ScrollView A ViewGroup that can contain other views and that lets user scroll CS7030: Mobile App Development

Technologies Overview 2. Create Resource Files colors.xml @color/color_name dimen.xml @dimen/dimen_name Density-independent pixel (dp or dip) Scale-independent pixel (sp) CS7030: Mobile App Development

Technologies Overview 3. AlertDialog A modal dialog which user can interact with the app AlertDialog.Builder to create the AlertDialog CS7030: Mobile App Development

Technologies Overview 4. SharedPreference Save key/values pairs associated with apps The key must be string, the values can be Strings or primitive-type values SharedPreference.Editor to modify the content CS7030: Mobile App Development

SharedPreference Get SharedPreference Save to SharedPreference savedSearches = getSharedPreferences("searches",MODE_PRIVATE); MODE_PRIVATE MODE_WORLD_READABLE MODE_WORLD_WRITABLE Save to SharedPreference SharedPreferences.Editor spe = savedSearches.edit(); spe.putString(tag, query); spe.apply(); Retrieve from SharedPreference Map<String,?> queryMap = savedSearches.getAll(); Set<String> tagSet = queryMap.keySet(); String[] tags = tagSet.toArray(new String[0]); Arrays.sort(tags,String.CASE_INSENSITIVE_ORDER); CS7030: Mobile App Development

Technologies Overview 5. LayoutInflater Programmatically create GUI components from a predefined XML layout getSystemService(Context.LAYOUT_INFLATER_SERVICE); CS7030: Mobile App Development

Technologies Overview 6. Intents Intent queryIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(“http://twitter.com/search?q=“ + query)); startActivity(queryIntent); CS7030: Mobile App Development