2013-10-07 2 views
0

"F5 스테 가노 그래피"를 사용하여 장치의 카메라에서 캡처 한 JPG 이미지 안에 메시지를 숨기는 멀티 플랫폼 응용 프로그램을 개발 중입니다. 현재 내 목표는 안드로이드 응용 프로그램과 데스크탑 자바 응용 프로그램을 만드는 것입니다. "F5 Steganography"의 jar 파일을 찾았습니다. here Java 데스크톱 응용 프로그램에서 라이브러리를 성공적으로 구현했지만 문제가 안드로이드 구현으로 나타납니다. 안드로이드 프로젝트에서 jar 파일을 가져 왔지만 메시지를 임베딩 및 추출 할 때 안드로이드에 문제가 있습니다. 추출에네이티브 Java 라이브러리 지원 문제가있는 안드로이드의 스테 가노 그라피

  • 추출 문제

는, 내가 지금 직면하고있는 문제는 가져온 라이브러리 "sun.security.provider.SecureRandom"를 사용하고 있지만, 안드로이드는 그것을 찾을 수없는 것입니다.

10-06 22:25:44.324: E/dalvikvm(32150): Could not find class 'sun.security.provider.SecureRandom', referenced from method crypt.F5Random.<init> 

지금 내가 그렇게 경우 안드로이드의 "sun.security.provider.SecureRandom"라이브러리를 지원하지 않는 것을 추측하고있는 어떻게해야합니까 : 여기 는 로그 고양이 오류가? 라이브러리를 수동으로 가져올 수 있습니까? P.S 나는 "F5 Steganography"라이브러리 코드에서 Java 플랫폼에서 사용되는 그대로 사용되기 때문에 아무것도 바꾸고 싶지 않습니다. 여기에 참조 할 수 있도록 코드 :

public void clk1(View v){ 
    EditText eto=(EditText) findViewById(R.id.editText2); 
    EditText ett=(EditText) findViewById(R.id.editText3); 
    Extract e=new Extract(); 
    String information[] = new String[5]; 
    information[0]="-p"; 
    information[1]="123"; 
    information[2]="-e"; 
    information[3]=ett.getText().toString(); 
    information[4]=eto.getText().toString(); 
    e.main(information); 
} 
  • 삽입 문제 퍼가기에

는, 내가 전에 비슷한 문제에 직면하고있다. 오류는 라이브러리에서 "james.JpegEncoder"클래스를 찾을 수 없다는 것을 나타내지 만 attached image에서 보이는 것처럼 거기에 존재합니다. 여기

10-06 23:00:39.678: E/dalvikvm(410): Could not find class 'james.JpegEncoder', referenced from method main.Embed.main 

참조 코드입니다 : 여기

로그 - 고양이의 흔적이다

public void clk0(View v){ 
    EditText eto=(EditText) findViewById(R.id.editText2); 
    EditText ett=(EditText) findViewById(R.id.editText3); 
    EditText eti=(EditText) findViewById(R.id.editText1); 
    Embed e=new Embed(); 
    String information[] = new String[8]; 
    information[0]="-e"; 
    information[1]=ett.getText().toString(); 
    information[2]="-p"; 
    information[3]="123"; 
    information[4]="-q"; 
    information[5]="100"; 
    information[6]=eti.getText().toString(); 
    information[7]=eto.getText().toString(); 
    e.main(information); 
} 

나는이 문제에 대응하기 위해 어떻게해야합니까? 나는 많은 문제를 해결 한 후에 여기에 왔지만 여기에 붙어있다. 인터넷을 통해 검색 한 결과 내 문제와 관련하여 원격으로도 적절한 해결책을 찾을 수 없었습니다. 당신이 안드로이드에 당신이 언급 된 도구 (https://code.google.com/p/f5-steganography)를 사용하려는 경우

답변

관련 문제