Install Mobile app in Device

10 posts, 0 answers
  1. srinu
    srinu avatar
    5 posts
    Member since:
    Aug 2012

    Posted 14 Sep 2012 Link to this post

    hi..good evening.

    I am new to JqueryMobile Technology.

    Could you tell me how to  install my JqueryMobile application in my android device.

     I developed my application using JqueryMobile Frame work  in Icenium Graphit.It is working properly in        iceninum Simulator,but i don't have any idea to run that application in my own device. 
     
    please suggest me..

    by
    srinivas


  2. sdobrev
    sdobrev avatar
    54 posts
    Member since:
    Sep 2012

    Posted 14 Sep 2012 Link to this post

    Hi Srinivas,

    Please consult with this article from our online documentation how to deploy an application on a device.

    Hope this helps.
  3. Jeremy
    Jeremy avatar
    8 posts
    Member since:
    Nov 2012

    Posted 02 Nov 2012 Link to this post

    Sorry if this isn't the right place, but after deploying a blank solution to my Android phone and opening it for the first time, I get the following popup:

    Application Error
    There was a network error.  (file://storage/sdcard0/Icenium/com.telerik.MYPROJECT/index.html)

    Am I missing something?

    - Galaxy Nexus, Jelly Bean 4.1 (Verizon)
    - Manually downloaded apk after build (QR failed to download)
    - Connected via USB when opening

    I've tried it both with default permissions from blank project (only removed Contact-related items) and with minimal permissions (only Location-related items), and it actually works with all the default permissions but not if I start removing them.
  4. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 03 Nov 2012 Link to this post

    Hello there,

    Make sure that the application has access to the SD card. We are using it to store app files in debug mode so we can change them with LiveSync.

    You need to have the network permission added otherwise the application will not work. 

    What happened with QR code deployment? Why did it fail to download? 

    Regards,
    Evgeni "Zammy" Petrov
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  5. Jeremy
    Jeremy avatar
    8 posts
    Member since:
    Nov 2012

    Posted 04 Nov 2012 Link to this post

    So "by default" Icenium apps need:
    1. WriteExternalStorage - for debugging with LiveSync
    2. Internet - in order to work?
    3. AccessNetworkState - in order to work?
    Are these only required to run during development, i.e. with Mist/Graphite?  When I get to the point of publishing to an App Store, then I can remove those permissions (if my app isn't explicitly using that functionality)?

    QR Code deployment - the phone appeared to have downloaded the APK, but when I went to the Downloads app/shortcut, it listed "app.apk" as 'unsuccessful', and I was not able to open/install it.
  6. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 05 Nov 2012 Link to this post

    Hello,

     You are correct. Maybe we should disallow users to remove them from the list? We have not thought about it. You can build in "Release" so you can see how the app behaves without our added functionality for LiveSync. Right click your Solution in the "Project Navigator" and change the build configuration. I can confirm that you do not need "WriteExternalStorage" in Release mode.


    I just build a package and downlaoded it with QR code from Mist. I can confirm that it works. It is possible that the device you test on does not have stable internet connection. Please try another time and see if it was one time thing.

    Kind regards,
    Evgeni "Zammy" Petrov
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  7. progame game
    progame game avatar
    2 posts
    Member since:
    Aug 2009

    Posted 26 Feb 2013 Link to this post

    I add permission for my app, but still show this error in android 4.1, and it's ok in 2.3.
  8. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 26 Feb 2013 Link to this post

    Hi,

     Can you please send us an email to support[at]icenium.com containing the name of the project that you are having problems with? We will investigate it and will contact you back.

    Kind regards,
    Evgeni "Zammy" Petrov
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
  9. Vakeel
    Vakeel avatar
    2 posts
    Member since:
    May 2014

    Posted 12 Jun 2015 in reply to Evgeni "Zammy" Petrov Link to this post

    Hi,

    I am installed app using QR code and also tried with installed through USB in my Android mobile it installed successfully on mobile index page seen properly but when I go other page I facing Application  error popup just like "application error there was a network error file ///test.html"
       I am also sending my project as well please find attachment
    reply me as soon as possible
  10. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 17 Jun 2015 Link to this post

    Hi Vakeel,

    Thank you for submitting a suport ticket with the project attached. We addressed the case there so please feel free to write back if you have any further comments on it. In the meantime, I will post the information here as well for the benefit of the community.

    When we inspected your project, we noticed that you refer all hyperlinks with a leading forward slash. This causes the Android OS to look for the file in its home directory, instead of the app's directory.

    Running the provided project in the AppBuilder Simulator does not reproduce the navigation issue, because the simulator places all files in the simulated device's root. However, running the application on a real device results in the problem you've come across.

    In order for the Android OS to look for files in the app's home directory, all hyperlinks need to lose the forward slash. For example this file:
    <a href="/MyAccount.html">My Account</a>
    Should be referenced without the slash:
    <a href="MyAccount.html">My Account</a>


    Regards,
    Tina Stancheva
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top