App Development for iOS and Android: Native vs Hybrid [closed]

时间秒杀一切 提交于 2019-12-24 01:42:33

问题


i need to develop an App for iOS and Android. I can code in obj. C and Java. The app will display data from a MySQL Database and it will use position Data (around you) to display on a Map. This DB will be managed online.

I think native development is the best for this app. But HTML/JS coding is a lot easier for me. So which way would you go to make a professional app?


回答1:


You will never reach the richness, smoothness and complexity you can with Native application development using Hybrid HTML application. It simple is not possible. So if you know both code languages certainly go with the Native option if you want to reach the best result.

If you however limited with time or want a quicker option without going into the nitty gritty staff then Hybrid should be considered.

Just know that Native development would take you much more time.

So for your question if you want to create a proper professional app then go with the Native option.




回答2:


Unfortunately, design paradigms in android and iOS are vastly different from each other. The only acceptable exception I have seen to making native apps is game development which has a separate look and feel.

A good way to manage your data between multiple platforms is by creating RESTful web services and having them communicate via JSON. Although I haven't personally implemented JSON in Objective C, I find Gson to be very useful to connecting to a server via Android.

This way your client can be much lighter with native objects and not having to worry about database health and state on the client.



来源:https://stackoverflow.com/questions/15955053/app-development-for-ios-and-android-native-vs-hybrid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!