SlideShare a Scribd company logo
1 of 24
Download to read offline
Homework	
  for	
  July	
  12th	
  2015	
  
Starting	
  Android	
  Development	
  
	
  
	
  
	
  
	
  
	
  
	
  
Shivaum	
  Kumar	
  and	
  Aditya	
  Aggarwal	
  wrote	
  the	
  following	
  tutorial	
  for	
  the	
  
Saratoga	
  Young	
  Coders	
  Club.	
   	
  
Introduction	
  
	
  
• In	
  this	
  tutorial,	
  you	
  will	
  learn	
  how	
  to	
  program	
  apps	
  for	
  Android	
  
devices.	
  	
  
• Android	
  devices	
  are	
  phones,	
  tablets,	
  and	
  even	
  watches	
  that	
  run	
  
the	
  Android	
  software.	
  	
  
• The	
  Android	
  software	
  is	
  also	
  called	
  the	
  Android	
  Operating	
  
System.	
  	
  
• 84%	
  of	
  the	
  world’s	
  devices	
  run	
  the	
  Android	
  Operating	
  System	
  
(OS);	
  therefore,	
  if	
  you	
  know	
  how	
  to	
  code	
  for	
  the	
  Android	
  OS,	
  you	
  
can	
  make	
  apps	
  for	
  many	
  people.	
  
	
  
	
  
At	
  the	
  end	
  of	
  the	
  tutorial,	
  you	
  will	
  make	
  this:	
  
	
  
	
  
	
  
Android	
  apps	
  are	
  coded	
  in	
  JAVA	
  and	
  XML	
  and	
  are	
  created	
  using	
  the	
  
computer	
  program,	
  Android	
  Studio.	
  Before	
  I	
  describe	
  what	
  each	
  
language	
  does	
  and	
  how	
  to	
  use	
  Android	
  Studio,	
  you	
  have	
  to	
  set	
  up	
  your	
  
computer	
  to	
  use	
  them.	
  The	
  setup	
  is	
  what	
  much	
  of	
  this	
  tutorial	
  will	
  be	
  
about.	
  
	
   	
  
STEP	
  1:	
  JDK	
  7	
  
	
  
First,	
  you	
  have	
  to	
  make	
  sure	
  JDK	
  7	
  (Java	
  Version	
  7)	
  is	
  installed.	
  
	
  
	
  
	
  
__________________________________________________________________________________	
  
Mac	
  Users	
  
	
  
Search	
  for	
  the	
  application	
  TERMINAL	
  on	
  your	
  computer.	
  
	
  
	
  
	
  
Next	
  in	
  the	
  terminal	
  app	
  type	
  in	
  java	
  -­‐version.	
  
	
  
	
  
	
  
If	
  you	
  don’t	
  have	
  the	
  JDK	
  7	
  installed	
  terminal	
  will	
  tell	
  you	
  command	
  not	
  
found.	
  
__________________________________________________________________________________	
  
	
   	
  
___________________________________________________________________________________	
  
Windows	
  Users	
  
	
  
For	
  newer	
  versions	
  of	
  Windows	
  or	
  if	
  you	
  already	
  have	
  JDK	
  7,	
  these	
  may	
  
not	
  be	
  the	
  right	
  instructions.	
  Meet	
  me	
  10	
  minutes	
  before	
  the	
  workshop,	
  
if	
  you	
  cannot	
  install	
  JDK	
  7.	
  
	
  
1. Go	
  to	
  the	
  Control	
  Panel	
  
2. Click	
  the	
  Programs	
  Icon	
  
3. Click	
  the	
  Java	
  Icon	
  
4. Click	
  the	
  About	
  Icon	
  
	
  
The	
  version	
  should	
  be	
  listed	
  here.	
  If	
  the	
  Version	
  number	
  is	
  7	
  or	
  greater	
  
(ignore	
  the	
  other	
  information)	
  you	
  already	
  have	
  JDK	
  7.	
  	
  
	
  
	
  
	
  
Here	
  are	
  further	
  instructions:	
  	
  
https://wiki.csuchico.edu/confluence/display/help/How+to+check+yo
ur+Java+Version+in+Windows+7	
  
___________________________________________________________________________________	
  
	
  
	
  
Here	
  is	
  the	
  link	
  to	
  download	
  JDK	
  7	
  if	
  you	
  do	
  not	
  have	
  it:	
  
http://www.oracle.com/technetwork/java/javase/downloads/index.ht
ml	
  
STEP	
  2:	
  Download	
  Android	
  Studio	
  
	
  
	
  
Go	
  to	
  this	
  link.	
  https://developer.android.com/sdk/index.html	
  
Click	
  the	
  Download	
  button.	
  Accept	
  the	
  terms	
  and	
  conditions.	
  	
  
	
  
	
  
	
  
	
  
After	
  done	
  downloading,	
  if	
  any	
  update	
  is	
  there	
  it	
  will	
  prompt	
  you	
  to	
  
update.	
  Always	
  choose	
  the	
  update	
  and	
  restart	
  option.	
  
	
  
	
   	
  
 
STEP	
  3:	
  Using	
  SDK	
  (Software	
  Development	
  Kit)	
  Manager	
  
	
  
When	
  at	
  the	
  screen	
  below	
  click	
  Configure.	
  	
  
	
  
	
  
Next	
  click	
  SDK	
  Manager	
  to	
  update	
  all	
  the	
  folders	
  and	
  tools	
  in	
  the	
  SDK	
  
Manager	
  so	
  the	
  application	
  won’t	
  get	
  any	
  errors	
  because	
  of	
  missing	
  
updates.	
  
	
  
	
  	
  
	
  
	
  
	
  
A	
  window	
  looking	
  like	
  the	
  picture	
  on	
  the	
  bottom	
  left	
  should	
  open	
  
up.	
  Now	
  click	
  the	
  Install	
  Packages	
  to	
  update	
  all	
  the	
  folders	
  in	
  the	
  SDK	
  
Manager.	
  Now	
  click	
  accept	
  license	
  for	
  each	
  package.	
  
	
  
	
  	
  	
  	
  	
  	
   	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
   	
  
	
  
And	
  the	
  download	
  should	
  take	
  10-­‐20	
  minutes	
  depending	
  on	
  how	
  many	
  packages	
  
should	
  be	
  installed.	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
   	
  
STEP	
  4:	
  Creating	
  a	
  Project	
  
	
  
Part	
  1	
  
	
  
Click	
  Start	
  a	
  new	
  Android	
  Studio	
  App.	
  Name	
  the	
  Application	
  My	
  First	
  App.	
  
