快樂很偉大
顯示具有 Learning Schedue 標籤的文章。 顯示所有文章
顯示具有 Learning Schedue 標籤的文章。 顯示所有文章

2013年8月6日 星期二

[自學進度] 2013/8/6

Android

  • 出處:Saving Data in SQL Databases
  • 官方demo code:Searchable Dictionary  (需要Android關於Thread的知識:Processes and Threads
  • 稍微研究了一下官方的demo code,在Android裡Thread的概念滿重要的,更改目標先學習Thread


Thread
  • new Runnable 所做的事與 class implement Runnable 是一樣的

-----------------------------------------------------------------------------------------------------------------------------
The APIs you'll need to use a database on Android are available in the
android.database.sqlite package.

Define a Schema and Contract
  • The schema is reflected in the SQL statements that you use to create your database. 
  • You may find it helpful to create a companion class, known as a contract class, which explicitly specifies the layout of your schema in a systematic and self-documenting way.
  • A contract class 
    • is a container for constants that define names for URIs, tables, and columns.
    • allows you to use the same constants across all the other classes in the same package.
      •  This lets you change a column name in one place and have it propagate throughout your code.


2013年8月5日 星期一

[自學進度] 2013/8/5

查到未讀



筆記





    2013年8月2日 星期五

    [自學進度] 2013/8/2



    Adding the Action Bar筆記:
    • How to request such a theme depends on which version of Android is the lowest supported by your app
    • To add actions to the action bar, create a new XML file in your project's res/menu/ directory.


    遇到的問題
    • ic_action_search:注意圖片的檔名開頭一定要是ic,然後實際存放的資料夾res\drawable裡的檔案也是要ic,不能有ic以外的,例如檔名打2_action_search,在run時就會錯誤

    [自學進度] 2013/8/1

    2013年7月29日 星期一

    [自學進度]2013/7/29

    • JAVA易世界
      • CH10: 集合架構與泛型(p.305~311)
        • p.311的MapEx範例還沒看完,要先看CH7資料的輸入/輸出
    • Android   API Guide

    [自學進度] 2013/7/26

    • JAVA易世界
      • CH10: 集合架構與泛型(到p.304)
      • MySQL  (p476)
    以下未讀

    2013年7月25日 星期四

    [自學進度] 2013/7/25