2013 11 07 android overview - raisercostin/raisercostin.github.io GitHub Wiki


Date: 2013-12-08 16:00 Title: Learning android development Tags: howto, android, learning, journal Slug: android Updates: 2013-12-08, 2013-12-03, 2013-11-22, 2013-11-07

Goals

I need a clear criteria of success so I should have a very simple problem to solve.

  1. (done) Local - I should have an application on my phone

  2. (done) Pages - Display 10 pages with images of a fairy tale.

  3. (done) Voice - Play audio romanian voice on each page.

  4. (done) Autoplay - After the current page audio finishes move to next page.

  5. (done to test) No hide while listening

  6. (done) read pages/images from assets uris

  7. (done) Hide at the end

  8. (done) single track: skip when image is changed

  9. (done) single track: automatically change image when markers are reached

  10. (done) pause/resume on click

  11. (done) one thumbnail

  12. (done) rename project to zdreanta

  13. (done) Online - I should have an application on google play Zdreanta - v1

  14. (done) smaller size pics (png=>jpg)

  15. (done) remove permissions for USB and network

  16. (done) remove clear caches menu

  17. (done) on volume up a red flash was displayed. now is removed

  18. (done) menu with readByMyself, readToMe, readAutoplay

  19. (done) jump to tale with the menu

  20. (done) published on appsurfer that runs android applications on cloud and display them in browser

  21. (done) force landscape

  22. (done) higher resolution pics

  23. (done) better sync between sound and slides

  24. page counter - to show progress (for parents not childrens)

  25. replay current page on click anywhere

  26. special visible button to go to menu to exit

  27. recitator

  28. Search Engine Optimization: poveste, poezie, basm, versuri, culcare, copii, invatam, diapozitiv, diafilm, romania, regimul, ceausescu, comunism

  29. translate in english - zdreanta - rig rig2 rig3

  30. Pause/Resume Autoplay - After the current page audio finishes move to next page.

  31. Captions - Captions in romanian can be present.

  32. Spelled captions - Captions and spelled voice.

  33. Karaoke - Captions in romanian will show the current syllable (karaoke style).

  34. Reuse diapozitive

  35. The application is like a power point presentation engine. It has

  • content
    • images
    • audio
    • text
    • subtitles
    • animations
    • video
  • tools
    • autoplay
    • progress bar
    • play/resume
    • crowd content
      • record audio
      • record video
      • take pictures
      • draw
      • share
    • rewind 5/10/15 seconds to learn poetry
    • multitrack: images/audio/text
    • repeat tale/section/verse/word/syllables
    • split by sillabs
    • playlist
    • games?
  1. display progress bar

Process

  1. Find a good book (see resources)
  2. Prepare tools
  3. Install on Local Phone
  4. Find a sample similar with this on internet and tweak it.

Install

  1. java
  2. eclipse
  3. android sdk
  4. kies (drivers for the phone)

Resources

Tools

Samples & Demos

  1. googleit
  2. flipper1
  3. flipper2
  4. flipper3
  5. http://www.androidhive.info/2013/09/android-fullscreen-image-slider-with-swipe-and-pinch-zoom-gestures/

Prior knowledge

Since I have various level of understanding on different topics the evaluation of the utility of the resources/books is purely subjective. Probably the selection is influenced by my current level: Beginner, Junior, Senior, Expert on several topics:

  • general software development
  • java
  • mobile
  • android

In my case I'm an experienced java developer with no experience on mobile/device development.

Compiled resources

Various books

Not evaluated

  1. Professional Android 4 Development - By Reto Meier
  2. Best to start with the official documentation
  3. Pro Android 4 - By Satya Komatineni, Dave MacLean
  4. Programming Android: Java Programming for the New Generation of Mobile Devices - By Zigurd Mednieks, Laird Dornin, G. Blake Meike, Masumi Nakamura
  5. Android Apps for Absolute Beginners
  6. Beginning Android Application Development
  7. Programming Android: Java Programming for the New Generation of Mobile Devices
  8. Learn Java for Android Development
  9. Android Wireless Application Development Volume II: Advanced Topics
  10. The Busy Coder’s Guide to Advanced Android Development

