Rss

Browse UoM VCILT(LCMS) Website Faster with OpenDNS

Lots of you must have had problems to access the VCILT website or other UoM (University of Mauritius) websites on the campus through Wifi or even in computer labs. Sometimes the server is really down. Otherwise it is the university’s DNS server that is failing to translate the URL into an IP address. I won’t go into the technical theories in this article. Follow this guide to bypass the UoM’s DNS servers and use OpenDNS’s servers instead.

Linux (KDE Desktop):-

1. Open the KDE Network Manager.

2. Edit the uomstudent connection.

uomstudent with OpenDNS

3.  Change method from “Automatic (DHCP)” to “Automatic (DHCP) addresses only”

4. Add these 2 IP addresses in the DNS servers box: 208.67.222.222, 208.67.220.220

5. Save and you’re done :)

Android:-

1. Go to settings >> Wi-Fi

2. Long press “uomstudent” then select modify

3. Enable Show Advanced Options

4. Change IP settings to static. The IP address shall be filled automatically

5. Scroll to the bottom where you’ll find DNS 1 and DNS 2 and add these 2 IP addresses: 208.67.222.222, 208.67.220.220.

6. Save and you’re done :)

Modify uomstudent uomstudent additional option

uomstudent with OpenDNS

NOTE: This method is not actually “hacking” into the system. It is totally safe and legal to do it as far as i know ;)

If you know the steps on Windows 7 and Mac/iPhone/iPod, feel free to send me the procedures. It shouldn’t be much difficult :)

Switching to Google Chrome from Firefox

Mozilla Firefox was my first <3. I wanted to be loyal to it my whole life. Yesterday i tried Google Chrome Mobile. I was amazed by the speed, tab switching and overall browsing experience:

To open a new tab you just press the + button. To close a tab simply swipe it left or right. Amazing!

Google Chrome Mobile Tabbed Browsing

At work, i was having 400 Bad request page when navigating through a router’s admin panel while using Firefox. We thought the router was not good. But the panel works fine under Google Chrome. Guess Chrome is simply more mature than Firefox. It has been receiving more attention recently and therefore more bugs are reported.

Switching to Chrome was not a difficult task at all. Signing in and then importing my data from Firefix is done in a single click.

Importing Firefox data into Google Chrome

And now, all my bookmarks, password, history have been synced with my phone automatically.

Long live Google Chrome ;)

P.S. I still love you Firefox :-/

Making My First Android App: Mera Calculator

Made a tiny calculator in a jiffy. Nothing fancy in here to see. Just seeing how the platform works ;)

Mera Android CalculatorMaking the interface:-

Adding Buttons:-

All you have to do is drag the item you want to the specific place you want them to be like in VB.NET

Android SDK on Eclipse User Interface

Adding function call to the buttons:-

Switch from the graphical view to xml view. Add this attribute in the buttons inserting the name of the function to be called.

XML view of Android buttonI added this attribute in all buttons.

Writing the Back-End:-

The number button handlers:-

Now we create methods in java file found in /src folder. Each button when pressed will concatenate the number or arithmetic operation they do and display it in a TextView named “textView1″.

The calculate function:-

We get the string in “textView1″ and try to parse it in a function to get a result. The result is then casted as string then the TextView which will display the answer finally displays it :)

The program is very buggy and cannot calculate e.g. + and – at the same time. But at least i got a program running in Android :P

Here are the source codes. The .apk file is found in bin folder: MeraCalculator

Android gingerbread doesn’t have an option to choose snooze time?

Seriously, what the hell. Nokia 3310 does have this option. My phone snoozes at 10 mins.

image

It is really inconvenient. It makes me lose lots of time in the morning in case i don’t wake up on the first alarm.

image

I can continue to press the snooze button for 1.5 hours in the morning :-(

Default Android Music Player (Samsung Gingerbread)

It’s been several weeks since i own the Samsung Galaxy Pocket GT-S5300. It is an Android Gingerbread 2.3.6 phone.

The sound from the 3.5mm output is very clear even on high volumes. In this review I’m gonna focus on the stock Music Player.

Once you open the app, you’ll see 4 tabs namely Artists, Albums, Songs, Playlists. One thing to note here is that it loads damn fast despite i have about 10GB on the phone. This is because Android indexes all medias on the phone during boot time.

imageimage
imageimage
The tracks in the Songs tab are list in alphabetical order w.r.t. the tracks’ Title. On my computer, i usually sort by tracks’ Artist then Album Year. I feel lost in the playlist due to this fact. It would be cooler if we could manage the sorting order.

Searching through a playlist
It can be a very annoying task to scroll the long list on songs to play a song you have in mind. I thought the music player didn’t have a search function at all but after doing some experimentation, i managed to trigger the search function. You have to long press the Menu button.

image

The downside of this is that it opens the song in a new empty playlist. When the song’s over, you’ll have to manually play another song. It would be awesome if a “Filter” option was available.

The Main Screen

imageimage
imageimage
To change songs, you can touch the buttons or swipe the screen left or right. When you swipe upwards, the title and the buttons disappear do as you can view the album art fully.

Some inconveniences:-
When you press the “Back” button, the song would restart even if it played only about 0.2 seconds. You’ll have to press the back button twice very fast.

When you left swipe the screen on the player, it goes back by 2 songs. Better use the buttons instead :S

Screen features
Touching the song Title allows you to search the song on the internet or on YouTube. This can be very convenient if you want to get the lyrics or view the music video.

imageimage

When you press the menu button, you have the options shown in in the screeny below.

imageimage
Deleting a song
Another song with a similar title will be played as you delete a song. That means if you have duplicates or different versions of a same song, you would be able to delete them right away ;)

