<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8185104754536174137</id><updated>2024-10-24T03:17:54.155-07:00</updated><category term="Android"/><category term="Uploading images"/><category term="Apache"/><category term="Audio Video"/><category term="Crop Image"/><category term="Samsung"/><category term="android contacts"/><category term="BufferedInputStream"/><category term="DataOutputStream"/><category term="File Java"/><category term="File Xml"/><category term="System"/><category term="getRuntime"/><category term="programatically"/><category term="progressBar"/><category term="smartphone"/><category term="text file in android"/><category term="ActionBar"/><category term="ArrayList"/><category term="Facebook"/><category term="Fileinputstream"/><category term="Fileoutputstream"/><category term="Getinputstream"/><category term="Google"/><category term="India"/><category term="NDTV"/><category term="Samsung Galaxy S4"/><category term="Samsung S3"/><category term="assets"/><category term="contacts"/><category term="delete"/><category term="emulator"/><category term="fanpage"/><category term="gc"/><category term="iPhone"/><category term="label"/><category term="parent folder"/><category term="read"/><category term="read and write"/><category term="release memory"/><category term="runFinalization"/><category term="serialVersionUID"/><category term="stack"/><category term="text file"/><title type='text'>Heaven of all working codes</title><subtitle type='html'>This blog contains answers to all your questions. if can find your answer please drop a comment. Also if you have any answer to a specific question. Please drop a comment and we will publish it under your name.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>33</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-4529358060169092955</id><published>2016-01-21T01:09:00.002-08:00</published><updated>2016-01-21T01:16:17.988-08:00</updated><title type='text'>Starting with Google Maps V2 in Android</title><content type='html'>Starting with Google Maps V2 in Android

 Hi all,
 
In today&#39;s tutorial lets see 

1. How we can add a Google Map to our Android project using Android Studio?
2. Showing a location in the Google Map.
3. Adding Markers in Google Map.
4. Getting location on Tapping on Marker info Window in Google Maps.


Before you start coding, make sure Android studio is all set up for Running the Maps application.

You will need
Google play Services

In the app-level build.gradle add this

&lt;pre class=&quot;brush: java&quot;&gt;
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath &#39;com.android.tools.build:gradle:1.5.0&#39;
    }
}

allprojects {
    repositories {
        jcenter()
    }
}
&lt;/pre&gt;

In the Module-level build.gradle add this in the dependencies

&lt;pre&gt;
dependencies{
 compile &#39;com.google.android.gms:play-services:8.4.0&#39;
 compile &#39;com.android.support:support-v4:23.1.1&#39;
}

android{
 compileSdkVersion &#39;Google Inc.:Google APIs:23&#39;    
 buildToolsVersion &#39;23.0.2&#39;
}
&lt;/pre&gt;
These are the main things you may have your own settings in the build.gradle.

How we can add a Google Map to our Android project using Android Studio?

Take a look at the screenshot for adding new project to your Android Studio and click finish.

[Image 1]


Now Google will create everything you need for a MapActivity except the Google Maps Key.
You need to get the Google maps key before proceeding.

For that you need to sign in to Google and navigate to https://developers.google.com/maps/documentation/android-api/.

Follow the instructions and get the key.

A sample key would look like this.

&quot;AIzaSyC1mQQLwwcms-bAaNmhKUNiW_HBjftQiSE&quot;

Once you get the key, you can start coding.

Now we will check our layout.
In the layout I am adding once edittext to search for a location in maps.

The final layout would look like this.

[xml]
&lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    xmlns:tools=&quot;http://schemas.android.com/tools&quot;
    android:layout_width=&quot;match_parent&quot;
    android:layout_height=&quot;match_parent&quot;&gt;

    &lt;EditText
        android:id=&quot;@+id/searchTxt&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;wrap_content&quot;
        android:singleLine=&quot;true&quot;
        android:layout_alignParentTop=&quot;true&quot;
        android:hint=&quot;Enter ur shop location&quot;/&gt;

    &lt;fragment
        android:id=&quot;@+id/map&quot;
        android:layout_below=&quot;@+id/searchTxt&quot;
        android:name=&quot;com.google.android.gms.maps.SupportMapFragment&quot;
        android:layout_width=&quot;match_parent&quot;
        android:layout_height=&quot;match_parent&quot;
        tools:layout=&quot;@layout/abc_action_bar_title_item&quot; /&gt;

&lt;/RelativeLayout&gt;
[/xml]


Here is our Activity...

This is the complete activity where we will add a marker on searched location. Then we will add a tap listener on the 
info window in the marker to get the location.

[java]
package com.catalinamarketing.activities;

import android.content.Context;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.view.KeyEvent;
import android.view.inputmethod.EditorInfo;
import android.widget.EditText;
import android.widget.TextView;

import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.OnMapReadyCallback;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.CameraPosition;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
import com.google.android.gms.maps.model.MarkerOptions;
import com.google.android.maps.GeoPoint;
import com.modivmedia.mcscan.R;

import java.util.List;

public class MapActivity extends FragmentActivity implements OnMapReadyCallback, GoogleMap.OnMarkerClickListener {

    private GoogleMap mMap;
    public static final String TAG = &quot;MAP&quot;;
    EditText searchLocationTv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_map);

        searchLocationTv = (EditText) findViewById(R.id.searchTxt);

        // Obtain the SupportMapFragment and get notified when the map is ready to be used.
        SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
                .findFragmentById(R.id.map);

        mapFragment.getMapAsync(this);

        // Acquire a reference to the system Location Manager
        LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);

        // Define a listener that responds to location updates
        LocationListener locationListener = new LocationListener() {
            public void onLocationChanged(Location location) {
                // Called when a new location is found by the network location provider.
                setLocationInMap(location);
            }

            public void onStatusChanged(String provider, int status, Bundle extras) {
            }

            public void onProviderEnabled(String provider) {
            }

            public void onProviderDisabled(String provider) {
            }
        };

        // Register the listener with the Location Manager to receive location updates
        locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);

        searchLocationTv.setOnEditorActionListener(new TextView.OnEditorActionListener() {
            public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
                if ((event != null &amp;&amp; (event.getKeyCode() == KeyEvent.KEYCODE_ENTER)) ||
                        (actionId == EditorInfo.IME_ACTION_DONE)) {
                    Log.i(TAG, &quot;Enter pressed&quot;);
                    GeoPoint g = getLocationFromAddress(searchLocationTv.getText().toString().trim());

                    double latitude = g.getLatitudeE6() / 1E6;
                    double longitude = g.getLongitudeE6() / 1E6;

                    Location location = new Location(searchLocationTv.getText().toString().trim());
                    location.setLatitude(latitude);
                    location.setLongitude(longitude);

                    setLocationInMap(location);
                }
                return false;
            }
        });
    }


    /**
     * Manipulates the map once available.
     * This callback is triggered when the map is ready to be used.
     * This is where we can add markers or lines, add listeners or move the camera. In this case,
     * we just add a marker near Sydney, Australia.
     * If Google Play services is not installed on the device, the user will be prompted to install
     * it inside the SupportMapFragment. This method will only be triggered once the user has
     * installed Google Play services and returned to the app.
     */
    @Override
    public void onMapReady(GoogleMap googleMap) {
        mMap = googleMap;
        mMap.setOnMarkerClickListener(this);
        Log.i(TAG, &quot;Map is ready...&quot;);

        mMap.setOnInfoWindowClickListener(
                new GoogleMap.OnInfoWindowClickListener() {
                    @Override
                    public void onInfoWindowClick(Marker arg0) {

                        // TODO Auto-generated method stub
                        arg0.hideInfoWindow();
                        double dlat = arg0.getPosition().latitude;
                        double dlon = arg0.getPosition().longitude;
                        String slat = String.valueOf(dlat);
                        String slon = String.valueOf(dlon);
                        Log.i(TAG, &quot;LAt &quot; + dlat + &quot;Long = &quot; + dlon);
                    }
                }
        );
    }

    private void setLocationInMap(Location location) {
        Log.i(TAG, &quot;Setting Location in Map...&quot;);
        LatLng myLocation = new LatLng(location.getLatitude(), location.getLongitude());
        mMap.addMarker(new MarkerOptions().position(myLocation).title(searchLocationTv.getText().toString().trim())).showInfoWindow();
        CameraPosition cameraPosition = new CameraPosition.Builder().target(myLocation).zoom(2).build();
        mMap.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));

    }

    //Find 5 names and return the first one for the name provided..
    private GeoPoint getLocationFromAddress(String strAddress) {

        Geocoder coder = new Geocoder(this);
        List&lt;Address&gt; address;
        GeoPoint p1 = null;

        try {
            address = coder.getFromLocationName(strAddress, 5);
            if (address == null) {
                return null;
            }
            Address location = address.get(0);
            location.getLatitude();
            location.getLongitude();

            p1 = new GeoPoint((int) (location.getLatitude() * 1E6),
                    (int) (location.getLongitude() * 1E6));
        } catch (Exception e) {

        }
        return p1;
    }

    @Override
    public boolean onMarkerClick(final Marker marker) {
        Log.i(TAG, &quot;marker clicked&quot;);
marker.showInfoWindow();
        return true;
    }
}
[/java]

