PhoneGap 0.9.3 same www for Android and iPhone it is possible ?

9 views
Skip to first unread message

sylvek

unread,
Dec 31, 2010, 10:53:12 AM12/31/10
to phonegap
Hello,

I'm writing a program for android and iphone in same time. So i
created two projects, one under eclipse and an another under xcode. I
wish to share the same www folder for this both project.. I have my
own plugin but i discovered that was impossible :-(

phonegap.js (for iphone) != iphonegap.js (for android)
myPlugin.js (for iphone) != myPlugin.js (for android)

PhoneGap.exec javascript function has not the same signature between
iPhone and Android ! :-o

of course i created a phonegap project with the same revision for the
both devices..

So i'm asking if try to share a same www for several platforms is
possible ? :-/

Sylvain

ps. bonne année !

Jesse MacFadyen

unread,
Jan 4, 2011, 4:18:48 PM1/4/11
to sylvek, phonegap
Yes, with the exception of phonegap.js.
The API is consistent, but the code within phonegap.js for the various platforms is different.



--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com



--
--
Jesse MacFadyen
{
  blog:'blogs.nitobi.com/jesse',
  email:'jesse.m...@nitobi.com',
  company:
  {
    name:'Nitobi Software',
    site:'www.nitobi.com',
    phone:
    {
      office:'+1 (604) 685-9287',
      tollFree:'1-866-632-2777'
     }
  }
}
Reply all
Reply to author
Forward
0 new messages