Wishing you and your family a very happy and prosperous new year 2011. :)
-- Varun
Smartphones are getting smarter day-by-day with cool new features. Still the best part of any Smartphone is its support for personalization. Android allows you to personalize almost anything and everything on your device. Boot screen animation is no exception. If you are bored with the default boot screen animation on your Android device, you can change it to the one you like. Here is a short tutorial to create new animations or use your favorite video as a boot screen animation. Android boot animation is stored as a zip file (uncompressed) containing the sequence of images used for the animation and a text file containing the meta-information.
Steps to create boot screen animation
-- Varun
[via @xda-developers]
Google has launched Instant Previews few days ago – a feature which adds screenshot preview of the page along with the search results. The feature does not seem to add much of value addition to search results (as they claim). Nevertheless, the implementation of the feature is rich enough to add huge value for a web developer. Google has employed some neat techniques to ensure that the performance of the search remains the same with this new feature. If you are a web developer or a person interested in learning cool things, you can continue reading rest of the post. And, if you are frustrated with the previews, you can use this script to turn off the feature.
Techniques involved in Google Instant Previews
JavaScript Compilation. Like any other Google products, Google search also uses a lot of JavaScript. JavaScript is minified and crunched using Google’s Closure Compiler. The JavaScript on the results page is loaded lazily so that it does not interfere with the page load. Also, JavaScript is cached very aggressively on the client-side.
On-demand JSONP. The result previews are loaded only on-demand whenever the user activates it. The browser needs to make asynchronous call to Google servers to get the previews and render it on the screen. Modern browsers have a restriction on the number of concurrent requests the page can send to any host. To overcome this, Google uses a separate domain for hosting the result previews. (Ex: client1.google.com, client2.google.com). Data can be loaded in different ways using JavaScript:
Data URIs. The previews shown are not just plain images streamed from the Google server. The data received from the JSONP calls is actually the image data being sent as set of data URIs. (I have used the same technique in VComment – Visual Comment Engine). Data URIs are base64 encodings of image data, that modern browsers can use to display images, instead of loading them from a server as usual. If you have noticed the previews closely, a bounding box will be added to the preview. The usage of data URIs over static images has made this highlighting easier. Data URIs are gzip-compressed to make them comparable in size to the original JPEGs. Data URIs are also aggressively cached on the client-side.
More information about these techniques can be found here.
Note: This post was originally written in the last week of November 2010. Just realized that it was sitting on my drafts itself. Well, better late than never.
-- Varun
Most of you would have been already aware of the fact that Google has launched its Chrome web store recently. If you are using the latest versions of Chrome, you can install apps on your Chrome from the web store. Once the app is installed, you can launch it from the popular “New Tab” page of Chrome. A new section titled “Apps” has been added to the “New Tab” page. This section will show the icons of all the installed apps as Thumbnails. Clicking on the app icon will launch the app. If you have a big list of apps installed on your Chrome, it will become difficult to search for the app and launch it from here. To make it simple, Google has built an extension “App Launcher” which will act as a Windows Start Menu for Chrome.
App Launcher for Chrome
App Launcher for Chrome is an extension built by Google for launching the apps installed on Chrome. Install the extension from here. The extension will add a browser action icon clicking on the same will show a list of installed apps. From there, you can launch an app by either clicking on it in the list, or using arrow keys to select it and then pressing enter. The search box on top of the list is quite handy. (However, you have to use only lower cases while searching. Looks like a bug). With this extension, you can launch an app from any page without having to open the “New Tab” page.
-- Varun
[via @labnol]
Earlier I have posted an article titled “Intro to WebSockets” from the Chennai Geeks Techmeet-3. This is another topic discussed at the meet – Windows Phone 7 Internals. The talk was delivered by Balaji Damodaran from Thoughtworks. He gave an overview about the internals of Windows Phone 7 and some of the interesting facts about WP7. Note: This post is not properly structured. Posting the contents from the talk as it was delivered for the benefit of all.
Windows Phone 7 (WP7) Facts
Impressed with the features of Windows Phone 7? What are you waiting for? Download the SDK (its free) and start playing around with it. No support for Mac dev yet.
-- Varun