Here is how the AndroidManifest.xml will look like..

Make sure you add the permissions for location and internet here..
Also add the Android Maps API key.

[xml]
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
    package=&quot;com.demo.maps_demo&quot;
    android:installLocation=&quot;auto&quot;&gt;

    &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;

    &lt;!-- Permission for requesting location updates --&gt;
    &lt;uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot; /&gt;
    &lt;uses-permission android:name=&quot;android.permission.ACCESS_COARSE_LOCATION&quot; /&gt;
    
    &lt;uses-feature
        android:glEsVersion=&quot;0x00020000&quot;
        android:required=&quot;true&quot; /&gt;

    &lt;permission
        android:name=&quot;com.demo.maps_demo.permission.MAPS_RECEIVE&quot;
        android:protectionLevel=&quot;signature&quot; /&gt;

    &lt;uses-permission android:name=&quot;com.demo.maps_demo.permission.MAPS_RECEIVE&quot;/&gt;

    &lt;application
        android:allowBackup=&quot;true&quot;
        android:largeHeap=&quot;true&quot;
        android:icon=&quot;@drawable/icon&quot;
        android:label=&quot;@string/app_name&quot;
        android:theme=&quot;@style/AppTheme&quot;&gt;

        &lt;uses-library android:name=&quot;com.google.android.maps&quot; /&gt;

        &lt;activity
            android:name=&quot;com.demo.maps_demo.MapActivity&quot;
            android:label=&quot;@string/app_name&quot;
            android:screenOrientation=&quot;portrait&quot;
            android:theme=&quot;@android:style/Theme.NoTitleBar&quot;&gt;
            &lt;intent-filter&gt;
                &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;

                &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
            &lt;/intent-filter&gt;
        &lt;/activity&gt;
    

        &lt;!--Google MAP API key--&gt;

        &lt;meta-data
            android:name=&quot;com.google.android.geo.API_KEY&quot;
            android:value=&quot;AIzaSyC1mQQLwwcms-bAaNmhKUNiW_HBjftQiSE&quot; /&gt;
    &lt;/application&gt;

&lt;/manifest&gt;

[/xml]



You are now ready to run the application.
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/4529358060169092955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2016/01/starting-with-google-maps-v2-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4529358060169092955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4529358060169092955'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2016/01/starting-with-google-maps-v2-in-android.html' title='Starting with Google Maps V2 in Android'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-7980676962719701310</id><published>2013-05-27T23:08:00.000-07:00</published><updated>2013-06-21T07:40:24.316-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="assets"/><category scheme="http://www.blogger.com/atom/ns#" term="label"/><category scheme="http://www.blogger.com/atom/ns#" term="parent folder"/><category scheme="http://www.blogger.com/atom/ns#" term="read and write"/><category scheme="http://www.blogger.com/atom/ns#" term="stack"/><category scheme="http://www.blogger.com/atom/ns#" term="text file in android"/><title type='text'>How to read a folder structure in the assets folder in Android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre class=&quot;brush: java&quot;&gt;    AssetManager mngr_spinner = getAssets();
 try {
           int img_count = 0;
           folder_array = mngr_spinner.list(parent_folder_name);
    labels_array = new String[folder_array.length];
           for (int i = 0; i &amp;lt; folder_array.length; i++) 
        {
    // System.out.println(&quot;Folder &quot; + folder_array[i]);
    if ((folder_array[i].endsWith(&quot;.png&quot;) || folder_array[i].endsWith(&quot;.jpg&quot;))) 
         {
           img_count++;
         }
        }
      } catch (IOException e1) 
                  {
     e1.printStackTrace();
    }