Not recommended

  1. Beginning Android 4 Development - By Wei-Ming Lee - all the code is doubled (Once in the solution once in why it works so the book is doubled by this. Doesn't provide explanations to why and what is happening but only you could copy paste this and you will see it works because of these low level details that you can't understand).

Hands-on

Settings

  • Was important to get eclipse going to set ANDROID_SDK_HOME to c:\personal (it will create a .android\ folder where devices are stored)

Decide supported version

  • Android versions can be identified by from source
  • name (2.x, 3.x, 4.x)
  • product code (Froyo, Gingerbread, Ice Cream Sandwich, JellyBean)
  • version (api level)
  • check here to see the
  • decide what android version you want to support
  • 2.x - mobile & tv?
  • Android 2.2–2.2.3 Froyo (API level 8)
  • Android 2.3–2.3.2 Gingerbread (API level 9/10)
  • 3.x - tablets
  • 4.x - mobile&tablets integrated
  • Android 4.0–4.0.2 Ice Cream Sandwich (API level 14/15)
  • Android 4.1 Jelly Bean (API level 16/17/18)

Things I learned

To Do

Feedback (romanian)

ToDo

  • buton play

Cons

  • done - n-o poti face mai mica? gen optimize la poze? ca are 12mb.. si parca nu face prea multe pt 12mb

  • done -- pai sunt pnguri alea.... pot sa le fac jpg si gata

  • done - si s-a mai ofticat un prieten ca cere aprobare pt modifica si delete content pe usb

  • done - tehnic app asta n-ar trebui sa vrea nic *ca zicea la pornire parca ca n-am net

  • done - (unknown reciter) ? nu e narator or so?

  • done - ce-i caches aia? clear caches?

  • done - volume up red flash

  • done - e ametzitor, se misca prea repede imaginile (ce-i asta? e eroare pe mobilu meu sau e by design?) adik io cand ii citesc povesti lu' fiica-mea ne uitam la poze, analizam ce-i acolo punem mana si-i aratam urechea pleshuva si ochii de faianta, ai vazut speedu la youtube 6minute am cronometrat, la tine dureaza pe la 1min50 or so deci lejer de 3 ori mai repede

  • done - alta chestie, cand o pornesc apare ecranu negru si in colt poza cu catzelu. de ce? tre sa inceapa direct povestea. de ce tre sa mai dau un click intr-o zona e ecranului 1/10 sa inceapa? ce? planuiesti sa pui mai multi catzei? if so, pune atunci catzeii in colt, pana atunci vreau sa dau click sa porneasca

  • cred ca merge sa faci de genu un singur buton in dreapta or so dreapta jos rotund mare care sa fie o sageata si cand dai pe el sa treaca mai departe sa schimbe sliedul si cand schimba slideul, sa recite, gen dupa 0.5-1secunde dupa ce s-a schimbat sau imediat sa recite versu ala si cand dai click pe poza tap or so anywhere else adik on the screen sa repete

  • ai facut localizare in playstore si pe romana? s-o localizezi si pe romana daca n-ai facut deja

  • de-asta se repeta pozele acolo la prezentare

Constraints

  • autoplay
  • re autoplay
  • slideuri pe strofe
  • pauza artificiala dupa fiecare vers (in contra recitatoarei)
  • e ok si 5 poze versus 30
  • invatat poezie, adormit inainte de culcare, ajutor cu o foaie printata pt colorat a oricarui slide, citit pe silabe gen karaoke

Advices

  • faptu ca esti in categoria new iti ofera exposure de 10 ori mai mare decat toata lista ta de contacte
  • faci ceva sa fixezi viteza? vrei sa-ti dau 5 stelutze acu sau mai incolo?
  • pai n-ai citit ma in sfaturile de produs chestii valuable ca nu e bine sa pornesti cu asta in cap din prima sa fie aplicatia strutzocamila

http://etimpu.com/tag/diafilm/

⚠️ **GitHub.com Fallback** ⚠️