开源软件名称(OpenSource Name):gregallensworth/MobileMapStarter开源软件地址(OpenSource Url):https://github.com/gregallensworth/MobileMapStarter开源编程语言(OpenSource Language):Java 40.6%开源软件介绍(OpenSource Introduction):MobileMapStarterhttps://github.com/gregallensworth/MobileMapStarter A starting framework for mobile maps using Cordova/Phonegap. A minimal but functional, standalone mobile app from which to build your own creations. This is the jQuery Mobile version of MobileMapStarter. It will not be actively maintained after 2016. If you like Angular, try https://github.com/GreenInfo-Network/MobileMapStarter2 instead. If you use Ionic, you may be interested in https://github.com/greeninfo/IonicMapStarter instead. Getting ItI recommend a tested, known-stable build:
You can grab master if you're feeling adventurous, or if you want to help with MobileMapStarter. Compiling and LaunchingThis is a ready-to-run starter application for Phonegap/Cordova. Assuming that you have the Cordova build environment all set (run "cordova" from CLI, for instance) you should be able to run this and have a map app:
General Walkthrough
Phonegap BuildThe content of the www folder should be ready-to-run app with Phonegap Build. You should be able to ZIP up that content and upload to PGB. Tip: I myself don't use Phonegap Build due to some issues. Most notably, Android apps are not set to singleTask mode, meaning that when the user taps the icon and the app is already running, a new instance is started without the prior state, selections, etc. Additionally, you can't set more advanced settings such as hiding the taskbar in iOS, using plugins beyond the few supported by Build, and so on. If you have trouble with Build, consider setting up a Mac with a build environment. Customizing Your AppCheck out config.xml to start personalizing your app: the name, author attribution, permissions, and so on. You'll also need to do this in iOS via Xcode. To change the name of the app after you've edited config.xml, it's easiest to simply remove and re-add the platforms using cordova platform rm ios android and cordova platform add ios android. The platform tool will read config.xml and generate the Xcode file and the AndroidManifest based on the tag in config.xml But then you'll want to re-instate a few platform-specific hacks:
Swap out splash screens and icons. See platforms/ios/MobileMapStarter/Resources and platforms/android/res Now start customizing index.html and index.css and index.js to make your app. And check out the possibly useful utility functions library.js Enjoy! Bugs / Todo / WishesSee the Issues page on Github for a full list. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论