Appcelerator vs Android SDK

前端 未结 8 1792
误落风尘
误落风尘 2021-01-31 18:21

I have been looking at appcelerator it seems pretty fine! Without a doubt, one of the advantages of appcelerator is its support for multi-platform. I am interested in building a

相关标签:
8条回答
  • 2021-01-31 18:41

    that is a very difficult question to answer without any specifics regarding the requirements of the application.

    I would suggest you take a quick look at the API documentation of Appcelerator to see what the framework provides and also take a moment to list the basic requirements of your application and then determine what tool will be best for your project.

    0 讨论(0)
  • 2021-01-31 18:45

    Lacking of bluetooth support is a huge deficiency for Appcelerator and no one gives a clue about roadmap.

    edit : appcelerator now have BT support in Tizen 3.1

    0 讨论(0)
  • 2021-01-31 18:48

    We looked at Appcelerator when starting our Android project. We knew we would have to do an iOS client next, so Appcelerator was enticing.

    We decided not to go that route because it doesn't support all the native features of each device.

    For example, we decided early on that our user interface in Android would need a widget. No support for that in Appcelerator, as it's specific to Android. [This was a few months back -you may want to check again].

    Compromising on the user interface was too much for us. We decided to go with C/C++ for the app logic and use Android SDK for the user interface.

    Our apps now have two pieces: C/C++ as much as possible to the "brains" and the native (Android/Cocoa Touch) for the UI to take advantage of the UI experience.

    Works of course for platforms that can integrate C/C++.

    The parting advice: design your user interface first, then find a tool that can implement it. Users have high expectations of the UI in portable devices. Compromising on it early on may be the KOD for your project.

    [EDIT] Every so often I see an upvote for this question. I would like to update with what we learned in the past two years:

    • Using C/C++ for the common parts of our application has paid off. It does require a slightly more complicated build process, but the savings are gigantic if the piece of code being shared is complex (as in our case).
    • For the user interface piece we are beginning to look into hybrid apps (some UI elements in HTML). There are still debates out there about HTML interfaces (Facebook and LinkedIn are two that move to native code for the UI), but also some reports that when chosen carefully it works. There is a great talk from Flipoard on that; with slides here.

    UPDATE Oct/2014

    In March/2014 Smashing Magazine published an excellent article comparing native iOS, native Android, PhongeGap (Cordova) and Appcelerator Titanium. They show the development of a simple app in each environment.

    This is the last part of the series. At the top of this part there are links to the previous parts of the series and at the bottom there is the comparison of the approaches. There are also interesting comments from readers at the end.


    UPDATE May/2015

    Still get an upvote for this question every so often, so I would like to share what we have done since I wrote the first part of the answer.

    We are now working on a project that also has a web client. We have now the iOS client, the Android client, plus the web client.

    JavaScript is the natural choice for the web client.

    Since we want to share as much code (at the business logic layer) across these clients, it means we need to find a way to run the JavaScript code in iOS and Android.

    And that's what we ended up doing.

    This is a summary of how we handle it:

    • For all clients: all data structures are defined with Google's protobuf. This allows to automatically generate the serialization/deserialization code for iOS and Android.
    • iOS: run the JavaScript code with the help of JavaScriptCore (a good overview here).
    • Android: run the JavaScript code with the help of Google's V8 engine.

    The bridge between JavaScript and the iOS/Android layer can be a bottleneck, especially the serialization of the objects. We had to optimize a few things and learned a few lessons to stay out of trouble.

    Generally the experience has been positive. We saved significant amount of time by sharing the code across all clients.

    If I had to start another project like this one (that requires sharing code with web and mobile clients), I would also take a look at what Google did for inbox. It wasn't available when we started. Looks promising.


    UPDATE August/2015

    And the world keeps turning...

    I would also take a good look at React Native if I had to start a new mobile app now.

    It's based on JavaScript, bridging web and mobile development more easily.

    There is a great tutorial in Ray Wenderlich's site.


    UPDATE February 2016

    My shortlist for cross-platform development is down to two:

    • ionic
    • React Native

    I've been paying more attention to ionic because our web app uses AngularJS and so does ionic (Cordova + AngularJS). React Native will force the team to learn another framework (of course the argument is the opposite if your web app uses React).

    Nevertheless, I'd seriously consider React Native, even having to learn another framework, because of the reported performance and look-and-feel of the app. From React Native's site:

    With React Native, you can use the standard platform components such as UITabBar on iOS and Drawer on Android

    If you are starting now, I recommend you take the time to at a minimum complete their tutorials so you get a better feeling of each framework. Each tutorial can be complete in one to two hours:

    • ionic tutorial
    • React Native tutorial

    For a simpler approach: Smashing Magazine just published (at the time I wrote this update) a good article showing how to use the native navigation elements to make the app feel (well...) native, while using web views to render the content. The article goes into the details of how to make the HTML/CSS usable in the mobile devices (it's not just pushing the HTML/CSS you already have).

    0 讨论(0)
  • 2021-01-31 18:51

    Well, in the new version of appcelerator (APPCELERATORSTUDIO 4.0) you can have alloy projects, and something like css files for your UI (tss), so in fact they are really customizable.

    Greatings

    0 讨论(0)
  • 2021-01-31 18:52

    My experiences with Appcelerator seem to suggest they are more of an iOS shop. Their toolset for Android is, IMHO, quite lacking. ADT supports visual UI building and debugging on device, which Titanium Studio does not. There has been a bug filed about this for several months now, and it continues to be delayed. If your focus is Android, use Google ADT or MOTODEV Studio for Android. These IDEs are quite nice and are used by professionals.

    The above answer presents a great way to develop mobile apps. DO NOT COMPROMISE ON A HIGH-QUALITY USER EXPERIENCE.

    0 讨论(0)
  • 2021-01-31 18:52

    Appcelerator has a lot of support and it really easy to use. It supports 100% of native api calls now. They have really good documentation too.

    0 讨论(0)
提交回复
热议问题