[android-developers] Is there any way to load the txt file in android app code without writing it in the android device?

2016-08-31 Thread cibin A.W.


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.


[android-developers] Create Username and password

2011-06-08 Thread cibin
Can anyone help me in creating username and password in an pop up
window.


Thanks in advance for any answers,
Cibin

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Create Username and password

2011-06-08 Thread cibin
Can anyone help me in creating username and password in an pop up
window(Dialog Box).

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Audio recorder

2011-04-25 Thread cibin
Does the Android platform provide an API to process audio inputs in
real time, other than the methods provided by the AudioRecord class?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Audio recorder

2011-04-25 Thread cibin
If the AudioRecord class contains the optimum methods, can it dump the
buffer often enough to meet the desired latency of 16ms?  Can we be
completely confidant that each sample will be processed?  (we cannot
miss any samples, unless we know that they were missed)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Audio recorder

2011-04-25 Thread cibin
Can we recommend any  lower level code in Audio recorder, maybe
accessing native functions?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to Create a Media Player

2011-03-22 Thread cibin
I am beginner in Android; I know only the basics...Please help me to
create a Media Player in Android

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to create a Media player?

2011-03-21 Thread cibin p oommen
I'm new to android and Now i got a work  to create an apps regarding
Media Player. I don't know where to start the

project.Does anybody help me?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en