Icenium App Path

3 posts, 0 answers
  1. Dan
    Dan avatar
    26 posts
    Member since:
    Oct 2013

    Posted 28 Oct 2013 Link to this post

    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. Stefan Dobrev
    Admin
    Stefan Dobrev avatar
    790 posts

    Posted 29 Oct 2013 Link to this post

    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.
  3. Dan
    Dan avatar
    26 posts
    Member since:
    Oct 2013

    Posted 29 Oct 2013 Link to this post

    Thank you,

    I'll give that a try.
Back to Top