Company	
  Domain	
  can	
  be	
  anything	
  you	
  want	
  to	
  name	
  it	
  (it	
  is	
  used	
  to	
  give	
  a	
  unique	
  
name	
  to	
  apps	
  once	
  they	
  are	
  sent	
  to	
  the	
  app	
  store	
  called	
  Google	
  Play	
  (because	
  
multiple	
  people	
  might	
  make	
  My	
  First	
  App)).	
  Project	
  Location	
  can	
  be	
  changed	
  to	
  
anywhere	
  on	
  your	
  computer.	
  
	
  
	
  
	
  
	
   	
  
Part	
  2	
  
	
  
Click	
  Next.	
  Check	
  mark	
  “Phone	
  and	
  Tablet”	
  because	
  we	
  are	
  making	
  	
  This	
  part	
  is	
  
where	
  you	
  choose	
  the	
  lowest	
  android	
  version	
  that	
  is	
  compatible	
  with	
  the	
  app.	
  
Select	
  the	
  API	
  8	
  Android	
  2.2(Froyo)	
  which	
  will	
  let	
  the	
  app	
  work	
  on	
  all	
  Android	
  
devices.	
  (Higher	
  Minimum	
  SDKs	
  will	
  allow	
  for	
  more	
  features	
  but	
  will	
  exclude	
  
devices	
  that	
  run	
  older	
  Android	
  versions).	
  
	
  
	
  
 
Part	
  3	
  
	
  
Click	
  Next.	
  You	
  should	
  come	
  to	
  a	
  screen	
  like	
  the	
  one	
  below	
  Select	
  Blank	
  Activity.	
  
You	
  are	
  choosing	
  a	
  template	
  for	
  your	
  app	
  to	
  run	
  on.	
  	
  
	
  
	
  
	
  
	
   	
  
Part	
  4	
  
	
  
Click	
  Next.	
  
	
  
Android	
  includes	
  dynamic	
  language,	
  language	
  that	
  causes	
  actions	
  (for	
  example	
  
the	
  screen	
  changing	
  when	
  you	
  click	
  on	
  a	
  button)	
  and	
  static	
  language,	
  the	
  
graphics	
  or	
  picture	
  layout	
  of	
  the	
  screen.	
  	
  
	
  
	
  
You	
  will	
  be	
  asked	
  to	
  enter	
  in	
  the	
  Activity	
  Name	
  in	
  the	
  next	
  part.	
  The	
  activity	
  
contains	
  the	
  dynamic	
  language	
  of	
  a	
  screen/page.	
  The	
  Layout	
  Name	
  is	
  the	
  name	
  
of	
  the	
  graphics	
  file	
  that	
  is	
  used	
  for	
  a	
  screen.	
  	
  
	
  
	
  
	
  
For	
  this	
  program	
  we	
  will	
  use	
  the	
  default	
  names	
  that	
  are	
  given	
  to	
  create	
  the	
  
screen	
  we	
  need	
  for	
  the	
  app.	
  Now	
  click	
  Finish.	
  	
  
	
   	
  
 
STEP	
  5:	
  Running	
  on	
  Emulator	
  
	
  
To	
  run	
  an	
  Android	
  Emulator	
  on	
  your	
  computer,	
  click	
  the	
  AVD	
  Manager	
  (blue	
  in	
  
pic	
  to	
  the	
  right)	
  on	
  the	
  top	
  of	
  the	
  screen,	
  and	
  select	
  CREATE	
  VIRTUAL	
  
DEVICE.	
  Select	
  the	
  NEXUS	
  S.	
  Select	
  the	
  one	
  with	
  API	
  level	
  22,	
  x86,	
  and	
  the	
  target	
  
is	
  Google	
  APIs.	
  Now	
  click	
  Finish	
  and	
  you	
  now	
  have	
  created	
  a	
  virtual	
  device.	
  	
  
	
  
	
  
	
  
Now	
  click	
  Run,	
  which	
  looks	
  like	
  the	
  play	
  icon	
  (red	
  on	
  pic	
  to	
  the	
  right).	
  There	
  may	
  
be	
  a	
  little	
  bit	
  of	
  a	
  wait	
  after	
  selecting	
  Run.	
  Another	
  window	
  will	
  appear	
  asking	
  to	
  
choose	
  a	
  device.	
  	
  Choose	
  the	
  device	
  shown	
  to	
  the	
  right	
  and	
  press	
  OK.	
  Wait	
  for	
  1	
  
to	
  2	
  minutes	
  for	
  the	
  emulator	
  to	
  launch.	
  And	
  now	
  your	
  Hello	
  World	
  App	
  should	
  
be	
  displayed	
  on	
  the	
  emulator.	
  Congratulations	
  you	
  have	
  made	
  your	
  first	
  app!	
  
	
  
	
  
	
  
 
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
The	
  reason	
  this	
  worked	
  without	
  programming	
  anything	
  is	
  that	
  Android	
  Studio	
  by	
  
default	
  creates	
  a	
  hello	
  world	
  app	
  so	
  it	
  worked	
  without	
  any	
  manual	
  work	
  in	
  the	
  
program.	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
STEP	
  6:	
  Getting	
  Familiar	
  with	
  an	
  Android	
  Studio	
  Project	
  
	
  
Part	
  1	
  (Project	
  Explorer)	
  	
  
	
  
	
  
	
  
I	
  will	
  call	
  this	
  window	
  in	
  the	
  right	
  of	
  your	
  Android	
  Studio	
  the	
  Project	
  Explorer.	
  
The	
  Project	
  Explorer	
  shows	
  the	
  file	
  structure	
  of	
  your	
  project.	
  
	
  
	
   	
  
Step	
  2	
  (Manifests)	
  
	
  
Go	
  into	
  the	
  manifests	
  folder	
  in	
  the	
  Project	
  Explorer	
  and	
  click	
  on	
  the	
  
AndroidManifest.xml	
  file.	
  Your	
  Android	
  Studio	
  should	
  look	
  something	
  like	
  the	
  
picture	
  below.	
  
	
  
	
  
	
  
	
  
	
  
The	
  manifest	
  file	
  is	
  the	
  definition	
  file	
  of	
  your	
  project.	
  Just	
  like	
  you	
  have	
  to	
  know	
  
the	
  definition	
  of	
  words	
  in	
  order	
  to	
  make	
  a	
  sentence,	
  a	
  computer	
  has	
  to	
  know	
  the	
  
definition	
  of	
  each	
  part	
  of	
  the	
  app	
  (for	
  example	
  an	
  activity)	
  in	
  order	
  to	
  make	
  the	
  
