Skip to main content

Home/ Android Dev/ Group items tagged code

Rss Feed Group items tagged

Vincent Tsao

Selecting text in a WebView? - Stack Overflow - 1 views

  • From the class that extends WebView: public void selectAndCopyText() {    try {        Method m = WebView.class.getMethod("emulateShiftHeld", null);        m.invoke(this, null);    } catch (Exception e) {        throw new AssertionError(e);    }} And then you have to use ClipboardManager to watch for new text. P.S. Historical note: this hack is based on Android 1.5 WebView implementation.
Vincent Tsao

CommonsWare Android Components - 1 views

  • The CommonsWare Android Components, or CWAC, are open source libraries to help solve various tactical problems with Android development. Each CWAC component is packaged as a tiny JAR file that you can add to your project (e.g., drop it in libs/), requiring at most other CWAC JARs as dependencies.
Vincent Tsao

chrometophone - Project Hosting on Google Code - 0 views

  • Google Chrome to Phone Extension is a project consisting of a Chrome Extension, Android App, and supporting AppEngine server that enables users to send links from their Chrome desktop browser to their Android device using Android's Cloud to Device Messaging service.
Vincent Tsao

libaddressinput - Project Hosting on Google Code - 2 views

  • This widget allows users to input their address, and perform validation on this by talking to an address data server. The UI part is Android-specific, but there is potential to re-use the backend and have different UIs (such as GWT) that interface with it. More information will be written here soon on how to integrate this with your android project and our future plans with regards to making the widget available outside the Android environment.
Vincent Tsao

libphonenumber - Project Hosting on Google Code - 1 views

  • oogle's common Java library for parsing, formatting, storing and validating international phone numbers. Optimized for running on smartphones. A direct port to Javascript is also available.
Vincent Tsao

card-catcher - Project Hosting on Google Code - 0 views

  • Opens vcf attachments in emails and let user create a contact
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才是最有潜力的布局方式
« First ‹ Previous 61 - 80 of 103 Next › Last »
Showing 20 items per page