setFileURL path

24 views
Skip to first unread message

anop...@gmail.com

unread,
Jan 9, 2014, 5:36:47 AM1/9/14
to codenameone...@googlegroups.com
I'm trying to use the CN1 Logger for a BB Z10 device.

So I included in my code the following: 
Log.getInstance().setFileURL(FileSystemStorage.getInstance().getAppHomePath()+"/cn1.log");

In my case: 
FileSystemStorage.getInstance().getAppHomePath() = /data/data/my.app.test/files   -    How can I navigate to this folder? 

Shai Almog

unread,
Jan 9, 2014, 1:58:37 PM1/9/14
to codenameone...@googlegroups.com, anop...@gmail.com
That's a z10 question, not so much a Codename One question.
Generally the home directory is supposed to be non-public so you can't navigate to it. Its not guaranteed though.

anop...@gmail.com

unread,
Jan 10, 2014, 4:01:02 AM1/10/14
to codenameone...@googlegroups.com, anop...@gmail.com
Thanks Shai! I'll ask the BB Z10 experts about that..

In the meanwhile if anyone can suggest any valid path for BB Z10 in order to put it as a parameter in the setFileURL() method I'd appreciate it :)
Reply all
Reply to author
Forward
0 new messages