[android-developers] Re: Use of files

2011-04-28 Thread Jernej K.
I found the problem! I used the if statement wrong :) But I can confirm you have in Android native code accessibility to local files created in java - files create on application level, where other applications can not see your file! Now I can write to files in native code and read them in

[android-developers] Re: Use of files

2011-04-22 Thread Jernej K.
Thank you both for your answer! The thing is, in my company we already have working libraries and that is the reason why I have to use jni. So most of the work is done in native code, most of time I use Java for GUI part.. So I think i would be a performance issue (applications is constantly

Re: [android-developers] Re: Use of files

2011-04-22 Thread Mark Murphy
Do not make the file MODE_WORLD_WRITEABLE unless you don't mind when people hack your files. On Fri, Apr 22, 2011 at 4:41 AM, Jernej K. jernej.klan...@gmail.com wrote: Thank you both for your answer! The thing is, in my company we already have working libraries and that is the reason why I

[android-developers] Re: Use of files

2011-04-21 Thread Igor Prilepov
Most likely this is about permissions: the native application (I guess you run it from the shell) is executed under different user ID than your Java application. As a temporary development solution you can get root access and fix it but I would recommend to avoid using native code unless for

[android-developers] Re: use multiple files to store string values

2009-06-25 Thread Odessa Silverberg
On Jun 23, 10:56 pm, fry bender...@gmail.com wrote: Hi, Is it possible to store strings values in multiple files? Eg, strings.xml, strings1.xml, strings2.xml etc. I do not mean localized versions of the same file - those multiple files should contain different string ids in the same