incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Walters <deedu...@gmail.com>
Subject Re: standard project template
Date Tue, 29 May 2012 19:14:54 GMT
I would like to see the sample app at least show listening for the
'deviceready' event since that seems to be a common problem and
provides some guarantee of Cordova initialization.

Something like this maybe?

https://gist.github.com/2830064

On Tue, May 29, 2012 at 1:54 PM, Brian LeRoux <b@brian.io> wrote:
> Like that idea too. How about this for the example app:
>
> <script src=cordova-1.8.0.js></script>
> <script>document.write('<h1>hello world from cordova </h1>' +
> device.cordova)</script>
>
> Tag that. Add it to all repos. Accept pull requests for all the stuff
> we've now discussed...
>
>
> On Sat, May 26, 2012 at 7:44 PM, Filip Maj <fil@adobe.com> wrote:
>> +1 on Simon's thought below.
>>
>> Another thought: could this example app simply be generated _from_ the
>> documentation, from the "full example" sections?
>>
>> On 5/22/12 8:12 PM, "Simon MacDonald" <simon.macdonald@gmail.com> wrote:
>>
>>>On Tue, May 22, 2012 at 2:02 PM, Drew Walters <deedubbu@gmail.com> wrote:
>>>>
>>>> I would envision that eventually this would get shipped as a
>>>> kitchen-sink type example project, separate from the 'create project'
>>>> command.
>>>
>>>Yeah, when you download the Cordoava-version.zip file this should be
>>>in a directory called example. We should validate that the example
>>>works on all platforms and give people instructions on how to add it
>>>to your first project to highlight the power of PhoneGap.
>>>
>>>Simon Mac Donald
>>>http://hi.im/simonmacdonald
>>

Mime
View raw message