Question about PhoneGap

2 views
Skip to first unread message

Preston Crawford

unread,
Apr 14, 2010, 11:48:33 AM4/14/10
to mobile-...@googlegroups.com
Figured I'd ask here first instead of the source, because someone here might have used this recently. I downloaded PhoneGap to give it a try and the git directory is empty. There is nothing in the iPhone, Android, etc. directories.

Also, I wanted to ask a high level question. Does PhoneGap give you access to the Camera API of some phones? i.e. The ability to use the camera as a source of an image to work with. I never got a clear answer from the website. 

I have a project I want to do for Android, but I'm playing around with just how much I can do without using the Android SDK.

Preston

Jason Grigsby

unread,
Apr 14, 2010, 11:54:21 AM4/14/10
to mobile-...@googlegroups.com
http://docs.phonegap.com/docs/camera

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

--

Jason Grigsby
+1 (503) 477-5340 o
+1 (503) 502-7211 m
ja...@cloudfour.com
http://cloudfour.com

Preston Crawford

unread,
Apr 14, 2010, 11:56:17 AM4/14/10
to mobile-...@googlegroups.com
Thanks. The big picture question I was referring to, though, was whether this works across both Android and iPhone. I was looking at the wiki and it seemed to indicate that it only worked for iPhone. I'll try it out once I can get an actual download of phonegap and not an empty git repository.

Preston

Jason Grigsby

unread,
Apr 14, 2010, 12:00:33 PM4/14/10
to mobile-...@googlegroups.com
Sorry. I missed that. :-)

I'm not sure on Android camera. @brianleroux has a Google Spreadsheet that shows compatibility across devices. I have to run to a meeting, but if you can't track down the info, let me know and I'll see what I can find out later in the day.

-Jason

Jeremy Logan

unread,
Apr 14, 2010, 12:03:09 PM4/14/10
to mobile-...@googlegroups.com
I have no experience with phonegap, but I'd guess that the iphone and android tags at the top-right indicate the platforms the function is supported on?

http://imgur.com/EOApY.png

Steven Osborn

unread,
Apr 14, 2010, 12:35:46 PM4/14/10
to mobile-...@googlegroups.com
It's been a while since I played with PG, but I'm pretty sure the
empty directories are a feature of Git. It's like SVN externals, but
you have to bootstrap them yourself to pull down the content. I'm
pretty sure the README has some info.

Again it's been a long time since I tried to play with it and didn't
get extremely far with it before.

--
Steven Osborn
http://steven.bitsetters.com

Preston Crawford

unread,
Apr 14, 2010, 12:39:34 PM4/14/10
to mobile-...@googlegroups.com
Nevermind. I'd followed their instructions earlier and it hadn't worked. I just tried it again and it did. Go figure.

Thanks. I'll play around with Android camera stuff later.

Preston

Preston Crawford

unread,
Apr 14, 2010, 12:51:02 PM4/14/10
to mobile-...@googlegroups.com
I am a bit surprised that it appears you still need the JDK. For some reason I thought there was a way to setup a mobile.mydomain.com that could still touch the API of the camera. Not sure why I thought that as it breaks the whole same origin site principle, but I thought I'd heard that at some point. Oh well.

Preston
Reply all
Reply to author
Forward
0 new messages