Thursday, 24 November 2011

Steve Wozniak(Apple Co-Founder) with his Galaxy Nexus and a ice cream sandwich T-shirt to go with it.

Heck of a Strange thing happened in Google's campus in Mount View when Steve Wozniak the co founder of apple became the first person in US to get the Samsung Galaxy Nexus.

This all happened when "Woz" tweeted that he was looking for the Samsung galaxy nexus ,but unfortunately it was not available in US.So "Woz" was invited by the Google's campus in mount view  where he was presented the Brand new Samsung galaxy Nexus and a ice cream sandwich T-shirt.

gsmarena 001 Steve Wozniak gets a Galaxy Nexus from Google, and an Ice Cream Sandwich T Shirt to go with it




;-)....

SOURCE

Wednesday, 2 November 2011

Android Views Animation Tutorial




In this section i will try to explain the 4 types of animation on views which can overall change the impression of the views.

The attached program demonstrates the available types of animations which are:
Alpha - Causes a fading in or fading out effect.
Scale - The view's size smoothly changes.
Rotate - The view rotates.
Translate - The view moves to a different position.


You can individually use these animations or you can also combine these animations into one. Combining of animations is done with help of animation set.First i will explain how to use these animations individually.

ALPHA ANIMATION: Alpha animation is used in fading in and fading out of views. 

<alpha 
android:fromAlpha="0.0" 
android:toAlpha="0.9"
android:duration="3000" />

SCALE ANIMATION: Scale animation is used for changing the size of view.


<scale 
android:fromXScale="1.0" 
android:fromYScale="1.0"
android:toXScale="2.0" 
android:toYScale="2.0" 
android:duration="3000" />

ROTATE ANIMATION: Rotate animation is used for rotating a view around a particular axis.


<rotate 
android:fromDegrees="359" 
android:toDegrees="0"
android:duration="3000" 
android:pivotX="50%" 
android:pivotY="50%" />

TRANSLATE ANIMATION: Translate animation is used to change the position of a particular view.

<translate 
android:fromXDelta="300%" 
android:toXDelta="0%" 
android:fromYDelta="0%"
android:toYDelta="0%" 
android:duration="3000" 
android:zAdjustment="bottom" />

You need to keep these XML files in anim folder in res folder.
And finally to use this application in your Activity you need to use the following piece of code:




final Animation anim=AnimationUtils.loadAnimation(getApplicationContext(), R.anim.animation);// where animation is the name of the anim file which contains any of the above mentioned animation.




Download free source code here.

Tuesday, 1 November 2011

(Nokia choosing WP7 over Android)

                 As my title says i am going to talk about the thing which is in every one's mind i.e. why Nokia chose WP7 over Android although knowing the success of Android in the mobile market.So i m going to compare some of the features of Android and WP7.

                 During the Q&A during Nokia's Capital Market Day, Elop said that Android did not allow them to differentiate enough. This seems weird, since Android is considerably more open and free than Windows Phone 7. However, I think what he meant is that Nokia would not have a say in the actual development direction of Android. And this is where Microsoft comes in.

Nokia knew that it was too late to join the Android party—Android had become a crowded space. Creating a standout Android phone would not only be difficult given the experience of other companies but because it could get lost in the maul of Android phones available. Even Android phone makers would admit that it's hard to stay at the top of the Android power rankings—hell, doesn't it seem like the "best Android phone" only has a lifespan of a month before it gets dethroned? Nokia saw Google eventually getting all the profits as hardware gets commoditized.

And maybe Windows Phone 7 will have those same hardware "issues" as Android but Nokia felt it could differentiate its handsets by dropping in Nokia specific features like their Navteq location-based services. That, they felt, would give them a leg up.

But none of those arguments seem to matter as much as this one: Nokia didn't want to lose the smartphone wars without giving Google and Apple an honest fight. Choosing Android would mean that they'd become a bit player in a two-horse race (Apple vs Google). Choosing Windows Phone means they're hoping and fighting to add another horse. It might be too late and maybe Nokia had to sell their soul, who knows, but I respect any one who goes down swinging.