app.	
  Don’t	
  worry	
  about	
  the	
  syntax	
  (the	
  code)	
  of	
  the	
  manifest	
  for	
  now.	
  Manifests	
  
are	
  coded	
  in	
  a	
  language	
  called	
  XML.	
  
	
  
	
   	
  
Part	
  3	
  (Activity)	
  
	
  
Next,	
  go	
  into	
  the	
  java	
  folder	
  of	
  your	
  app.	
  There	
  should	
  be	
  two	
  folders	
  inside	
  with	
  
your	
  company	
  domain.	
  Go	
  into	
  the	
  one	
  without	
  “androidTest”	
  and	
  inside	
  should	
  
be	
  MainActivity.	
  Double	
  click	
  on	
  MainActivity.	
  The	
  window	
  to	
  the	
  left	
  of	
  your	
  
Project	
  Explorer	
  called	
  the	
  editor	
  should	
  look	
  like	
  this.	
  
	
  
	
  
	
  
	
  
The	
  activity	
  contains	
  all	
  the	
  dynamic	
  code	
  of	
  a	
  screen.	
  Dynamic	
  code	
  for	
  Android	
  
is	
  written	
  in	
  JAVA.	
  MainActivity	
  is	
  the	
  dynamic	
  code	
  for	
  the	
  only	
  screen	
  currently	
  
in	
  our	
  app.	
  Don’t	
  worry	
  about	
  the	
  syntax	
  for	
  now.	
  	
  
	
  
	
   	
  
Part	
  4	
  (resources:	
  drawables,	
  layouts,	
  and	
  values)	
  
	
  
Next	
  go	
  into	
  the	
  res	
  folder	
  of	
  your	
  app.	
  Res	
  contains	
  all	
  the	
  static	
  resources,	
  
things	
  (like	
  graphics	
  and	
  images)	
  that	
  don’t	
  change	
  in	
  the	
  app.	
  Code	
  for	
  static	
  
resources	
  is	
  done	
  in	
  XML.	
  	
  
	
  
Drawable	
  
	
  
Go	
  into	
  the	
  drawable	
  folder.	
  Double	
  click	
  on	
  ic_launcher.png.	
  The	
  drawable	
  
folder	
  contains	
  the	
  pure,	
  non	
  code	
  generated	
  graphics	
  of	
  your	
  app	
  (pictures).	
  
Your	
  app	
  uses	
  ic_launcher.png	
  for	
  an	
  app	
  icon	
  on	
  the	
  home	
  page	
  of	
  your	
  android	
  
device.	
  
	
  
	
  
	
  
	
  
There	
  are	
  many	
  different	
  ic_launcher	
  files	
  because	
  the	
  app	
  needs	
  differently	
  sized	
  
images	
  for	
  differently	
  sized	
  screens	
  of	
  Android	
  devices.	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
   	
  
Layout	
  
	
  
Next	
  enter	
  the	
  layout	
  folder	
  below	
  the	
  drawable	
  folder	
  in	
  your	
  Project	
  Explorer.	
  
Double	
  click	
  on	
  activity_main.xml.	
  Your	
  Android	
  Studio	
  should	
  like	
  this.	
  
	
  
	
  
	
  
The	
  layout	
  folder	
  contains	
  the	
  files	
  that	
  define	
  the	
  graphics	
  for	
  screens	
  (how	
  
pictures,	
  buttons,	
  text	
  boxes,	
  etc.	
  are	
  arranged	
  on	
  the	
  touch	
  screen).	
  
Activity_main.xml	
  contains	
  this	
  information	
  for	
  the	
  only	
  screen	
  in	
  our	
  app.	
  
	
  
Enter	
  into	
  the	
  menu	
  folder.	
  This	
  folder	
  contains	
  the	
  layout	
  for	
  the	
  bar	
  at	
  the	
  top	
  
of	
  your	
  app	
  (called	
  the	
  ActionBar).	
  	
  
	
   	
  
Values	
  
	
  
Enter	
  into	
  the	
  values	
  folder.	
  Values	
  are	
  static	
  resources	
  that	
  do	
  not	
  fall	
  into	
  the	
  
categories	
  of	
  drawable	
  and	
  layout.	
  An	
  example	
  would	
  be	
  constant	
  strings,	
  a	
  
series	
  of	
  letters	
  that	
  will	
  not	
  need	
  to	
  be	
  changed	
  in	
  the	
  app.	
  Click	
  on	
  strings.xml.	
  	
  
Your	
  Android	
  Studio	
  should	
  look	
  like	
  this	
  below.	
  
	
  
	
  
	
  
As	
  you	
  may	
  guess	
  from	
  the	
  other	
  files,	
  styles	
  (colors	
  and	
  patterns)	
  and	
  
dimensions	
  can	
  also	
  be	
  defined	
  as	
  values.	
  
	
  
	
   	
  
Part	
  5	
  (Gradle	
  Scripts)	
  
	
  
Next	
  go	
  into	
  gradle	
  scripts.	
  Click	
  on	
  build.gradle	
  (Module:	
  app).	
  Your	
  Android	
  
Studio	
  should	
  look	
  like	
  the	
  picture	
  below.	
  
	
  
	
  
	
  
Gradle	
  Scripts	
  are	
  files	
  that	
  allow	
  the	
  computer	
  to	
  convert	
  the	
  code	
  into	
  an	
  app;	
  
they	
  are	
  usually	
  auto	
  generated.	
  An	
  understanding	
  of	
  them	
  is	
  only	
  needed	
  for	
  
more	
  advanced	
  programming	
  and	
  configurations.	
  
	
  
	
  
	
   	
  
PART	
  6:	
  Experimenting	
  with	
  the	
  App	
  
	
  
Now	
  time	
  to	
  experiment	
  with	
  this	
  project.	
  Go	
  into	
  the	
  folder	
  on	
  the	
  left	
  
called	
  res	
  then	
  drop	
  down	
  the	
  folders	
  and	
  find	
  values	
  and	
  finally	
  double	
  click	
  on	
  
the	
  .xml	
  file	
  strings.xml.	
  This	
  .xml	
  file	
  has	
  all	
  the	
  constant	
  strings	
  you	
  can	
  display	
  
on	
  the	
  app.	
  Where	
  it	
  says	
  “hello_world”>Hello	
  World!</string>.	
  Change	
  it	
  to	
  
anything	
  you	
  want.	
  I	
  am	
  a	
  big	
  Warriors	
  fan	
  so	
  I	
  changed	
  it	
  to	
  “hello_world”>Go	
  
