cordova

Create PhoneGap 3.0.0 project error - 'platform add android' i not a node

百般思念 提交于 2020-01-09 19:04:29
问题 I am trying to get setup with phonegap 3.0.0. I am totally new to phone app development....just fyi. Per instructions on phonegap's site (here), I am attempting the "platform add android" commmand from within my newly created project ("phonegaptest") and getting the following errror: Found one other instance of this on the web and it was a path issue, I don't think mine is as I can type 'android' at the command prompt and it shows a list of valid commands. 回答1: Instead of attempting the

Create PhoneGap 3.0.0 project error - 'platform add android' i not a node

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-09 19:04:13
问题 I am trying to get setup with phonegap 3.0.0. I am totally new to phone app development....just fyi. Per instructions on phonegap's site (here), I am attempting the "platform add android" commmand from within my newly created project ("phonegaptest") and getting the following errror: Found one other instance of this on the web and it was a path issue, I don't think mine is as I can type 'android' at the command prompt and it shows a list of valid commands. 回答1: Instead of attempting the

Can you use AngularJS with Parse.com?

穿精又带淫゛_ 提交于 2020-01-09 12:37:12
问题 I am new to phonegap development & I am trying to pick a framework to use. I'd like to use AngularJS as I've read good things about it, but I'd like it to work with Parse.com as a backend. I noticed that one Parse.com they don't specify any compatibility with Angular, and all their documentation and Javascript API requires Backbone. I know AngularJS supports http, so I can communicate with Parse using the REST API. But is this going to end up being a mess & will I save myself time & stress if

cordova inappbrowser and input file

非 Y 不嫁゛ 提交于 2020-01-09 11:46:14
问题 I have a iOS and Android application, and I load a external website inside my app (this external website is mine too). My problem is that this website has a file upload feature and this feature does not work on Android (it works on iOS). I saw that this behavior is normal on Android, but is there any way to make it work or it's definitely not an option ? Thank you EDIT 1 I tried to create a new app with a simple page like this (hosted on AWS) : <html> <head> <title>Upload Test !</title> <

App cache iOS PhoneGap

岁酱吖の 提交于 2020-01-09 11:10:10
问题 On Android I used file:///storage/sdcard0/Android/data/my.app.id/cache/ to download (FileTransfer) some images and then show them in my html. Images and everything else inside this folder gets removed when deleting my app, which is exactly what I want. How to achieve this on iOS? I tried with file:///var/mobile/Applications/<GUID of app>/Documents/ since this is what I got when requesting file system, but the images won't even download (error code 1). Any ideas? I found out more about my

我用的 cordova 插件

淺唱寂寞╮ 提交于 2020-01-08 16:57:24
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> cordova 插件不少,但合适自己的才是最好的 cordova-plugin-camera 相机拍照 cordova-plugin-device 检查当前操作系统和设备情况 cordova-plugin-file 文件 cordova-plugin-file-transfer 文件上传和下载 cordova-plugin-geolocation 获取经纬度 cordova-plugin-inappbrowser 浏览器,用于打开文件 cordova-plugin-splashscreen 显示App启动时的过渡页面 cordova-plugin-app-version 有新版本时,提示下载和安装(安卓) cordova-imagePicker 多图片选择器(https://github.com/wymsee/cordova-imagePicker.git) com.maginsoft.mfilechooser 选择指定类型的单个文件,参考(https://forum.ionicframework.com/t/recommended-android-ios-file-chooser-plugin/20761/7) StatusBarPlugin ios状态栏插件 https://github.com

How to put an icon to system status bar with Cordova

时光毁灭记忆、已成空白 提交于 2020-01-07 13:35:35
问题 I need to put an app icon to the system status bar (on top) on iOS and Android with Cordova (like the clock icon when you set an alarm). Is there any plugin available? 回答1: In Android on the status bar you cannot add icons to the right (system icons) as this is reserved for system. You're not system, therefore you should not be on the status status bar. However; you can post on the left side (which is where app icons show up). Also even if you were system, unless you can modify the source

Google Maps API - Mysterious White “Map” Popup Upon Loading

末鹿安然 提交于 2020-01-07 09:44:09
问题 UPDATE2: Found the problem. I had * { width: 100%; height: 100% } at the top of my CSS file. This screwed up the entire map. Removing this solved the problem. UPDATE: I was able to use CodePen to show my problem. Just click on the second box from the left in the navigation bar at the bottom. http://codepen.io/anon/pen/CDeBc If this question was asked already I apologise; I was unable to find one with this issue. I've been working on this for a while, and can't figure out what the problem is.

Google Maps API - Mysterious White “Map” Popup Upon Loading

与世无争的帅哥 提交于 2020-01-07 09:43:51
问题 UPDATE2: Found the problem. I had * { width: 100%; height: 100% } at the top of my CSS file. This screwed up the entire map. Removing this solved the problem. UPDATE: I was able to use CodePen to show my problem. Just click on the second box from the left in the navigation bar at the bottom. http://codepen.io/anon/pen/CDeBc If this question was asked already I apologise; I was unable to find one with this issue. I've been working on this for a while, and can't figure out what the problem is.

Google Maps API - Mysterious White “Map” Popup Upon Loading

落爺英雄遲暮 提交于 2020-01-07 09:42:31
问题 UPDATE2: Found the problem. I had * { width: 100%; height: 100% } at the top of my CSS file. This screwed up the entire map. Removing this solved the problem. UPDATE: I was able to use CodePen to show my problem. Just click on the second box from the left in the navigation bar at the bottom. http://codepen.io/anon/pen/CDeBc If this question was asked already I apologise; I was unable to find one with this issue. I've been working on this for a while, and can't figure out what the problem is.