Android Open Source - AndroidPickerOperations Camera Save Native Activity






From Project

Back to project page AndroidPickerOperations.

License

The source code is released under:

Copyright (c) 2012 Azer Bulbul. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softw...

If you think the Android project AndroidPickerOperations listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

//
//  Created by Azer Bulbul on 12/29/13.
//  Copyright (c) 2013 Azer Bulbul. All rights reserved.
////w  w w.j  a  v a 2s  .c  o m

package com.azer.camera;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;


public class CameraSaveNativeActivity extends Activity{
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    
    if(CameraSaveExtension.context!=null){
      CameraSaveExtension.context.onCreatePickerActivity(this);
    }
  }

  @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data)
    {
            super.onActivityResult(requestCode, resultCode, data);
            
            if(CameraSaveExtension.context!=null){
              CameraSaveExtension.context.onPickerActivityResult(requestCode, resultCode, data);
            }
            
    }
  
  @Override
    protected void onDestroy()
    {
           super.onDestroy();
    }
  
}




Java Source Code List

com.azer.camera.CameraSaveExtensionContext.java
com.azer.camera.CameraSaveExtension.java
com.azer.camera.CameraSaveFunction.java
com.azer.camera.CameraSaveNativeActivity.java
com.azer.camera.DeleteTempFileFunction.java
com.azer.camera.IsCameraAvailableFunction.java
com.azer.camera.IsImagePickerAvailableFunction.java
com.azer.camera.MyMediaConnectorClient.java
com.azer.camera.browseForImage.java