Thursday, December 12, 2013

Phonegap introduction


In this tutorial we will discuss what is phonegap and what makes it so cool

Phonegap is a mobile development framework it was originally built by Nitobi and later was purchased by Adobe systems. Phonegap helps you to create mobile apps by making use of HTML5, javascript and CSS instead of the device specific language (Objective C, C#, Java).

The apps which are made in phonegap are called as hybrid apps, hybrid apps because the UI rendering is done as part of web and to call the native controllers like the image, camera or sqlite database etc you have access to these device specific API’s (we will talk about it later). If you are planning to use phonegap in your next project then I would suggest you to make sure that your HTML, CSS and javascript skills are clean.

By using phonegap you are at the same time developing apps for multiple platforms, you can take advantage of the concept called as plugins to do device specific work in case if you do not find a device API for the same.

Example: If you just want to show a native alert in a phonegap based app, then you can write your own plugin.

The app, which uses phonegap framework, makes use of the native webview, all the styling and UI rendering is maintained with the help of CSS and javascript. Also note that phonegap is an open source framework.

The various operating system supported by phonegap are as follows:

Apple iOS
LG webOS
Windows
Symbian OS
Blackberry
Bada OS
Ubuntu touch
Android

While beginning the learning phase a question raised in my mind like whenever I search phonegap this cordova thing used to come up and it was like so confusing at the first place but finally got the answer to it.

Above I mentioned that now phonegap is owned by adobe, what adobe did later was they donated the phonegap codebase to Apache software foundation (ASF), later phonegap was renamed to Apache callback which the apache community found was not so cool so they renamed it to Cordova, Cordova hmmmm is their  a meaning in this name while yes phonegap was a project that was born in Nitobi company which was located in Cordova Street in Vancouver,well now the name makes sense.

The next question that I had in my mind was like what is the difference between phonegap and Apache Cordova?

After visiting few links I found that you could think of the apache cordova as the engine that powers a car named phonegap. To be more specific Apache cordova has a set of device level API’s with the help of which you can access the device level controllers like the accelerometer, camera, etc with the help of apache cordova you can build native mobile apps using HTML, CSS and Javascript.

Coming to phonegap now, phonegap is a distribution of apache cordova you may think of apache cordova as the heart and phonegap as arteries that supply blood to all the parts of your body. So basically that makes phonegap as the supplier of cordova and its device based API’s.

If the above example did not impress you then here’s a common example that you might have came across, you can think of cordova like the webkit which powers safari or chrome.

If you want to know more then here’s a FAQ guide from phonegap itself.

If you are planning to install cordova then please visit this link that contains simple step by step written for installation. Also you need to download the cordova source from here because to create cordova based app you need to use the command lineterminal.


I hope that i was able to clear few things regarding phonegap in the next post we will see more about it, if you have any question then feel free to mail me or leave it as a comment until then Happy iCoding and have a great day.

47 comments:

  1. The superb highly informative blog I’m about to share this with all my contacts.

    iPhone developer in Pakistan

    ReplyDelete
    Replies
    1. This comment has been removed by a blog administrator.

      Delete
  2. This is an informative blog by which I have got that info which I really wanted to get.
    iPhone developer in Pakistan

    ReplyDelete
  3. This could be probably the best framework available till now. And it nearly support all operating system. That's quite impressive now. Thanks for sharing this with us. and that FAQ section. We are a iPhone Development Company, that was quite a useful post for us. Thanks again.

    ReplyDelete
  4. Nice post Ravi. Good information for the Phonegap uninitiated.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete
  6. Thanks for your ideas. You can also find the details on Affity Solutions, at the
    Iphone Development. The main object of the Affity Solutions is to provide quality web services and is among the
    few software development company in Nagpur.

    ReplyDelete
  7. Nice blog information you have shared. I appreciates your knowledge. your blog information is helpful. Numerous people search regularly to know Phonegap will support this or not. There is some another platform like Eclipse.

    Regards
    iPhone Development Company

    ReplyDelete
  8. No Doubt, PhoneGap is best framework in which iphone apps have developed to use these PhoneGap .this help you create Mobile App Design to use HTML5, JavaScript and CSS languages.

    ReplyDelete
  9. This is a great article but very debatable. Im going to say that Steve Jobs absolutely loves the App store simply because it has been such a huge part of the iPhones success. It has made the iPhone so much more appealing simply because of all the awesome apps that developers top gadgets reviews online have created for Steve Jobs phone, the iPhone.

    ReplyDelete
  10. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often..........


    Phone Mail Repair In Manchester | Iphone Unlock In Manchester

    ReplyDelete
  11. Thank you so much for share such a wonderful article.I like the way of writing and presenting.It is very helpful my writing.Waiting for new stuff.

    Cheap essay writing service

    ReplyDelete
  12. Wholesale iPhone genuine parts & fix iphone issues to solve your iphone device problem from focusupply.com at affordable cost price.
    iphone service

    ReplyDelete
  13. Why do Celebrities prefer the iPhone over Android? | Smartphone Reviews and Tablet Reviews
    Why So Many Celebrities prefer the iPhone! It seems a little crazy at times that so many celebritie...
    Celebrity iPhone users

    ReplyDelete
  14. Find wholesale iphone repair parts for all sizes & models from leading supplier focusupply.com in china with genuine product parts at reasonable price.
    iphone replacement parts

    ReplyDelete
  15. It's good that The app, which uses phonegap framework, makes use of the native webview, all the styling and UI rendering is maintained with the help of CSS and javascript.

    Thanks,
    Wooden iPhone 6 Cases in USA

    ReplyDelete
  16. Here they say that Phonegap has a number of disadvantages like lack of UI widgets, pure performance and so on.

    ReplyDelete
  17. Yes definitely this type of blogs are really help for people great job.
    iphone for sale

    ReplyDelete

  18. ऐपल ने तीन दिन में बेचे 1 लाख आईफोन
    Readmore Todaynews18.com https://goo.gl/oliOwx

    ReplyDelete
  19. yeah!!! l like your way of presentation. Thanks for sharing this useful info. Keep updating same way..Visit Here: IOS Applications Development in Bangalore.

    ReplyDelete
  20. I wanna thanks to a great extent for providing such informative and qualitative material therefore often.

    buy iPhone cases online

    ReplyDelete
  21. yukk cek Zapplerepair di google ...
    Zapplerepair Apple dan Smarphone specialist
    telp: 087788855868
    website: http://indonesia.zapplerepair.com/
    DEMAK KENDAL SEMARANG UNGARAN

    ReplyDelete
  22. This is nice Blog, It's very Beneficial for everyone. Check a latest Mobile price list on Comparemunafa and get extra double Munafa popints like Cashback

    ReplyDelete
  23. Iphone application is now the most demand able work in development industry. Customer want new and latest apps for their iPhone.

    iPhone Apps Development Company

    ReplyDelete
  24. Get Best online deals on comparemunafa and earn double munafa points like (cashback)

    ReplyDelete
  25. Ecosmob Technologies Pvt. Ltd. is an iOS App Development Agency. We have developed award winning apps that got featured on App Store.

    ReplyDelete
  26. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in IOS development, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on IOS development . We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com



    ReplyDelete
  27. Mobile App DevelopmentMobile App Development just $25/month for small businesses, Get free business emails and app marketing. Free android app and ios app for mobile.

    ReplyDelete
  28. Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well as giving..
    Mobile App Development Company
    Mobile App Development Company
    Mobile app Development Companies

    ReplyDelete
  29. Hai Good information shared about IOS. Keep sharing updated ios tutorials. This blog post is really helpful.

    ReplyDelete
  30. Thanks for the Information, thanks for this fine Post. I will subscribe to your feed for updates.

    iPhone Apps Development Company

    ReplyDelete
  31. Good tips. I will be sharing this with all of my friends! I like this post because it is informative and helpful to all readers. I would like to revisit this post. If you planning buy the Customizable Cell Phone or Latest Cell Phone Accessories Wholesalethen please visit WholeCellUSA and get some discount we offer as in iPhone 7 Accessories Wholesale and other all type mobile phones accessories.

    ReplyDelete
  32. New iPhone 8 images show conflicting fingerprint scanner positions
    http://reader360.net/new-iphone-8-images-show-conflicting-fingerprint-scanner-positions/

    ReplyDelete
  33. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

    Android App Development Company

    ReplyDelete
  34. nice post Vendorzapp Compnay provides Mobile apps for small business, Ecommerce android apps India, iOS ecommerce apps, Ecommerce website Pune, Ready ecommerce website and apps. Android ecommerce apps then visit now Ecommerce android apps India, iOS ecommerce apps, ecommerce website for small business call us +91-9850889625

    ReplyDelete
  35. great and nice blog thanks sharing..I just want to say that all the information you have given here is awesome...Thank you very much for this one.
    web design Company
    web development Company
    web design Company in chennai
    web development Company in chennai
    web design Company in India
    web development Company in India

    ReplyDelete
  36. it is really amazing...thanks for sharing....provide more useful information...
    Mobile app development company

    ReplyDelete
  37. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

    Fitness SMS
    Salon SMS
    Investor Relation SMS

    ReplyDelete
  38. Nice it seems to be good post... It will get readers engagement on the article since readers engagement plays an vital role in every blog.i am expecting more updated posts from your hands.
    iOS App Development Company

    ReplyDelete