Search This Blog

Wednesday 28 May 2014

PHILIPS W6610 5300 mAh Battery ! A smart phone with best battery is launched

Smart phone had many thing which drain battery and leaving those thing behind does not give feel of smart phone. Running apps all the time (like Whatsapp, Facebook and weather services), HD display and many more cause battery to die. So anticipation of user were battery to invent to next level and PHILIPS did it. It launched PHILIPSW6610 with 5300 mAh battery which best till date.
Bigger battery strength make phone thicker compare to its competitor but you can enjoy Standby time: 1604 hrs (WCDMA+GSM) and Talk time: 33 hrs (WCDMA). PHILIPSW66 run on android version Jelly Bean (4.2) and PHILIPS does not reveal about up gradation weather they are going to update to latest version or not. It will cost around Rs.20,262.00 or $340 (Approx).

PHILIPSW66 launched with 1 GB RAM, 1.3 GHZ quad core processor. The smartphone packs a 5-inch display with qHD resolution (960 x 540) 4GB of internal memory, microSD support, dual SIM support and Android 4.2 Jelly Bean.

Wednesday 14 May 2014

Must purchase Moto E, Low end phone is going to be game changer

Motorola has come back strongly with Moto G 8 GB and 16 GB variant. This took middle end phone market by storm specially India and developing country. Motorola has been sold millions of device include both version Moto G and Moto X. They have been super hit in terms of performance and price. Motorola received positive review from user.

Now Motorola comes with best low end phone Moto E running on android latest version 4.4 Kitkat on price of just 6999 INR (Approx $ 100) which incredible. There are lot of phone present in Indian and Chinese market with this price, But what Motorola is providing with this price make me speechless.

Moto E price 6999 INR running on android latest version with 4.3 inch screen HD, 1 GB Ram and 1.2 GHz MSM8x10 Dual Core Processor

Why should you purchase it?

  • Dual Standby SIM (GSM + GSM)
  • Android v4.4 (KitKat) OS
  • Wi-Fi Enabled
  • 1.2 GHz MSM8x10 Dual Core Processor
  • 4.3-inch Touchscreen
  • 5 MP rear camera
  • Android OS, v4.4.2 (KitKat)
  • 540*960 HD resolution

Note : Moto E available on from today

Final note : Even if you are not interested in low end just purchase it for fun.

Customizing Support Android Action bar Tab : and Action Bar

Action Bar is integral part of android design guidelines. Action Bar API was intruduces in android version 3.0 and above but few months ago Google launch backward compatibility support for ActionBar with Support v7 library. Here see Action Bar Tab integration with Fragment

I have gone through some customization of Support Action Bar android Action Bar. So here I am sharing those piece of source code which help me to beautify Android Action Bar

Action Bar Background Color -

   <!-- ActionBar styles -->  
   <style name="MyActionBar" parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse">  
     <item name="android:background">@color/name</item>  
     <!-- Support library compatibility -->  
     <item name="background">@color/name</item>  

Action Bar Title Text Customization

   <!-- ActionBar styles -->  
   <style name="MyActionBar" parent="@style/Widget.AppCompat.ActionBar">  
     <item name="android:titleTextStyle">@style/MyActionBarTitleText</item>  
     <!-- Support library compatibility -->  
     <item name="titleTextStyle">@style/MyActionBarTitleText</item>  
   <!-- ActionBar title text -->  
   <style name="MyActionBarTitleText" parent="@style/TextAppearance.AppCompat.Widget.ActionBar.Title">  
     <item name="android:textColor">@color/tabText</item>  
     <!-- The textColor property is backward compatible with the Support Library -->  

Action Bar Tab Customization

  • Action Bar Tab Text Customization

   <!-- ActionBar tabs text -->  
   <style name="MyActionBarTabText" parent="@style/Widget.AppCompat.ActionBar.TabText">  
     <item name="android:textColor">@color/tabText</item>  
     <!-- The textColor property is backward compatible with the Support Library -->  

  • Action Bar Tab's View and Selector Customization - Action bar Tab View can be customize. You can use your own custom view or set custom selector align Tab Text, and Change padding of Tab Text inside action bar Tab

   <!-- ActionBar tabs styles -->  
   <style name="MyActionBarTabs" parent="@style/Widget.AppCompat.ActionBar.TabView">  
     <!-- tab indicator -->  
     <item name="android:background">@drawable/tab_selector</item>  
     <!-- Support library compatibility -->  
     <item name="background">@drawable/tab_selector</item>  
     <item name="android:paddingLeft">0dp</item>  
     <item name="android:paddingRight">0dp</item>  
     <item name="android:paddingTop">0dp</item>  
     <item name="android:paddingBottom">0dp</item>  

Here how you create Tab Selector XML to apply all effect (i.e Selected,Pressed,Unselected) – All Images should be placed rightly in drawables

 <?xml version="1.0" encoding="utf-8"?>  
 <selector xmlns:android="">  
   <item android:drawable="@android:color/transparent" android:state_focused="false" android:state_pressed="false" android:state_selected="false"/>  
   <item android:drawable="@drawable/tab_selected_example" android:state_focused="false" android:state_pressed="false" android:state_selected="true"/>  
 -   <!-- Focused states -->  
   <item android:drawable="@drawable/tab_unselected_focused_example" android:state_focused="true" android:state_pressed="false" android:state_selected="false"/>  
   <item android:drawable="@drawable/tab_selected_focused_example" android:state_focused="true" android:state_pressed="false" android:state_selected="true"/>  
 -   <!-- Pressed -->  
 -   <!-- Non focused states -->  
   <item android:drawable="@drawable/tab_unselected_pressed_example" android:state_focused="false" android:state_pressed="true" android:state_selected="false"/>  
   <item android:drawable="@drawable/tab_selected_pressed_example" android:state_focused="false" android:state_pressed="true" android:state_selected="true"/>  
 -   <!-- Focused states -->  
   <item android:drawable="@drawable/tab_unselected_pressed_example" android:state_focused="true" android:state_pressed="true" android:state_selected="false"/>  
   <item android:drawable="@drawable/tab_selected_pressed_example" android:state_focused="true" android:state_pressed="true" android:state_selected="true"/>  

Now give all theme Reference to main theme and use this theme for any activity in Android manifest 

   <style name="AppBaseTheme" parent="@style/Theme.AppCompat.Light">  
     <item name="android:actionBarStyle">@style/MyActionBar</item>  
     <!-- Support library compatibility -->  
     <item name="actionBarStyle">@style/MyActionBar</item>  
     <item name="android:actionBarStyle">@style/MyActionBar</item>  
     <item name="android:actionBarTabTextStyle">@style/MyActionBarTabText</item>  
     <item name="android:actionMenuTextColor">@android:color/background_light</item>  
     <!-- Support library compatibility -->  
     <item name="actionBarStyle">@style/MyActionBar</item>  
     <item name="actionBarTabTextStyle">@style/MyActionBarTabText</item>  
     <item name="actionMenuTextColor">@color/tabText</item>  
     <item name="android:actionBarTabStyle">@style/MyActionBarTabs</item>  
     <!-- Support library compatibility -->  
     <item name="actionBarTabStyle">@style/MyActionBarTabs</item>  

Android News and source code