Difference between revisions of "CoursAndroid2"

From Fixme.ch
Jump to: navigation, search
 
(One intermediate revision by the same user 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 ==
Line 30: Line 30:
 
== See also ==
 
== See also ==
 
* [[CoursAndroid1]]
 
* [[CoursAndroid1]]
* [http://petrnohejl.github.io/Android-Cheatsheet-For-Graphic-Designers/]
+
* [[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