Whatsapp web client for android

From morning till evening I’ve been using the new whatsapp web client. It is really awesome to use and I love it so much. So Here are the pros and cons I’ve found which I’m sharing with you

I could say that whatsapp could’ve done this web client before, This is a late entry for whatsapp but it become so hottest today. As long as I’ve used this web client one thing I can say that every single one of us deserved for this. Yes It is more handy for the people who is more productive. So Let’s have a small review about the new whatsapp web client from my point of view

Whatsapp web client for android
Whatsapp web client for android

Pros:

Of course you’re using this from your browser but only from chrome. You don’t need to install any dedicated software or application on your MAC or PC. So This is a platform independant but chrome dependant. We could expect for a firefox and other browser support in future. ( No need for IE Who cares:P)

Connect to your whatsapp to your Chrome browser with a single QR code scan from your whatsapp mobile Which is like plug-n-play. You can see the browser login session details on your app and you can even logout the web client directly from your whatsapp mobile

You can send pictures from your MAC or PC or you can even take snap directly from your machine and share directly to your friends. When It comes to media sharing we often uses mostly the picture sharing so it will be much easier for us to share pictures without any hassle. Before the whatsapp web client There were lot of struggle to share the pictures you which you’ve downloaded or had on your computer. Now It become much easier to share the picture medias. You don’t have to connect your mobile to computer then transfer to your mobile then sharing it your friends which we hated the most when it comes to sharing from your computer to whatsapp. You might have used some third party app to easily transfer the datas from computer to your mobile now you don’t even need this.

You can easily view videos from the whatsapp web client which streaming. They don’t download to your computer as like the whatsapp mobile.

– Both whatsapp web client and whatsapp mobile syncs properly with each other. I didn’t have any single problem with the message receiving or sending. The web client works super fast as like the mobile version.

Cons:

You’re going to suffer for more data usage on your mobile If you’re not connected to a WiFi. One thing you should understand is that the whatsapp web client gets the data from your mobile so whenever you’re receiving a photo or video it’ll be streamed out from your whatsapp mobile. So You’ll charged more data usage on your mobile data pack.

As this is a initial version there is no video sharing, Contact sharing, Location sharing or Audio sharing. There is only picture sharing available as of now.

You can’t change your whatsapp Display/Profile picture or status from the whatsapp web client which is very much needed one for us. I hope we can get this feature available in the upcoming updates for the web client.

As a long time whatsapp user I love this new web client but even in the web client you can’t send direct smiley which means you can’t send the smiley just by typing it on your text area which is kind of lagging feature Which I would like to have on the future version of it.

How to use whatsapp web client on your chrome?

Visit web.whatsapp.com from your chrome browser then from your mobile whatsapp select “whatsApp web” in options then scan the QR code from the browser. That’s all you’re done

Thank you friends. So that’s all about my review. Please share your experience with your new whatsapp web client below 😀

Whatsapp web client for android

View Pager Counter for Android

Welcome to my first android post about view pager counters. Have you ever tried to create a custom view pager counters? So here is my story that how I’ve created one for myself which I’m gonna share with you.

A view pager counter is nothing but a indication of how many pages (fragments to be shown) are left over in a view pager.

An example of View pager counter

You can customize this counters to anything you want, you can change the shapes or you can add click listeners and so on.

Let’s get started to create this view pager counter yourself, First create a simple android project from your Android studio or Eclipse. Then implement a simple view pager on your MainActivity keep some empty fragments. For example I’ve kept 3 fragments to show the view pager counters

Now let’s modify our MainActivity’s design section in XML.

<LinearLayout
android:id=”@+id/viewPagerCounter”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:layout_gravity=”bottom|center_horizontal”
android:layout_marginBottom=”30dp”
android:orientation=”horizontal” />

Add this piece of code to your Root layout where the your View Pager is placed. The above coding is just a LinearLayout (Horizontal) so that the counters can be added one by one to the layout.Your root layout can be anything. Here I’ve a FrameLayout in my case.

After adding the above snippet let’s move to our java section. Here we’re gonna do the view pager counter’s work.

As soon as the MainActivity gets started We’ve to add the counters to the pages. So I’m gonna add the number of counters to be shown on top the view pager. Place the following piece of code on the onCreate() of your MainActivity

LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(required_size, required_size, 1);
params.rightMargin = 5;
params.leftMargin = 5;
/**
* I'm calculating the required_size with the help of screen width.To handle multiple screen sizes *we've to take the screen width and then calculate the percentage of it
*/
for (int i = 0; i < NUM_PAGES; i++) {
button = new Button(this);
int id = VIEW_ID + i;
button.setId(id);
counters[i] = VIEW_ID + i;
button.setLayoutParams(params);
button.setBackgroundColor(Color.parseColor(“#00ff00"));
ll.addView(button);
}

When I’m creating the view pager counters (buttons in my case you can keep any view you want) along with that I’m setting id for each button I’ve created. So that you can add click listeners to it. It’s mandatory to create ids for each view you’re creating If not you can’t identify the view later to change color or animate 


Now We’ve added the number of counters to be shown on top of the view pager. As you can see Now it’s time to make the counter to change the color or shape or anything to show us on which page are we in currently. To do that you’ve to setOnPageChangeListener() for your view pager’s instance. Place the following piece of code inside the OnPageScrolled() method

for (int i = 0; i < NUM_PAGES; i++) {
int id = VIEW_ID + i;
Button b = (Button) findViewById(id);
if (i == viewPagerPosition) { b.setBackgroundColor(Color.parseColor(“#00ff00"));
} else {
b.setBackgroundColor(Color.parseColor(“#0000ff”));
}
}

 

In this snippet I’m getting the ids myself which I know already then according to the view pager position i’m changing the color of the particular view which needs to be highlighted
Yeah we’re done. We’ve successfully added a view pager counter for our view pager. Please give your valuable comments. Suggestion are always welcome and sorry for the bad english : )

 

Grab this project on GitHub

View Pager Counter for Android