
Search In
To change the orientation of an image write the following code:
BitmapFactory.Options o2 = new BitmapFactory.Options();
o2.inSampleSize = 2;
// Get the original bitmap from the filepath to which you want to change orientation
// fileName ist the fi


When we build our project to see how it looks, we need to set the Player Settings-
Today I'll describe you the Player Settings for Android
After building the project in Android
Go To Edit->Project Settings-> Player
[image1]
Following Player
1.Give the http url of chargify , here the url is domainname.chargify.com then add /webhooks to this url ,/webhooks give the list of all webhooks and format is either json format or xml format
var responseText=string.Empty;
var httpWebRequest = (Ht
In many android applications, we need to set rounded corner image in ImageView. The bad part is that ImageView does not provide any property for this. So for this the following method will help you get rounded corner Bitmap:-
public static Bitmap ge
Adding Button Selector
to add button selector to the button in the android xlm layout file, create a new xml file named button selector and use the following code :
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http:
If you want to display a PDF file in your android application which is located at the remote server then you have to follow the instructions given below.
Add this web-view in your xml file.
<WebView
android:id="@+id/webView"
android:layo
Hello ,
I am sharing here how you can remove .php extension from Url of your website. here are the following steps:-
Create a .htaccess file in project directory.
Suppose you have to remove the .php extension from a PHP file for example abc.com/te
If you want to store multiple values in a single variable javaScript arrays are used.
There are few ways to store values in array in javascript which are mentioned below.
First way:
HTML:
<div id="fruitList"></div>
Javascript:
var fr
Hello Guys
In this blog, I have declared HomeViewController class and explained how to implement methods in class.
HOMEVIEWCONROLLER.H
#import <UIKit/UIKit.h>
@interface HomeViewController : UIViewController
// With the help of interface you
Few months ago a new Libraries panel introduced to Photoshop CC 2014.
Libraries (Window > Library) helps to store your favorite types of content text style, layer effects, smart objects, color, icons and logo to use them again and again not only