&lt;/pre&gt;
&lt;b&gt;Note : The folder will not be read if it has no contents in it.&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/7980676962719701310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2013/05/how-to-read-folder-structure-in-assets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7980676962719701310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7980676962719701310'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2013/05/how-to-read-folder-structure-in-assets.html' title='How to read a folder structure in the assets folder in Android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-5159244860616265980</id><published>2013-05-26T21:51:00.001-07:00</published><updated>2013-05-26T21:54:00.689-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung Galaxy S4"/><title type='text'>Samsung Galaxy S4</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;img alt=&quot;Samsung Galaxy S4&quot; src=&quot;http://www.samsung.com/global/microsite/galaxys4/images/gal_w01.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;Samsung Galaxy S4&quot; src=&quot;http://www.samsung.com/global/microsite/galaxys4/images/gal_w03.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Display&lt;/strong&gt;&lt;br /&gt;
5inch Full HD Super AMOLED (1920 x 1080) display, 441 ppi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;AP&lt;/strong&gt;&lt;br /&gt;
1.9 GHz Quad-Core Processor / 1.6 GHz Octa-Core Processor&lt;br /&gt;
The seletion of AP will be differed by markets&lt;br /&gt;
&lt;strong&gt;Network&lt;/strong&gt;&lt;br /&gt;
2.5G (GSM/ GPRS/ EDGE): 850 / 900 / 1800 / 1900 MHz&lt;br /&gt;
3G (HSPA+ 42Mbps): 850 / 900 / 1900 / 2100 MHz&lt;br /&gt;
4G (LTE Cat 3 100/50Mbps) : up to 6 different band sets (Dependent on market)&lt;br /&gt;
OS&lt;br /&gt;
Android 4.2.2 (Jelly bean)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Memory&lt;/strong&gt;&lt;br /&gt;
16 / 32 / 64GB memory + microSD slot (up to 64GB), 2GB RAM&lt;br /&gt;
&lt;strong&gt;Camera&lt;/strong&gt;&lt;br /&gt;
Main(Rear): 13 Mega pixel Auto Focus camera with Flash &amp;amp; Zero Shutter Lag, BIS&lt;br /&gt;
Sub (Front): 2 Mega pixel camera, Full HD recording @30fps with Zero Shutter Lag, BIS&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Camera Features&lt;/strong&gt;&lt;br /&gt;
Dual Shot , Drama Shot, Sound &amp;amp; Shot, 360 Photo, Animated Photo, Eraser, Night, Best Photo, Best Face, Beauty Face, HDR (High Dynamic Range), Panorama, Sports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Video&lt;/strong&gt;&lt;br /&gt;
Codec: MPEG4, H.264, H.263, DivX, DivX3.11, VC-1, VP8, WMV7/8, Sorenson Spark, HEVC&lt;br /&gt;
Recording &amp;amp; Playback: Full HD (1080p)&lt;br /&gt;
&lt;strong&gt;Audio&lt;/strong&gt;&lt;br /&gt;
Codec: MP3, AMR-NB/WB, AAC/AAC+/eAAC+, WMA, OGG,&lt;br /&gt;
FLAC, AC-3, apt-X&lt;br /&gt;
&lt;strong&gt;Additional Features&lt;/strong&gt;&lt;br /&gt;
Group Play: Share Music, Share Picture, Share Document,&lt;br /&gt;
&lt;strong&gt;Play Games&lt;/strong&gt;&lt;br /&gt;
Story Album, S Translator, Optical Reader&lt;br /&gt;
Samsung Smart Scroll, Samsung Smart Pause, Air Gesture,&lt;br /&gt;
Air View&lt;br /&gt;
Samsung Hub, ChatON (Voice/Video Call, Share screen,&lt;br /&gt;
3-way calling) Samsung WatchON&lt;br /&gt;
S Travel (Trip Advisor), S Voice™ Drive, S Health&lt;br /&gt;
Samsung Adapt Display, Samsung Adapt Sound, Auto adjust touch sensitivity (Glove friendly)&lt;br /&gt;
Safety Assistance, Samsung Link, Screen Mirroring&lt;br /&gt;
Samsung KNOX (B2B only)&lt;br /&gt;
Google Mobile Services&lt;br /&gt;
Google Search, Google Maps, Gmail, Google Latitude Google Play Store, Google Plus, YouTube, Google Talk, Google Places, Google Navigation, Google Downloads, Voice Search&lt;br /&gt;
&lt;strong&gt;Sensor&lt;/strong&gt;&lt;br /&gt;
Accelerometer, RGB light, Geomagnetic, Proximity, Gyro,&lt;br /&gt;
Barometer&lt;br /&gt;
Temperature &amp;amp; Humidity, Gesture&lt;br /&gt;
&lt;strong&gt;Dimension&lt;/strong&gt;&lt;br /&gt;
136.6 x 69.8 x 7.9 mm, 130g&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Connectivity&lt;/strong&gt;&lt;br /&gt;
WiFi 802.11 a/b/g/n/ac (HT80)&lt;br /&gt;
GPS / GLONASS&lt;br /&gt;
NFC, Bluetooth® 4.0 (LE)&lt;br /&gt;
IR LED (Remote Control), MHL 2.0&lt;br /&gt;
Battery&lt;br /&gt;
2,600mAh&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/5159244860616265980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2013/05/samsung-galaxy-s4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5159244860616265980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5159244860616265980'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2013/05/samsung-galaxy-s4.html' title='Samsung Galaxy S4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-4056354031768605194</id><published>2013-03-17T10:17:00.005-07:00</published><updated>2013-03-17T10:47:50.749-07:00</updated><title type='text'>Facebook CEO - Mark Zuckerberg on top CEO List</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.biography.com/imported/images/Biography/Images/Profiles/Z/Mark-Zuckerberg-507402-1-402.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://www.biography.com/imported/images/Biography/Images/Profiles/Z/Mark-Zuckerberg-507402-1-402.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3b3b3c; font-family: Georgia; font-size: 16px; line-height: 23px; outline: 0px; padding: 0px 0px 9px; vertical-align: baseline;&quot;&gt;
The Facebook chief earned a 99 percent approval rating from his social network employees, topping Glassdoor&#39;s annual list of&amp;nbsp;&lt;a href=&quot;http://www.glassdoor.com/50-Highest-Rated-CEOs.htm&quot; style=&quot;border: 0px; color: #007ba1; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;the 50 highest rated CEOs&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3b3b3c; font-family: Georgia; font-size: 16px; line-height: 23px; outline: 0px; padding: 0px 0px 9px; vertical-align: baseline;&quot;&gt;
Glassdoor surveyed hundreds of thousands of employees across various industries, and based on their feedback over the past 12 months, ranked the most impressive bosses, one of which happens to be hoodie-wearing billionaire Zuck.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3b3b3c; font-family: Georgia; font-size: 16px; line-height: 23px; outline: 0px; padding: 0px 0px 9px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3b3b3c; font-family: Georgia; font-size: 16px; line-height: 23px; outline: 0px; padding: 0px 0px 9px; vertical-align: baseline;&quot;&gt;
Read the complete story here&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; outline: 0px; padding: 0px 0px 9px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #3b3b3c; font-family: Georgia;&quot;&gt;&lt;span style=&quot;line-height: 23px;&quot;&gt;&lt;a href=&quot;http://www.pcmag.com/article2/0,2817,2416651,00.asp&quot;&gt;http://www.pcmag.com/article2/0,2817,2416651,00.asp&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/4056354031768605194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2013/03/facebook-ceo-mark-zuckerberg-on-top-ceo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4056354031768605194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4056354031768605194'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2013/03/facebook-ceo-mark-zuckerberg-on-top-ceo.html' title='Facebook CEO - Mark Zuckerberg on top CEO List'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-4466262324662609419</id><published>2013-03-16T10:07:00.002-07:00</published><updated>2013-03-16T10:07:29.702-07:00</updated><title type='text'>Samsung to Launch First Tizen-Powered Phone</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;In an interview with The Wall Street Journal, Samsung mobile chief J.K. Shin said Samsung plans to release a Tizen-powered phone in the third quarter, raising questions&amp;nbsp;about whether it is planning to move away from Google’s Android in the future.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22.5px;&quot;&gt;Read more from here&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 22.5px;&quot;&gt;&lt;a href=&quot;http://blogs.wsj.com/digits/2013/03/14/samsung-to-launch-first-tizen-powered-phone-in-3q/&quot;&gt;http://blogs.wsj.com/digits/2013/03/14/samsung-to-launch-first-tizen-powered-phone-in-3q/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/4466262324662609419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2013/03/samsung-to-launch-first-tizen-powered.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4466262324662609419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4466262324662609419'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2013/03/samsung-to-launch-first-tizen-powered.html' title='Samsung to Launch First Tizen-Powered Phone'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-1015842316544167800</id><published>2012-12-29T07:18:00.002-08:00</published><updated>2013-06-22T08:35:04.037-07:00</updated><title type='text'>How to load a spinner with values from SQlite Database in android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Here is a simple example showing how to load a database values in a spinner in android.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://coderzheaven.com/uploads/images/db_spinner.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://coderzheaven.com/uploads/images/db_spinner.png&quot; width=&quot;179&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
OK we will start.&lt;br /&gt;
This is the layout for the spinner row.&lt;br /&gt;
&lt;b&gt;spinner_row.xml&lt;/b&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;

