Thursday, 30 September 2010

Android:The easiest way to load image from URL

The easiest way to download image from URL is to use method Drawable.createFromStream:

main.xml:
<linearlayout android:id="@+id/LinearLayout01" 
android:layout_height="fill_parent" 
android:layout_width="fill_parent" 
xmlns:android="http://schemas.android.com/apk/res/android">
<imageview android:id="@+id/ImageView1" 
android:layout_height="wrap_content" 
android:layout_width="wrap_content">
</imageview></linearlayout>

Android: Download progress



How to create progress of file downloading

Wednesday, 29 September 2010

Android: Beginning


Here are a few steps to begin develop for Android:
  1. Install JDK 
  2. Install Eclipse IDE 
  3. Install Android SDK 
  4. Instal  Eclipse Android plugin
References:
How to do all steps more detailed here (Russian lang)
Good resource

UPDATE: use this link http://developer.android.com/sdk/index.html