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 java!
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. 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 have to use jni.
> So m
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
mana
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 the
4 matches
Mail list logo