28 January 2015

Google's Answers Show Date Information



Google's answers obtained from web pages now include the date when the page was last updated. Search results also include this information and it's pretty useful because a news article from 2004 would provide a different answer for "what's the most expensive car?" than an article from 2014.








23 January 2015

YouTube Music Key for Desktop: Ad-Free Music Videos



YouTube Music Key is not just for YouTube's mobile apps. One of its feature is also available if you use YouTube's desktop site: ad-free music videos. You'll notice the "ad-free" label next to the video title. Mouse over the label and you'll see this message: "Your YouTube Music Key subscription lets you play this video without ads."









"Subscribe to YouTube Music Key and you'll be able to listen to music without seeing or hearing ads. Ads won’t be shown before or during eligible music videos you watch on youtube.com, and music videos and playlists will play continuously on your mobile device, without interruption. You will still see ads on other YouTube videos, however. The Ad-free badge tells you that a video will be ad-free," informs YouTube.

YouTube Tests Rounded Channel Icons



YouTube experiments with a slightly different interface that uses rounded icons for channels and moves the title and buttons like "add to" and "share" to the right.



Here's an image that shows both the experimental interface and YouTube's regular UI:






YouTube's mobile apps already use rounded icons, just like Google+ and Google's navigation bar. "If your Channel is merged with a Google+ profile or page, then your YouTube Channel Icon and your Google+ Profile Image are synched," informs YouTube's help center.

22 January 2015

YouTube Music Key Restrictions



An important downside of YouTube Music Key is that YouTube treats music videos just like Google Play Music songs. You can't play music videos on 2 different Android/iOS mobile devices when using the YouTube app and the same Google account.



Let's say I play a YouTube music video on an iPad and then try to play another music video on a Nexus 5. YouTube shows this message: "Playback paused because your account is being used in another location". That means I can't play YouTube music videos on multiple mobile devices at the same time. This is strange, especially when you realize that YouTube Music Key is only available in the Android app.






If I sign out, I can play music videos, but YouTube Music Key features are disabled (background playing, offline caching, no more ads). I can also play music videos in Chrome or other mobile browsers, where YouTube Music Key features aren't available.



Google Play Music has a similar limitation: "If you play music on multiple devices at the same time using the same account, playback will be paused so you can choose which device you'd like to use. To help ensure uninterrupted playback, make sure you're listening to music using one device or computer at a time."



Maybe it would be a better idea to enable Music Key on a single device at a time and disable its features when using other devices. This way, you could still use the YouTube app and play music videos just like any other videos.

19 January 2015

There’s a Game Hidden inside your Google Chrome, It works on Android too!



Chrome Game in Android


Google Chrome users are probably familiar with the T-Rex dinosaur that shows up when your computer is not connected to the Internet. The T-rex had short arms and therefore lot of things were out of its reach. Chrome, like that dinosaur, too is having trouble reaching the Internet.


What’s even more interesting is that the offline dinosaur in Chrome is also a game. Press the space bar to activate and your Chrome tab will quickly turn into a moderately addictive game.


The game is written in JavaScript and you can find the complete source code in the Chromium repository. Thanks Codepo8 for the discovery.


And it’s not just about Chrome for desktop, the dinosaur game is available in Chrome for Android as well. Switch to airplane mode and give it a shot. The only difference is that instead of the space bar, you need to tap on the screen to jump / fly the dinosaur.


Chrome Offline Dinosaur




The story, There’s a Game Hidden inside your Google Chrome, It works on Android too! , was originally published at Digital Inspiration by Amit Agarwal on 19/01/2015 under Games, Google Chrome, Software.

Lost your Phone? You Can Still Retrieve its IMEI Number



Your mobile phone has a globally unique number associated with it, called the IMEI number, that uniquely identifies your device within the mobile network. If your phone gets lost or is stolen, you would need to provide this IMEI number to the law enforcement agencies and the telecom operator for them to blacklist your device and prevent anyone else from using your phone on their wireless network.


As you probably know, it is relatively easy to find the IMEI number of your mobile phone. While there are apps that will help you retrieve this number with a tap, you don’t really need one. Just open the phone dialer, call *#06# and the IMEI number will be displayed on the phone’s screen. Alternatively, you can open device Settings – About Phone – Status and long-press the IMEI number to copy it to the clipboard.