&lt;textview xmlns:android=&quot;http://schemas.android.com/apk/res/android
android:id=&quot;@+id/tv&quot; 
android:layout_height=&quot;match_parent&quot; 
android:layout_margin=&quot;10dp&quot; 
android:layout_width=&quot;match_parent&quot; 
android:orientation=&quot;vertical&quot; &quot;&gt;
&lt;/textview&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;activity_main.xml&lt;/b&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: xml&quot;&gt;
&lt;linearlayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
xmlns:tools=&quot;http://schemas.android.com/tools&quot;
android:layout_height=&quot;match_parent&quot; 
android:layout_width=&quot;match_parent&quot; 
android:orientation=&quot;vertical&quot; &gt;

&lt;textview android:id=&quot;@+id/tv&quot; 
android:layout_height=&quot;wrap_content&quot; 
android:layout_margin=&quot;10dp&quot; 
android:layout_width=&quot;wrap_content&quot; 
android:text=&quot;Load DB values into Spinner&quot; 
android:textstyle=&quot;bold&quot;&gt;
&lt;/textview&gt;

&lt;spinner android:id=&quot;@+id/spinner1&quot; 
android:layout_alignparentleft=&quot;true&quot; 
android:layout_alignparenttop=&quot;true&quot; 
android:layout_below=&quot;@+id/tv&quot; 
android:layout_height=&quot;wrap_content&quot; 
android:layout_width=&quot;fill_parent&quot;&gt;

&lt;/spinner&gt;
&lt;/linearlayout&gt;


&lt;/pre&gt;
&lt;br /&gt;
Read the complete post here...&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.coderzheaven.com/2012/11/18/load-spinner-values-sqlite-database-android/&quot;&gt;http://www.coderzheaven.com/2012/11/18/load-spinner-values-sqlite-database-android/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/1015842316544167800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/how-to-load-spinner-with-values-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/1015842316544167800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/1015842316544167800'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/how-to-load-spinner-with-values-from.html' title='How to load a spinner with values from SQlite Database in android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-5735947302830229207</id><published>2012-12-29T07:16:00.007-08:00</published><updated>2013-05-26T22:59:29.786-07:00</updated><title type='text'>How to crop an Image in Android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
This is a sample program that launches the camera and crop the captured image.&lt;br /&gt;
&lt;br /&gt;
Check this &lt;a href=&quot;http://www.coderzheaven.com/2011/03/15/crop-an-image-in-android/&quot;&gt;link &lt;/a&gt;to another crop image example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://coderzheaven.com/uploads/images/imagecrop1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://coderzheaven.com/uploads/images/imagecrop1.png&quot; width=&quot;223&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://coderzheaven.com/uploads/images/imagecrop2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://coderzheaven.com/uploads/images/imagecrop2.png&quot; width=&quot;223&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://coderzheaven.com/uploads/images/imagecrop2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://coderzheaven.com/uploads/images/imagecrop2.png&quot; width=&quot;223&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the layout xml.&lt;br /&gt;
&amp;lt;strong&amp;gt;activity_main.xml&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[xml]&lt;br /&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;br /&gt;
&amp;lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:layout_height=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; android:orientation=&quot;vertical&quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;TextView&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;fill_parent&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_margin=&quot;3dp&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:text=&quot;@string/intro&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:textStyle=&quot;bold&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;Button&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:id=&quot;@+id/capture_btn&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:text=&quot;@string/capture&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;lt;ImageView&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:id=&quot;@+id/picture&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_width=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_height=&quot;wrap_content&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:layout_margin=&quot;5dp&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; android:contentDescription=&quot;@string/picture&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/LinearLayout&amp;gt;&lt;br /&gt;
[/xml]&lt;br /&gt;
&lt;br /&gt;
Now this is the Main Java File that implements the crop functionality.&lt;br /&gt;
&lt;br /&gt;
Read More from here...&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.coderzheaven.com/2012/12/15/crop-image-android/&quot;&gt;http://www.coderzheaven.com/2012/12/15/crop-image-android/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/5735947302830229207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/how-to-crop-image-in-android_29.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5735947302830229207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5735947302830229207'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/how-to-crop-image-in-android_29.html' title='How to crop an Image in Android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-4615195844010506319</id><published>2012-12-24T03:57:00.002-08:00</published><updated>2012-12-24T03:59:11.614-08:00</updated><title type='text'>Select an Image from gallery in ANDROID and show it in an ImageView.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;Hi all&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;In this&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;kLink&quot; href=&quot;http://www.coderzheaven.com/2012/04/20/select-an-image-from-gallery-in-android-and-show-it-in-an-imageview/#&quot; id=&quot;KonaLink0&quot; style=&quot;background-color: white; background-image: none !important; border: 0px none transparent !important; bottom: 0px; color: blue; cursor: pointer; display: inline !important; font-family: inherit !important; font-size: inherit !important; left: 0px; line-height: 20px; margin: 0px; outline: none; padding: 0px; position: static; right: 0px; top: 0px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: inherit !important; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-color: transparent; background-image: none; border-bottom-style: solid; border-bottom-width: 1px; border-left-style: none !important; border-left-width: 0px !important; border-right-style: none !important; border-right-width: 0px !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit !important; font-size: inherit !important; padding: 0px 0px 1px !important; position: static; width: auto !important;&quot;&gt;tutorial&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&amp;nbsp;I will show you&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;IL_AD&quot; id=&quot;IL_AD5&quot; style=&quot;background-attachment: scroll !important; background-color: white; background-image: none !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; color: rgb(0, 153, 0) !important; cursor: pointer !important; display: inline !important; float: none !important; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; padding: 0px 0px 1px !important; position: static;&quot;&gt;how to get&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&amp;nbsp;an image from your phone&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;IL_AD&quot; id=&quot;IL_AD4&quot; style=&quot;background-attachment: scroll !important; background-color: white; background-image: none !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; color: rgb(0, 153, 0) !important; cursor: pointer !important; display: inline !important; float: none !important; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; padding: 0px 0px 1px !important; position: static;&quot;&gt;gallery&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&amp;nbsp;and show it in an&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://coderzheaven.com/nr&quot; style=&quot;background-color: white; color: #285dab; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot; target=&quot;_blank&quot;&gt;imageview&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;Here we use intents to open up the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://coderzheaven.com/bi&quot; style=&quot;background-color: white; color: #285dab; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot; target=&quot;_blank&quot;&gt;image&lt;/a&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;gallery&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&amp;nbsp;and get the image URI.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;Here I am setting the image type as “image” to get only the&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;IL_AD&quot; id=&quot;IL_AD6&quot; style=&quot;background-attachment: scroll !important; background-color: white; background-image: none !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; color: rgb(0, 153, 0) !important; cursor: pointer !important; display: inline !important; float: none !important; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; padding: 0px 0px 1px !important; position: static;&quot;&gt;images&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;And on onActivityResult if the result is OK, then get the data using getData() function and converting the imageURI to the stringPath.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;Read more from here&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px;&quot;&gt;&lt;a href=&quot;http://www.coderzheaven.com/2012/04/20/select-an-image-from-gallery-in-android-and-show-it-in-an-imageview/&quot;&gt;http://www.coderzheaven.com/2012/04/20/select-an-image-from-gallery-in-android-and-show-it-in-an-imageview/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://coderzheaven.com/wp-content/uploads/2011/03/selectImage_from_gallery2-199x300.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://coderzheaven.com/wp-content/uploads/2011/03/selectImage_from_gallery2-199x300.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/4615195844010506319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/select-image-from-gallery-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4615195844010506319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4615195844010506319'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/select-image-from-gallery-in-android.html' title='Select an Image from gallery in ANDROID and show it in an ImageView.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-3150379042346366143</id><published>2012-12-15T19:35:00.002-08:00</published><updated>2012-12-15T19:35:38.811-08:00</updated><title type='text'>Customizing a spinner in android.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;Hello everyone.........&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;You all knew that  a spinner or combobox is an inbuilt widget in android. And Like any other widgets spinners are also customizable.
Here is a simple example to &lt;a href=&quot;http://coderzheaven.com/2011/10/how-to-create-a-custom-listview-in-android/&quot;&gt;customize&lt;/a&gt; a spinner. First we will look at the java code.
The getView method is called for each row in the spinner. So with the help of an Layout Inflater you can inflate any layout for each row.
At extreme you can have each layout for each row.

