Answer the question
In order to leave comments, you need to log in
Correct permission in config.xml, phonegap's Manifest.xml?
good time everyone, I recently started to master phonegap and made the first workable application. But there were minor shortcomings that Google did not give me answers to, and therefore I ask your gurus for help:
1. how to insert an icon on your application. I compile my apps via githab. So it is clear that there is no way to upload a file with the resolution of the picture - only text. The build on phonegap has a settings section and there is a section to add an icon, but for some reason it is not active (i.e. you can’t download through it, I suspect this is a section for private publication or a commercial tariff). How can I insert an icon?
2. Permissions in the manifest how to register correctly that I need only the Internet and nothing more. I posted my manifesto, tell me how to implement / register it ... I almost forgot, but in the manifest how to register, let's say for other ios and windows operating systems that they only need the Internet. Is it possible in one or for each separately it is necessary to do? How to implement correctly?
3. The essence of the application is to upload html pages at the request of the user from the server. And how to make it so that when the Internet is lost, the message “Oh, they say you don’t have the Internet !!!” flies out. That is, place the js code on the page that the user uploads. Let's say he downloaded a page and he looks at it, everything is ok, but when I try to download another from this page, when the Internet is lost, an evil message pops up - no Internet ...
config
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.example"
versionCode = "10"
version = "1.0.0" >
<!-- <icon src="http://cdn2.hubspot.net/hub/358230/file-472066600-png/Img/icons/news.png?width=128" /> -->
<name>Приложение</name>
<description>
Первое Приложение.
</description>
<author href="https://build.phonegap.com" email="[email protected]">
ХХХХХХХХ
</author>
</widget>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:windowSoftInputMode="adjustPan"
package="com.phonegap.example" android:versionName="1.1" android:versionCode="5">
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question