If you have however lost your phone but did not record the IMEI number beforehand, you can still retrieve the number from your Google Account.


IMEI Number - Mobile Phone


Just go to google.com/settings, sign-in with your Google account and expand the Android tab. Here you will see of all Android devices that are connected to your Google Account and it will list the IMEI number of your phone as well.


In the case of iPhone, the IMEI number is printed on the box itself. And if nothing works, trace the phone’s receipt – the vendor may have written the IMEI number o the phone on it at the time of sale.




The story, Lost your Phone? You Can Still Retrieve its IMEI Number , was originally published at Digital Inspiration by Amit Agarwal on 19/01/2015 under Android, Software.

17 January 2015

How to Migrate your Blog from Blogger to WordPress



Your blog (abc.blogspot.com) is hosted on Blogger and you would now like to move the blog from Blogger to WordPress (self-hosted) with a personal domain name like abc.com. What is the easiest way to switch from Blogger to WordPress without losing Google search traffic, page rank and your existing feed subscribers?



WordPress provides an easy one-click option for importing blog posts and reader comments from Blogger into a new WordPress blog but there’s more to migration than just transferring content. For instance:



  • Some of your articles on the old blogspot blog could be ranking very high in search engines for certain keywords but once you move these articles to a new WordPress blog, you will lose the organic search traffic since the permalinks (or URLs) of your blog posts will change.

  • People come to your blog through search engines, browser bookmarks and referrals from other web sites that have linked to your blog pages. If you migrate to WordPress, Blogger will not automatically redirect these visitors to your new website.

  • When you switch from Blogger to WordPress, existing readers who are subscribed to your Blogger RSS Feed may be lost forever if they don’t manually subscribe to your new WordPress feed address (and most won’t).


The Importer tool available inside WordPress will only transfer content from Blogger to WordPress but if would also like to take care of the various issues listed above, follow this step-by-step tutorial. It takes less than 5 minutes to complete and you’ll also be able to transfer all the Google Juice from the old blogspot.com address to your new WordPress blog.


How to Move your Blog from Blogger to WordPress


Before you start the migration, it may be a good idea to backup your Blogger blog including the XML template, blog posts and comments just to be on the safe side.


If you need assistance with the Blogger to WordPress migration, please get in touch with me using the contact form at ctrlq.org. This is a paid option.



  1. Register a new web domain, buy web hosting and install WordPress on your new domain.

  2. Open your WordPress Admin Dashboard and under Tools -> Import, select the Blogger option. Authorize WordPress to access your Blogger Account, select your blogspot.com blog and within minutes, all your Blogger blog posts and comments will be available on the new WordPress site.

  3. Open the WordPress themes editor under Appearance -> Editor and open the functions.php file for editing. Most WordPress themes include a functions.php file or you can upload it manually into your WordPress themes folder through cPanel or FTP. Copy-paste the following snippet of code inside your functions.php file (at the beginning of the file) and click the “Update File” button to save your changes.

    <?php

    function labnol_blogger_query_vars_filter( $vars ) {
    $vars[] = "blogger";
    return $vars;
    }

    add_filter('query_vars', 'labnol_blogger_query_vars_filter');

    function labnol_blogger_template_redirect() {
    global $wp_query;
    $blogger = $wp_query->query_vars['blogger'];
    if ( isset ( $blogger ) ) {
    wp_redirect( labnol_get_wordpress_url ( $blogger ) , 301 );
    exit;
    }
    }

    add_action( 'template_redirect', 'labnol_blogger_template_redirect' );

    function labnol_get_wordpress_url($blogger) {
    if ( preg_match('@^(?:https?://)?([^/]+)(.*)@i', $blogger, $url_parts) ) {
    $query = new WP_Query (
    array ( "meta_key" => "blogger_permalink", "meta_value" => $url_parts[2] ) );
    if ($query->have_posts()) {
    $query->the_post();
    $url = get_permalink();
    }
    wp_reset_postdata();
    }
    return $url ? $url : home_url();
    }

    ?>

  4. Open your Blogger Dashboard and choose Templates. Scroll down the templates page and choose the “Revert to Classic Templates” option to switch from the XML-based Blogger templates to the classic Tag based templates.

  5. Copy-paste the following snippet into your Blogger template editor but before you do that, replace all occurrences of labnol.org with your new WordPress site URL. For instance, if your WordPress site is located at example.com, replace labnol.org with example.com and paste the modified snippet in the Blogger template editor. Save the changes.