Warriors!</string>.And	
  now	
  on	
  the	
  screen	
  it	
  should	
  display	
  that.	
  
	
  
	
   	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
   	
  
 
Possible	
  Errors	
  and	
  Solutions	
  
	
  
	
  
Once	
  I	
  opened	
  the	
  app	
  I	
  got	
  an	
  error	
  that	
  said	
  
	
  
	
  
	
  
A	
  quick	
  way	
  to	
  fix	
  this	
  if	
  you	
  come	
  across	
  this	
  problem	
  would	
  be	
  by	
  clicking	
  on	
  
the	
  MyFirstApp	
  folder,	
  then	
  the	
  app	
  folder.	
  When	
  in	
  the	
  app	
  folder	
  click	
  the	
  
build.gradle	
  file.	
  Now	
  you	
  should	
  be	
  at	
  a	
  screen	
  like	
  this	
  below:	
  
	
  
	
  
	
  
One	
  small	
  change	
  that	
  is	
  needed	
  is	
  to	
  change	
  the	
  
buildToolsVersion	
  “23.0.0	
  rc1”	
  to	
  buildToolsVersion	
  “23.0.0	
  rc2”.	
  It	
  is	
  the	
  second	
  
line	
  on	
  that	
  page.	
  
This	
  should	
  fix	
  the	
  problem.	
  
	
  
	
   	
  
 
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
Also,	
  you	
  are	
  not	
  allowed	
  to	
  insert	
  apostrophes	
  in	
  the	
  string.	
  Such	
  
as	
   	
  	
  
	
  
This	
  will	
  cause	
  an	
  error	
  that	
  apostrophes	
  cannot	
  be	
  insert	
  in	
  the	
  string.	
  
	
  
If	
  you	
  see	
  an	
  error	
  like	
  this	
  in	
  your	
  app,	
  ignore	
  it	
  and	
  continue	
  on	
  in	
  the	
  tutorial:	
  
	
  
	
   	
  
 
Further	
  Resources	
  and	
  Links	
  
	
  
Here	
  are	
  resources	
  that	
  may	
  help	
  you	
  in	
  this	
  tutorial:	
  
	
  
	
  
How	
  to	
  create	
  an	
  Android	
  Studio	
  Project.	
  
	
  
http://developer.android.com/training/basics/firstapp/index.html	
  
	
  
	
  
How	
  to	
  run	
  your	
  app.	
  	
  
	
  
http://developer.android.com/training/basics/firstapp/running-­‐
app.html	
  
	
  
	
  
The	
  conceptual	
  fundamentals	
  of	
  Android	
  Development	
  	
  
	
  
http://developer.android.com/guide/index.html	
  
	
  
	
  

More Related Content

What's hot

Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Jeanie Arnoco
 
Coding Lesson (iOS for non-developers) by Zakery Kline and Roger Kerse
Coding Lesson (iOS for non-developers) by Zakery Kline and Roger KerseCoding Lesson (iOS for non-developers) by Zakery Kline and Roger Kerse
Coding Lesson (iOS for non-developers) by Zakery Kline and Roger KerseEuropean Innovation Academy
 
Visual Programming
Visual ProgrammingVisual Programming
Visual ProgrammingBagzzz
 
Getting started with the visual basic editor
Getting started with the visual basic editorGetting started with the visual basic editor
Getting started with the visual basic editorputiadetiara
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hourssjmarsh
 
CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19Gobinath Subramaniam
 
Diving into VS 2015 Day1
Diving into VS 2015 Day1Diving into VS 2015 Day1
Diving into VS 2015 Day1Akhil Mittal
 
Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4Manoj Ellappan
 
E learning excel vba programming lesson 1
E learning excel vba programming  lesson 1E learning excel vba programming  lesson 1
E learning excel vba programming lesson 1Vijay Perepa
 
Introduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 FundamentalsIntroduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 FundamentalsSanay Kumar
 
Introduction to visual basic programming
Introduction to visual basic programmingIntroduction to visual basic programming
Introduction to visual basic programmingRoger Argarin
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computersimran153
 
Part 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinterPart 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinterMohamed Essam
 
Advisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScriptAdvisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScriptdominion
 

What's hot (20)

Android app development guide for freshers by ace web academy
Android app development guide for freshers  by ace web academyAndroid app development guide for freshers  by ace web academy
Android app development guide for freshers by ace web academy
 
Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6
 
Coding Lesson (iOS for non-developers) by Zakery Kline and Roger Kerse
Coding Lesson (iOS for non-developers) by Zakery Kline and Roger KerseCoding Lesson (iOS for non-developers) by Zakery Kline and Roger Kerse
Coding Lesson (iOS for non-developers) by Zakery Kline and Roger Kerse
 
Visual Programming
Visual ProgrammingVisual Programming
Visual Programming
 
Getting started with the visual basic editor
Getting started with the visual basic editorGetting started with the visual basic editor
Getting started with the visual basic editor
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hours
 
CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19CS6611 Mobile Application Development Lab Manual-2018-19
CS6611 Mobile Application Development Lab Manual-2018-19
 
Visual Basic 6.0
Visual Basic 6.0Visual Basic 6.0
Visual Basic 6.0
 
Diving into VS 2015 Day1
Diving into VS 2015 Day1Diving into VS 2015 Day1
Diving into VS 2015 Day1
 
Swift
SwiftSwift
Swift
 
Vb introduction.
Vb introduction.Vb introduction.
Vb introduction.
 
visual basic programming
visual basic programmingvisual basic programming
visual basic programming
 
Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4Basic iOS Training with SWIFT - Part 4
Basic iOS Training with SWIFT - Part 4
 
E learning excel vba programming lesson 1
E learning excel vba programming  lesson 1E learning excel vba programming  lesson 1
E learning excel vba programming lesson 1
 
Introduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 FundamentalsIntroduction to Visual Basic 6.0 Fundamentals
Introduction to Visual Basic 6.0 Fundamentals
 
Introduction to visual basic programming
Introduction to visual basic programmingIntroduction to visual basic programming
Introduction to visual basic programming
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computer
 
Visual basic
Visual basicVisual basic
Visual basic
 
Part 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinterPart 4 Introduction to Gui with tkinter
Part 4 Introduction to Gui with tkinter
 
Advisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScriptAdvisor Jumpstart: JavaScript
Advisor Jumpstart: JavaScript
 

Similar to Homework seriesandroidworkshop JUly 12th

Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdfRebaMaheen
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdfRebaMaheen
 
Getting Enter in Android development
Getting Enter in Android developmentGetting Enter in Android development
Getting Enter in Android developmentGhufran Hashmi
 
