Saturday, March 8, 2008
Only foreground 3rd party apps on iPhone - Intentional or Design flaw?
While the Mike thinks that this is an intended restriction owing to the limited memory and resources, I personally do not think thats the only reason. And I know why I am correct for some reasons ;).
I believe the restriction is more of a design flaw of the iPhone SDK. I believe that Apple engineers haven't yet figured out a way (or most probably did not have time to do so) a way to switch between the native applications and the 3rd party applications. You would need a robust layer which will take care of remembering the 3rd party applications' running context and bring back the UI when the application again comes to foreground. Also, there might be scenarios wherein what about happens if a native background application wakes up and wants to use the UI. In which case, how would the 3rd party application behave. Would it be able to yield the user interface for the native application.
Most of the above use cases need lot of thinking and through integration of it into the SDK layer. I am sure Apple would later release an updated SDK which will allow 3rd party applications to run in the back ground as well.
There may be a work-around for this problem. The 3rd party application developer can care of trapping/getting notification from the OS/platform for exiting its own context and then saving the relevant context information in the memory. The next time you launch the application, it can read the previously saved context and bring itself back to the state of previous execution. Its very similar to playing the brick game in your blackberry.
[Article imported from Mobile Computing Trends]
Is Sun getting desparate not to lose mobile JVM market?
Its looks like Sun does not want to waste any time bringing the mobile version of JVM (J2ME) onto the iPhone. Obviously this sense of urgency should be due to the fact that iPhone provides a very good platform for mobile applications and also because of the impending threat from Google's Android. Sun should already feel frustrated by Google's clever coup of replacing Sun's JVM with their own.
The way I see the future is that Apple and Google may be in a direct collision course towards mobile dominance. And Sun may want to be present in one of the camps.
What also remains to be seen is how would Sun JVM affect Apple's business model of trying to sell iPhone applications through their iTunes store (App Store as it may be called). With the JVM present on the iPhone, would mobile application developers like to leverage it or will they rather choose to directly use iPhone SDK. With Apple bringing in restrictions on the development platform (only Mac can be used has the host to develop and debug iPhone applications), it gives a point of leverage for Sun.
And what about performance! iPhone SDK is already a layer on top of the native iPhone OS APIs. Now JVM would be one more layer on top of it. Will the java applications written for iPhone in future have the same performance as other platforms?
The war for a mobile computing platform is going to get interesting as days go by. Keep watching this blog to see how this unfolds.
Useful Links:
* You may be interested in reading this coverage of the iPhone SDK Press Release by Ryan Block of Engadget.
- You can also watch Apple's official video on the iPhone SDK Press Release here. Note: You need quicktime player.
[Article imported from Mobile Computing Trends]
Thursday, March 6, 2008
Wonderful live coverage by Ryan Block - Apple's iPhone SDK Press Release
I was following his post very closely all along. Ryan did a great job of posting quotes from the folks on stage. And more importantly, it had relevant photos.
Ryan, if you did this all alone.. then I really admire you. I must agree.. live coverage over a blog is really a skill.
Silverlight vs Flash - War for mobile web dominance
Both seem to be taking this further ahead to mobile devices. Recently, Microsoft had signed a deal with Nokia to integrate Silverlight on Nokia's latest S60 based smart phones.
Adobe though having a dominance in the PC space must be doubly worried after Steve's comments on why Flash may not suited for iPhone.
I found this post from Robert Scoble providing interesting insight on why Apple may feel that Flash is not good for iPhone. More than the article, I found the user comments more intreseting.
Also, it got clear to me from the user comments that Apple was trying to port Flash 8 (and not Flash Lite - stripped down version) onto the iPhone.
Thursday, February 21, 2008
Are you writing Java Apps for Android ? Maybe and Maybe not
What many people miss out is the fact Google Android uses ONLY Java Syntax. The java code that one develops for Android is converted in to standard Java bytecode. This again is converted in a different bytecode format (which Google claims that is an optimized, minimum memory footprint bytecode).
Basically, Android does not use a standard JVM (it uses a non-standard JVM called Dalvik) . The SDK also contains android.* packages apart from the usual java packages.
I found this post from Stefano Mazzocchi very interesting. He claims that the reason for Google using a non-standard JVM is not really for just optimization sake, but instead to get around any licensing issues with Sun for using J2ME. Wow! I never thought of that.
Its natural. If I were to run the Android project (instead of Andy Rubin), then I would start using J2ME as a preferred virtual machine for obvious reasons that we have a huge group of developers who can be readily moved/attracted to developing applications on Android. And then when it comes to licensing, I would think of someway to circumvent the problem and the one smart way is to make sure the final bytecode is not the same of the one generated by the standard java compiler. Thats exactly what Google engineers have done by developing Dalvik.
Other interesting links:
http://wireless.itworld.com/4269/071116googlesun/page_1.html
http://www.oreillynet.com/onjava/blog/2007/11/dalvik_googles_tweaked_nonstan.html
Tuesday, February 5, 2008
Opera Mobile 9.5 announced - But whats the big deal
You can watch this guided tour of the Opera Mobile 9.5 user interface and features.
Now, most of you who have been using Opera browser on your phone should be confused between Opera Mini and Opera Mobile.
Opera Mini and Opera Mobile are different in many aspects. If you have been using Opera on your phone for a long time now, then you should be having Opera Mini.
Opera Mini is java based browser application, whereas Opera Mobile is written as a native application for a Symbian S60 or Windows Mobile operating system (Opera Mobile 9.5 also seems to be available for embedded linux).
An other difference is that Opera Mini uses an intermediate proxy server which converts the web pages to much lower sizes. Opera Mobile on the other hand directly downloads the web pages onto the mobile and then figures out a way to render it on the screen.
Last, but not the least.. Opera Mini is free, whereas, one needs to buy Opera Mobile.
Now, is it worth buying a browser for your phone. May be and May be not. I don't want to comment on it unless and until I try out the 30-day trial version of their previous version of Opera Mobile.
Sunday, December 9, 2007
What makes you browsing experience in iPhone and Nokia N/E series phones great ?
This what the Webkit home page has to say:
WebKit is an open source web browser engine. WebKit is also the name of the Mac OS X system framework version of the engine that's used by Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML and JavaScript code began as a branch of the KHTML and KJS libraries from KDE. This website is also the home of S60's S60 WebKit development.Apart from Apple (as the Safari web browser in their Mac OS X, iPhone and iPod Touch) and Nokia (in their N and E series of phones), Google has also included Webkit as the default web browsing engine in its recently released Android platform for mobile devices.
In his post, Bob Cringely reasons as to why Webkit is such a strategic project for Apple and why it would also be the driver for the rumoured iTablet (you find my previous post questioning as to whether Apple's PDA would click or not ?).
You may also find it interesting to read this post by Om Malik about Webkit's rise to popularity. Gives you a quick round up of where webkit stands compared to its competition.
Webkit is still evolving (but fast) and has a long way to go before winning hearts of hardcore Opera Mini fans like myself :). Read this post in Wap Review to know why Opera Mini 4.0 is better than Webkit on a Nokia (and I completely agree with that).
-------------
Web Browser Engine - This is the piece of software which downloads the html web page from the address specified by you, processes it and renders it back on the screen of the display device. The screen could be anything from your PC Monitor to an iPhone's touch screen.
Monday, November 26, 2007
How does Google benefit from Android?
I explained to him that Android will speed up innovation on the mobile computing front thus ensuring that users have a better and more PC-like web browsing experience on their mobile devices. This ensures that more and more users will starting browsing the net from their phones and thus ensuring that more and more traffic is driven to one of Google's many services where they serve Ads and also not to forget that Google Ads are scattered all over the world wide web.
Basically, Google believes in increasing size of the pie rather than increasing size of the slice in the existing pie. Interesting quote isn't it :). Well, I read about this quote in this news article by Financial Post which questions Google's business model on going the open source way with OpenSocial and Android.
Though I told my friend about the above, I wanted to confirm again if this is how Google really was hoping to benefit out of Android platform. So I did a little bit of Google'ing and and came across this interview given by Eric Schmidt and Andy Rubin, Director of mobile platforms at Google (the brain behind Android)
This is what Eric Schmidt, CEO of Google, has to say in his interview at PBS.
SPENCER MICHELS: Now you say you're almost giving this away, why?
ERIC SCHMIDT: We're giving Android away because we benefit when the Web is better. We benefit when more people are using the internet, especially on mobile devices. And we benefit because when more people use Google, more people use Google search and every once in a while those people will use our ads. So eventually we think an Android mobile user is pretty likely to use Google advertising and our studies indicate that mobile ads are going to be worth a lot more than the traditional ads that we sell.
SPENCER MICHELS: Why?
ERIC SCHMIDT: The easiest example to think about is how personal your phone is. Everyone here, everyone in our audience has a mobile phone, very hard to get away from them. That phone is with them, it knows where they are. Imagine how we can use that information to provide a more targeted ad, if it were appropriate.
By the way, it is a very good interview and would recommend reading it if you want to know Google's plan for Android and mobile computing.
Google forming the Open Handset Alliance and defining a new mobile platform called Android once again proves my point that there is this race to establish a linux-based mobile operating system/platform (Oh yeah.. Android is based on Linux. On top of Linux, they have a Virtual Machine which offers APIs similar to Java VM but is supposed to be much more advanced than Java VM).
But with Google intelligently forming an alliance which includes telephone operators to handset manufacturers to chip manufacturers, they are better poised to take over the Mobile Operating System space much to the dislikes of giants like Symbian and Microsoft.
Google not just stops there. They even have a announced a $ 10 million prize money for users who develop useful and compelling applications using Android. This is to ensure that more and more developers get involved in this effort.
The advantage, I could perceive, from Android could be the following:
Handset Manufacturers: They would not have to pay hefty licensing fees to proprietary mobile operating systems like Symbian and Microsoft. So the cost of the handset goes down thus boosting the handset sales.
Developers: Because it is an open platform and almost everything is available for free, you can pretty much write any application you want. Imagination (of course the phone's capabilities) if your limit.
Consumers/End Users: Because handset prices go down, consumers can afford to easily buy them and they also get to install and use thousands of applications that were developed by the open source community.
Telephone Operators: They get to benefit because consumers start using these web-enabled/web-based applications on their Android phones and thus the data traffic is going to increase drastically. Operators are going to charge for this data traffic.
Of course, not to forget Google (and others).. they would be benefiting as well from Ads clicked by users on their mobile phones.
I am not sure how successful Android is going to be. But my gut feeling says that it will take off well. But, I believe, for the mobile web to pick up really well, the network speeds have to improve a lot. They sure will. Its just a matter of time.
-----------------
For those read this post till this point, scratching your heads, wondering as to what Android was all about, please read below.
Google, earlier this month (Nov 5th, 2007) announced that it was forming the Open Handset Alliance which is going to drive the development of Android. Android is an open platform for mobile phones which consist of an operating system, a set of software modules for performing some of the common tasks on the phone (middleware, as we call it in software terminology) and a user interface. You also can download the software development kit (SDK) for developing your own applications that run on the Android platform.
Wednesday, October 17, 2007
Closing down DigitallySmart and starting SmartMobileLife
So I thought I will rather blog on a more specific topic that I like.I am passionate about Mobile Computing and have been keenly following trends in Mobile Computing. I thought I will focus more about that.
Feel free to visit my blog on Mobile Computing - http://smartmobilelife.blogspot.com
I am still maintaining a backup of all the post from the DigitallySmart blog in the following location - http://digitallysmart.wordpress.com
Friday, October 12, 2007
Mobile platform-specific Google Maps!!
Here are some screenshots of the new Google Maps installed on my Nokia E61 :).




