Code Summary:
Need to pass object of Camera From TestCamera.cpp to Test1.cpp. I created a object of class into TestCamera.cpp Now, I want to pass this to Test1, so I passed this to another object.
Anyhow I am getting error of "Camera*" into Test1.cpp .
I am new to CPP. Is it perfect way to pass another class & print it's pointer value?
TestCamera.cpp
Camera * cameraClient=static_cast<Camera *>();
    (Test1 *)->captureImage(*cameraClient*);
Test1.cpp
int Test1::captureImage(const Camera*  Cam) {
    jint lResult;
    jlong ad = (jlong)&Cam;
        LOGI("Test1: pointer : APP: %ld",ad);   
 
     
    