Hi,
*What I do:* 1.I have a simple facedetection code in which I load a xml file(or txt file). 2.For that first I write the xml in the device and then loaded in the application. 3.Sample code I used to write InputStream is = getResources().openRawResource(R.raw.haarcascade_frontalface_alt);File cascadeDir = getDir("cascade", Context.MODE_PRIVATE); mCascadeFile = new File(cascadeDir, "haarcascade_frontalface_alt.xml");FileOutputStream os = new FileOutputStream(mCascadeFile); byte[] buffer = new byte[4096];int bytesRead;while ((bytesRead = is.read(buffer)) != -1) { os.write(buffer, 0, bytesRead);} is.close(); os.close(); 4.From the above code the xml is writtern in the data/data folder in device *What I need to do:* 1.I need to load the xml in the app in such a way that others cannot able to find which xml is loaded(may be using the jar file) Is there any way to do so? Thanks, Regards CIBIN -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/67b99a8d-44a4-49cf-9e3d-c7ac897a2b9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.