multi-device-hybrid-apps

Setting post-build event commands?

浪子不回头ぞ 提交于 2019-12-12 02:53:43
问题 Is it possible to set a post-build in VS2013 and Multi-Device Hybrid Apps CTP3? I want to be able to copy the output APK to a different location. 回答1: You can use MSBuild Post build event to copy the apk from bin\Android\Debug to your custom location. You can add PostBuildEvent to project file to execute the copy command or can run task to copy apk from one location to another. <ItemDefinitionGroup> <PostBuildEvent> <Command>copy source_apk_location target_apk_location</Command> <Message

Phonegap oauth2 redirect issue

自闭症网瘾萝莉.ら 提交于 2019-12-12 02:45:27
问题 tl;dr I am trying to implement oauth in my cordova app (multi-device hybrid app in VS2013) but have problems with getting the tokens back For my internship project I have made a basic oauth server and added it to an existing project. When the mobile application sends the user to the authentication page he sends along his ID token and a redirect URL. The authentication works and access and refresh tokens are generated. I only have trouble with sending them back to the app. I localhost both my

How to deploy Visual Studio Cordova app to Windows 8?

不问归期 提交于 2019-12-11 12:38:28
问题 When I create a sample cordova app in Visual Studio I can target Android and it generates an APK what I can open easily in Android. How to do the same for Windows 8/8.1 ? ... what is the equivalent of the APK file for windows? (I was looking for a .exe or similar but cant find ... assume this must be simple!?) 回答1: In Windows 8.0/8.1 .appx and .appxupload package are created after build and like apk this is also a zip file, to view the content of package, change the extension to .zip and

How to merge or override the build.xml for Android in phonegap / Cordova

可紊 提交于 2019-12-11 10:16:19
问题 I'm working on a Multi-devices Hybrid Apps solution for Cordova in Visual Studio 2015. I'm using Grunt for some reasons so there is a "node-modules" folder in my solution and I can't build for Android because of this folder. The soluton is to add this property : <property name="aapt.ignore.assets" value="<dir>node_*" /> in the build.xml for Android to exclude the node modules to be built in, but the build.xml file is generated with my visual studio solution build and it seems to have no way

Custom filter not working in Angular Hybrid app

青春壹個敷衍的年華 提交于 2019-12-11 01:12:46
问题 I am attempting to convert an AngularJS 1.6 app in to a hybrid app along with Angular 5. I have the following simple filter defined: (function () { "use strict"; var filterId = "colorPicker"; angular .module('app') .filter('colorPicker', colorPicker); function colorPicker() { return function (input) { var colorCode = '#2980b9'; switch (input) { case 1: colorCode = '#16a085'; break; case 2: colorCode = '#a38761'; break; case 3: colorCode = '#8e44ad'; break; case 4: colorCode = '#ffa800'; break

multi-device-hybrid apps template is not loading after installing CTP2

混江龙づ霸主 提交于 2019-12-09 16:26:45
问题 I am getting an error message when I try to create a new multi-device-hybrid app. The error message is that, this template attempted to load component assembly 'Microsoft.VisualStudio.MultiDeviceHybridApps.VSTemplateWizard, Version=1.0.0.0, Culture=neutral'. And my output error message is : C:\Users\Rishi\Desktop\Winjs Files\WinJS ToDo Sample for Multi-Device Hybrid Apps\JavaScript\WinJSToDo\WinJSToDo.jsproj : error : The imported project "C:\Users\Rishi\AppData\Roaming\npm\node_modules\vs

How to pass data from one page to another for Navigation in Ionic 2

孤人 提交于 2019-12-09 11:36:19
问题 I am Beginner in Ionic 2. I want to pass Json data from one page to another after I click on a list items. The Items in the list comes from json and has particular id's associated with each item. So I want to pass a particular id after a click event on a particular item. This is the json link: 1. http://factoryunlock.in//products with the help of this link I will shows product in list 2. But now I want to show details of that particular item. So I use this link http://factoryunlock.in

Google chrome can't read and write to its data directory mutli-device hybrid app

别等时光非礼了梦想. 提交于 2019-12-08 04:54:52
问题 On running the ripple emulator with nexus s & galaxy . I am getting a dialog box saying Google chrome can't read and write to its data directory c:\ users\amit and when i click ok on that .suddenly chrome opens up saying : cannot view webpage . one more thing where can i set the System path variable to %JAVA_HOME%\bin;%ADT_HOME%\tools;%ADT_HOME%\platform-tools;%ANT_HOME%\bin; I mean to say what is this(System path variable) i don't understand . 回答1: This worked for me on Windows 7. Go to the

Could not find SDK “SQLite.WinRT” - Add Reference shows “Missing value for TargetPlatformWinMDLocation property”

≡放荡痞女 提交于 2019-12-06 14:14:51
I'm trying to create a Multi-device hybrid app that uses Typescript, WinJS, and a persistent local database. I've got it working to the point of rendering WinJS controls. However, when I attempt to add WebSQL functionality according to the instructions for adding a Cordova plugin (go to config.xml file--> under plugins tab, check WebSQL Polyfill), it will no longer compile. The compiler error is C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1886,5): error MSB3774: Could not find SDK "SQLite.WinRT, Version=3.8.2". [C:\Users\Lee\Documents\JSApps

Visual Studio Apache Cordova Build Error - cannot find module

本秂侑毒 提交于 2019-12-06 07:03:23
问题 I have installed visual studio apache cordova plugin and started creating the in built hello world app. but when I build I get this error. I have seen other people have the same issue on MSDN forums but no answer. can anyone help? Cannot find module './lib/plugin' 回答1: Clear your Cordova Cache from within VS under Tools\Options\Tools for Apache Cordova\Cordova Tools. After you have done that, re-open your project and attempt a clean build. If you are still getting the same issue, inspect the