<html>
<head>
<title><$BlogPageTitle$></title>
<script>
<MainOrArchivePage>
window.location.href="http://labnol.org/"
</MainOrArchivePage>
<Blogger><ItemPage>
window.location.href="http://ift.tt/15ibh5s;
</ItemPage></Blogger>
</script>
<MainPage>
<link rel="canonical" href="http://labnol.org/" />
</MainPage>
<Blogger>
<ItemPage>
<link rel="canonical" href="http://ift.tt/15ibh5s; />
</ItemPage>
</Blogger>
</head>
<body>
<MainOrArchivePage>
<h1><a href="http://ift.tt/1y8XIR3;
</MainOrArchivePage>
<Blogger>
<ItemPage>
<h1><a href="http://ift.tt/15ibgOY;
<$BlogItemBody$>
</ItemPage>
</Blogger>
</body>
</html>

We are almost done. Open any page on your old Blogger blog and it should redirect you to the corresponding WordPress page. We are using a permanent 301 redirect on the WordPress side and therefore all the Google Juice and PageRank should pass to your new WordPress pages. (video)


The above method works for regular blogspot.com URLs and also country-specific Blogger domains like blogspot.co.uk, blogspot.com.au or blogspot.in.


The Blogger Import tool moves only posts and comments from Blogger to WordPress but not images. And that should be fine because the image URLs in your imported WordPress posts are still pointing to blogspot.com (where the images were originally hosted) and therefore nothing would break.


Also see: Move Blogger on Custom Domain to WordPress


Switch RSS Feed from Blogger to WordPress


When you move from Blogger to WordPress, the URL of your RSS feed will change as well. Go to Blogger -> Settings -> Other and choose Post Feed Redirect URL under Site Feed. Here you can type the web address of your new WordPress RSS feed here and the existing RSS subscriber will automatically move to your new feed.


If you are using FeedBurner, just replace the source from Blogger RSS feed to your new WordPress feed.


Migration to WordPress Complete – What Next?


Now that your new WordPress site is up and running with all the old Blogger posts, here are a few important things you should do:



  1. Add your new WordPress site to Google Webmaster, verify the site ownership and and also submit a XML Sitemap listing the URLs on your new site.

  2. Follow these WordPress optimization tips, install some of the essential plug-ins and pay special attention to improving the security of your WordPress site.

  3. Follow these blogging tips and take your blog to the next level.




The story, How to Migrate your Blog from Blogger to WordPress , was originally published at Digital Inspiration by Amit Agarwal on 16/01/2015 under Blogger, WordPress, Internet.

14 January 2015

Updated Google Drive App for Desktop



Google updated the Drive app for Windows and Mac. The latest version (1.19.8268.4572) brings new features: the Drive menu shows the latest synced files, there's a new three-dot contextual menu that shows the previous items from the standard menu and you can limit bandwidth for both downloads and uploads from the settings. It's interesting to notice that all these features have already been available in the Dropbox app.












{ Thanks, Eston Melton. }

Word Lens in Mobile Google Translate



Google Translate's mobile apps are about to get a major upgrade. The latest version of the Google Translate app for iOS and Android adds support for instant translation with Word Lens and improves the conversation mode. The iOS app also adds support for conversation mode and camera translation, which were already available in the Android app.



"While using the Translate app, just point your camera at a sign or text and you'll see the translated text overlaid on your screen - even if you don't have an Internet or data connection. This instant translation currently works for translation from English to and from French, German, Italian, Portuguese, Russian and Spanish, and we're working to expand to more languages," informs Google. There's already camera translation, which works in 36 languages, but the new Word Lens is smarter and easier to use. Google bought Word Lens last year and this is the first tangible result of the acquisition.






Conversation Mode is smarter too: the app will now recognize the languages automatically, so you don't have to tap the microphone button. "Starting today, simply tap the mic to start speaking in a selected language, then tap the mic again, and the Google Translate app will automatically recognize which of the two languages are being spoken, letting you have a more fluid conversation. For the rest of the conversation, you won't need to tap the mic again - it'll be ready as you need it," explains Google.