By the way, I found this review at All About Symbian about the new Google Maps very useful.
I knew this would eventually happen. This is what I was suggesting to Schrep in my comments to his post. I was mentioning about my thoughts on how Firefox for mobile phones should follow a strategy where first they come up with a Java based firefox so that they can capture the mass market and then they followup with a platform specific firefox application which gives a better performance.
Now, Google did just that. They first came up with a java-based Google Maps. This ensured that most of the phones start using Google Maps (capture the mass market). Now they've come up with a platform-specific Google Map which is available for Windows Mobile, Palm OS, Symbian and Blackberry, which gives a better performance and also utilize phone-specific features. For example, the new Google Map uses the phones' GPS if that's available. So if you install the new Google Maps on your Nokia N95, then it will automatically use the inbuilt GPS to show your location on the map.
For those who are not familiar with mobile applications.. what this means is that the previously available Google Map application (software) for the mobile phones was written (developed) using Java. Which means any Java enabled phone was install and use Google Maps on their phone. So you must be asking whats the big deal about Google Maps now?!!
Well, any Java-based application runs on top of the Java Virtual Machine (JVM) which in turn runs on top of the mobile OS (platform). Which means there will be a comparable difference in performance between a Java-based application and a platform-specific application. Obviously, platform-specific applications are must faster. Also, developing mobile applications using the platform specific APIs (Application Programming Interface) will let us utilize any in-built phone features like GPS (as I've mentioned above).
Wednesday, October 10, 2007
Race for Linux based Mobile Operating System
During this journey (browsing) today, one aspect is very clear, that is, there is this race towards coming up with a Linux based mobile operating system.
Let me elaborate more.
First, I read this interview of Matt Zimmerman (CTO of Ubuntu) where he explains about Ubuntu Mobile, an effort by Ubuntu to bring an Ubuntu flavor on mobile devices. He says that there is a possibility of mobile devices coming up with Ubuntu Mobile installed, as early as 2008!!!
Next I read about Nokia's Maemo initiative where they have come up with a framework for mobile internet devices built on top of any linux operating system running on any device (including mobile phones.. possibly).
Then I read this news on how ARM is trying to come up with a better version of Linux well suited for mobile devices. You can find more information about ARM Mobile Linux Platform here.
And then Intel has its own initiative on bringing Linux on mobile internet devices called Moblin.
And finally how can I forget about the rumoured Gphone which many say (like this latest news on Fotune and The Register) that it is Google's effort in bringing in their own Linux-based operating system for mobile devices.
So what do you think are the least common denominators from all the above news.
Linux is going to dominate the embedded device space:
Mobile phone vendors like Nokia, Motorola and Palm either have their versions of embedded Linux running on their phones and they are under development right now.
Its not just mobile phones but other devices like Internet Tabloids would also run on Linux.
And from my experience on set top boxes, I know Linux has made in-roads there as well.
Chipset Vendors are desperately trying to define a mobile platform based on Linux:
All mobile chipset vendors (like Intel, ARM, Broadcom, etc.) seem to be defining a Mobile Linux Platform where they are more than willing to provide support to the developer community in supporting their hardware. Reason, they see lot of potential for mobile devices and they want to make their platform developer friendly.. especially Linux friendly.
Today's browsing on internet has been very useful and given me a lot of perspective on mobile computing.
Saturday, September 29, 2007
AJAX initiative for mobile web
This further strengthens my argument from my previous post that mobile web is picking up. I think AJAX something that was definitely missing on the mobile platform. When most of the web applications are making use of AJAX to bring interactiveness and better usability, the mobile web has been lagging behind.
Wednesday, September 26, 2007
Mobile web is not all that bad
I think mobile surfing (and mobile computing in general) is really picking up recently. As Russ has pointed out, lot of popular web services have started providing an alternate web link which serves mobile-optimized web pages which start with http://m.theirdomainname.com/ (well not necessarily all follow the same format. For example, Techmeme's mobile site has this URL http://www.techmeme.com/mini ). But for web sites who don't provide mobile versions of their web pages there are going to lose out on a huge number of users who browse from mobile devices. As I had mentioned earlier, the are vastly underestimating the need for a mobile optimized web site.
I know lot of us have trouble finding web services which are optimized for mobile browsing. I had the same frustration trying to figure out such mobile web pages. That's the reason why I am maintaining a list of web sites which are optimized for mobile browsing. I have been updating this list as and when I find newer web sites.
Coming to Scott's complain that mobile browsing is slow, I agree with that, but its not really that bad. There are ways to circumvent this. Just like Russ, I too use Opera Mini beta for browsing on my Nokia E61. One thing that Opera does intelligently is that it does not download the web pages to the phone as it it. The web pages are first fetched into the Opera proxy severs and then they are optimized and reduced in size (to a factor of 70-90% approximately) and then pushed on to your phone. So the browsing experience (fetching and rendering them on the phone) is very fast.
Mobile Computing is the future and the whole world is slowly moving towards it. I know there are problems with mobile computing but I am sure these are being addresses as you read this.
Sunday, August 26, 2007
Wordpress's mobile phone optimized web interface
Mobile blogging has always been a pain for me earlier and to some extent even now. Blogger, for instance, provides a mail based posting of blogs. You can mail your post by mailing it to a predefined mail address (thats how I am posting this message). But its not very covenient though. I need to open my mail client to post the message and also formatting on the posted message looks bad. Also, it does not provide a way to tag the message and also does not provide me with a dashboard.
Web service providers seem to vastly underestimate the need for a mobile phone optimized web interface. The whole world is moving towards mobile computing and web service providers better realize this.. For their own good.