Differences between revisions 33 and 34
Revision 33 as of 2015-04-07 22:28:26
Size: 6665
Editor: JunHu
Comment:
Revision 34 as of 2015-04-07 22:29:00
Size: 6671
Editor: JunHu
Comment:
Deletions are marked like this. Additions are marked like this.
Line 83: Line 83:
  * Improve the SocketClient example, by implementing a GUI for configuring the server ip and port. {{attachment:SocketClient.jpg}}   * Improve the SocketClient example, by implementing a GUI for configuring the server ip and port.
    
{{attachment:SocketClient.jpg}}

Creative Apps 201502

1. Planning

  • schedule.jpg

  • Week 1: Installation (Android Studio, Processing with Android Mode), and Hello World!
  • Week 2: Processing with Android Mode
  • Week 3: HTML5/Javascript I
  • Week 4: HTML5/Javascript II
  • Week 5: Android Native Apps I
  • Week 6: Android Native Apps II

2. Week 1

  • Presentations
  • Homework and deliverables
    • If you have no experience with Processing, you are advised to follow GetStartedWithProcessing.pdf to learn the basics (password protected PDF. if you need the password, send j.hu@tue.nl an email);

    • Try out some examples from the Processing programming environment, to see how these examples would behave on the emulator or on your Android phone.
    • Create full screen visual art on Android, using Processing. See below some examples. (To get inspired, you may want to have a look at http://openprocessing.org)

    • Create an Android app, display "Hello Eindhoven" in the center of the screen.
    • What to be delivered (as one single ZIP file)
      • source code
      • screen copy of the output
    • examples.jpg

3. Week 2

  • Presentations
  • Code
  • Homework and deliverables
    • Try out some examples using the Ketai library on the emulator or on your Android phone.
    • Android phone owners: Create an interactive app using one (or more) sensors.
    • Emulator only: Create an interactive app using touch (=mouse) input
    • What to be delivered (as one single ZIP file)
      • source code
      • screen copy of the output

4. Week 3

  • Presentations
  • Code: https://github.com/iddi/creativeapps

  • Homework and deliverables
    • Try out some HTML5 examples on the emulator or on your Android phone.
    • Create an interactive app using one (or more) sensors.
    • What to be delivered (as one single ZIP file)
      • source code
      • screen copy of the output

5. Week 4

6. Week 5

7. Week 6

8. Deliverables

  • Every week you will get homework and you are supposed to compete the work before the next lecture.
  • Deliver your work to creativeapps.submission@gmail.com, with your full name in the subject (so that we can find all your work later easily).

  • Deliver your work always in one ZIP file attached to your email.
  • You don't have to deliver every week. It can be delayed, until one week after the last lecture.
  • Please send your feedback request to one (not all) of the lectures according to this spreadsheet. Registrations.xls

9. Installation

9.1. Android Studio installation

  • If you are asked to install JDK first:
    • check if you have earlier versions of JRE or JDK installed. Uninstall previous versions.
    • download the latest JDK for your system (32bit or 64bit).
    • quit the installation program if it still running.
    • restart the installation.

9.2. Start Android Studio

  • if you see this message, do not panic, do it accordingly.
    • NoJVM.JPG

  • you might need to install build tools:
    • installBuildTools.JPG

9.3. CPU acceleration status

  • if you see the message below when starting the android emulator: In the configuration of the virtual device you need to use ARM cpu instead if the intel one. If you cannot find ARM in the list of choices, you might have to go back to SDK manager to install relevant packages.
    • intel.jpg

9.4. ANDROID_AVD_HOME

  • When starting the android emulator, if it complaints that it can not find the <name of the AVD>.ini in "ANDROID_AVD_HOME" or "HOME" locations:

    1. find out where your ANDROID_AVD_HOME actually is. In AVD manager, select the AVD, then press the button "Details". In the picture below, the path in the red ellipse is actually where ANDROID_AVD_HOME should be.
      • avddetails.jpg

    2. Go to Control Panel\System and Security\System, then Advanced system settings, Advanced, Environment Variables, in the lower part of the dialog box about "System variables", press "New..." or if the ANDROID_AVD_HOME exists, press "Edit", make sure it looks like the following. Note: you have to fill out what is actually your ANDROID_AVD_HOME from Step 1.
      • avdhome.jpg

9.5. An alternative emulator

9.6. How to speed up the emulator

Thanks to Sven Ebens.

  • need an intel chipset, that supports VT-X
  • need to enable virtualization technology (or simular) in BIOS
  • snapshot is not necessarily faster, because it still takes basicly the same time to boot, but you get to continue where you left off
  • Disable Driver Signature Verification:disabledirver.pdf

  • Faster emulator: fasteremulator.png

CreApps: FrontPage/CreativeApps201502 (last edited 2015-04-07 22:29:00 by JunHu)