KC Java Android Talk (March 2011)

  • 1,054 views
Uploaded on

This is a condensed version of my talk slides from the KC Java Users Group.

This is a condensed version of my talk slides from the KC Java Users Group.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,054
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
7
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Beginning Elementsof Android
  • 2. Hacker Phone 3000
  • 3. Prerequisite Knowledge•  Java
•  XML
•  UI
Design*
•  SQLite*
•  Graphics
Crea:on/Manipula:on*

  • 4. Me and Java
  • 5. Me and XML
  • 6. Tools•  Environment
setup
 –  Eclipse
w/ADT
 –  hDp://developer.android.com/sdk/installing.html
•  adb
 –  Debugging
tool
that
comes
with
SDK
•  DroidDraw
 –  hDp://www.droiddraw.org/
•  Photoshop/GIMP
 –  More
of
a
nicety
than
a
requirement

  • 7. Development Workflow1.  What
type
of
app?
2.  Match
with
exis:ng
sources
3.  Ini:alize
a
repository
 –  Lost
work
sucks…

 –  hDp://github.com
is
free
4.  Rough
out
the
basic
ac:vity
and
layout
5.  Refactor
code
while
con:nuing
to
polish
 –  TDD?
6.  Polish
UI
with
layout
tool
and
possibly
graphics
 –  DroidDraw
7.  Profit!
 –  Android
Market
 –  Free
op:ons

  • 8. Live Coding
  • 9. Example Program 1•  Hello
World!
•  Main
class
file
•  Layout
XML
•  Manifest
XML
 –  Handled
by
the
Eclipse
UI
ini:ally

  • 10. Basic Concepts•  UI
elements
in
Java
or
XML
 –  Tradeoffs
•  Override
 –  onCreate

  • 11. Example Program 2•  Widget
example
 –  Pull
fortune
RSS
feed
 –  Widget
requirements
 –  Styling
widgets

  • 12. Example Program 3•  Choose
your
own
adventure
game
 –  Look
at
older
code
example
that
I
did
in
 Ganymede
with
Android
1.6
 –  Refactoring
 –  DroidDraw
in
use

  • 13. Resources•  SDK
site
 –  hDp://developer.android.com
•  Books
 –  Hello,
Android!
[ISBN:
1934356565]
 –  Android
Cookbook
[ISBN:
0321741234]

  • 14. Resources•  Other
code
in
OSS
community