Skip to main content

Home/ Android Dev/ Group items tagged development

Rss Feed Group items tagged

Vincent Tsao

FrameLayout | Android Developers - 1 views

  • FrameLayout is designed to block out an area on the screen to display a single item. You can add multiple children to a FrameLayout, but all children are pegged to the top left of the screen. Children are drawn in a stack, with the most recently added child on top. The size of the frame layout is the size of its largest child (plus padding), visible or not (if the FrameLayout's parent permits). Views that are GONE are used for sizing only if setConsiderGoneChildrenWhenMeasuring() is set to true.
    • Vincent Tsao
       
      FrameLayout才是最有潜力的布局方式
Vincent Tsao

Android 3.0 Preview SDK | Android Developers - 0 views

  • Once you have installed these components, open your SDK directory and navigate to docs/sdk/ and open index.html in your browser.
    • Vincent Tsao
       
      这个文档还真是藏得很隐蔽!
Vincent Tsao

Fragments | Android Developers - 1 views

  • If you add multiple changes to the transaction (such as another add() or remove()) and call addToBackStack(), then all changes applied before you call commit() are added to the back stack as a single transaction and the BACK key will reverse them all together.
    • Vincent Tsao
       
      what's the point to provide such  mechanism?
  • The most significant difference in lifecycle between an activity and a fragment is how one is stored in its respective back stack. An activity is placed into a back stack of activities that's managed by the system when it's stopped, by default (so that the user can navigate back to it with the BACK key, as discussed in Tasks and Back Stack). However, a fragment is placed into a back stack managed by the host activity only when you explicitly request that the instance be saved by calling addToBackStack() during a transaction that removes the fragment.
  • In some cases, you might need a fragment to share events with the activity. A good way to do that is to define a callback interface inside the fragment and require that the host activity implement it. When the activity receives a callback through the interface, it can share the information with other fragments in the layout as necessary.
  •  
    好特別、好酷的一個類
Vincent Tsao

Android Developers Union - Sharecroppers Unite! - AnDevUni - 1 views

  •  
    android开发者们的"变法"呼声!
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正式版终于发布了,同志们赶紧跟进了
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.
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

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

Android Developers Blog: Commerce Tracking with Google Analytics for Android - 1 views

  •  
    各位有已经有用Google Analytics for Android来跟踪用户数据了么?
Kiran Kuppa

apps-for-android - Sample Applications for the Android platform - Google Project Hosting - 2 views

  •  
    "A collection of useful, open source applications that demonstrate basic features of the Android platform."
Kiran Kuppa

New Layout Widgets: Space and GridLayout - 0 views

  •  
    "Ice Cream Sandwich (ICS) sports two new widgets that have been designed to support the richer user interfaces made possible by larger displays: Space and GridLayout."
Jac Londe

Wi-Fi Protected Access - Wikipedia, the free encyclopedia - 0 views

  • Wi-Fi Protected Access (WPA) and Wi-Fi Protected Access II (WPA2) are two security protocols and security certification programs developed by the Wi-Fi Alliance to secure wireless computer networks. The Alliance defined these in response to serious weaknesses researchers had found in the previous system, WEP (Wired Equivalent Privacy).[1] WPA (sometimes referred to as the draft IEEE 802.11i
Kiran Kuppa

Android Layout Tricks #3: Optimize by merging - 1 views

  •  
    The was created for the purpose of optimizing Android layouts by reducing the number of levels in view trees.When the LayoutInflater encounters this tag, it skips it and adds the children to the parent.You can also use when you create a custom composite view. 
« First ‹ Previous 81 - 100 of 142 Next › Last »
Showing 20 items per page