What´s next? and load external page.

21 views
Skip to first unread message

Jimho

unread,
Feb 11, 2012, 11:49:25 PM2/11/12
to phonegap
Hi!

Total new to PhoneGap and mobile development. So i have made the
"Helloworld" example on PhoneGap.com

But where do i go next. I need to see some easy app code to get a
better grasp on how to work with phonegap.

Also, i like to know how to get an external page...let´s say
http://www.mysite.com/info.html and load it in a javascript variable
(so i can work on it)?

Would also be pretty cool if you can check if the phone has access to
internet before beginning to load the external page from the web into
a variable.

Thanx in advance.

jcesar

unread,
Feb 12, 2012, 2:12:59 PM2/12/12
to phonegap
You can read Jonathan stark's online books (free) or buy the
phonegap's beginer guide http://www.packtpub.com/phonegap-beginners-guide/book
In both of them you can find examples

On 12 feb, 05:49, Jimho <jayhof...@gmail.com> wrote:
> Hi!
>
> Total new to PhoneGap and mobile development. So i have made the
> "Helloworld" example on PhoneGap.com
>
> But where do i go next. I need to see some easy app code to get a
> better grasp on how to work with phonegap.
>
> Also, i like to know how to get an external page...let´s sayhttp://www.mysite.com/info.htmland load it in a javascript variable

Jimho

unread,
Feb 12, 2012, 5:35:07 PM2/12/12
to phonegap
Thank you for the tip!

But for free? All i see a price.

On 12 Feb, 20:12, jcesar <jcesarmob...@gmail.com> wrote:
> You can read Jonathan stark's online books (free) or buy the
> phonegap's beginer guidehttp://www.packtpub.com/phonegap-beginners-guide/book
> In both of them you can find examples
>
> On 12 feb, 05:49, Jimho <jayhof...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi!
>
> > Total new to PhoneGap and mobile development. So i have made the
> > "Helloworld" example on PhoneGap.com
>
> > But where do i go next. I need to see some easy app code to get a
> > better grasp on how to work with phonegap.
>
> > Also, i like to know how to get an external page...let´s sayhttp://www.mysite.com/info.htmlandload it in a javascript variable

Kerri Shotts

unread,
Feb 12, 2012, 6:49:56 PM2/12/12
to phon...@googlegroups.com
Cheaper here: http://www.amazon.com/PhoneGap-Beginners-Guide-ebook/dp/B005OYJUKI/ref=sr_1_2?ie=UTF8&qid=1329088517&sr=8-2
Don't see anything free either, though. Reviews complain about the book, unfortunately, so it might not be what you need it to be?

You can use typical AJAX to get an external page (jQuery or roll your own), and you can also determine the online status of the phone. I can go into more detail, but ultimately knowing what kind of app you are trying to build is going to help give examples that more match your needs.

If you want, view my github repository (https://github.com/photokandyStudios/GreekInterlinearBible) for the app I'm currently building. Requires latest version of XCode and at least iOS 5 to run, but perhaps some of the code would be of use? Pay attention to the README.md file -- it describes the portions that are under CC-BY-SA/MIT license and what isn't.

Also keep in mind that the app is under development -- not released yet. No guarantees what-so-ever that Apple will accept it or that it will work without bugs, etc. But it's what I'm working with ATM, and is the best example I personally can provide of a complex app using phoneGap. I'm sure there are others that have even better code, and perhaps they will share with you as well.

jcesar

unread,
Feb 13, 2012, 10:41:35 AM2/13/12
to phonegap

@RandyMcMillan

unread,
Feb 13, 2012, 12:05:14 PM2/13/12
to phonegap
Reply all
Reply to author
Forward
0 new messages