Posts

Showing posts with the label Pinch Zoom

Android Fullscreen Image Slider with Swipe and Zoom Gestures

Image
This tutorial explains how to build your own image gallery browser in your android applications with swipe and pinch zooming functionality. This article is combination of three separate concepts such as Grid View, Swiping and Pinch Gesture in one project. Creating new project 1 . Create new project in Eclipse IDE from  File ⇒ New ⇒ Android Application Project  and fill all the required details. I kept my package name as com.yourname.imageslider and main activity name as  GridViewActivity.java App Constant Class I am creating a app constant class file to store static variables which will be used across application. In this way you don’t have modify much code if you want to change app configuration. 2 . In order to maintaining good project structure I am creating a separate package for storing this kind of helper classes.  Right click on src ⇒ New ⇒ Package  and name it as  your_package_name.helper . (So my helper package becomes...