Introduction to Android and Java.pptx
Introduction to Android and Java.pptxIntroduction to Android and Java.pptx
Introduction to Android and Java.pptxGandhiMathy6
 
androidstudio.pptx
androidstudio.pptxandroidstudio.pptx
androidstudio.pptxSundaresanB5
 
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...NicheTech Com. Solutions Pvt. Ltd.
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfarfa442827
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studioParinita03
 
Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Frank Pham
 
Installing android sdk on net beans
Installing android sdk on net beansInstalling android sdk on net beans
Installing android sdk on net beansAravindharamanan S
 
Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 
Emergency androidstudiochapter
Emergency androidstudiochapterEmergency androidstudiochapter
Emergency androidstudiochapterAravindharamanan S
 

Similar to Homework seriesandroidworkshop JUly 12th (20)

Bird.pdf
 Bird.pdf Bird.pdf
Bird.pdf
 
Getting started with android studio
Getting started with android studioGetting started with android studio
Getting started with android studio
 
Final NEWS.pdf
Final NEWS.pdfFinal NEWS.pdf
Final NEWS.pdf
 
Final NewsApp.pdf
Final NewsApp.pdfFinal NewsApp.pdf
Final NewsApp.pdf
 
Getting Enter in Android development
Getting Enter in Android developmentGetting Enter in Android development
Getting Enter in Android development
 
Introduction to Android and Java.pptx
Introduction to Android and Java.pptxIntroduction to Android and Java.pptx
Introduction to Android and Java.pptx
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
Android wear notes
Android wear notesAndroid wear notes
Android wear notes
 
androidstudio.pptx
androidstudio.pptxandroidstudio.pptx
androidstudio.pptx
 
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
Android Training Ahmedabad , Android Project Training Ahmedabad, Android Live...
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
 
Creating the first app with android studio
Creating the first app with android studioCreating the first app with android studio
Creating the first app with android studio
 
Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1Bai thuc hanh lap trinh Android so 1
Bai thuc hanh lap trinh Android so 1
 
Installing android sdk on net beans
Installing android sdk on net beansInstalling android sdk on net beans
Installing android sdk on net beans
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Emergency androidstudiochapter
Emergency androidstudiochapterEmergency androidstudiochapter
Emergency androidstudiochapter
 
Google Android
Google AndroidGoogle Android
Google Android
 
Android development module
Android development moduleAndroid development module
Android development module
 
Build Your First Android App
Build Your First Android AppBuild Your First Android App
Build Your First Android App
 

More from Rishi Kumar

Hindu Temple Terms & Conditions INSTRUCTORS.pdf
Hindu Temple Terms & Conditions INSTRUCTORS.pdfHindu Temple Terms & Conditions INSTRUCTORS.pdf
Hindu Temple Terms & Conditions INSTRUCTORS.pdfRishi Kumar
 
Issues — anna eshoo for congress 2020
Issues — anna eshoo for congress 2020Issues — anna eshoo for congress 2020
Issues — anna eshoo for congress 2020Rishi Kumar
 
Saratoga's 12 14-21 Proposed development projects for housing element
Saratoga's 12 14-21 Proposed development projects for housing elementSaratoga's 12 14-21 Proposed development projects for housing element
Saratoga's 12 14-21 Proposed development projects for housing elementRishi Kumar
 
Advice letter 569 - surcharges 2021 San Jose Water company
Advice letter 569 - surcharges 2021 San Jose Water companyAdvice letter 569 - surcharges 2021 San Jose Water company
Advice letter 569 - surcharges 2021 San Jose Water companyRishi Kumar
 
Encampment cleanup fact sheet final
Encampment cleanup fact sheet finalEncampment cleanup fact sheet final
Encampment cleanup fact sheet finalRishi Kumar
 
Filing an appeal for the RHNA numbers
Filing an appeal for the RHNA numbersFiling an appeal for the RHNA numbers
Filing an appeal for the RHNA numbersRishi Kumar
 
Quito Village summary letter b
Quito Village summary letter bQuito Village summary letter b
Quito Village summary letter bRishi Kumar
 
Additional revenue for Road Repair : 04 27-2021 agenda packet
Additional revenue for Road Repair : 04 27-2021 agenda packetAdditional revenue for Road Repair : 04 27-2021 agenda packet
Additional revenue for Road Repair : 04 27-2021 agenda packetRishi Kumar
 
Saratoga 04 07-2021 city council agenda -web
Saratoga 04 07-2021 city council agenda -webSaratoga 04 07-2021 city council agenda -web
Saratoga 04 07-2021 city council agenda -webRishi Kumar
 
Capital Improvement Saratoga 03 31-2021 council agenda packet
Capital Improvement Saratoga 03 31-2021 council agenda packetCapital Improvement Saratoga 03 31-2021 council agenda packet
Capital Improvement Saratoga 03 31-2021 council agenda packetRishi Kumar
 
California 2021 redistricting preview the cook political report
California  2021 redistricting preview   the cook political reportCalifornia  2021 redistricting preview   the cook political report
California 2021 redistricting preview the cook political reportRishi Kumar
 
Monte Sereno Letter to CPUC
Monte Sereno Letter to CPUCMonte Sereno Letter to CPUC
Monte Sereno Letter to CPUCRishi Kumar
 
Saratoga 2020 legislative_summary_1328179.1_
Saratoga 2020 legislative_summary_1328179.1_Saratoga 2020 legislative_summary_1328179.1_
Saratoga 2020 legislative_summary_1328179.1_Rishi Kumar
 
Senate housing package__building_opportunities_for_all___focus
Senate housing package__building_opportunities_for_all___focusSenate housing package__building_opportunities_for_all___focus
Senate housing package__building_opportunities_for_all___focusRishi Kumar
 
Housing legislation
Housing legislationHousing legislation
Housing legislationRishi Kumar
 
2021 01 25_retreat_staff_report_-_housing_element_update_dp
2021 01 25_retreat_staff_report_-_housing_element_update_dp2021 01 25_retreat_staff_report_-_housing_element_update_dp
2021 01 25_retreat_staff_report_-_housing_element_update_dpRishi Kumar
 
Housing element presentation
Housing element presentationHousing element presentation
Housing element presentationRishi Kumar
 
New Flightpath affecting Santa Cruz (and Santa Clara county)
New Flightpath affecting Santa Cruz (and Santa Clara county) New Flightpath affecting Santa Cruz (and Santa Clara county)
New Flightpath affecting Santa Cruz (and Santa Clara county) Rishi Kumar
 
2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...
2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...
2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...Rishi Kumar
 
Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...
Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...
Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...Rishi Kumar
 

