Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm a web developer that is new to mobile app development and need to start a project asap. Despite researching for the last few weeks, (I have listed what I've done so far at the bottom of this post) I still have not decided between Phonegap or native (for iOS/Android only). Googling “Phonegap vs native” and the like seems to give results with a fairly even split, but there seems no doubt that native will give a faster / better end result, but at the expense of having to learn so many new things in a short timeframe.
One common thing cited about Phonegap is that is runs slowly – but I have also read that since V3 it now runs much faster – is this the case?
The app I need to build is really pretty much like a mobile static site (but the customer insists it must be an app) – just text and a few images and some PDFs. There will be new content added like news, so I was thinking rather than release a new app version for each new item, the app will fetch new data from a web API (JSON or XML) and finally a requirement for push notifications.
There will be no need to access the camera, GPS or any other hardware (bar the file system to cache images/PDFs).
I've looked at similar apps (the competition) and they all appear to make extensive use of web views, which might suggest they were made with Phonegap (or would it?).
So my question is, given the simple type of app I need to do, would there be a big benefit in going native for this, or would Phonegap (latest version) work just as well. Or on the other hand, since it is a simple app, would it be easy to do (i.e. from zero to both app stores in 10 weeks) in native?
I do have a mac with ADT/Xcode installed so that is not a factor in the choice.
My research so far.
Followed the Android getting started to here http://developer.android.com/training/basics/actionbar/styling.html but got lost with the tabs
Then got a book, SAMS teach yourself android in 24 hours, on about hour 6
Followed iOS to here https://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOS/ThirdTutorial.html#//apple_ref/doc/uid/TP40011343-CH10-SW1
Several Phonegap tutorials such as http://coenraets.org/blog/phonegap-tutorial/ but all seemed to have issues getting them to work as is.
Clearly native has some benefits over the web frameworks like phonegap. But the thing is what you want & need? If you want a quick solution then phonegap is best for cross platform. You can do it in easy way for all common platforms. But if you want your app to be fast & efficient, of course native has it's benefits.
Given your requirements, phonegap could be better to serve your purpose. You can continue with same code, and exact same design for all platforms. Not only for ios and android, but also with windows phone, amazon fireos etc.
One of the thing is that there are thousands of app building in phonegap these days, so it can be told that it meets with the expectation to a certain extent. Phonegap is efficient enough to fill these apps' terms. With proper use of frameworks like sencha, jquery mobile, kendo UI and many more phonegap can be highly efficient.
I don't think it's possible for anyone to tell you that if the app could be completed in 10 weeks in native apps or not. I would go for phonegap to continue with same design and same code. It would be easy to make change in the app if needed in future. But decision have to be yours based on the issues and requirements :)
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to create an app for Andriod and IOS, but i have no clue how to do the front-end and have a hard time deciding to use HTML5, CSS & JS or Objective objective C/Java.
I'ts going to be use network options, checkout-features, joined checkout-features. Maps api, facebook api.
I've got expierence in HTML5, CSS3, SASS, PHP and JS.
I've tried looking online, but i've still got no clue how to do the front-end for app.
To answer your question, you will use framework like phonegrap, Titanium Appcelarator and I guess you can use NativeScript, Ionic, Framework7 as well. For Titanium, you have to use different environment for different app (OSX for iOS products and OsX, Windows or Linux distros to run android app) and have it's own syntax and everything. Language is one of Javascript versions (I am guessing, I have used it once 2 years ago). And Phonegap and other Frameworks use a varient of JS, so basically you will have to use HTML and CSS to work with UI. However, you will face some hardware constraint like unable to access hardware buttons (from my experience with one project some months ago) and memory management and other functionalities will mostly depend on your JS coding skill.
[My opinion] I believe, the best way to develop an app is to develop in its native language/framework. I believe it. Unless you're bound to use Html, JS to build app (you can!), don't use those. Java is there to help you with Android Development, since I am an developer, I can tell you that starting might seem a bit difficult than iOS development. But in the end, communities like stackOverFlow and thousands of thousands blogs will help you. Same case for iOS app development. You can find lots of different tutorials. New Bostons tutorial helped with android however, it's contents are bit old (android 2.3) and mostly everything has changed since. However, you can check his iOS app development with Swift. Learning a new language is mostly like learning how to ride bicycle. If you can know how to ride, keep learning the advance parts after basic mechanics, you can become a pro one day. However, for that you have to pass a whole cartoon of hurdles (unknown bugs, sleepless nights to name a few) like the falls you did when learning how to ride.
I would really suggest you to focus on building a real stack.
Happy coding!
For android:
I would recommend using Android Studio.
It is a powerful tool for creating an android app - the front end can be implemented by dragging and dropping items or by using xml.
It is easy to use and there a lot of tutorials online.
I'm an iOS developer on the native side. If you want to do native development, I would recommend Stanford course CS193P by Paul Hegarty. You can find this course on iTunes U, Coursera and other MOOC platforms. For advanced features, follow a GitHub repo called "awesome-ios" where you'll learn some production level stuff for iOS apps. If you want to do hybrid apps, have a look at PhoneGap, Ionic, React.
In either case, you would be able to implement features you've described in your question.
Tools needed for Native Development: a machine which runs macOS and Xcode(free download from app store).
I started developing native apps years ago. The last 2 years I've been using only hybrid possibilities. Designing and developing an app in HTML / CSS / JS is much easier and more efficiently.
I recommend taking a look at Phonegap, Ionic, Framework7. These are open source and there are already some templates.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have a 3+ years experience in web development and developed few small app in Ionic and Phonegap. But now I jitter to develop a large app in hybrid app instead of native.
You should consider many aspects when developing Hybrid Application:
1. Performance
Hybrid app suffer in performance, though a framework like Xamarin have close to native performance, we still get an app that not 'so fast' when we have a little low performance here and there.
2. UI
If you want to create an awesome user experience, the native app approach would be better. A hybrid app can never match the level of creative user experience that you get in a native app. However, this doesn’t mean that the user experience of a hybrid app is bad. A good front-end developer in hybrid app can get close to a native experience, but it’s a far stretch.
2. Maintainability
Hybrid framework proudly tell us that we only need to maintain one project for Android, IOS, and other. But behind the curtain, we can't developing happily without touching the native aspect of app ecosystem. For example, UI in Android and IOS have a different look and feel and also have a different handling. So, instead maintaining one project, we end up maintaining one project + the other app ecosystem. This not really good for the long run.
Read more at:
Hybrid vs Native Mobile App. Decide in 5 minutes!
Lessons Learned From 5 Year of PhoneGap/Cordova Development
Why I don't Recommend Xamarin For Mobile Development
Cross platform development can be a time saving opportunity if you already master either web development (apache cordova) or C# (unity, xamarin).
It could be too long to learn java, xml, swift, sqlite and IDEs such as xCode and Android Studio.
Most functionalities can be handled by cross platform solutions and most APIs are supported.
The size of the app isn't important in order to make a decision. Functionalities implied are.
Not sure what kind of "Large App" you are after, but in general perspective you can use Xamarin for building native apps with single codebase and cross platform support.
Do one thing, making hybrid app don't take longer time. so make hybrid app and make it live till den and start working for native.
it's ok you can use hybrid app but as you know there are limitations in hybrid app.
if you want your app fully functional in your way you should go for native , otherwise hybrid is fine.
To add up to all the above points, cordova official documentation suggests cordova applications to be a single page application for better performance. So if you gotta develop a larger app, you need to check whether you can manage it as a SPA.
You can checkout the official documentation to decide which approach to take based on your requirement.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I want to develop a simple App for iOS, Android and windows phone.
I just wondered that a simple HTML5, JS and CSS combination can work in all of these platforms.
I want to know which one will be efficient?
No problem with time and coding. But if i can achieve everything with HTML5-JS itself, i will chose Hybrid development. I want to know the major difference between the Native and Hybrid Development with example(I know that the main difference is HTML5-JS supports cross platform).
Note : I am not making a game app.
In my experience, these cross-platform solutions like PhoneGap and others never really hold up to expectations unless the app you're developing is super simple. Even basic things like transitional animations and small UI tweaks will be an uphill battle using these tools.
Native development might take longer (if you're building an app for more than 1 platform), but the advantage is that you get full control over what you're making. Performance-wise, native development is still, and will probably always be, far ahead from cross-platform development, simply because it doesn't have the overhead of being nested within a browser, or any other run-time interpretive platform.
Also, from my experience, the myth of being able to write code once and have it work on all platforms instantly is a sort'v holy grail. Many people claim to have achieved it, but you will always find yourself writing platform specific code (in the form of "if explorer, if safari, if chrome" etc).
My advice, write a solid architecture for your app. Build the app once in one platform, work out all the glitches in the design, then copy the design to other platforms. It'll take you a little bit longer, but the strength of your app, and the flexibility to add / change features and other small things in your app will be worth it.
As an example, take Facebook. Their previous app (if you remember) was a cross-platform app. It was slow, non-responsive, would crash all the time and was practically unusable. About a year or so ago, after countless complaints, they released an update with their native app, and suddenly, all those problems disappeared (well, at least most).
The main difference is about UI component which is the main thing in an app. You can't achieve the native look and feel like native dialogs, notifications and native animations in a Hybrid app.
I want to know which one will be efficient?
Efficiency is not an issue, Hybrid app will be a single app that will support multiple platforms which is cost and time effective.
PROS of Hybrid app
Cost effective, A single app will be developed thereby saving cost
paid to developer for making app in different platform.
Time effective, Time will be saved for making different app for
different platforms.
Will Update very fast, Unlike you update from google playstore the
app will be updated on the server end only and you do not need to
re-install it again.
Smaller in size. As the resources used for support of multiple
screens will be handled by HTML .
CONS of Hybrid app
No look and feel like native app.
App will not even show static behaviour, if server is down.
If you are willing to compromise with the UI , Then you should go with Hybrid app.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
We've been making our smaller aplications in FlashBuilder, but now we need to make our apps work on multiple platforms. (iOS/Android phone and tablets)
What should the apps do?
It's rather simple. It's a video player. We build an application that presents you with a menu, where you can navigate to submenus and click to see videos or images.
Functionality needs:
So what we need is basically a way to build a nice interface with buttons for navigation, and the ability to show images and play video clips. All offline.
What would be the best way to do this?
I was thinking about HTML5 maybe, but hos do you make an offline site and put that on an iPad with all the assets?
Any tips, ideas or feedback would be great :)
Thanks!
Depending on your functional needs, ie does the content have to be available offline etc, do you need access to phone specific API's (camera, gps etc) I would suggest looking at either of the following platforms:
Sencha Touch & Phonegap (Cordova)
Essentially in both you create a web interface which is then compiled onto the device using native features. Both frameworks give you access to the phones native functions such as camera, accelerometer etc. However in their core they are still websites.
This way you can use most of the same code base to reach multiple platforms. Be aware that minor difference might still be unavoidable between android/ios etc.
An alternative road to look at is still Flash, as you can deploy to the various mobile devices natively as well. Unfortunately I don't have a lot of experience with this so I can't really advise if this is the way to go.
There are a lot of options here and the tradeoff will always be around development time, cost and maintainability & performance. Although both platforms mentioned above will get the job done, you will get the best performance by creating a native app on iOS & Android. However since you essentially use the same code base in Phonegap & Sencha it would be easier to maintain.
Hope this helps.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've registered for a mobile app course, and am considering dropping it because we are using the Google App Inventor to create apps.
I've taken a look at a few videos, and it seems all too basic, geared towards non-programmers. I've had some experience with the Android SDK and feel like learning the App Inventor is degrading, a just-for-fun way of making only simple apps. Is this the case? Are you more limited in App Inventor than programming in Eclipse w/Java? The graphical way of 'programming' makes it seem that way. Can anyone with experience comment on it?
thank you.
Although graphical programming never gives as much control as coding does, that doesn't necessarily make it a bad thing. It really depends on how much control you need, and what you need to do with it. If you're doing a simple local app with a nice UI, it'll probably be easier to use the App Inventor. Even in the SDK, you will work with graphical tools to design UI. Sure you can do straight XML, but its always nice to have a WYSIWYG to design these things.
Having said that, personally, I would try to learn the SDK just because it gives you a fuller range of tools. It'll also teach you more of the nitty gritty of developing Android apps. Plus, if you want to be a real Android app developer in the future, it'll give you more of a headstart and knowledge base.
With knowledge I have on appinventor I feel same. Another thing to note is google discarding app inventor starting January 2012. If you have some knowledge I would suggest using Android sdk and eclipse.
This is true. I would definitely suggest jumping right into the framework with the SDK instead of using App Inventor. It is very simplistic and template based with not much flexibility of implementation. Going straight to Android is better IMO, you get more flexibility over the look/feel as well the programmatic elements of your applications as well.
App Inventor was designed for people who do not know conventional programming languages. It sounds as though you do. If you want to learn App Inventor, you can easily do so on your own. It would be a waste of your time to take a class on it.
To answer the other part of your question, yes, what you can do in App Inventor is far more limited than what you can do with the full Android Java SDK.
Since App Inventor is about to be released open source, you can combine the two, should you wish to, by using the Java SDK to extend App Inventor.
The new MIT Center for Mobile Learning has information on running your own App Inventor server or using theirs. As other respondents have indicated, Google is about to pull the plug on their App Inventor service.
Graphical programming can be handy for some simple jobs like creating a few activities to roam around in; that would be perfectly acceptable. However all the trouble you would have to go through to dynamically create items or create a game would surpass the difficulties of learning your way around Java and the Android SDK. Which one you choose completely depends on the type of project you want to make. App Inventor could either hinder you or speed up your development drastically. Another thing to keep in mind is that Google is ending support on Google Labs and App Inventor, which could discourage some people.