The new version of the Google Translate app for Android and iOS is rolling out over the next few days.

Chrome Starts Enabling New Account Switcher



A few readers noticed that Chrome's stable version started to enable the account switcher added back in August to Chrome Beta.



"Get started by clicking on 'You' in the upper right corner of your Chrome window and then clicking 'Sign in to Chrome.' You'll be able to switch devices and pick up where you left off with all of your tabs, bookmarks, and history automatically kept in sync. If you share a computer, click 'Switch person' to add your profile and get your own bookmarks, apps, and theme. Switching lets you keep your stuff separate," explained Google.









There's also support for guest mode. "With the new 'Guest mode,' you can let others use Chrome without letting them see your stuff. And after they've closed out their tabs, their browsing information is deleted from your computer as well." That's the main difference between incognito and guest mode: guest mode is treated as a separate profile that doesn't have access to the data from your main profile.






You can also enable these features in chrome://flags:



1. copy this text in the address bar and press Enter: chrome://flags/#enable-new-profile-management

2. select "Enable" in the dropdown below "Enable new profile management system"

3. scroll down to "Enable fast user switching in the avatar menu"

4. select "Enable" in the dropdown below "Enable fast user switching in the avatar menu"

5. click "Relaunch now" at the bottom of the page to restart the browser.



Pick "Disable" instead of "Enable" to turn off the new avatar menu.






With features like guest mode and account switcher, Chrome looks more and more like an operating system. After all, these features were borrowed from Chrome OS.



{ Thanks, Konstantin Yakovlev, Fede and Karol Kobos. ]

Google Domains No Longer Requires Invitation



Google Domains is now available to everyone in the US. Until now, Google's service required an invitation.






Google added a lot of new features:



* 60 new domain name endings like .company, .florist and .coffee



* a simple dashboard to manage your domain, website and email settings



* Blogger integration



* better integration with website builders



* better search suggestions



* dynamic DNS: "setup your domain and keep it pointing to the same computer even when the IP address changes".








Find Maps in Google Drive



Now that custom Google Maps are available in Google Drive, you may wonder how to find them. "My maps" is not included in the list of file types from the advanced search, but you can use the "opens with" feature that was added in the new Google Drive interface. Just click the arrow from the search box, select "Google My Maps" from the "opens with" list and click the search button. Google Drive will display all the maps you've created in Google My Maps. Another option is to search for app:"google my maps".






You can add some keywords to the query to find a map.

Disable Google Package Tracking



Google uses the notification messages you receive in Gmail to display useful information in Google Now, Google Search and other Google services. For example, Google shows details about your purchases, reservations, flights and more.



Google Dashboard has a new section for package tracking. If you scroll down to the package tracking section, you'll probably see this information: "Package tracking data is accessible (e.g. in Google Now and Google Wallet)." Expand the section and you'll see a button that lets you opt out: "By clicking the button you will opt out of Package Tracking in various Google applications and data will be removed. You can opt in again via Google Wallet or Google Now."






I'm not sure why package tracking is singled out and Google doesn't let you disable from Google Dashboard the other features that use data from Gmail.

Google Now History



Google Now has a history page that shows the number of cards served each day, the type of cards and it lets you delete historical data. For example, you may find out that Google Now displayed 9 cards on January 8th: articles, updates, packages, music, stocks, time at home, birthdays and 2 other cards.






Unfortunately, Google doesn't show the actual cards and you can't see the card history in Google Now's interface: there's only a link to the history page in the settings. That's one of the issues with Google Now: once you dismiss a card, you can't get it back.

12 January 2015

The Best Screen Recorder for Android 5



With Android L, you can easily record high resolution videos of your phone or tablet’s screen without having to root the device. Android Kitkat too allowed screen recording but with Lollipop, the process has become almost as easy as recording screencasts on your desktop – you launch an app (there are several alternatives to choose from), hit the record button and everything that’s on your screen, including touches, will be captured as a MPEG-4 video.


Record Android Screen


The Perfect Screen Recorder for Android


A quick search on the Google Play store returns a dozen Android apps that support screen recording for Android v5 or later.


Some apps are free while others are paid but they mostly offer a similar set of features. You can record the screen as well the on-screen touches so the viewer has a better idea about how you are interacting with the apps. They can record the external microphone audio but none of the apps I tried allowed recording of internal system audio. Maybe that is a limitation of the Android platform.


