Monday, 31 October 2011

Lego robot beats human world record for solving the Rubik’s Cube with Android


Solving the Rubik’s Cube puzzle popularized in the 1980s is an exercise in futility for many of us, but to a world class “speedcuber” it’s a challenge of mere moments. The currentofficial human record for the Rubik’s cube 3×3 puzzle is just 5.66 seconds. I know a robot that did it in 5.35 seconds. Take, that humanity! (Wait a second…) The puzzle solving bot is called CubeStomer II and you can watch its record breaking run in the video below. Made from Lego, powered by an Android smart phone, and created by two mad geniuses, CubeStormer II has a pedigree that sounds like it came from a children’s cartoon. That’s fitting, because I think the Lego NXT robot is a sure sign that humanity has gone meta. Why waste time on solving trivial puzzles when you can build a robot to waste time solving trivial puzzles for you instead?
CubeStormer II is controlled by four Lego NXT ‘bricks’ that communicate via Bluetooth with a Samsung Galaxy SII smart phone. A special app on the phone takes a picture of the cube, solves the puzzle virtually, and then relays the solution to the Lego robot. From click to finish the whole process takes just seconds. You have to see it to believe it:

New Rejoice for Mob.Application Developer.

Hi friends yet another IDE is out for mobile application developers(I-Phone, Blackberry,Android)
Adobe Flash Builder 4.5
Now it seems as if  the java developers have some competition.
Language used to write the application  markup language that Flash Builder uses to design application interfaces.
When you create a Flex mobile project, Flash Builder generates the following files for the project (where ProjectName is the name you give your project in the first step of the wizard):
  • ProjectName.mxml: This is the application file for the project. Typically, you do not add content to the default application file directly.
  • ProjectNameHomeView.mxml: This file represents the initial screen (or view) of the project. Flash Builder places the file in a package called "views."
Now lets see if it brings the boom for the Flex developers...or bane for the Android java developers.

For complete and full documentation for Adobe flash builder check out this link.

Thursday, 20 October 2011

Apple's Siri vs. Android's Voice Actions: Feature Showdown

Look out, Google: Siri could take Apple into search
Apple's new voice input-based digital assistant, Siri for the iPhone 4S pits the iPhone against Android's Voice Actions, a popular feature for Android phones running Android 2.2 (Froyo) or higher. Both Siri and Voice Actions promise to make your life easier by letting you speak--rather than type--your messages, web searches, notes, and navigation.
In November, Google also plans to update Android's voice input engine with Android 4.0, or Ice Cream Sandwich on the new Samsung Galaxy Nexus. ICS will include a new hands free voice-activation feature, as well as an overhauled voice input engine.
Read More:

Tuesday, 18 October 2011

Innovation in Android 4.0


Android is continously driving innovation forward, pushing the boundaries of communication and sharing with new capabilities and interactions.
Android Beam for NFC-based sharing
Android Beam is an innovative, convenient feature for sharing across two NFC-enabled devices, It lets people instantly exchange favorite apps, contacts, music, videos — almost anything. It’s incredibly simple and convenient to use — there’s no menu to open, application to launch, or pairing needed. Just touch one Android-powered phone to another, then tap to send.
For sharing apps, Android Beam pushes a link to the app's details page in Android Market. On the other device, the Market app launches and loads the details page, for easy downloading of the app. Individual apps can build on Android Beam to add other types of interactions, such as passing game scores, initiating a multiplayer game or chat, and more.
Face recognition lets you unlock your phone with your face.
Face Unlock
Android 4.0 introduces a completely new approach to securing a device, making it even more personal — Face Unlock is a new screen-lock option that lets users unlock their devices with their faces. It takes advantage of state-of-the-art facial recognition technology to register a face and to recognize it later when unlocking the device. Users just hold their devices in front of their faces to unlock, or use a backup PIN or pattern.
Wi-Fi Direct and Bluetooth HDP
Support for Wi-Fi Direct lets users connect directly to nearby peer devices over Wi-Fi, for more reliable, higher-speed communication. No internet connection or tethering is needed. Through third-party apps, users can connect to compatible devices to take advantage of new features such as instant sharing of files, photos, or other media; streaming video or audio from another device; or connecting to compatible printers or other devices.
Android 4.0 also introduces built-in support for connecting to Bluetooth Health Device Profile (HDP) devices. With support from third-party apps, users can connect to wireless medical devices and sensors in hospitals, fitness centers, homes, and elsewhere. In addition, for connecting to higher quality Bluetooth audio devices, Android 4.0 adds support for Bluetooth Hands Free Profile (HFP) 1.6.


