ripple

Ripple geolocation settings being ignored by Cordova application

旧巷老猫 提交于 2019-12-25 03:41:03
问题 I'm using Visual Studio 2013 Update 4 and I've installed the Visual Studio for Cordova add-on (version 0.3.22015.1). I have created an Angular based app based on the Ionic SideMenu Starter Template for Cordova example. I have included the Cordova geolocation plugin in the config.xml file. Within this example I am obtaining the device's location using the following code: $scope.showPosition = function (position) { // ... } $scope.getLocation = function () { if (navigator.geolocation) {

Visual Studio Tools for Apache Cordova stops work correct after update

谁说胖子不能爱 提交于 2019-12-24 16:17:44
问题 I am developing ionic application with Visual Studio Tools for Apache Cordova. Everything was OK until I updated Tools for Apache Cordova and TypeScript Tools for Visual Studio. After this update Ripple emulator became unstable and get the next error in the Output window. code:-32000 message:Debugger agent is not enabled The source map 'angular-sanitize.min.js.map' for file 'mdha:http://code.ionicframework.com/1.0.0-rc.5/js/ionic.bundle.min.js' could not be read from the specified location

Error 400 (Bad Request) from Visual Studio 2015 Ripple

跟風遠走 提交于 2019-12-24 12:47:15
问题 I am trying to access as WCF service from Visual Studio's 2015 Android Ripple Emulator but I'm getting an error 400: Bad Request. I modified the proxy.js found in C:\Users\User\AppData\Roaming\npm\node_modules\vs-tac\node_modules\ripple-emulator\lib\server\proxy.js from: app.use(express.bodyParser()); to: app.use(bodyParser.text({type: '*/*'})); but this did not solve the problem and is trying to access the WCF service as follows - http://localhost:4400/ripple/xhr_proxy?tinyhippos_apikey=ABC

Android how to create ripple effect in Java

走远了吗. 提交于 2019-12-24 02:09:51
问题 I have the ripple xml. But I am not sure how to get same effect in Java. <ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/blue_1" /> I would like to define / create / load a ripple, or even set a color in Java. That means, in java, I can load the XML ripple, then assign a color. or can i do do everything in java: Ripple = new Ripple ? I tried the code from this link: https://github.com/romainguy/google-io-2014/blob/master/app/src/main/java/com/example

Ripple Effect on the touch event UIImageView

烂漫一生 提交于 2019-12-23 03:41:12
问题 I want to make a ripple effect on a UIImageView upon receiving the user touch. How can i do this. Opengl is a good option. But on which part of opengl should i need to concentrate. I am new to opengl. 回答1: I'd suggest you check out cocos2d: http://www.cocos2d-iphone.org/ https://github.com/cocos2d/cocos2d-iphone It has a built-in ripple effect. There is sample code in their source under /tests/EffectsTest.m 来源: https://stackoverflow.com/questions/6353403/ripple-effect-on-the-touch-event

PhoneGap Ripple Emulator always reports malformed config.xml

北城以北 提交于 2019-12-20 09:57:06
问题 Does anyone have any idea, what can cause Ripple Emulator (newesest version) onboard newest version of Chrome to always report malformed or missing config file (" config.xml file could not be found in application's root or is malformed XML ")? I have my config.xml present exactly at application root (i.e. in the same folder, where index.html file, used to fire my mobile application). I don't think it's malformed since PhoneGap Bulid builds perfectly working applications (though tested only on

Load contents of image from camera to a file

江枫思渺然 提交于 2019-12-19 06:40:12
问题 I am taking a picture (or selecting from library) using phonegap API using the following drictive: MyApp.directive('Camera', function () { return { restrict: 'A', require: 'ngModel', link: function(scope, elm, attrs, ctrl) { elm.bind('click', function() { navigator.camera.getPicture(function (imageURI) { scope.$apply(function() { ctrl.$setViewValue(imageURI); }); }, function (err) { ctrl.$setValidity('error', false); }, //Options => http://docs.phonegap.com/en/2.6.0/cordova_camera_camera.md

PhoneGap application not working on Google Ripple

扶醉桌前 提交于 2019-12-18 05:48:10
问题 I'm developing a phoneGap application. When I test my application in the browser there is no problem. Everythings works well. But when I am try it in ripple, my javascript does not work. In detail: The user can login the system and if it successfully redirects to another page (used jquery mobile) it works well in chrome, internet explorer, and firefox. But does not work in ripple. My code is shown below: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content=

Ripple effect over a RecyclerView item containing ImageView

帅比萌擦擦* 提交于 2019-12-17 21:49:14
问题 I have a RecyclerView that expands the following grid item : <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/children_tile_border" android:layout_marginTop="@dimen/children_tile_border" android:clickable="true" android:focusable="true" android:background="?selectableItemBackground" tools:ignore="RtlHardcoded"> <com

What should be the color of the Ripple, colorPrimary or colorAccent? (Material Design)

馋奶兔 提交于 2019-12-17 08:30:11
问题 I have reading Material Design Guidelines but I don't know what should be the color of the Ripple if it isn't black (with alpha). For example, I have an app with colorPrimary = blue, and colorAccent = red. Actually I am using the colorAccent (with alpha), I should use colorPrimary (with alpha) if I want a color different of black to the ripple? I checked all app of Google but they never use ripples with color. An image like I have now: 回答1: Use 26% alpha for colored ripples. Android L doesn't