Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Sunday, September 11, 2011

My answer for the mobile application war

Preface
Just last week, our in-house project for the local market, PocketBank, kicked off. During the planning phase, a lot of time was spent on discussing the technologies we would be using in the project, which essentially a navigation app where we want an excellent offline mode and deploy on as many platforms as possible. The question was whether we should build a web app or a native app. The final decision was to go with native app as we failed to find a good map-kit with offline mode for web app. But thats not it, not yet. The discussion inspired further thoughts on the future of the ongoing application war.

I am not trying to make this blog another comparison between web app and native app as that kind of article/blog has been around for years and with a single Google search, you can find more than enough to read a whole night. What I am going to try is to predict the trend how people are and will be developing their applications for the current and future. The prediction at least will be carried out for my company for the coming time.


Opinions
Here are some opinions of mine when making decision about the trend:

  • The fact that native app and nothing else can take full advantage of the specific features devices and platforms never changes.
  • Both leading mobile platforms iOS and Android are currently go for native app and build up a tight ecosystem around the platform (and devices), app stores and developers. A few factors of this ecosystem are awesome, like one-click payment, the powerful tools (IDE, instruments, etc.) available to native stacks. Web payment alternative such as Paypal, Google Checkout or other payment gateway is just not as convenient. I worked with XCode for a while and felt like dragged back to stone age when working on a number of HTML/CSS/JS tools). Some other factors aren't nice though, like entry cost, revenue split and that the static app stores' content oriented billing model can't fit all kind of shopping and services on the web.
  • Development cost is always a big concern. An app for iOS and Android usually calls for a developer for each and preferably more. That's double the resources a web app requires. And native app is expensive also because it requires skills and knowledge that aren't widely available. You can draw on a larger talent pool using web technology than you can with Objective-C.
  • Mobile platforms are taking steps towards a better support for web app. WebOS is a great supporter when exposing all of the API in JavaScript. And Windows 8 follows that movement, a foreseeable convergence of native and web app. But wait, do you remember the one-good-one-bad circle of Microsoft products? Windows 95 was a breaking news, Windows 98 wasn't much more than a wrapper of 95. Windows 2000 was kinda good, but WinMe wasn't. Windows XP was Microsoft's greatest OS ever and Win Vista couldn't do anything worse. Perhaps we will have to wait till Win9.
  • When a platform comes up with a new stunning feature that is not in HTML5 specifications (which takes forever to complete), it gonna take time for different browsers to implement the feature (some might never do). Despite a common belief among One Web supporter that "Regardless of who you are, what device you're using and what browser you're accessing content from, no user should be left behind.", there are a number of model browsers not as supportive as others (Android's browser, I am looking at you particularly) and eventually the next IE6 will emerge. Hopefully with the current platform/application update mechanism, thing will be less a catastrophe.
  • The native-app wrappers like PhoneGap or Titanium are getting well-known these days and they have their own use when providing HTML-based app with a (limited) set of native API. But IMHO, web app makes a better UX. Many users acknowledge traditional drawback of web app and when the experience turns out to be much better than what user expected, a little quirks won't even find its place it user's mind. But such a native app will fall right into "a piece of junk" category.
  • You hate Android's fragment? You will even hate mobile browsers' fragment  even more.
  • One Web is more a business and development decision rather than a decision to create an optimal experience for the users. The typical reason is to lower the cost and/or complexity. Compared to native apps, the web is a much wilder place. There is little or no standard about UI and UX and hence nothing to guarantee a consistent experience for users. However there are some positive points when it comes to web app UX like
    • Accessibility: generic experience for different platforms
    • No installation or update
    • Performance (don't get me wrong, I am not talking about the speed if that is the "performance" you are thinking about): no native app will ever deliver fresh content as quickly as the web 
  • Joe Hewitt's tweet: "I want desperately to be a web developer again, but if I have to wait until 2020 for browsers to do what Cocoa can do in 2010, I won't wait"

My answer for the current...
  • The current generation of cell phones aren't quite powerful enough and HTML5 isn't quite developed enough so for coming time, web app won't be able to replace non-trivial native app. 
  • Native app is the number one choice for heavy tasks and new features. And by new features, I am not limiting to what platform vendors themselves have to offer but also the involvement and contribution of third-parties, a wish for a less-close future
  • Native-app wrapper wont be come mainstream, but remains relatively helpful for the access to (limited) platform API for the current time when WebOS is suspended and Win8 is in progress 
  • Business model like that of Bizness Apps will thrive as there is a growing demand for trivial apps from companies and no platform is proven to win the market
... and for the not-too-distant future
  • Eventually "web will win" is inevitable with direct support from platform level (e.g. WebOS and Win8)
  • Lot of effort and time are required to re-establish the ecosystem native apps is living in for web app, solve the feature puzzle and develop a new HIG that is neither iOS, Android nor any specific platform but a generic experience for all users
  • Native app remains the preferable choice for what it used to be the first ranked choice (above)
  • Native-app wrapper will become far less attractive, especially if there is a way to use native code to access platform API and then expose that to JavaScript. I wont be surprise if it will be eventually extinct





Tuesday, August 30, 2011

Thoughts about MultiUni 2.0

Recently within Cogini, we have been planning to reviving MultiUni as many of us here were core members of the organization. In case you have not known what MultiUni am I blah blah about, it is a new model for education to improve the learning opportunities for Vietnam The goal is to offer low-cost high-quality courses that are not otherwise available in local universities or training centers. The organization was a blast as it addressed the exact need of both local students and companies: cutting-edge technologies. And back then, it was so fun for us to work together running the courses (iPhone and Android) as we both had chance (and reason) to approach latest and hottest technologies at that point and could really contribute practically for the community.
Unfortunately when the organization founder Huyzing left Vietnam, the activities started to decline and eventually was put on halt.

The re-establishment of MultiUni this time, not as a mere volunteer but as an organizer, exposes me to new opportunities and difficulties that I didn't acknowledge before.

My primary target of the reestablishing project is to revive the once-very-lively community that MultiUni 1.0 built up. I also want to attract local talents for my new company. But the discuss with Binh and Sieng at Mobile Thursday Meet-up (a very good one that I recommend everyone working in Vietnam mobile market to join) pushed the idea to another level: serve as the talent pool to make Vietnam one of the top rookies in the young and dynamic mobile industry. Although it requires a lot of efforts, not only from the community but also local companies and universities (that deserves its own post), it is very ambitious and worth keeping an eye on.

Also compared to two years ago, when the first MultiUni course was launched, the industry has changed in the way that make realization of MultiUni 2.0 much easier. After two years, the number of experts in fields that are still relatively hot and give developers stable positions such as mobile development, HTML5, functional languages, etc... has been increased dramatically and this new generation of experts, acknowledging the power of sharing, is really passionate when it comes to contribute to the community. The number of innovative projects that comes to Vietnam is also increasing in both quality and quantity.

Besides those advantages, there are a number of problems that need solving as well. Firstly, the commitment of local companies. As Binh pointed out, the reason MultiUni 1.0 failed to maintain a sustainable community was not only because the resign of its founder, but also because the number of students that could get a job based on the knowledge received in the class and/or be able to use the knowledge in their jobs was trivial and hence failed to maintain a healthy community with further activities, meet-up and training. How came fresh grads with latest technologies got unemployed and companies were in great thirst of talents happen at once? There might be many uncovered reasons, but the one on top of my head is the lack of involvement of companies in the courses in the past. Companies didn't know about the courses, the whole MultiUni community and the talent pool it could offer. Ones that knew weren't convinced by the courses quality. To address this issue, we are hoping to get more involvement of companies into the reestablishing project. Not only reveal hidden issues under employer's perspective, (a) company(ies) in organizational committees also can contribute solid commitment to the community, the trigger that needs to draw the participation of contributors, experts and learners.

Another thing blocked the way is the facility needed for the teaching and sharing process. Students and junior developers can't access to proper development environments and/or test devices that required for many platforms, namely iOS, Android, etc.... For companies, investing a TechLab for students is not something unaffordable. But the sharing culture simply has not been ready in this country yet, and the remain-unkown ROI of the labs makes the management skeptical about the benefit it can offer the company (and yes, there is nothing guarantee that students wont use the labs as their playground but serious development). Many company still prefer spending pile of money on head hunters to opening to the community and promoting their image, which IMHO, a far better long-term strategy.
Adventure ventures have been in Vietnam for years, but few express interest with community, NPO's projects. And it also impossible to work with ventures under the name "community", a real company needs to be established and that calls for heap of paperwork, too much that might scare away even the most enthusiastic contributor.

These thoughts and opinions are my own, and not that of my employer. And I am open to all constructive comments for a strong, lively community.