More from Rishi Kumar (20)

Hindu Temple Terms & Conditions INSTRUCTORS.pdf
Hindu Temple Terms & Conditions INSTRUCTORS.pdfHindu Temple Terms & Conditions INSTRUCTORS.pdf
Hindu Temple Terms & Conditions INSTRUCTORS.pdf
 
Issues — anna eshoo for congress 2020
Issues — anna eshoo for congress 2020Issues — anna eshoo for congress 2020
Issues — anna eshoo for congress 2020
 
Saratoga's 12 14-21 Proposed development projects for housing element
Saratoga's 12 14-21 Proposed development projects for housing elementSaratoga's 12 14-21 Proposed development projects for housing element
Saratoga's 12 14-21 Proposed development projects for housing element
 
Advice letter 569 - surcharges 2021 San Jose Water company
Advice letter 569 - surcharges 2021 San Jose Water companyAdvice letter 569 - surcharges 2021 San Jose Water company
Advice letter 569 - surcharges 2021 San Jose Water company
 
Encampment cleanup fact sheet final
Encampment cleanup fact sheet finalEncampment cleanup fact sheet final
Encampment cleanup fact sheet final
 
Filing an appeal for the RHNA numbers
Filing an appeal for the RHNA numbersFiling an appeal for the RHNA numbers
Filing an appeal for the RHNA numbers
 
Quito Village summary letter b
Quito Village summary letter bQuito Village summary letter b
Quito Village summary letter b
 
Additional revenue for Road Repair : 04 27-2021 agenda packet
Additional revenue for Road Repair : 04 27-2021 agenda packetAdditional revenue for Road Repair : 04 27-2021 agenda packet
Additional revenue for Road Repair : 04 27-2021 agenda packet
 
Saratoga 04 07-2021 city council agenda -web
Saratoga 04 07-2021 city council agenda -webSaratoga 04 07-2021 city council agenda -web
Saratoga 04 07-2021 city council agenda -web
 
Capital Improvement Saratoga 03 31-2021 council agenda packet
Capital Improvement Saratoga 03 31-2021 council agenda packetCapital Improvement Saratoga 03 31-2021 council agenda packet
Capital Improvement Saratoga 03 31-2021 council agenda packet
 
California 2021 redistricting preview the cook political report
California  2021 redistricting preview   the cook political reportCalifornia  2021 redistricting preview   the cook political report
California 2021 redistricting preview the cook political report
 
Monte Sereno Letter to CPUC
Monte Sereno Letter to CPUCMonte Sereno Letter to CPUC
Monte Sereno Letter to CPUC
 
Saratoga 2020 legislative_summary_1328179.1_
Saratoga 2020 legislative_summary_1328179.1_Saratoga 2020 legislative_summary_1328179.1_
Saratoga 2020 legislative_summary_1328179.1_
 
Senate housing package__building_opportunities_for_all___focus
Senate housing package__building_opportunities_for_all___focusSenate housing package__building_opportunities_for_all___focus
Senate housing package__building_opportunities_for_all___focus
 
Housing legislation
Housing legislationHousing legislation
Housing legislation
 
2021 01 25_retreat_staff_report_-_housing_element_update_dp
2021 01 25_retreat_staff_report_-_housing_element_update_dp2021 01 25_retreat_staff_report_-_housing_element_update_dp
2021 01 25_retreat_staff_report_-_housing_element_update_dp
 
Housing element presentation
Housing element presentationHousing element presentation
Housing element presentation
 
New Flightpath affecting Santa Cruz (and Santa Clara county)
New Flightpath affecting Santa Cruz (and Santa Clara county) New Flightpath affecting Santa Cruz (and Santa Clara county)
New Flightpath affecting Santa Cruz (and Santa Clara county)
 
2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...
2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...
2020 05-20. resignation letter Lucas M. Pastuszka .saratoga planning commissi...
 
Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...
Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...
Rishi kumar for Congress 2020. Who is Rishi and context to Rishi's run for Un...
 

Recently uploaded

VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...Suhani Kapoor
 
Issues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptxIssues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptxJenniferPeraro1
 
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607dollysharma2066
 
PM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring ChapterPM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring ChapterHector Del Castillo, CPM, CPMM
 
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...Suhani Kapoor
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一A SSS
 
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)obuhobo
 
Preventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptxPreventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptxGry Tina Tinde
 
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一Fs sss
 
Call Girl in Low Price Delhi Punjabi Bagh 9711199012
Call Girl in Low Price Delhi Punjabi Bagh  9711199012Call Girl in Low Price Delhi Punjabi Bagh  9711199012
Call Girl in Low Price Delhi Punjabi Bagh 9711199012sapnasaifi408
 
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证nhjeo1gg
 
frfefeferfefqfeferc2012 Report Out Slides Final.ppt
frfefeferfefqfeferc2012 Report Out Slides Final.pptfrfefeferfefqfeferc2012 Report Out Slides Final.ppt
frfefeferfefqfeferc2012 Report Out Slides Final.pptSURYAKANTSAHDEO
 
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service CuttackVIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service CuttackSuhani Kapoor
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样umasea
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一Fs
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Discovery Institute
 
Ethics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptEthics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptShafqatShakeel1
 
Application deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfApplication deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfCyril CAUDROY
 
do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of JobRemote DBA Services
 

Recently uploaded (20)

VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
VIP Call Girls Service Jamshedpur Aishwarya 8250192130 Independent Escort Ser...
 
Issues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptxIssues in the Philippines (Unemployment and Underemployment).pptx
Issues in the Philippines (Unemployment and Underemployment).pptx
 
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
 
PM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring ChapterPM Job Search Council Info Session - PMI Silver Spring Chapter
PM Job Search Council Info Session - PMI Silver Spring Chapter
 
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
VIP High Profile Call Girls Jamshedpur Aarushi 8250192130 Independent Escort ...
 
FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974
FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974
FULL ENJOY Call Girls In Gautam Nagar (Delhi) Call Us 9953056974
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
 
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
阿德莱德大学本科毕业证成绩单咨询(书英文硕士学位证)
 
Preventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptxPreventing and ending sexual harassment in the workplace.pptx
Preventing and ending sexual harassment in the workplace.pptx
 
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一 定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
定制(UOIT学位证)加拿大安大略理工大学毕业证成绩单原版一比一
 
Call Girl in Low Price Delhi Punjabi Bagh 9711199012
Call Girl in Low Price Delhi Punjabi Bagh  9711199012Call Girl in Low Price Delhi Punjabi Bagh  9711199012
Call Girl in Low Price Delhi Punjabi Bagh 9711199012
 
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
原版快速办理MQU毕业证麦考瑞大学毕业证成绩单留信学历认证
 
