Skip to main content

Home/ Groups/ Android Dev
Vincent Tsao

Set Screen Orientation Manully - 0 views

setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE)

android orientation tip

started by Vincent Tsao on 04 Nov 10 no follow-up yet
Vincent Tsao

Applying Styles and Themes | Android Developers - 0 views

  •  
    using style/theme to make our layout views neat and maintainable
Vincent Tsao

Android Gesture Detector - 醋溜的 - JavaEye技术网站 - 0 views

  •  
    good explanation for the actions: fling, scroll, ....
Vincent Tsao

Possible to change between "full screen" and "with status bar"? - Android Developers | ... - 0 views

  • // go full screen WindowManager.LayoutParams attrs = mActivity.getWindow().getAttributes (); attrs.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; mActivity.getWindow().setAttributes(attrs); // go non-full screen WindowManager.LayoutParams attrs = mActivity.getWindow().getAttributes (); attrs.flags &= (~WindowManager.LayoutParams.FLAG_FULLSCREEN); mActivity.getWindow().setAttributes(attrs);
    • Vincent Tsao
       
      these code can be simplified as below: //go full screen getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); //go non-full screen getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
  •  
    How to toggle fullscreen / non-fullscreen
Vincent Tsao

android-pinch - Project Hosting on Google Code - 0 views

  • Adds multi-touch zoom to; ImageViews, WebViews, and MapViews. Simply use the corresponding object in place of the default, and the "pinch" functionality will be usable. Also includes misc. Views which can be useful for development.
Vincent Tsao

Nexus Two配置及Android 2.3特性新消息_Google Android_cnBeta.COM - 0 views

  • 另外关于Android 2.3版系统的特性也有了新的消息,在姜饼系统中主要针对电源管理做了优化,可以让手机的续航时间得到大幅度的提升,新系统将提供一个新的拨号界面以及用户界面系统的整体性调整,并加入了视频聊天功能
  • Android开发团队还制作了一个全新的复制粘贴系统(不仅仅是文本的复制粘贴),系统集成的社交网络功能得到完善,Google新推出的WebM视频格式也将会得到支持
Vincent Tsao

Build | Android Developers - 0 views

  • Information about the current build, extracted from system properties.
  •  
    using this API to get mobile information which display in "Settings --> About phone"
Vincent Tsao

PackageInfo | Android Developers - 0 views

  • Overall information about the contents of a package. This corresponds to all of the information collected from AndroidManifest.xml.
  •  
    using this API to fetch app info via package name
« First ‹ Previous 181 - 200 of 497 Next › Last »
Showing 20 items per page