Create a mobile-optimized website, for example using jQuery Mobile and upload your site to your webspace, for example using a webspace package from 1&1. Please make sure to optimize your website to feel like an app. For example may disallow user zooming:
<meta name="viewport" content="width=device-width, user-scalable=no" />
Choose Open an existing Android Studio project:
Open Config.java file to edit main configuration details (URL, URL Handling, UserAgent, dialogs, ...):
Open strings.xml file to edit app name & text strings:
Open dimens.xml file to edit text formatting:
Change the package name if you plan to publish your app in Google Play Store:
Watch on YouTube
If your app does not need geolocation, you can delete askForPermission(); line in MainActivity.java file.
Just replace the included image files with your own resized image files. Or just use this nice tool: Launcher Icon Generator (we are not affiliated with the developer company).
<script> var seconds = 120; //seconds from now on var message = "It is Happy Hour now! Check it out!"; //the message var button = "Open App"; //the text of the button window.location.href = "sendlocalpushmsg://push.send?s="+ seconds +"=msg!"+ message +"&!#"+ button +""; </script>
<script> window.location.href = "sendlocalpushmsg://push.send.cancel"; </script>
If you want to use OneSignal in your app, activate these options in Confing.java (by switching the values from false to true):
Please set your OneSignal App ID in build.gradle file afterwards:
Setup the OneSignal service for your Android app. Yay, you are done. You can send push notications now:
Save images to the camera roll of the user by running this script on your website:
<script> var imgurl = "https://www.example.org/example.png"; //Image URL window.location.href = "savethisimage://?url="+ imgurl +""; <script>
All rights (e.g. of images) belong to their respective owners. The provider of this source code is OnlineAppCreator.com c/o jocapps GmbH - registered in Germany - and is not affiliated with Google.
Please take a look for license info of your CodeCanyon purchase: https://codecanyon.net/licenses/standard
If you have 10 seconds, please rate this project (it's a great motivation for future updates ^^):
1. Go to CodeCanyon.net and sign in
2. Navigate to https://www.codecanyon.net/downloads
3. Click the stars, like shown in this picture:
Take a look here.