FAQ Database Discussion Community


Visual Studio, Ripple Emulator and CORS/Cross Domain Ajax

visual-studio,cordova,hybrid-mobile-app,ripple
I have an issue with Visual Studio when working on a multi device hybrid app. When I try do to an ajax call to an external webservice, and get some errors in ripple. (Cross Domain Security issues). My code works fine when deploying to a mobile device. From research I...

LDAP authentication fails on ripple and actual device but not on browser

ionic,openldap,ripple
I'm trying to get an authorization token for an Ionic App from a LDAP service in a remote server. I can get the auth token when I run the Ionic App in the browser with the command ionic serve and when I use Postman, BUT it takes lot of time...

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

android,colors,material-design,ripple,design-guidelines
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...

Disable ripple effect on Listview

android,listview,android-listview,material-design,ripple
I have a simple listview that has some listitems. Currently, to make the items ripple on touch, I just added android:drawSelectorOnTop="true" to the listview. This works perfectly. However, some of the list items are headers and should not show ripples because they do not have an action associated with them....

jQuery AJAX simple PHP Post not working

php,jquery,ajax,post,ripple
I've got a very basic one today! I'm trying to post from jQuery to a PHP file hosted on localhost. My JS: $("#searchNameButton").click(function() { var name = $("#searchNameText").val(); $.ajax({ type: 'POST', url: 'localhost:8080/getNameInfo.php', // -> this works fine from the browser // data: { name: name }, -> commented out...

Ripple geolocation settings being ignored by Cordova application

cordova,gps,cordova-plugins,visual-studio-cordova,ripple
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...

Internet not accessible from ripple emulator

cross-domain,visual-studio-cordova,ripple
I created a VS Cordova project, and need to download some data from a web service, but Ripple runs inside Chrome, and Chrome considers that request "cross-domain" and blocks it. Setting ripple proxy option to disabled/local/remote has no effect. I can start another instance of Chrome with --web-security-disabled command line...

Android how to create ripple effect in Java

java,android,xml,android-5.0-lollipop,ripple
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...

Why Visual Studio Cordova project always resumes while debugging for parenthesis in index.js

visual-studio-cordova,ripple
I've just created a vs-cordova application. When I ripple this application on chrome browser everything works as expected. BUT, The debugger breaks on end of cordova.js and index.js. The index.js is below. Break point hits the final bold area. But why? I do not see anything in output area.I opened...

Android circle ripple animation [closed]

android,animation,geometry,ripple
I want to make an animation have some circles. They will draw from small to big look like water ripple effect. Look like that How to make it with Android code? Please help me!!!...

How to build ripple client on local?

ripple
I'm trying to build ripple-client on my computer following it's README.md and wiki. But, after I run grunt devserver and access http://local.ripple.com, log in into my account. I can only find nothing but a navbar. In my developer tools, I see a lot of errors, but nobody refer such situation...