Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3515111F24 for ; Tue, 8 Jul 2014 13:55:13 +0000 (UTC) Received: (qmail 97679 invoked by uid 500); 8 Jul 2014 13:55:12 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 97647 invoked by uid 500); 8 Jul 2014 13:55:12 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 97632 invoked by uid 99); 8 Jul 2014 13:55:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 13:55:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agrieve@google.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 13:55:08 +0000 Received: by mail-oa0-f45.google.com with SMTP id o6so6383268oag.4 for ; Tue, 08 Jul 2014 06:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=cNsgG/d1ZuFzy5cpnsXle0MLjabwA/4BkSKDc3EYG2M=; b=l1nihtDItnjb3lGf8EvjxUHPJJpzArGmmR+9VHMgGxQpCoJBwNF6kunm86POjBS6uD ZabjZuZhn0gxUOaDCkBrKEVFlV2NM4GEKL6MfaWqL2mkkO2DShwlDb1rxY2USpaiNmgb 2Ag1sfRxokPLXwjiXhTuSlgb9T/KVz6FMpCUMS+DRacyNsCBRtY7wwlNVPBvl9AJVx/Q 1DcPQFsCI383abvq+N95Bp43ADnU1Ry1CdYBXWzd80Is2DSqHDcpjc1GmnKPwIimDcTm kDObK6wKvDdKRm4oV2LPkoUtKa6zDRIxlfh8lS+G6gPXjcDimymYSk/H1OgXdZS3PFdh Y/vA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=cNsgG/d1ZuFzy5cpnsXle0MLjabwA/4BkSKDc3EYG2M=; b=K9MVZb100H2xI/jj9KINQXH5BDO297kAiI6F19X5QJwEKpAdGxKJUzfTKVRV9PX7z/ WgKFD5G4R2hu9UVNEtTLcqXs2iZB8osuZGOfCGog/80SNd5Nvnl/jGejAWmpccuz342q 1JXMbUlmi2mMSk6KPMyVo/otliHZ+mN0oGzbQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=cNsgG/d1ZuFzy5cpnsXle0MLjabwA/4BkSKDc3EYG2M=; b=GzP/uI9uD9B/sr5R/HcjAUuX/tdVtqG8bqat176dnpouae8q36tFLQU/DT2Vtg37+h +JYZ9ksLZc1AMb4gYmX4NyLniPGK/UFZRzMN0MTVrPTF+oLh8X+nTIMvH2Zuc5KVlZEH PWD7oGcRwDgUyJfjpaO7szKaOm45jcrIZyP2P9R8sKLKTGktRmxzpymkWCkm+0Yknbzt TqaKngO0KxHrZQyFGkhHjZ/KhUl4KkUcsKdXRy16UjRGWEC45eimVPJ/MgIJKb6eObX3 jOKOkDM3+RUWA6H+PGBW9G7E8NtltyN2Z3Ygnu1+kcw3FzByH4qeC4eT65zwohNdItJe Q2PA== X-Gm-Message-State: ALoCoQl0a11HdB9YhpKzmA6uZz72uGIGS8tlcIdK9cMCp5K2CxUiIpmAk39iQvcLRkWW09zi9y9j X-Received: by 10.182.81.201 with SMTP id c9mr21075198oby.35.1404827683723; Tue, 08 Jul 2014 06:54:43 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.251.234 with HTTP; Tue, 8 Jul 2014 06:54:23 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Tue, 8 Jul 2014 09:54:23 -0400 X-Google-Sender-Auth: MLVbkVuqXwssydDyzkjPKhMF3_8 Message-ID: Subject: Re: Ripple as a Cordova platform - experiment To: dev Content-Type: multipart/alternative; boundary=047d7b2e47ee0f922404fdaeef61 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e47ee0f922404fdaeef61 Content-Type: text/plain; charset=UTF-8 Haven't tried it, but love the approach. On Mon, Jul 7, 2014 at 11:41 PM, Parashuram Narasimhan (MS OPEN TECH) < panarasi@microsoft.com> wrote: > My bad, did not realize the WWW did not exist. It was just a sample app, > which used the camera API. You can use the camera API and it will work with > Ripple too. > > -----Original Message----- > From: mmocny@google.com [mailto:mmocny@google.com] On Behalf Of Michal > Mocny > Sent: Monday, July 7, 2014 8:04 PM > To: dev > Subject: Re: Ripple as a Cordova platform - experiment > > FYI there is no www attachment (this mailing list strips off attachments). > Is it strictly necessary or was it just an example? > > > On Mon, Jul 7, 2014 at 6:31 PM, Parashuram Narasimhan (MS OPEN TECH) < > panarasi@microsoft.com> wrote: > > > Hi, > > > > We have been experimenting with converting Apache Ripple into one of > > the Cordova platforms. Apache Ripple is a great tool for emulating the > > mobile devices. > > > > Ripple currently supports some core built-in plugins. The idea of > > making it a platform is for any plugin (including core plugins and > > third party > > plugins) simulate the information when user code calls the plugin. The > > plug in would just have to add the "Ripple" platform, and have a > > javascript file that emits the required mock or real data. > > > > This is also very similar to the cordova-browser where browser becomes > > a cordova platform. For next steps, we are looking at how we could try > > to layer Ripple on top of Cordova browser since the underlying > > platforms for both systems are similar. > > > > P.S: We would also need an API for plugins to display widgets that let > > users manipulate the data a plugin returns. This prototype does not > > address that issue, but is aware of it, and we are looking at > > community help to fix the problem > > > > Here is the project and the instructions on how to run it. > > > > > > You can test it with following commands: > > 1. Install cordova-cli and cordova-lib a. cd to d:\cordova b. Get > > cordova-cli > > git clone https://github.com/msopentech/cordova-cli > > c. Get cordova-lib > > git clone https://github.com/msopentech/cordova-lib > > d. Link your cordova-lib repo to cordova-cli node-modules: > > cd cordova-cli\node_modules > > mklink /d cordova-lib d:\cordova\cordova-lib\cordova-lib (this should > > be run with admin privileges) e. Install dependencies to both > > cordova-cli and cordova-lib: > > cd cordova-cli && npm install > > cd cordova-lib\cordova-lib && npm install f. Now you can run > > CLI with following: > > D:\cordova\cordova-cli\bin\cordova.cmd > > You can make alias for this command or run it any other way. > > > > 2. Create test project > > cordova create test-project > > 3. Replace www folder inside the project with the one from the > > attachment 4. Add ripple platform cordova platform add ripple 5. Add > > camera plugin cordova plugin add > > https://github.com/MSOpenTech/cordova-plugin-camera.git > > 6. Start application > > cordova emulate > > > > > > Would love to hear your feedback and any other question you may have. > > Please let us know if this sounds interesting. > > > > > > > --047d7b2e47ee0f922404fdaeef61--