The most popular option is Mirror that will not only record your Android screen but it can also mirror your phone on to your desktop using AllCast Receiver, a free app for Chrome. There are no complicated settings to choose from, the recording is smooth but the big downside is that the app adds a fairly big watermark and you do not have option to disable it.


Shou.TV is another app than can record and also live cast your phone screen to the desktop without the watermark. It is the only app that can save the video in multiple formats including MKV, AVI and MOV. There’s however a definite lag when casting the screen on the desktop that makes it less usable.


iLos and the screen recorders from Rivulus and Misty let you record the Android screen in multiple resolution including 1280×720 and 1920×1080 pixels at 30 frames per second. The recorded screencast can display touches, there are no ads and you can record videos of unlimited length. These apps do however add their icons in the notification window while the recording is in progress.


Another app in the category is SCR that offers a unique feature – it can add the picture-in-picture effect to your screencasts. That means it can use the front camera of your phone and overlay a live video of yourself on the screencast. The app is freemium and you need to upgrade to remove the watermark or to increase your screencast length which is limited to 3 minutes.


I also enjoyed using Rec. that has a very clean interface and allows you save your settings as separate presets. You can turn off the screen and it will stop the current recording session. You do however need to upgrade to show the screen touches and for recording the microphone audio.


This screencast video was recorded on an mobile phone running Android v5+ and rendered as an animated GIF

This screencast video was recorded on a mobile phone running Android 5.0.1 and rendered as an animated GIF



To conclude, as you may have noticed, most of the screen capture programs for Android are very similar and it is thus difficult to pick an absolute winner. Still, if I were to choose one, my vote would go to the Unlimited Recorder for creating screencast movies and Mirror for mirroring the Android screen on to the desktop.




The story, The Best Screen Recorder for Android 5 , was originally published at Digital Inspiration by Amit Agarwal on 12/01/2015 under Android, Screencasting, Software.

10 January 2015

Material Design for Google Maps Transit Directions



The desktop Google Maps got a Material Design update: the timetable for transit directions is now displayed in an overlay. Just click More options and times next to Google's transit directions to see the new interface. Here's an example.









"If you're taking public transit, you'll see details about the transit line, trip duration, and schedule. To see other public transit times and enter a specific time, click More options and times. From here, you can see key information: overall travel time for your route, time spent walking (dotted lines), time spent on transit (solid lines), transportation lines used. To see the next scheduled departure, click Leave now. Or choose a different time and date for your directions in the boxes at the top. Click on a trip to select it and see it on the map. Click Route options to narrow your directions down to a particular type of transit. You can also choose Fewer transfers and Less walking," informs Google.



{ Thanks, Emanuele Bartolomucci and Jérôme Flipo. }

08 January 2015

First TVs Powered by Android TV



Android TV is Google's second attempt to bring Android to TVs (the first one was Google TV). After Chromecast's success and the launch of Nexus Player, Google partnered with a few TV manufacturers that will launch Smart TVs powered by Android TV.



"This spring, Sony, Sharp and TP Vision, with its range of Philips TVs, will start shipping televisions powered by Android TV. These have all the goodness of Android TV built in so you won't need to plug anything extra into your television. You can use a single remote to watch live TV channels and play games, movies or shows from Google Play and your apps. These televisions feature voice search, to help you quickly find what you want, and they're Google Cast Ready so you can cast your favorite entertainment from your phone or tablet to the big screen," mentions Google.



From The Verge: "Live at CES 2015, Sony's CEO Kaz Hirai announced that the company's new smart TVs will run on Google's new platform for television, Android TV. The remote control for the TV is essentially a giant trackpad, so that you can navigate the Android TV interface more easily. The remote also comes with a microphone, to make searching easier."





Other manufacturers use different operating systems: Samsung uses Tizen, LG uses WebOS, while Panasonic launches Firefox OS Smart TVs. It's interesting to notice that Samsung and LG use their own operating systems to power smartwatches, smart TVs, smart washing machine, smart vacuum cleaners, cars and more. "The OS of everything - Tizen is the open-source operating system for all device areas," mentions Tizen's homepage. Having their own operating system allows them to control their own destiny and launch new devices without relying on software from Google.