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

Install Mobile app in Device

9 Answers 101 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.
srinu
Top achievements
Rank 1
srinu asked on 14 Sep 2012, 01:12 PM
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


9 Answers, 1 is accepted

Sort by
0
sdobrev
Top achievements
Rank 1
answered on 14 Sep 2012, 03:14 PM
Hi Srinivas,

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

Hope this helps.
0
Jeremy
Top achievements
Rank 1
answered on 02 Nov 2012, 03:24 PM
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.
0
Evgeni "Zammy" Petrov
Telerik team
answered on 03 Nov 2012, 03:05 PM
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.
0
Jeremy
Top achievements
Rank 1
answered on 04 Nov 2012, 09:38 PM
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.
0
Evgeni "Zammy" Petrov
Telerik team
answered on 05 Nov 2012, 02:24 PM
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.
0
progame game
Top achievements
Rank 1
answered on 26 Feb 2013, 07:58 AM
I add permission for my app, but still show this error in android 4.1, and it's ok in 2.3.
0
Evgeni "Zammy" Petrov
Telerik team
answered on 26 Feb 2013, 02:03 PM
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.
0
Vakeel
Top achievements
Rank 1
answered on 12 Jun 2015, 01:51 PM
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
0
Tina Stancheva
Telerik team
answered on 17 Jun 2015, 11:06 AM
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.

 
Tags
General Discussion
Asked by
srinu
Top achievements
Rank 1
Answers by
sdobrev
Top achievements
Rank 1
Jeremy
Top achievements
Rank 1
Evgeni "Zammy" Petrov
Telerik team
progame game
Top achievements
Rank 1
Vakeel
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or