Difference between revisions of "CoursAndroid2"

From Fixme.ch
Jump to: navigation, search
(Content)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
* Second session of Android development class, focused on beginners.
 
* Second session of Android development class, focused on beginners.
 
* Date: 14.03.2013 at 19h (http://framadate.org/1a4nofz8kmpr6rz8)
 
* Date: 14.03.2013 at 19h (http://framadate.org/1a4nofz8kmpr6rz8)
* Event: FIXME
+
* Event: https://fixme.ch/civicrm/event/info?reset=1&id=65
  
 
== Content ==
 
== Content ==
 
* Recap of [[CoursAndroid1|course 1]]
 
* Recap of [[CoursAndroid1|course 1]]
* Create a simple application using,
+
* Create a simple application:
 
** ASyncTask (easy threading)
 
** ASyncTask (easy threading)
** ContentProvider (easy data)
+
*** Create a task with the basic implementation
 +
*** Perform a task in the doInBackground() method
 +
**** Get data from an URL using the URLConnection class
 +
*** Update a view from the task onPostExecute() method
 +
*** Publish progress to the UI using the onProgressUpdate() and publishProgress() methods
 
** Broadcast Receiver (easy sharing)
 
** Broadcast Receiver (easy sharing)
 
*** Declare the receiver (in the AndroidManifest.xml)
 
*** Declare the receiver (in the AndroidManifest.xml)
*** Implements onReceive (Context context, Intent intent)
+
*** Implement onReceive (Context context, Intent intent)
 +
*** Implement a share button
 +
** ContentProvider (easy data)
  
 
== Project leader ==
 
== Project leader ==
Line 24: Line 30:
 
== See also ==
 
== See also ==
 
* [[CoursAndroid1]]
 
* [[CoursAndroid1]]
 +
* [[CoursAndroid3]]
 +
* [http://petrnohejl.github.io/Android-Cheatsheet-For-Graphic-Designers/ Android Cheatsheet For Graphic Designers]

Latest revision as of 11:56, 16 January 2014

Description

Content

  • Recap of course 1
  • Create a simple application:
    • ASyncTask (easy threading)
      • Create a task with the basic implementation
      • Perform a task in the doInBackground() method
        • Get data from an URL using the URLConnection class
      • Update a view from the task onPostExecute() method
      • Publish progress to the UI using the onProgressUpdate() and publishProgress() methods
    • Broadcast Receiver (easy sharing)
      • Declare the receiver (in the AndroidManifest.xml)
      • Implement onReceive (Context context, Intent intent)
      • Implement a share button
    • ContentProvider (easy data)

Project leader

Participants

See also