Skip to main content

Vincent Tsao's Library tagged opensource   View Popular, Search in Google

May
18
2011

  • So the basic idea is: launch an AsyncTask making your service call, show a nifty progress dialog while the task thread is running, and have the task’s result be posted back to your activity once it completes. Cool, but what if the user decides to rotate the screen while your task is running? Or a phone call comes in, interrupting your app, and Android decides to kill it? Both these actions will effectively terminateyour activity, and recreate it when resuming (yes, a screen rotation kills your activity, very clever, isn’t it?). Unfortunately, any AsyncTask that was still running now holds a stale reference to your activity, because the restarted activity will be an entirely different object in memory (and it will go through onCreate(), as if the activity had started for the first time). I’m not entirely sure whether AsyncTask will actually post back the data to the old activity object (if it was a weak reference, it may already have been garbage collected), but in any case, your “new” activity will never see it, because it’s a different instance.

    • Droid-Fu offers both support classes meant to be used alongside existing Android code, as well as self-contained, ready-to-be-used components like new adapters and widgets.

        

      The areas tackled by Droid-Fu include:

        
      • application life-cycle helpers
      • support classes for handling Intents and diagnostics
      • better support for background tasks
      • super-easy and robust HTTP messaging
      • powerful caching of Objects, HTTP responses, and remote images
      • custom adapters and views

      I suggest you read this introductory article, and anything that follows.

Jan
19
2011

项目终于更新了,看起来是一个兼容tablet的版本

android opensource iosched

Jan
19
2011

  • This projects aims to provide a reusable action bar widget. The action bar replaces the default title and is therefor located at the top of the screen. The action bar highlights important actions. The action bar pattern is well documented over at Android Patterns.

      

    The action bar widget is an Library Project. This means that there's no need to copy-paste resources into your own project, simply add the action bar widget as a reference to your existing project.

  • ActionBar for Android
Jan
20
2011

  • GreenDroid is a development library for the Android platform. It is intented to make UI developments easier and consistent through your applications
  • cyrilmottier/GreenDroid - GitHub
  • cyrilmottier/GreenDroid - GitHub
  • cyrilmottier/GreenDroid - GitHub
  • cyrilmottier/GreenDroid - GitHub
  • cyrilmottier/GreenDroid - GitHub
  • cyrilmottier/GreenDroid - GitHub
Nov
10
2010

    • A bunch of sample apps for Android. Simple workarounds and examples for doing things on Android.

      1. Custom Progress Bar - A customized Progress Bar for android with your own animation
      2. Drag and Drop widgets on Android
      3. Ongoing notifications on Android
      4. HTML with images in a Text View
      5. Custom Expandable List Views on Android
      6. Custom List View - Phonebook Example
      7. Custom Title Bar
      8. Android WebView, Javascrip and CSS
      9. Unzip files on Android
Nov
3
2010

  • 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.
1 - 20 of 64 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo
Move to top