CopyPastor

Detecting plagiarism made easy.

Score: 0.8240989138010982; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2015-09-07
by Narendra

Original Post

Original - Posted on 2013-10-25
by CodeWarrior



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Uri imageUri = intent.getData(); String[] orientationColumn = {MediaStore.Images.Media.ORIENTATION}; Cursor cur = managedQuery(imageUri, orientationColumn, null, null, null); int orientation = -1; if (cur != null && cur.moveToFirst()) { orientation = cur.getInt(cur.getColumnIndex(orientationColumn[0])); } Matrix matrix = new Matrix(); matrix.postRotate(orientation);//matrix.postRotate(90);
Use the code below to rotate your image:
Uri imageUri = intent.getData(); String[] orientationColumn = {MediaStore.Images.Media.ORIENTATION}; Cursor cur = managedQuery(imageUri, orientationColumn, null, null, null); int orientation = -1; if (cur != null && cur.moveToFirst()) { orientation = cur.getInt(cur.getColumnIndex(orientationColumn[0])); } Matrix matrix = new Matrix(); matrix.postRotate(orientation);

        
Present in both answers; Present only in the new answer; Present only in the old answer;