frfefeferfefqfeferc2012 Report Out Slides Final.ppt
frfefeferfefqfeferc2012 Report Out Slides Final.pptfrfefeferfefqfeferc2012 Report Out Slides Final.ppt
frfefeferfefqfeferc2012 Report Out Slides Final.ppt
 
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service CuttackVIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
VIP Call Girls in Cuttack Aarohi 8250192130 Independent Escort Service Cuttack
 
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
办理学位证(纽伦堡大学文凭证书)纽伦堡大学毕业证成绩单原版一模一样
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
 
Digital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, IndiaDigital Marketing Training Institute in Mohali, India
Digital Marketing Training Institute in Mohali, India
 
Ethics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptEthics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.ppt
 
Application deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfApplication deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdf
 
do's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Jobdo's and don'ts in Telephone Interview of Job
do's and don'ts in Telephone Interview of Job
 

Homework seriesandroidworkshop JUly 12th

  • 1. Homework  for  July  12th  2015   Starting  Android  Development               Shivaum  Kumar  and  Aditya  Aggarwal  wrote  the  following  tutorial  for  the   Saratoga  Young  Coders  Club.    
  • 2. Introduction     • In  this  tutorial,  you  will  learn  how  to  program  apps  for  Android   devices.     • Android  devices  are  phones,  tablets,  and  even  watches  that  run   the  Android  software.     • The  Android  software  is  also  called  the  Android  Operating   System.     • 84%  of  the  world’s  devices  run  the  Android  Operating  System   (OS);  therefore,  if  you  know  how  to  code  for  the  Android  OS,  you   can  make  apps  for  many  people.       At  the  end  of  the  tutorial,  you  will  make  this:         Android  apps  are  coded  in  JAVA  and  XML  and  are  created  using  the   computer  program,  Android  Studio.  Before  I  describe  what  each   language  does  and  how  to  use  Android  Studio,  you  have  to  set  up  your   computer  to  use  them.  The  setup  is  what  much  of  this  tutorial  will  be   about.      
  • 3. STEP  1:  JDK  7     First,  you  have  to  make  sure  JDK  7  (Java  Version  7)  is  installed.         __________________________________________________________________________________   Mac  Users     Search  for  the  application  TERMINAL  on  your  computer.         Next  in  the  terminal  app  type  in  java  -­‐version.         If  you  don’t  have  the  JDK  7  installed  terminal  will  tell  you  command  not   found.   __________________________________________________________________________________      
  • 4. ___________________________________________________________________________________   Windows  Users     For  newer  versions  of  Windows  or  if  you  already  have  JDK  7,  these  may   not  be  the  right  instructions.  Meet  me  10  minutes  before  the  workshop,   if  you  cannot  install  JDK  7.     1. Go  to  the  Control  Panel   2. Click  the  Programs  Icon   3. Click  the  Java  Icon   4. Click  the  About  Icon     The  version  should  be  listed  here.  If  the  Version  number  is  7  or  greater   (ignore  the  other  information)  you  already  have  JDK  7.           Here  are  further  instructions:     https://wiki.csuchico.edu/confluence/display/help/How+to+check+yo ur+Java+Version+in+Windows+7   ___________________________________________________________________________________       Here  is  the  link  to  download  JDK  7  if  you  do  not  have  it:   http://www.oracle.com/technetwork/java/javase/downloads/index.ht ml  
  • 5. STEP  2:  Download  Android  Studio       Go  to  this  link.  https://developer.android.com/sdk/index.html   Click  the  Download  button.  Accept  the  terms  and  conditions.             After  done  downloading,  if  any  update  is  there  it  will  prompt  you  to   update.  Always  choose  the  update  and  restart  option.        
  • 6.   STEP  3:  Using  SDK  (Software  Development  Kit)  Manager     When  at  the  screen  below  click  Configure.         Next  click  SDK  Manager  to  update  all  the  folders  and  tools  in  the  SDK   Manager  so  the  application  won’t  get  any  errors  because  of  missing   updates.              
  • 7. A  window  looking  like  the  picture  on  the  bottom  left  should  open   up.  Now  click  the  Install  Packages  to  update  all  the  folders  in  the  SDK   Manager.  Now  click  accept  license  for  each  package.                                             And  the  download  should  take  10-­‐20  minutes  depending  on  how  many  packages   should  be  installed.                      
  • 8. STEP  4:  Creating  a  Project     Part  1     Click  Start  a  new  Android  Studio  App.  Name  the  Application  My  First  App.   Company  Domain  can  be  anything  you  want  to  name  it  (it  is  used  to  give  a  unique   name  to  apps  once  they  are  sent  to  the  app  store  called  Google  Play  (because   multiple  people  might  make  My  First  App)).  Project  Location  can  be  changed  to   anywhere  on  your  computer.            
  • 9. Part  2     Click  Next.  Check  mark  “Phone  and  Tablet”  because  we  are  making    This  part  is   where  you  choose  the  lowest  android  version  that  is  compatible  with  the  app.   Select  the  API  8  Android  2.2(Froyo)  which  will  let  the  app  work  on  all  Android   devices.  (Higher  Minimum  SDKs  will  allow  for  more  features  but  will  exclude   devices  that  run  older  Android  versions).      
  • 10.   Part  3     Click  Next.  You  should  come  to  a  screen  like  the  one  below  Select  Blank  Activity.   You  are  choosing  a  template  for  your  app  to  run  on.              
  • 11. Part  4     Click  Next.     Android  includes  dynamic  language,  language  that  causes  actions  (for  example   the  screen  changing  when  you  click  on  a  button)  and  static  language,  the   graphics  or  picture  layout  of  the  screen.         You  will  be  asked  to  enter  in  the  Activity  Name  in  the  next  part.  The  activity   contains  the  dynamic  language  of  a  screen/page.  The  Layout  Name  is  the  name   of  the  graphics  file  that  is  used  for  a  screen.           For  this  program  we  will  use  the  default  names  that  are  given  to  create  the   screen  we  need  for  the  app.  Now  click  Finish.        
  • 12.   STEP  5:  Running  on  Emulator     To  run  an  Android  Emulator  on  your  computer,  click  the  AVD  Manager  (blue  in   pic  to  the  right)  on  the  top  of  the  screen,  and  select  CREATE  VIRTUAL   DEVICE.  Select  the  NEXUS  S.  Select  the  one  with  API  level  22,  x86,  and  the  target   is  Google  APIs.  Now  click  Finish  and  you  now  have  created  a  virtual  device.           Now  click  Run,  which  looks  like  the  play  icon  (red  on  pic  to  the  right).  There  may   be  a  little  bit  of  a  wait  after  selecting  Run.  Another  window  will  appear  asking  to   choose  a  device.    Choose  the  device  shown  to  the  right  and  press  OK.  Wait  for  1   to  2  minutes  for  the  emulator  to  launch.  And  now  your  Hello  World  App  should   be  displayed  on  the  emulator.  Congratulations  you  have  made  your  first  app!        
  • 13.                                 The  reason  this  worked  without  programming  anything  is  that  Android  Studio  by   default  creates  a  hello  world  app  so  it  worked  without  any  manual  work  in  the   program.                  
  • 14. STEP  6:  Getting  Familiar  with  an  Android  Studio  Project     Part  1  (Project  Explorer)           I  will  call  this  window  in  the  right  of  your  Android  Studio  the  Project  Explorer.   The  Project  Explorer  shows  the  file  structure  of  your  project.        
  • 15. Step  2  (Manifests)     Go  into  the  manifests  folder  in  the  Project  Explorer  and  click  on  the   AndroidManifest.xml  file.  Your  Android  Studio  should  look  something  like  the   picture  below.             The  manifest  file  is  the  definition  file  of  your  project.  Just  like  you  have  to  know   the  definition  of  words  in  order  to  make  a  sentence,  a  computer  has  to  know  the   definition  of  each  part  of  the  app  (for  example  an  activity)  in  order  to  make  the   app.  Don’t  worry  about  the  syntax  (the  code)  of  the  manifest  for  now.  Manifests   are  coded  in  a  language  called  XML.        
  • 16. Part  3  (Activity)     Next,  go  into  the  java  folder  of  your  app.  There  should  be  two  folders  inside  with   your  company  domain.  Go  into  the  one  without  “androidTest”  and  inside  should   be  MainActivity.  Double  click  on  MainActivity.  The  window  to  the  left  of  your   Project  Explorer  called  the  editor  should  look  like  this.           The  activity  contains  all  the  dynamic  code  of  a  screen.  Dynamic  code  for  Android   is  written  in  JAVA.  MainActivity  is  the  dynamic  code  for  the  only  screen  currently   in  our  app.  Don’t  worry  about  the  syntax  for  now.          
  • 17. Part  4  (resources:  drawables,  layouts,  and  values)     Next  go  into  the  res  folder  of  your  app.  Res  contains  all  the  static  resources,   things  (like  graphics  and  images)  that  don’t  change  in  the  app.  Code  for  static   resources  is  done  in  XML.       Drawable     Go  into  the  drawable  folder.  Double  click  on  ic_launcher.png.  The  drawable   folder  contains  the  pure,  non  code  generated  graphics  of  your  app  (pictures).   Your  app  uses  ic_launcher.png  for  an  app  icon  on  the  home  page  of  your  android   device.           There  are  many  different  ic_launcher  files  because  the  app  needs  differently  sized   images  for  differently  sized  screens  of  Android  devices.                    
  • 18. Layout     Next  enter  the  layout  folder  below  the  drawable  folder  in  your  Project  Explorer.   Double  click  on  activity_main.xml.  Your  Android  Studio  should  like  this.         The  layout  folder  contains  the  files  that  define  the  graphics  for  screens  (how   pictures,  buttons,  text  boxes,  etc.  are  arranged  on  the  touch  screen).   Activity_main.xml  contains  this  information  for  the  only  screen  in  our  app.     Enter  into  the  menu  folder.  This  folder  contains  the  layout  for  the  bar  at  the  top   of  your  app  (called  the  ActionBar).        
  • 19. Values     Enter  into  the  values  folder.  Values  are  static  resources  that  do  not  fall  into  the   categories  of  drawable  and  layout.  An  example  would  be  constant  strings,  a   series  of  letters  that  will  not  need  to  be  changed  in  the  app.  Click  on  strings.xml.     Your  Android  Studio  should  look  like  this  below.         As  you  may  guess  from  the  other  files,  styles  (colors  and  patterns)  and   dimensions  can  also  be  defined  as  values.        
  • 20. Part  5  (Gradle  Scripts)     Next  go  into  gradle  scripts.  Click  on  build.gradle  (Module:  app).  Your  Android   Studio  should  look  like  the  picture  below.         Gradle  Scripts  are  files  that  allow  the  computer  to  convert  the  code  into  an  app;   they  are  usually  auto  generated.  An  understanding  of  them  is  only  needed  for   more  advanced  programming  and  configurations.          
  • 21. PART  6:  Experimenting  with  the  App     Now  time  to  experiment  with  this  project.  Go  into  the  folder  on  the  left   called  res  then  drop  down  the  folders  and  find  values  and  finally  double  click  on   the  .xml  file  strings.xml.  This  .xml  file  has  all  the  constant  strings  you  can  display   on  the  app.  Where  it  says  “hello_world”>Hello  World!</string>.  Change  it  to   anything  you  want.  I  am  a  big  Warriors  fan  so  I  changed  it  to  “hello_world”>Go   Warriors!</string>.And  now  on  the  screen  it  should  display  that.                                    
  • 22.   Possible  Errors  and  Solutions       Once  I  opened  the  app  I  got  an  error  that  said         A  quick  way  to  fix  this  if  you  come  across  this  problem  would  be  by  clicking  on   the  MyFirstApp  folder,  then  the  app  folder.  When  in  the  app  folder  click  the   build.gradle  file.  Now  you  should  be  at  a  screen  like  this  below:         One  small  change  that  is  needed  is  to  change  the   buildToolsVersion  “23.0.0  rc1”  to  buildToolsVersion  “23.0.0  rc2”.  It  is  the  second   line  on  that  page.   This  should  fix  the  problem.        
  • 23.                   Also,  you  are  not  allowed  to  insert  apostrophes  in  the  string.  Such   as         This  will  cause  an  error  that  apostrophes  cannot  be  insert  in  the  string.     If  you  see  an  error  like  this  in  your  app,  ignore  it  and  continue  on  in  the  tutorial:        
  • 24.   Further  Resources  and  Links     Here  are  resources  that  may  help  you  in  this  tutorial:       How  to  create  an  Android  Studio  Project.     http://developer.android.com/training/basics/firstapp/index.html       How  to  run  your  app.       http://developer.android.com/training/basics/firstapp/running-­‐ app.html       The  conceptual  fundamentals  of  Android  Development       http://developer.android.com/guide/index.html