This is a migrated thread and some comments may be shown as answers.

Icenium App Path

2 Answers 37 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dan
Top achievements
Rank 1
Dan asked on 28 Oct 2013, 06:12 PM
Does anyone know how to get the application's root path?

fileSystem.root.fullPath returns file:///storage/emulated/0/

I need to get something like: file:///storage/emulated/0/Icenium/com.telerik.AppName/

Do I just need to know that is what it is and set it as a constant?

2 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 29 Oct 2013, 04:21 PM
Hi Dan,

The path you are observing is the one where Icenium extract its package contents in order to enable LiveSync functionality in Debug mode. My suggestion is to use window.location.href and remove the index.html part of the path.

Hope this helps,
sdobrev

You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Dan
Top achievements
Rank 1
answered on 29 Oct 2013, 04:22 PM
Thank you,

I'll give that a try.
Tags
General Discussion
Asked by
Dan
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Dan
Top achievements
Rank 1
Share this question
or