Skip to main content

Home/ Android Dev/ Group items tagged html

Rss Feed Group items tagged

Vincent Tsao

Using the Action Bar | Android Developers - 1 views

  •  
    到3.0才提供API级别的Action Bar widget Android, 你让我情何已堪!
Vincent Tsao

Android Developers Blog: Final Android 3.0 Platform and Updated SDK Tools - 1 views

  •  
    Android 3.0正式版终于发布了,同志们赶紧跟进了
Vincent Tsao

ysl 的程式天堂 - Android 應用開發‧研究‧與諮詢: 深入研究 IntentService 原始碼 - 1 views

  • 如果你呼叫 startService() 多次,每一次的呼叫都會被轉成一個 message,並放在 mServiceLooper 的 message queue 中,等待被服務。一個 message 所對應的工作被完成後,才會繼續服務下一個工作。所以,這些等待被服務的工作,並不是一起並行 (Concurrent) 的,而是循序執行。
  • 從研究這個 IntentService 的原始碼,我們可以學到如何運用簡單的 pattern (Service + Handler + HandlerThread),幫我們更簡易與有系統地,完成我們所想要做的事
  • 最後我們先前說過,在 IntentServcie 中等待被服務的工作,並不會被一起並行,而是循序執行。如果你今天想要這些等待被服務的工作,能夠一起被並行,在研讀完這個 IntentService 的原始碼後,你自己知不知道如何寫個可支援並行工作的 IntentService? 提示:可以用 Service + AsyncTask 的組合
Simon Pan

Administering In-app Billing | Android Developers - 0 views

    • Simon Pan
       
      此頁已閱讀完畢 重點︰ 1.要加入permission: com.android.vending.BILLING 2.新增in app product到publish裡 3.product ID開頭必定為小寫或數字、且由a-z,數字、底線、點組合而成。另外,android.test被保留 4.Product ID一旦被建立後,無法再被重覆使用,即使己經刪除了這個Product ID 5.記得要設定測試帳戶 6.底下提供了幾個官方的討論串
  • does not
  • request to Android Market
  • ...1 more annotation...
  • You can then process the refund through your Google Checkout Merchant account.
Jac Londe

XLP Energy Harvesting Dev Board | DigiKey - 0 views

  • XLP Energy Harvesting Development Board The XLP 16-bit Energy Harvesting Development Kit is a true development platform for realizing energy harvesting applications. The Microchip nanoWatt XLP PIC MCUs are ideal for these low power applications with sleep currents down to 20nA, active mode currents down to 50uA/MHz, code execution efficiency, and multiple wake-up sources. Powered only by light, the XLP kit enables rapid prototyping of low power applications such as RF sensors, temperature/environmental sensors, utility meters, remote controls, and security sensors to name just a few. For software development and programming, the kit includes the PICkit 3 programmer/debugger for use with the Microchip’s free MPLAB™ Integrated Development Environment.
  • UART to USB bridge for use in prototyping and PC communication
  • Solar Energy Harvester with EnerChip storage devices providing backup power
  • ...6 more annotations...
  • Individual disable jumpers for board components such as temperature sensors, LEDs, EEPROM, and potentiometer thereby removing unwanted standby current
  • Expansion PICtail connector with MCU controlled power supply
  • Prototyping area for adding additional sensors and circuits
  • PICkit 3 Programmer/Debugger and board level connector for application software development
  • PIC24F16KA102 eXtreme Low Power MCU with 20nA sleep currents(Can also be used with PIC24FJ64GA102)
  • Energy Aware software reports charge status as a percentage and charge state (Charging or Discharging EnerChips)
Simon Pan

Providing Resources | Android Developers - 1 views

Simon Pan

Google Map View | Android Developers - 0 views

  • degrees * 1e6
    • Simon Pan
       
      FLOAT經緯度換成INT算法︰ degrees*1e6
  • Before the addOverlay() method is called
  • Add this at the top of the HelloItemizedOverlay class
    • Simon Pan
       
      放在class的大括弧裡面。如public class HelloItemizedOverlay{ private ArrayList mOverlays = new ArrayList(); }
  • ...2 more annotations...
  • the default marker
  • You're now done
Simon Pan

Maps External Library - Google Projects for Android - 0 views

  • The <uses-library> reference is required
    • Simon Pan
       
      一定要在manifest里宣告,否则会出错
Simon Pan

Maps External Library - Google Projects for Android - 0 views

  • The certificate you use to sign your application must match the certificate that is associated with the API Key in your MapView objects.
    • Simon Pan
       
      註冊給Google map的keystore所得到的金鑰必須與發佈的keystore吻合,地圖才會顯示。如果是Debug.key可能是造成Google Map無法順利顯示的原因。
Simon Pan

Building Custom Components | Android Developers - 2 views

  • When the class is nested in the NoteEditor class, this technique will not work.
    • Simon Pan
       
      当自己复写的View写在内部类时,在xml呼叫这个新类是没有用的!
  •  
    有什么具体案例么?
  •  
    这句话是写在第4点 Use the Custom Component中∶ Notice that the MyEditText class is now a separate class file. 1.When the class is nested in the NoteEditor class, this technique will not work. 我还没真实遇到,Diigo先! 总之告诉我们如果将自己写的View写成内部类时, XML会找不到!
Simon Pan

Tasks and Back Stack | Android Developers - 0 views

  • is honored over
    • Simon Pan
       
      Activity A會被優先重視
Simon Pan

Common Layout Objects | Android Developers - 1 views

    • Simon Pan
       
      1.每個LinearLayout裡的元件都能設定Weight 2.先量出有幾個元件 3.把沒有Weight(不用擴展)的元件先占據出位置 4.剩下有設Weight的元件才會依比例分配要占據多大。
  • rest equally
  • gravity, by default, is left
  • ...8 more annotations...
  • topmost or leftmost
  • A table can leave cells empty, but cells cannot span columns
  • a single row
  • specified by ID
  • order given
  • toLeftOf
  • android:padding="10px"
  • all hold child UI elements
Vincent Tsao

Google I/O 2011 Session Schedule - 1 views

  •  
    Google I/O 2011 倒计时
« First ‹ Previous 121 - 140 of 143 Next ›
Showing 20 items per page