Check these older posts about spinner.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1. &lt;a href=&quot;http://www.coderzheaven.com/2011/02/28/how-to-get-a-selected-item-from-a-spinner-in-android/&quot; target=&quot;_blank&quot; title=&quot;Spinner&quot;&gt;How to get a selected Item from a spinner in ANDROID?&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;2. &lt;a href=&quot;http://www.coderzheaven.com/2011/02/19/how-to-set-an-item-selected-in-spinner-in-android/&quot; target=&quot;_blank&quot; title=&quot;Spinner&quot;&gt;How to set an item selected in Spinner in ANDROID?&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;3.&lt;a href=&quot;http://www.coderzheaven.com/2011/10/13/how-to-create-a-custom-listview-in-android/&quot; target=&quot;_blank&quot; title=&quot;Custom ListView in Android&quot;&gt; How to create a custom ListView in android?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;



Check out these of ListViews&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1. &lt;a href=&quot;http://www.coderzheaven.com/2012/09/23/simplest-lazy-loading-listview-android-data-populated-mysql-database-php/&quot; target=&quot;_blank&quot; title=&quot;ListView&quot;&gt;Simplest Lazy Loading ListView Example in Android with data populated from a MySQL database using php.&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;2.&lt;a href=&quot;http://www.coderzheaven.com/2012/05/25/add-checkboxes-radio-buttons-listview-android-set-single-choice-items-listview-android/&quot; target=&quot;_blank&quot; title=&quot;single selection ListView.&quot;&gt; How to add checkboxes and radio buttons to ListView in android? OR How to set single choice items in a ListView in android?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Read complete code from here
&lt;a href=&quot;http://www.coderzheaven.com/2011/07/18/customizing-a-spinner-in-android/&quot;&gt;http://www.coderzheaven.com/2011/07/18/customizing-a-spinner-in-android/&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/3150379042346366143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/customizing-spinner-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/3150379042346366143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/3150379042346366143'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/12/customizing-spinner-in-android.html' title='Customizing a spinner in android.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-1252875836589721838</id><published>2012-11-05T23:29:00.001-08:00</published><updated>2012-11-05T23:29:14.001-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ActionBar"/><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="android contacts"/><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="Crop Image"/><category scheme="http://www.blogger.com/atom/ns#" term="DataOutputStream"/><category scheme="http://www.blogger.com/atom/ns#" term="File Xml"/><category scheme="http://www.blogger.com/atom/ns#" term="getRuntime"/><category scheme="http://www.blogger.com/atom/ns#" term="programatically"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung"/><category scheme="http://www.blogger.com/atom/ns#" term="smartphone"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><title type='text'>ActionBar with Search Option and other options in Android.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
This is the example showing how to start with ActionBar in android.&lt;br /&gt;
&lt;br /&gt;
1. &amp;lt;a href=&quot;http://www.coderzheaven.com/2012/01/28/android-removes-the-need-of-menu-button-from-devices-with-actionbar/&quot; title=&quot;ActionBar&quot; target=&quot;_blank&quot;&amp;gt;Android removes the need of Menu button from devices with ActionBar.&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. &amp;lt;a href=&quot;http://www.coderzheaven.com/2012/08/23/start-actionbar-android/&quot; title=&quot;ActionBar&quot; target=&quot;_blank&quot;&amp;gt;How to start with ActionBar in Android?&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. &amp;lt;a href=&quot;http://www.coderzheaven.com/2012/09/28/dynamically-adding-removing-toggling-removing-actionbar-tabs-android-part-2/&quot; title=&quot;ActionBar&quot; target=&quot;_blank&quot;&amp;gt;Dynamically Adding, Removing, Toggling and Removing all ActionBar Tabs in Android – Part 2?&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Read complete post from here..&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
http://www.coderzheaven.com/2012/10/20/actionbar-search-option-options-android/&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/1252875836589721838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/11/actionbar-with-search-option-and-other.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/1252875836589721838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/1252875836589721838'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/11/actionbar-with-search-option-and-other.html' title='ActionBar with Search Option and other options in Android.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-4348143614384188589</id><published>2012-07-21T11:43:00.001-07:00</published><updated>2012-07-21T11:43:42.020-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="android contacts"/><category scheme="http://www.blogger.com/atom/ns#" term="ArrayList"/><category scheme="http://www.blogger.com/atom/ns#" term="serialVersionUID"/><title type='text'>How to initialize an ArrayList in Android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
ArrayList&amp;lt;String&amp;gt; images_arr =&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;new ArrayList&amp;lt;String&amp;gt;(){&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;private static final long serialVersionUID = -1773393753338094625L;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;{&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;add(&quot;string1&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;add(&quot;string2&quot;);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;add(&quot;string3&quot;);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;add(&quot;string4&quot;);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;}&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;};&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/4348143614384188589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/07/how-to-initialize-arraylist-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4348143614384188589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4348143614384188589'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/07/how-to-initialize-arraylist-in-android.html' title='How to initialize an ArrayList in Android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-7087938950133363844</id><published>2012-07-04T10:48:00.001-07:00</published><updated>2012-07-04T10:48:29.092-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android contacts"/><category scheme="http://www.blogger.com/atom/ns#" term="contacts"/><category scheme="http://www.blogger.com/atom/ns#" term="delete"/><category scheme="http://www.blogger.com/atom/ns#" term="programatically"/><title type='text'>How to delete a contact in android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Hello all previously I have shown how to list all contacts in your phone and in another post I showed &lt;a href=&quot;http://www.coderzheaven.com/2012/06/18/add-contact-programmatically-android/&quot;&gt;&amp;nbsp;how to programatically create a contact in android&lt;/a&gt;&lt;br /&gt;
In today&#39;s tutorial I will show you how to delete a contact in android programatically.&lt;br /&gt;
&lt;br /&gt;
This simple code does that.&lt;br /&gt;
&lt;br /&gt;
Read more&lt;br /&gt;
&lt;a href=&quot;http://www.coderzheaven.com/2012/06/23/delete-contact-android/&quot;&gt;http://www.coderzheaven.com/2012/06/23/delete-contact-android/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/7087938950133363844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/07/how-to-delete-contact-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7087938950133363844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7087938950133363844'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/07/how-to-delete-contact-in-android.html' title='How to delete a contact in android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-4864685963535743494</id><published>2012-06-28T11:12:00.000-07:00</published><updated>2012-06-28T11:12:03.413-07:00</updated><title type='text'>How to get a Sprite by tag in Cocos2D ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
Sometimes you may need to get a sprite using tag while doing a project using Cocos2D. It&#39;s easy to get a sprite by a tag in Cocos2D, use the following code to get it.&lt;br /&gt;
&lt;br /&gt;
[java]tempSprite = (CCSprite*)[self getChildByTag:7];[/java]&lt;br /&gt;
&lt;br /&gt;
Here &#39;tempSprite&#39; is your CCSprite and it will get the sprite with tag 7.&lt;br /&gt;
&lt;br /&gt;
:)&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/4864685963535743494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-get-sprite-by-tag-in-cocos2d.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4864685963535743494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4864685963535743494'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-get-sprite-by-tag-in-cocos2d.html' title='How to get a Sprite by tag in Cocos2D ?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-8381918865737148098</id><published>2012-06-19T10:53:00.000-07:00</published><updated>2012-06-19T10:53:02.344-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="gc"/><category scheme="http://www.blogger.com/atom/ns#" term="getRuntime"/><category scheme="http://www.blogger.com/atom/ns#" term="release memory"/><category scheme="http://www.blogger.com/atom/ns#" term="runFinalization"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><title type='text'>How to explicitly free memory in android OR Release unwanted memory in Android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
public void freeMemory(){&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; System.runFinalization();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Runtime.getRuntime().gc();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; System.gc();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Visit&amp;nbsp;http://www.coderzheaven.com/2012/04/24/explicitly-free-memory-android-release-unwanted-memory-android/ for more information.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/8381918865737148098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-explicitly-free-memory-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/8381918865737148098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/8381918865737148098'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-explicitly-free-memory-in.html' title='How to explicitly free memory in android OR Release unwanted memory in Android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-5166341912007546380</id><published>2012-06-16T10:05:00.002-07:00</published><updated>2012-06-16T10:05:45.861-07:00</updated><title type='text'>Placing Controls in a Widget in Android and Listening to the events from them.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h1 style=&quot;clear: both; font-family: Arial, Helvetica, sans-serif; font-size: 25px; height: auto; line-height: 28px; margin: 0px; padding: 0px; text-align: -webkit-auto; width: 588px;&quot;&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-size: 13px; font-weight: normal; line-height: 22px;&quot;&gt;Now in today’s tutorial I am going to show how to place controls like buttons inside the widget and listen to their events and respond to it.&lt;/span&gt;
&lt;/h1&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #f9f9f9; font-size: 13px; font-weight: normal; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: #f9f9f9; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 22px; text-align: -webkit-auto;&quot;&gt;
I am proceeding the same as the previous tutorials.&lt;/div&gt;
&lt;div style=&quot;background-color: #f9f9f9; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 22px; text-align: -webkit-auto;&quot;&gt;
First I will create a&amp;nbsp;&lt;span class=&quot;IL_AD&quot; id=&quot;IL_AD9&quot; style=&quot;background-attachment: scroll !important; background-color: transparent !important; background-image: none !important; background-position: 0% 50%; background-repeat: repeat repeat !important; border-bottom-color: rgb(0, 153, 0) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; color: rgb(0, 153, 0) !important; cursor: pointer !important; display: inline !important; float: none !important; padding: 0px 0px 1px !important; position: static; text-decoration: underline !important;&quot;&gt;new project&lt;/span&gt;&amp;nbsp;named “ControlsInWidget” and name the activity “MyActivity.java”.&lt;/div&gt;
&lt;div style=&quot;background-color: #f9f9f9; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 22px; text-align: -webkit-auto;&quot;&gt;
Now we will create a layout for this main activity. settings.xml&lt;/div&gt;
&lt;div style=&quot;background-color: #f9f9f9; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 22px; text-align: -webkit-auto;&quot;&gt;
These are the contents of settings.xml&lt;/div&gt;
&lt;div style=&quot;background-color: #f9f9f9; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 22px; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;syntaxhighlighter  xml&quot; id=&quot;highlighter_605289&quot; style=&quot;background-color: white !important; font-size: 1em !important; margin: 1em 0px !important; overflow-x: auto !important; overflow-y: hidden !important; position: relative !important; width: 588px;&quot;&gt;
&lt;div class=&quot;toolbar&quot; style=&quot;background-color: rgb(212, 208, 200) !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: none !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(160, 160, 160) !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 10px !important; height: 11px !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: absolute !important; right: 1px !important; text-align: left !important; top: 1px !important; vertical-align: baseline !important; width: 11px !important; z-index: 10 !important;&quot;&gt;
&lt;a class=&quot;toolbar_item command_help help&quot; href=&quot;http://www.coderzheaven.com/2012/06/15/placing-controls-widget-android-listening-events-them/#&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(160, 160, 160) !important; direction: ltr !important; display: block !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 1px 0px 0px !important; position: static !important; right: auto !important; text-align: center !important; text-decoration: none; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: 588px;&quot;&gt;&lt;tbody style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;tr style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;td class=&quot;gutter&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(120, 120, 120) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
2&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
3&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
4&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
5&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
6&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
7&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
8&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
9&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
10&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
11&lt;/div&gt;
&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
12&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-right-color: rgb(212, 208, 200) !important; border-right-style: solid !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-width: 0px 3px 0px 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 0.5em 0px 1em !important; position: static !important; right: auto !important; text-align: right !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
13&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;code&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: 552px;&quot;&gt;&lt;div class=&quot;container&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: relative !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;lt;&lt;/code&gt;&lt;code class=&quot;xml keyword&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;TableLayout&lt;/code&gt; &lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:id&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;@+id/TableLayout01&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number2 index1 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:layout_width&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;fill_parent&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number3 index2 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:layout_height&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;fill_parent&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number4 index3 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;xmlns:android&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;&lt;a href=&quot;http://schemas.android.com/apk/res/android&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; text-decoration: none; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;http://schemas.android.com/apk/res/android&lt;/a&gt;&quot;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number5 index4 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;lt;&lt;/code&gt;&lt;code class=&quot;xml keyword&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;TextView&lt;/code&gt; &lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:layout_width&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;wrap_content&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number6 index5 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:layout_height&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;wrap_content&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number7 index6 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:id&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;@+id/tv1&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number8 index7 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:text&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;CoderzHeaven Widget Settings Activity&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number9 index8 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:textColor&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;@android:color/white&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number10 index9 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:textSize&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;15dip&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number11 index10 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:textStyle&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;bold&quot;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number12 index11 alt1&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml spaces&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;code class=&quot;xml color1&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: gray !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;android:layout_marginTop&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;=&lt;/code&gt;&lt;code class=&quot;xml string&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(42, 0, 255) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&quot;5dip&quot;&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;/&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;lt;/&lt;/code&gt;&lt;code class=&quot;xml keyword&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(127, 0, 85) !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; font-weight: bold !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;TableLayout&lt;/code&gt;&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&amp;gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;Read the complete post from here.&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;line number13 index12 alt2&quot; style=&quot;background-color: white !important; background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; float: none !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px 1em !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; white-space: pre !important; width: auto !important;&quot;&gt;
&lt;code class=&quot;xml plain&quot; style=&quot;background-image: none !important; border-bottom-left-radius: 0px !important; border-bottom-right-radius: 0px !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border: 0px !important; bottom: auto !important; box-sizing: content-box !important; direction: ltr !important; display: inline !important; float: none !important; font-family: Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace !important; font-size: 1em !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin: 0px !important; outline: 0px !important; overflow: visible !important; padding: 0px !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; width: auto !important;&quot;&gt;
&lt;a href=&quot;http://www.coderzheaven.com/2012/06/15/placing-controls-widget-android-listening-events-them/&quot;&gt;http://www.coderzheaven.com/2012/06/15/placing-controls-widget-android-listening-events-them/&lt;/a&gt;
&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/5166341912007546380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/placing-controls-in-widget-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5166341912007546380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5166341912007546380'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/placing-controls-in-widget-in-android.html' title='Placing Controls in a Widget in Android and Listening to the events from them.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-5108459286698666775</id><published>2012-06-13T10:25:00.003-07:00</published><updated>2012-06-13T10:25:57.525-07:00</updated><title type='text'>How to get Notified when a widget is deleted?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
I have already covered a tutorial on how to start with widgets and how to create a simple widget here..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;a href=&quot;http://www.coderzheaven.com/2012/06/07/create-widget-android/&quot; title=&quot;Create a Widget&quot; target=&quot;_blank&quot;&amp;gt;http://www.coderzheaven.com/2012/06/07/create-widget-android/&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Today I will show you how to get notified when a widget is deleted.&lt;br /&gt;
&lt;br /&gt;
if you have already gone through my &amp;lt;a href=&quot;http://www.coderzheaven.com/2012/06/07/create-widget-android/&quot; title=&quot;Create a widget&quot; target=&quot;_blank&quot;&amp;gt;previous post&amp;lt;/a&amp;gt;, then there is only a small change in the &quot;MyWidget.java&quot; file.&lt;br /&gt;
&lt;br /&gt;
we have to add the onReceive() method to the class like this.&lt;br /&gt;
&lt;br /&gt;
Read complete post from here...&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.coderzheaven.com/2012/06/10/notified-widget-deleted/&quot;&gt;http://www.coderzheaven.com/2012/06/10/notified-widget-deleted/&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/5108459286698666775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-get-notified-when-widget-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5108459286698666775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5108459286698666775'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-get-notified-when-widget-is.html' title='How to get Notified when a widget is deleted?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-7973508218880930020</id><published>2012-06-13T10:23:00.002-07:00</published><updated>2012-06-13T10:23:27.035-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung"/><title type='text'>Android hits 900k activations per day</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
The Google Android Army is coming again...&lt;br /&gt;
&lt;br /&gt;
Google’s Android platform sees 900,000 activations a day, according to a tweet from Android head Andy Rubin. The statistic, of course, doesn’t distinguish between smartphones and tablets, so it’s hard to get a clear picture of the Android ecosystem.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;img src=&quot;http://coderzheaven.com/uploads/images/Google-Android-army.jpg&quot; alt=&quot;Google Android&quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See more about this new from here.&lt;br /&gt;
&lt;br /&gt;
http://www.washingtonpost.com/business/technology/android-hits-900k-activations-per-day/2012/06/11/gJQA1tlfUV_story.html&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/7973508218880930020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/android-hits-900k-activations-per-day.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7973508218880930020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7973508218880930020'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/android-hits-900k-activations-per-day.html' title='Android hits 900k activations per day'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-4004698789371864878</id><published>2012-06-10T00:42:00.000-07:00</published><updated>2012-06-10T00:42:21.202-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Audio Video"/><category scheme="http://www.blogger.com/atom/ns#" term="Facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="fanpage"/><category scheme="http://www.blogger.com/atom/ns#" term="Uploading images"/><title type='text'>CoderzHeaven on Facebook, New Fan Page</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;Please find us on Facebook for more updates.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;This is our new Fab page Url.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/CoderzHeavenFans&quot;&gt;http://www.facebook.com/CoderzHeavenFans&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;By adding us on Facebook, you can get access to our new updates fast and get answers to your questions quickly.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;So please add us on Facebook.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Please find us on Twitter also..&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://twitter.com/coderzheaven&quot;&gt;https://twitter.com/coderzheaven&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/4004698789371864878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/coderzheaven-on-facebook-new-fan-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4004698789371864878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/4004698789371864878'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/coderzheaven-on-facebook-new-fan-page.html' title='CoderzHeaven on Facebook, New Fan Page'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-100561996175537800</id><published>2012-06-04T09:51:00.002-07:00</published><updated>2012-06-04T09:54:09.586-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="BufferedInputStream"/><category scheme="http://www.blogger.com/atom/ns#" term="Crop Image"/><category scheme="http://www.blogger.com/atom/ns#" term="read"/><category scheme="http://www.blogger.com/atom/ns#" term="text file"/><category scheme="http://www.blogger.com/atom/ns#" term="text file in android"/><category scheme="http://www.blogger.com/atom/ns#" term="Uploading images"/><title type='text'>How to read a text file in ANDROID?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;Hi all…..&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;In this post I will show you how to read a text file in ANDOID.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Let your file is in the assets folder of your ANDOID project.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;The file is named “myfile.txt”&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;This example reads the file line by line using readLine() function till the end of the file. Here your need two classes named “InputStreamReader” and “BufferedReader”. For writing into the file you need “OutputStreamReader” class. The result is displayed in a Toast. Make sure you notice it.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Read more from here...&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.coderzheaven.com/2012/04/22/how-to-read-a-text-file-in-android-2/&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;http://www.coderzheaven.com/2012/04/22/how-to-read-a-text-file-in-android-2/&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/100561996175537800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-read-text-file-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/100561996175537800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/100561996175537800'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-read-text-file-in-android.html' title='How to read a text file in ANDROID?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-1024420765420637658</id><published>2012-06-01T10:57:00.001-07:00</published><updated>2012-06-01T10:57:53.511-07:00</updated><title type='text'>How to use Accelerometer in Android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://www.coderzheaven.com/2012/05/30/accelerometer-android/&quot;&gt;http://www.coderzheaven.com/2012/05/30/accelerometer-android/&lt;/a&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/1024420765420637658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-use-accelerometer-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/1024420765420637658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/1024420765420637658'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/06/how-to-use-accelerometer-in-android.html' title='How to use Accelerometer in Android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-7008246014340410675</id><published>2012-05-27T11:11:00.003-07:00</published><updated>2012-05-27T11:11:44.358-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Crop Image"/><title type='text'>Crop an Image in ANDROID.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Cropping an image in &amp;lt;a href=&quot;http://www.coderzheaven.com/android/&quot; target=&quot;_blank&quot;&amp;gt;ANDROID&amp;lt;/a&amp;gt; programmatically has always been a problem for ANDROID developers.&lt;br /&gt;So Here I am putting a sample code to demonstrate this.&lt;br /&gt;For cropping an &amp;lt;a href=&quot;http://www.coderzheaven.com/?p=1397&quot; target=&quot;_blank&quot;&amp;gt;image in ANDROID&amp;lt;/a&amp;gt; we need a source bitmap which is our image itself, the other one is the target &amp;lt;a href=&quot;http://www.coderzheaven.com/?p=3911&quot; target=&quot;_blank&quot;&amp;gt;bitmap&amp;lt;/a&amp;gt; which we have to&lt;br /&gt;set the size as we want and a matrix.&lt;br /&gt;
&lt;br /&gt;
Read the complete post from here..&lt;br /&gt;
&lt;br /&gt;
http://www.coderzheaven.com/2011/03/15/crop-an-image-in-android/&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/7008246014340410675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/crop-image-in-android.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7008246014340410675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7008246014340410675'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/crop-image-in-android.html' title='Crop an Image in ANDROID.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-5635821220494854919</id><published>2012-05-24T11:34:00.001-07:00</published><updated>2012-05-24T11:34:11.430-07:00</updated><title type='text'>Custom progressbar in android with text - part 3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Hello all......&lt;br /&gt;
&lt;br /&gt;
I have posted two posts on how to customize a progressbar in android.&lt;br /&gt;
&lt;br /&gt;
1. &amp;lt;a href=&quot;http://www.coderzheaven.com/2012/03/29/custom-indeterminate-progressbar-for-android/&quot; target=&quot;_blank&quot;&amp;gt;Custom Indeterminate progressBar for android?&amp;lt;/a&amp;gt;&lt;br /&gt;
2. &amp;lt;a href=&quot;http://www.coderzheaven.com/2012/05/12/build-custom-progressbar-android-part-2/&quot; target=&quot;_blank&quot;&amp;gt;How to build a custom progressBar in android- Part 2?&amp;lt;/a&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is another one with update text on top of the progressbar.&lt;br /&gt;
&lt;br /&gt;
Here is how we start.&lt;br /&gt;
&lt;br /&gt;
After creating a fresh project create a new java file and name it &quot;TextProgressBar.java&quot;.&lt;br /&gt;
&lt;br /&gt;
Now copy this code to the above file.&lt;br /&gt;
This file extends the progressbar to add additional functionality.&lt;br /&gt;
&lt;br /&gt;
[java]&lt;br /&gt;
package com.coderzheaven.pack;&lt;br /&gt;
&lt;br /&gt;
import android.content.Context;&lt;br /&gt;
import android.graphics.Canvas;&lt;br /&gt;
import android.graphics.Color;&lt;br /&gt;
import android.graphics.Paint;&lt;br /&gt;
import android.graphics.Rect;&lt;br /&gt;
import android.util.AttributeSet;&lt;br /&gt;
import android.widget.ProgressBar;&lt;br /&gt;
&lt;br /&gt;
public class TextProgressBar extends ProgressBar {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private String text;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private Paint textPaint;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public TextProgressBar(Context context) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super(context);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;text = &quot;0/100&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint = new Paint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint.setColor(Color.BLACK);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public TextProgressBar(Context context, AttributeSet attrs) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super(context, attrs);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;text = &quot;0/100&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint = new Paint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint.setColor(Color.BLACK);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public TextProgressBar(Context context, AttributeSet attrs, int defStyle) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super(context, attrs, defStyle);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;text = &quot;0/100&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint = new Paint();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint.setColor(Color.BLACK);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Override&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;protected synchronized void onDraw(Canvas canvas) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;super.onDraw(canvas);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Rect bounds = new Rect();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint.getTextBounds(text, 0, text.length(), bounds);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int x = getWidth() / 2 - bounds.centerX();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;int y = getHeight() / 2 - bounds.centerY();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;canvas.drawText(text, x, y, textPaint);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public synchronized void setText(String text) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;this.text = text;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;drawableStateChanged();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void setTextColor(int color) {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;textPaint.setColor(color);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;drawableStateChanged();&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
}&lt;br /&gt;
[/java]&lt;br /&gt;
&lt;br /&gt;
OK the progressbar class is now complete.&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/5635821220494854919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/custom-progressbar-in-android-with-text.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5635821220494854919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5635821220494854919'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/custom-progressbar-in-android-with-text.html' title='Custom progressbar in android with text - part 3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-2451280496998245745</id><published>2012-05-14T10:36:00.002-07:00</published><updated>2012-05-14T10:36:50.844-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="India"/><category scheme="http://www.blogger.com/atom/ns#" term="NDTV"/><category scheme="http://www.blogger.com/atom/ns#" term="Samsung S3"/><category scheme="http://www.blogger.com/atom/ns#" term="smartphone"/><title type='text'>Samsung Galaxy S III India launch in June first week</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Samsung is expected to launch its all new Galaxy S III smartphone in India in the first week of June. According to NDTV Gadgets, India is in the first list of countries to get smartphone, which will see the launch starting May 29.&lt;br /&gt;
&lt;br /&gt;
The smartphone will be priced at INR 38,000, while the street price is likely to be in the vicinity of INR 34,000.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/2451280496998245745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/samsung-galaxy-s-iii-india-launch-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/2451280496998245745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/2451280496998245745'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/samsung-galaxy-s-iii-india-launch-in.html' title='Samsung Galaxy S III India launch in June first week'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-7675604494232048642</id><published>2012-05-12T10:46:00.002-07:00</published><updated>2012-05-12T10:47:07.584-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Audio Video"/><category scheme="http://www.blogger.com/atom/ns#" term="progressBar"/><category scheme="http://www.blogger.com/atom/ns#" term="Uploading images"/><title type='text'>How to build a custom progressBar in android- Part 2?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Hello all.......&lt;br /&gt;
&lt;br /&gt;
Today I am going to show you how to create a custom progressbar in android.&lt;br /&gt;
Previously in another posts I have already shown &amp;lt;a href=&quot;http://www.coderzheaven.com/?p=2689&quot; target=&quot;_blank&quot;&amp;gt;how to build a custom indeterminate progressbar in android.&amp;lt;/a&amp;gt;&lt;br /&gt;
And in this post I will show you how to customize the horizontal progressbar.&lt;br /&gt;
&lt;br /&gt;
See the complete post here....&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;http://www.coderzheaven.com/2012/05/12/build-custom-progressbar-android-part-2/&lt;/span&gt;&lt;/b&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/7675604494232048642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/how-to-build-custom-progressbar-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7675604494232048642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/7675604494232048642'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/how-to-build-custom-progressbar-in.html' title='How to build a custom progressBar in android- Part 2?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8185104754536174137.post-5312765646172072165</id><published>2012-05-12T10:43:00.000-07:00</published><updated>2012-05-12T10:45:43.772-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Apache"/><category scheme="http://www.blogger.com/atom/ns#" term="File Java"/><category scheme="http://www.blogger.com/atom/ns#" term="progressBar"/><title type='text'>Custom Indeterminate progressBar for android?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Hello everyone...&lt;br /&gt;
&lt;br /&gt;
Today we will see how to customize an indeterminate progressBar in android.&lt;br /&gt;
&amp;lt;strong&amp;gt;For that we have to create an xml with a progress animation.For this I used these three images&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Continue from here.....&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;http://www.coderzheaven.com/2012/03/29/custom-indeterminate-progressbar-for-android/&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://coderzheaven.blogspot.com/feeds/5312765646172072165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/custom-indeterminate-progressbar-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5312765646172072165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8185104754536174137/posts/default/5312765646172072165'/><link rel='alternate' type='text/html' href='http://coderzheaven.blogspot.com/2012/05/custom-indeterminate-progressbar-for.html' title='Custom Indeterminate progressBar for android?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15602623500095462963</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>