Android Hacks - Hack18 ~ Hack20

  • Published on
    24-May-2015

  • View
    827

  • Download
    2

Embed Size (px)

DESCRIPTION

Android Hacks & ()http://www.oreilly.co.jp/books/9784873114569/

Transcript

  • 1. ANDROID HACKS #18 #19 #20 Twitter : @ginyutok 09/19/11

2.

    • Android Hacks
    • http://www.oreilly.co.jp/books/9784873114569/

09/19/11 3.

      • Hack Hack
      • Hack Hack

09/19/11 4. 1. 09/19/11 5. 1.

  • ->Apprication Not Responding

09/19/11 6. 1-1.

    • Thread th = new Thread() {
    • public void run() {
    • Handler.post (new Runnable()) {
    • @Override public void run() {
    • mTextView1.setText(process finish!!);
    • mProgressDialog.dismiss();

09/19/11 7. 2. 09/19/11 8. 2.

    • ProgressBar
    • XML
    • Android2.1 7
      • ProgressBarStyle Large Small
      • ProgressBarStyleInverse Large Small
      • ProgressBarStyleHorizontal Indeterminate false ( )

09/19/11 9. 2-1.

  • ProgressBar
    • Max ( 100)
    • Progress ( )
    • SecondaryProgress ( )
        • Progress
        • SecondaryProgress

09/19/11 10. 2-1.

  • ProgressBar
    • Indeterminate
      • true( ) : Max
      • false( ) : Max
    • Indeterminate ProgressBarStyleHorizontal
      • false

09/19/11 11. 2-2.

    • Activity
      • requestWindowFeature
      • setProgress Progress SecondaryProgress
        • Max (0 10000)

09/19/11 12. 2-3.Hack Hack

09/19/11 13. 2-3.Hack Hack

    • : progressview
    • mainview
    • showProgress hideProgress

09/19/11 14. 3. 09/19/11 15. 3.

  • TextToSpeech
    • TextToSpeech.OnInitListener
      • 1 Context (Activity Service )
      • 2 TextToSpeech.OnInitListener
    • Locale

09/19/11 16. 3.

  • TextToSpeech
    • Speak
      • 1
      • 2
      • 3
      • QUEUE_FLUSH
      • QUEUE_ADD

09/19/11 17. 3-1.Hack Hack

09/19/11 18. URL

  • Android Developers
    • http://developer.android.com/intl/ja/index.html

09/19/11