CSS3 Rotate Animation

<img class=”image” src=”” alt=”” width=”120″ height=”120″> Cannot get this animated image to work, it is supposed to do a 360 degrees rotation. I guess something’s wrong with the CSS below, as it just stays still. .image { float: left; margin: 0 auto; position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; margin-top: -60px; margin-left: … Read more

Why does an image captured using camera intent gets rotated on some devices on Android?

I’m capturing an image and setting it to image view. public void captureImage() { Intent intentCamera = new Intent(“android.media.action.IMAGE_CAPTURE”); File filePhoto = new File(Environment.getExternalStorageDirectory(), “Pic.jpg”); imageUri = Uri.fromFile(filePhoto); MyApplicationGlobal.imageUri = imageUri.getPath(); intentCamera.putExtra(MediaStore.EXTRA_OUTPUT, imageUri); startActivityForResult(intentCamera, TAKE_PICTURE); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent intentFromCamera) { super.onActivityResult(requestCode, resultCode, intentFromCamera); if (resultCode == RESULT_OK && requestCode … Read more