ImageView Zoom and Scroll

critical thinking skills nursing

buy university essay http://www.pasqualesportiello.com/research-papers-on-bipolar-disorder/ research papers on bipolar disorder Update: the source code has moved to github, so it’s easier for anyone to fork it!

http://www.hospitaldelsur.gov.co/?new-world-order-argumentative-essay new world order argumentative essay

http://www.surgeskateboard.com/dissertation-proposal-consumer-behavior/ dissertation proposal consumer behavior As long as Android doesn’t have a built-in ImageView widget with zoom and scroll capabilities I tries to create one by myself starting from the google repository.

http://seasaltair.com/cialis-gel-canada/ viagra online america

buy prescription cialis online The result is pretty nice so I’m posting here the source code, if anyone is interested, or simply doesn’t want to waste the time creating a new one.

essay online education

paid essay writing Here’s a sample code on how to use it in an Activity:

1 http://www.sharon-zarabi.com/web/business-plan-writer-south-africa/ business plan writer south africa 2 page 3 go 4 enter 5 http://topmarketdownloads.com/product/autodesk-autocad-mep-2015/ Buy Autodesk AutoCAD MEP 2015 6 http://obatherbalbatuempedu.org/?p=get-phd 7 http://assendared.com/critical-thinking-worksheets-for-kindergarten/ critical thinking worksheets for kindergarten 8 blank 9 enter site 10 angry young generation essay 11 dissertation argumentative intro 12 Does Music Help You Do Your Homework 13 http://www.cgmediagroup.com/we-write-business-report-for-you/ 14 http://www.captainconso.com/national-geographic-homework-help/ 15 next 16 http://bekpekberdua.com/?p=english-paper-up-board 17 http://www.kstechnologybd.com/buy-and-sell-of-palay-business-plan/ buy and sell of palay business plan 18 http://bahrainalloys.com/?p=dissertation-delimitations 19 http://legakisglass.com/?p=term-paper-virtual-memory-architecture 20 21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package it.sephiroth.android.demo;

import it.sephiroth.android.library.imagezoom.ImageViewTouch;

import java.io.IOException;

import android.app.Activity;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore.Images;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Toast;

public class ImageZoomActivity extends Activity {
   
   private ImageViewTouch  mImageView;
   
   @Override
   protected void onCreate( Bundle savedInstanceState )
   {
      super.onCreate( savedInstanceState );
     
      requestWindowFeature( Window.FEATURE_NO_TITLE );
      setContentView( R.layout.main );
      getWindow().addFlags( WindowManager.LayoutParams.FLAG_FULLSCREEN );
      selectRandomImage();
   }
   
   @Override
   public void onContentChanged()
   {
      super.onContentChanged();
      mImageView = (ImageViewTouch)findViewById( R.id.imageView1 );
   }
   
   /**
    * pick a random image from your library
    * and display it
    */

   public void selectRandomImage()
   {
      Cursor c = getContentResolver().query( Images.Media.EXTERNAL_CONTENT_URI, null, null, null, null );
      if ( c != null ) {
         int count = c.getCount();
         int position = (int)( Math.random() * count );
         if ( c.moveToPosition( position ) ) {
            long id = c.getLong( c.getColumnIndex( Images.Media._ID ) );
            int orientation = c.getInt( c.getColumnIndex( Images.Media.ORIENTATION ) );
           
            Uri imageUri = Uri.parse( Images.Media.EXTERNAL_CONTENT_URI + "/" + id );
            Bitmap bitmap;
            try {
               bitmap = ImageLoader.loadFromUri( this, imageUri.toString(), 1024, 1024 );
               mImageView.setImageBitmapReset( bitmap, orientation, true );
            }
            catch ( IOException e ) {
               Toast.makeText( this, e.toString(), Toast.LENGTH_LONG ).show();
            }
         }
         c.close();
         c = null;
         return;
      }
   } 
}

http://davidandrhiannon.com/symbolism-essay-for-death-of-a-salesman/ symbolism essay for death of a salesman  

buy nursing papers

cialis in contrassegno  

order university writing

http://www.arcosrl.info/?need-a-custum-research-paper-written-for-me need a custum research paper written for me Anyway, if you want to download the source, here is the eclipse source project:
http://blog.sephiroth.it/wp-…/ImageZoom.zip
https://github.com/sephiroth74/ImageViewZoom

http://www.townandcountryinteriors.com/school-business-plan-sample/ school business plan sample