0

I am creating the module for the first time in Android. This is one external library which is successfully deployed on native code . Now i want to create one module of that external library the Build has Successfully deployed with AntBuild but How can i open the Intent in Titanium . I have tried by creating the below given function...

public void scan(String path) {
     final Intent intent = new Intent(getActivity(), Second.class);
       intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, path);
       getActivity().startActivity(intent); 
}

Will this work in Titanium ? or do I have to change something? Or I am in totally wrong direction? If any one could help me it would be great. I really need this.

suspectus
  • 16,548
  • 8
  • 49
  • 57
hardikdevios
  • 1,779
  • 14
  • 33