The settings
I found it a little too basic. I was expecting an ID3 tag editor to edit mis-labeled song title/artist or album name. Sure there are applications from the play store to do it but it would be more convenient if it were built it.

Party Shuffle
It activate the crappy shuffling style which almost all linux music players use (except JuK). See here for more details

Part 2
Now that we’ve explored the payer itself, let’s discuss usability now.

You can change the song playing anytime by staffing the notification bar when the music app is minimized. Pressing the album art will open the player itself.

image

Using as a stand-alone music player
Here comes the real annoying part. The player doesn’t has a lock-screen applet or a third party applet which allows you to change tracks without having to unlock the screen.

I tried to use other music players which had lock-screen widgets but they on the other hand would not allow changing tracks from the Status Bar. I guess it’s an API limitation for Gingerbread.

image

Recently, i finally found a solution to this problem. I used the GO lock screen widget which finally worked. I’m soo glad about this. If you already have this installed and it did not work, make sure you selected “alternate mode” for music controller in the settings.

image

BUG:  When you press back button, it still plays the next song. :-/

Conclusion
It’s awesome! Wished a lock screen widget would be shipped by default instead of having to use GO lock-screen

Annoying bug in Facebook Calendar for Android

image___image

Android syncs your Facebook events into your phone calendar. It’s awesome! Except the fact that it doesn’t hide the events you declined despite it has a setting for it.

I googled the issue. Lots of people experienced this. There is no fix for it. Hope the devs fix it. But i guess Android 2.x is no longer developed as Android 4.x is the “star” now.

:-\

Stream Movies from your PC (Linux) to your Android

Wanna watch or copy a movie found on your Computer directly from your Android phone? Here’s what to do.

Setting up share on your PC (KDE Linux)

1. Right Click on your movie folder.

2. Go to Share > Share with windows. Give only yourself the right to access the files for security reasons.

Setting up your Android phone

1. Download and install Es File Explorer from the Play Store here.

2. Open the newly installed App.

3. Swype your fingers from Right to Left on the screen. Make a new scan.

>>>

4. Press the IP of your PC. Long press on the movie folder then Add to server list

>>>

5. Go back to the server list,  Edit the one you’ve just added and insert your Username and Password.

>>>

6. You can now view movies stored on your PC. Tap on them to play

Enjoy!!!

NOTE: You can now copy films to and from the Mobile using WiFi. Just play around :)

 

Android Swype input

This is le Me trying Swype input on my Android phone. I didn’t think it would be that easy and accurate.it’s really worth it.

image

To activate it, go to Menu > Settings > Locale and text > Select input method > Swype.

image

Enjoy!!! :-)

UoM WiFi worked fine with my Android

All i had to do was to connect to the uomstudent network and i fill it with my WiFi username and password. And it connected just like iPhones and iPods do :-)

image

image
I will therefore NOT get Orange’s sucky internet plan nor switch to Emtel or Chili.

Long live WiFi at UoM :-D

Results: How much data Android eats on standby

I had made an experiment to estimate how much data Android consumes on idle. The results are now out!

I lent my sister the phone today as she needed it for school. So i took the reading earlier at 07:30.

So, for 8hrs and 30 mins, my money went from Rs 22.20 to Rs 20.84 i.e. Rs 1.36 (453KB)

Here’s the extrapolated costs:-
1 hr: Rs 0.16 (53KB)
1 day: Rs 3.84 (1MB)
1 week: Rs 26.88 (9MB)
1 month: Rs 107.52 (35MB)

Assumptions:-
- You will be out all the time.
When you are at home, you would be connected to WiFi therefore it won’t be reflected on your bill
- No browsing or other manual Internet tasks were carried out.
In real life, you’ll be browsing the net occasionally, checking Facebook, reading emails etc.

Conclusion:-
It is a very bad idea to let your Android Internet on while you are out. It is recommended to deactivate data network whenever you don’t need it.