Category Archives: technical

Flip Cover v/s case v/s bumper

I dropped my phone earlier and decided to blame it on the flip cover. Why blame the poor cover?

covers

Flip cover – The most useless of all

  1. Flip covers get easily damaged if you fold them opposite side.
  2. If you don’t fold them on the opposite side, i.e. if you keep them open, your grip on the phone is pretty bad and the phone can fall easily if you are walking briskly.
  3. The flip cover does nothing to save your phone if it falls. The sides are exposed. The back and the screen would be protected, however because of the bad grip the phone would fall on its screen side.
  4. It is difficult to take pictures with a flip cover as you need to keep holding the cover.
  5. You need to open the phone to see the notifications.

Case -I like the cases very much. Its perfect with a screen guard. Be careful while selecting cases.

  1. If the case is hard, it will put scratches on the sides of the phone.
  2. One nasty thing about cases is that because of the way cases are designed, they pluck the screen guard off.
  3. Can cause heating issues.
  4. If your phone has NFC, the case can hinder with it.

Bumper – I have never used one. The idea is a good one and it would protect your phone as long as the phone falls on a flat surface. If your phone falls on gravel and the depth of gravel is more than the height of bumper, it is useless. Also, it doesn’t help from dust.

Type on android using adb, python gui

As explained in the previous post, I thought of writing a small program to allow me to type using adb shell.

I created a python single file application for this. Here is the code.

How to run:

python DroidKeysPy.py

This would open up the program which would display a message to select the adb

SelectADB

Click OK, which would display the Open dialog box where you would select the adb location

Select ADB

Finally, the message box will be displayed where you can type the message and send.

DroidKeysPy

You can select adb later.

Here are the links I had open by the time I had completed the program:

USB Debugging ON

Like I told in my previous post, my phone screen went completely black. I looked around the internet to find some software which would project my android screen onto my computer. I found this great software: Droid@Screen

Droid@Screen is a single jar application which means it works on Linux as well.  It uses Android Debug Bridge (adb) to connect to phone and project android screen to one’s computer.

But sadly this required USB debugging to be turned on and I had that turned off.  After several tries and taking several screenshots, downloading them using AirDroid, I remembered that I had installed App Lock and turned it on settings. I took nearly 50 screenshots to finally click select the USB debugging on. I attached some screenshots so that someone else may find it helpful sometime.

Screenshot_2014-03-17-22-31-11 Screenshot_2014-03-17-22-35-54 Screenshot_2014-03-17-22-36-09 Screenshot_2014-03-17-22-36-27 Screenshot_2014-03-17-22-37-03 Screenshot_2014-03-17-22-37-26 Screenshot_2014-03-17-22-37-41

After turning the USB Debugging on, I connected the phone using the USB to my computer. But as I shared earlier the phone fell in water and since then the USB port didn’t work properly. I finally got the phone connected properly and got Droid@Screen working. The trick was to plug in the usb to the computer partially.

The trouble now was how to type. I found the following to send text to the phone using adb shell.

$ adb shell input text this-is-a-text

but this allowed sending word by word. Space required the below

$ adb shell input keyevent 62

So I thought of writing a small program to allow me to type.

Greasemonkey

I have started working on a greasemonkey script. I tried using jquery but sadly the page I was working on doesn’t include jquery. Found this link which allows you to use jquery.

Later found out, it wasn’t required on the newer versions of greasemonkey which allows loading external js/css using @require. The mistake I was doing was: the @require tags are required between

// ==UserScript==
// @require     http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==

This is cleanly mentioned at the greasespot wiki here. That’s why the say read the manual.

Linux Mint

After using Ubuntu for about two years, I am moving away to Mint Linux. I am in the live boot from USB while the installation is proceeding in the background. That is the power of linux. However, it isn’t without glitches. Hit my snag first when trying to start with installation and it stuck at “detecting file system”. A quick search brought up this page, the problem seems to be with the partitioner in the installations software (Ubiquity).

I quickly fired the terminal. And went to root mode. (later realized this wasn’t needed.)

mint@mint ~ $ sudo su

then killed the ubiquity

mint mint # killall ubiquity

Then opened the gparted and formatted the partition I wanted and ran the installation again. And the installation was over before I finished this post.

P.S.: The terminal is amazing. See how when I was a normal user, the prompt color was green and once I became root, it became red. Simple but effective to tell you what you are – a dumb user or a root with the power to destroy.

Samsung S2 black screen

Dropped my phone on steps. Initially, it displayed 90% black and about 10% of the display was OK. However now, the display is completely black. Sadly to fix this I need a new LCD display which costs about $100. Wasting such money on an old phone is useless. So planning for a new phone. However, if you want to fix a similar issue check these out.

Youtube video 1

Youtube video 2

Also check ebay out for “samsung s2 lcd”

P.S.: I can still use my phone, guessing where what is. I sometimes take screenshots and download them using Airdroid or my usb cable to see what page I am and where the option I need is. I am getting pretty good at using the phone without display. I wonder how visually impaired use their smartphones.

Nokia, Microsoft & Android

What’s funny is Nokia was against Android since the start. They partnered with Microsoft instead. Now Microsoft goes ahead and buys Nokia just to launch an Android version of Nokia. What does this say about Microsoft’s confidence in Windows Phones.

Read this to know about the Microsoft’s strategy.

Read this to know about why Nokia said NO to Android.

 

 

Samsung S2 thinks its charging

My phone fell into the dishwasher the other day. Sadly there was some water at the bottom and my phone became wet. Its been acting funny since then. Doesn’t charge properly, battery drains very quickly, goes to driving mode, goes to dock mode, doesn’t stay switched off.

The answer is to clean the micro-usb port. And the best way to clean it is using the tooth brush. Finally I removed the battery and put the phone behind my laptop’s vent.

I opened up my phone for fun too.IMG-20140223-WA0000

 

Here’s all the videos I watched for this:

  • http://www.youtube.com/watch?v=Opl0498DAXk
  • http://www.youtube.com/watch?v=R6p0Eg-yq3A
  • http://www.youtube.com/watch?v=fFB5S-MWFL0

The articles that I read:

  • http://androidforums.com/samsung-galaxy-s2-international/372326-galaxy-s2-vattery-draining-quickly-randomly-going-into-driving-mode.html
  • http://androidforums.com/samsung-galaxy-s2-international/402840-samsung-galaxy-2-wont-turned-off.html

Play local videos on chromecast

These steps allow you to watch movies stored on your computer on your TV using chromecast.

What you need:

  1. Chromecast
  2. Google  Chrome
  3. Google Cast Extension (get it here)
  4. VidCast Bookmark (this is an awesome bookmarklet, read more here)
  5. Web Server (try this)

Point the server to the folder where all your movies are stored.

Change port number for web server to something other than 80. Neither port 80 nor 8080 worked for me. Port 20020 worked for me.

Open Google Chrome and go to https://dabble.me/cast/?video_link=http://<you ip here>:<port-like-20020>/<movie-with-extension>

Now suppose you want to run movie named mymovie.mp4

For example: https://dabble.me/cast/?video_link=http://192.168.1.17:20020/mymovie.mp4

Only formats listed here can be played.

Not working for you? Comment below.