Samsung's Galaxy Nexus gets official: Android 4.0, 4.65-inch HD Super AMOLED display (video)

Wait no more. Google and Samsung have just made the long-awaited Galaxy Nexus (not longer the Nexus Prime, as we'd once heard) official here in Hong Kong, and the specifications are downright drool-worthy. Those with bantam hands need not apply, as this 4.65-inch behemoth is bound to bring back talk of Sidetalkin'. Naturally, Ice Cream Sandwich is onboard, with Google finally revealing the version number as 4.0. Other specs include an HD Super AMOLED display (1,280 x 720), a 1.2GHz dual-core processor, 5 megapixel rear camera (with LED flash), a 1.3 megapixel front-facing cam, 1080p video recording and playback, a newfangled panorama mode, a 3.5mm headphone jack and Bluetooth 3.0. You'll also find USB 2.0, 802.11a/b/g/n WiFi, an embedded NFC module, accelerometer, compass, gyro, proximity sensor and even a barometer -- yeah, a barometer. Finishing things out, there's 1GB of RAM, 16 or 32GB of internal storage space and a 1,750mAh battery. As for radios? There's an HSPA+ model on tap, while an LTE version will "be available depending on region." There's nary a mention of carrier in the press release we're holding, but based on earlier leaks, a 4G build for Verizon Wireless seems a lock.

Read More:

RIM announces BBX - the new platform for phones and tablets

Quite expectedly RIM has just announced its new platform called BBX. BBX combines "the best of BlackBerry and the best of QNX", as RIM puts it. The new BBX-OS based on this BBX platform will be for both smartphones and tablets, and will offer support for apps developed for the previous BlackBerry OS 6 and OS 7, but also Adobe Air and Flash apps, HTML 5 or even for Android apps thanks to the BlackBerry Runtime for Android software module.
For more Information check the link below:


Sunday, 16 October 2011

Tech World Mourns Loss of Dennis Ritchie, Father of C and Unix

Dennis Ritchie, the computer scientist responsible for C and Unix, has passed away at age 70. His career leaves behind an operating system and programming language that form the basis of some of the world's most widely used technologies. "You've got all these operating systems, languages and programs all building on Dennis' work," Pike concluded. "It's hard to think of a bigger legacy."


Monday, 10 October 2011

funniest deprecation in the Java API

All the Java guys might be aware the term Depricated in java or android programming.
From the definition of deprecated:
A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists.
The funniest deprecation in the Java API, is imo, the FontMetrics.getMaxDecent.
Reason for deprecation: Spelling error.
Deprecated. As of JDK version 1.1.1, replaced by getMaxDescent().

Selecting ImageFrom Gallery

Hi ,
  In this post i am going to tell you about on how to pick a image from gallery and use that image in your application.

Intent photo_pick=new Intent(Intent.ACTION_PICK);
                        "Select Picture"), 1);

As you have used the startActivityForResult so now you should check for the result using the onActivtyResult method as follows:

    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
            /*** To get the path and image ***/           
            if(resultCode == RESULT_OK){ 
                Uri selectedImage = data.getData();
                String[] filePathColumn = {MediaStore.Images.Media.DATA};
                Cursor cursor = getContentResolver().query(selectedImage, filePathColumn, null, null, null);
                int columnIndex = cursor.getColumnIndex(filePathColumn[0]);
                String filePath = cursor.getString(columnIndex);
                Log.e("","filepath"+filePath);// file path of selected image
                Bitmap yourSelectedImage = BitmapFactory.decodeFile(filePath);
                _show_image.setImageBitmap(yourSelectedImage); //set your bitmap in your imageView


Source Code: