Read SIM Mobile Number via DeviceInfo Reader

If you’re like me who have lots of SIM (Subscriber Identity Module) cards, most probably you will tend to forget what’s the mobile number of that particular SIM unless you always have their SIM jacket but still you have to manually mix and match in order for you to get the right SIM card to the right SIM jacket.

If you have a modem device that’s capable of reading GSM commands like WM66, MF627 that can support reading of mobile number then you can use this tool I created to quickly determine the mobile number of currently inserted SIM card on your GSM device.

DeviceInfo Reader
This simple tool will quickly give you basic information of your hardware device and if supported can also display SIM’s mobile number. Some GSM modem devices doesn’t directly support reading of mobile number.

UPDATE (10/13/2009):
I made an assumption that reading mobile number is device dependent but after I tested several SIMs on the same device, found out that it is SIM (telco) dependent. The SIM available for Smart is able to output its own number on any device whilst Globe Telecom and Sun Cellular SIMs do not directly support this feature. Maybe an exception can be made for Sun Cellular (by calling *#99# will actually gives you the number of the current SIM) but I want it programmatically! =)

front

Usage:
1. Just select a modem device on the drop-down list. This tool will enumerate all active modem devices on your computer.
2. When the Read button is clicked and device is supported reading a number, it will display the SIM’s mobile number
3. It will also display the current network and MNC (Mobile Network Code) on which the SIM is associated. And also the current received signal in percentage format.

If you’re in the Philippines and purchased a USB broadband dongle device from Smart (Models WM66, MF627) then you can use this tool to get your mobile number. I have tested this tool to the USB devices from Globe (Huawei E1552) and Sun Cellular (Huawei E160) and their modem devices doesn’t support reading of mobile number and Huawei specification for these devices are hard to find.

If your device do not support reading of mobile number, different result will be shown:

teltonika

Under the hood
To make this utility possible, some GSM commands were implemented to obtain the information needed by this tool.

GSM AT Command Set
AT+CGMI        Request Manufacturer Identification
AT+CGMM        Request Model Identification
AT+CGMR        Request Revision Identification
AT+CSQ        Signal Quality
AT+CNUM        Request Own Number
AT+COPS        Request Operator Code

Download: http://bit.ly/1UH6bW
Requires .NET 2.0 Framework.

I hope this tool can help people in some way.

Enter iPhone 3GS. A New Level of Experience.

Finally, I owned the fastest, most powerful iPhone yet – the iPhone 3GS 32GB.

I’d like to thank Globe Telecom PH for their speedy process (IMO) on their iPhone reservation. I did file an online iphone reservation on their site and after 2 days, walked to a nearest Globe center in Robinsons Galleria and file the reservation form for Plan 899. And the customer service representative named Marvin, who attended my inquiry said that I will expect a call after two weeks from the time of my sign-up, so roughly 2nd week of August 2009. And weeks passed by until last Friday, Marvin being lucky enough to be true to his word called up at my office and said that my unit is now available and can drop by anytime on their shop. Whew! what a nice weekend for me to finally get a hold of an iPhone, my very first time to literally touch this device!

So what’s the content of the package? Simple – An iPhone 3GS small box colored black and a black unit, a post-paid SIM card which is not yet activated and an iPhone 3GS paper bag.

So …

What I learned/discovered so far?
* …that the camera resolution is 2048×1024 in 3megapixel. But if you’re sending the image via the Send Photo, it will actually trimmed down to 800×600 resolution. To get the actual size on sending the photo, just open the photo, copy it and paste it on your email client, Presto! original file size and resolution will be sent!
* … that since my location is Philippines, if I detached my iPhone from iTunes PC and leave the location as is, the iTunes via iPhone will not work anymore, I can’t even open the main window to search for music! Error message says that my location is not supported! My only resolution to this problem is if I like to browse the iTunes on the phone, just change the location to United States and sync this info to my iphone. This will solve the iTunes problem but using this settings you cannot install any application from AppStore. So, just vice versa, leave it as is for your original location if you like to install an App via AppStore on your phone.
* … that to arrange my apps / icons, just tap and hold the screen until the icons start shaking indicating that you can now drag-n-drop icons into different places to your liking. Very slick and well-thought design!
* … that iPhone do not work seamlessly with a Wireless WEP connection on my Linksys router. I adjusted my security setting and moved it up to use the WPA2-Personal security type. No problems so far after this changes.
* … that the SIM activation is a 24-hour period and the iPhone needs to be restarted in order for the carrier to detect/refresh properly.
* … that installing an app on both PC and iPhone is the same, simple and intuitive.
* … that the iPhone 3GS Guided Tour video is true and all of the features are wonderful and useful.

What I recently purchased?
* Currently, out of curiosity, just bought the app for my daughter called Old McDonald via AppStore on my PC that costs $ 0.99. My daughter, Margrette, is very very happy on this app coz it allows her to choose from the list of animals that fit on McDonald’s farm. Simple yet effective and entertaining for kids.
* Purchased my Belkin iPhone cover for Php 1,200 at PowerMac Megamall and a CapDase screen protector worth Php 450.00 at digital Hub Robinsons Galleria.

What I already installed?
* TweetDeck – Being my default twitter desktop application on my Windows XP laptop, it’s natural for me to install this app on my iPhone since I am familiar with the interface, nothing changed, except the size. I really really like TweetDeck and considered as my top favorite for client product line for Twitter.
* 12cast – I find this app very useful as it allowed me to upload my videos and directly post the link as my twitter status! Very clever.
* TapTap Revenge – I’m starting to get myself addicted to this FREE game. Just like a Dance Revolution but using your hands instead of feet. Very very entertaining and makes my hands keep alive and functioning (arthritis safe?). What’s more cool to this app is the ability for me to choose my tracks or just download all available free tracks.
* Y! Music – Since I don’t find yet a Radio app to play radio songs, this app makes me listen to all kind of songs except that no Tagalog songs.
* Yahoo Messenger – Need to say more?
* Facebook – Even though I don’t have a facebook account yet, but soon I will, for now, only my wife is using this.
* AppGmail – The default Mail of iPhone allows me to add my GMail account but this one is cool in that it allows you to read mails fullscreen and more.
* FreeRSS – My RSS reader of choice or maybe I didn’t search for alternative?
* SabiNila – This app was created by a Filipino company, Vinta and caters all local news headlines, politics, business, technology, world and others powered by Inquirer.net. I salute the developers of this app, makes myself proud to be a Filipino by delivering their title name in Tagalog and even the background is the 3-stars of Philippine Flag.
* ZZips PH – created by www.applei.ph developers that caters a quick lookup of all zip codes and location in the Philippines. Graphics is simple yet attracted. Cool app!
* Others – mostly games and education related for my daughter.

What I like to do next?
* … maybe purchased more apps with $0.99 price tag on it! Doesn’t cost that much.
* … to Jailbreak/Unlock my iPhone before Christmas. Still need to get my hands around this device for a couple of months.
* … explore more on this device via programming utilizing the iPhone SDK which I already downloaded but not yet started on it. There’s a learning curve on this as I’m not yet very familiar with Cocoa Objective C language. Had a glanced on it but never really had the time to try it.

So, where’s your sample shots?

powermac_belkin iphone_babyandgreta iphone_greta iphone_greta_chair

Where’s the sample videos?
My video samples will be uploaded via 12cast and can be seen via my twitter status updates!

iPhone 3GS is my latest expensive gadget so far! And currently satisfied with it and starting to love every piece of information available on the iPhone 3GS. And I must say IMHO that although some people can afford this phone, this device is not for everyone. If you like this phone just for the sake of having it, forget it, this phone have so many things to offer if you truly believe that the cost of this unit is more than the cost of what you’ll gained.

Truly, a new level of experience is starting …

Windows 7: A New Experience on my Shuttle XPC box

Today, I just got a copy of Windows 7 Ultimate RTM and the experience of installing this fresh OS was full of excitement and joy.

Before I installed Windows 7 on my actual machine, I played it first on VMWare 6.5 and see if there will be problems especially on the drivers. Well, the installation took only about 23 mins configured as 1GB RAM, Dual Processor and only consumed roughly 8~9GB of hard disk space. I verified if all my hardware was installed via Device Manager and found no errors on it. Faster reboot, shutdown process is clean and an impressive User Interface, very sleek, uncluttered and clean. With the success of my installation via VMWare, I decided I go for a clean install of Windows 7 over my Windows Vista.

On my actual/physical machine, I have the following specifications:

Processor: Intel Core 2 Duo 3.40GHz
Memory: 2GB
Hard Disk: 500 GB

I reformatted my hard disk via the installation wizard and my D:\ drive remained intact, only my drive C:\ that contains OS specific files is the one that I made changes. I was amazed and pretty impressed on the speed of the installation process. It took me only 17 minutes to see my first Windows 7 desktop screen!

The lightness of the installation process is somewhat similar to Windows XP and the interactive way of it is much like of Windows Vista. It just took me 2 to 3 restarts and my only participation is when I needed to choose the language (1st step), entering my username and desktop pc name (2nd), assigning a password (3rd) and activation (4th). The fifth is after the last restart and the login box prompted me to input my username and password.

default_desktop

and by looking on my Task Manager, seems like a good sign

task_manager

The actual hard disk space used on the initial setup is only 8GB but since I installed Windows 7 on my desktop machine, I don’t need the hibernation feature of the OS. After issuing the command powercfg –h off to turn off hibernation feature, I gained an additional of > 1GB of hard disk space.

Initial Impressions:

* Start Menu

The default new utility that are shown on the Start Menu are: Sticky Notes (new) and Snipping Tool. I haven’t tried the Snipping Tool but familiar with the Sticky Notes utility. This is a cool addition IMO as myself is a notepad guy that writes any information fast via notepad and save it for later. With the Sticky Notes, I can create quick notes easily. NoteZilla have this kind of tool but it is a commercial product.

default_start_menu

One thing I noticed on Windows 7 is how it maximizes the usage of the Start Menu. For example, I opened and save several images on my Paint application. All these recently edited images can also be seen on the Start Menu as a cascaded items on the Paint application. Very very useful addition. Recent Items is not for My Documents anymore but for all applications as well that uses the MRU facility.

menu_link_subitems

* File Explorer

The File Explorer improves much much better than Windows Vista, it simplifies the notion of Personal Folders by Adding/Changing it to Libraries as the root node  Computer icon is not expanded by default and also the Network icon.

explorer

When navigating/clicking thru the Computer, Partition drives will be displayed. The new thing about this OS is when you traverse a directory and sub-directory on the right side, the left side is still displaying the root directory and it will follow your path only when you double-click it. Intuitive interface enhancement IMO.

And also, Internet Explorer 7 sports a little adjustment with the way the URL is visible. The actual name of the domain is the only one with a bright color, the rest is colored as grayish suggesting that the most important item to remember is only the name of the domain. This enhancement is now carried over on the File Explorer itself. If you are browsing a directory, the name of the file or the folder name are the ones with strong focus in terms of visibility as shown on the image below:

visual_difference

On the desktop, Microsoft realized that the most common thing that the user often do on the context menu is to access and change the screen resolution. Well, changing of Screen Resolution is now part of the context menu on the desktop, and more, they also added the Gadgets menu (noticed that the Gadget Sidebar is not loaded by default).

context_menu

Changing of screen resolution is also changed its look and feel:

screen_resolution

* Taskbar

The taskbars’ opened items are now seen as icons:

taskbar

But that’s not all, if you hover to one of your task items, a preview with nice transition effect will be displayed and allows you to close the application from the opened preview window!

What I did noticed and really caught my attention is the way Windows 7 focuses on the hovered taskbar item. When you open multiple applications and hover to any one of them, you will notice how Windows 7 deactivates other opened applications by making a transparent/translucent effect and only the edges are visible to mark the location of each opened apps:

transparency

But wait, the most useful addition on the taskbar itself is the Show Desktop function! You can minimize all and show your desktop by clicking vertical bar on the right-most of your Taskbar! Very impressive functionality enhancement!

show_desktop

Recently I blogged about a tool called Taskbar Shuffle that allows you to drag the taskbar item and position it to your liking. I’ve been using this tool on my Windows XP and Windows Vista boxes coz this functionality is not native to these OSes. And now, Windows 7 team thinks that this functionality is worth to be added on the OS and now, I no longer need the Taskbar Shuffle coz Windows 7 is already doing this to me!

* Re-engineered MS Paint, New Look, New Feel

I thought MS Paint will never change the way it was since Windows 95. But to my surprise, the new look and feel of MS Paint makes me do more of my basic image editing on this nifty little app! Just like the UI of SnagIT version 9.

mspaint_new_look

and now, it can save PNG files too! In fact, all of these images were captured via Print Screen and pasted it on MS Paint, Save As PNG images one by one!

* Calculator

Even this simple tool is also improved its functionalities. It added many functions based on your computing needs. Let’s say if you’re studying engineering or involved in a computer computation, you can perform such task by using the MS Calculator. Impressive eh!

calculator

* Others

- PowerShell is now integrated on the Windows 7, running this via console by typing powershell will change your current command prompt:

powershell

- I like the transition effect for changing a wallpaper, just like previewing an image on an Image Gallery!

- HomeGroup is also new to me but haven’t tried it on my home network.

Surely, i haven’t seen all the beauty and wonders that Windows 7 offers to the users but as far as my initial impression, this OS will surely be the best alternative to Windows Vista and to all folks using Windows XP that are afraid of switching to the new OS, you will miss what Windows 7 can offer you.

Along the way to my journey on this new OS, I will be writing it all down to this blog.

Philippine Price is roughly 15K for Windows 7 Ultimate.

Some sites that I find useful:

Windows 7 Related Forum
http://www.sevenforums.com

Windows 7 Tweaks:
http://www.intowindows.com/category/windows-7-tweaks/

Windows 7 Theme Pack
http://www.intowindows.com/download-14-awesome-windows-7-themes/

WD TV and embedded systems

Last week, I bought my new hardware gadget, WD TV, an HD Media Player that supports almost all famous codec available for audio and video. Basically turning your USB based storage into an HD Media Player!

As I tested it on our home, I must say that this slick baby is so cool and that I don’t even need my DVD player or my laptop to watch, listen and view all my media wd_tvfiles, it does the job pretty well. Tried playing the AVI/XvID video files and amazingly the quality of the video is so clear and crisp giving my daughter more time to watch SpongeBob series on our TV screen. The high compression MKV files also gives vivid screen output but just noticed that the sound is not that loud, I have to set the volume to 15 – 17 for the normal sound. I also like the menu system especially the Vista-like animation on fading-out, slick!  What I like most on this hardware is the ability to upgrade the firmware versions to support even more codecs and other bug fixed. I just wish they soon include a customized theme to change the way the interface looks.

Overall – Impressive hardware and design.

Truly, embedded systems has gone a long way that makes our devices, equipments work smarter and better. Just like existing routers today that embeds tiny web server to access/configure/upgrade versions and settings and tweak your way to perform even better. WD TV uses an SQLite database to handle files and playlist found on your USB Hard disk (hidden). I wish DVD players also created this way to allow home users upgrade their firmware and menu systems.

If you do not have this hardware yet, I highly recommend buying this one now.

See WD TV Official Website

SQL Server 2008 Express installation problem

I would just like to share my take on installing and trying the new version of SQL Server 2008 Express Edition. Before you even begin installing the 168MB file, you must make sure you have Windows Installer version 4.5 on your machine. So you will need to download and install the ~3MB Windows Installer. A restart is needed before you actually begin your installation proper! Whew!

The setup proper of SQL Server 2008 sports a new User Interface that gives you plenty of options to choose. Since I already have my SQL Server 2005 Express Engine and Management Studio 2005 Express installed, I did try to choose the Upgrade option but I ran into problem and asks to select the Features I’d like to install but apparently, I cannot select any! I don’t know what causes that problem so I just hit Cancel and select the “Install New Server…” as my last option. I thought installation of SQL Server 2008 Express is a breeze even if I already have SQL Server 2005 but I was wrong! The installation process requires you to uninstall SQL Server 2005 Express Tools. You cannot (Next button is disabled) continue without doing so. If you will go to your Control Panel/Program Features, you won’t find anything there that says Express Tools, the only way that it did work for me is by uninstalling the SQL Server 2005 Management Studio. And after that, you will see similar image like the one below indicating that you are ready to go for a smooth installation!

sql2008

Reclaim your ~400MB free space in Vista SP1 32/64bit

If your Windows Vista recently been upgraded to SP1 or you already purchased/installed a Vista SP1 version, then maybe you didn’t know that the files being used by SP1 is being kept on your local hard drive. This is because Windows thinks you’re just testing the SP1 patch and allows you to revert back whenever you like.

For most users, installing SP1 of Vista is equivalent of updating an Antivirus DAT file and we really don’t care at all reverting to the old version, are we? But for driver installation, that’s a different story.

In order for us to recover at least ~400MB – ~600MB hard disk space allocated for unneeded files and make SP1 permanent, we can clean up the disk space used during SP1 installation. To do that, just:

1. Click on the Win + R
2. type vsp1cln
3. A command-type window will appear as shown below.
4. Click Yes and wait till the window automatically closes.

vista_clean

Now, your disk space has been increased! Great!

Enter Twitter, my first Social Networking experience

While many of us are into this thing called “Social Networking” when it first boom-in via Friendster, Multiply, Facebook, MySpace, etc, it haven’t appeal so much to me to join with these social networking because maybe I don’t have a purpose to do so. But recently, I’ve decided to swim with it via Twitter. What made mtwitter_bluy mind decide to join twitter rather than Facebook/MySpace? Simply because the usage is very specific without the much bloated features found on other social networking sites. I just wanted to keep track of the people I like on what’s happening to them and vice versa, I like them to know what twitter_wittyIm doing. Twitter does this very very efficiently and superb I must say. Their website is so neat yet powerful!

Other than simplicity, also because Twitter have a public API that can be used to create my own Twitter based application using C# or any other languages out there. It’s very comprehensive and Open Source libraries are already been created that leverages the power of TwitterAPI. One that caught my attention is TwitterLib, an open-source library for C#/.NET which you can use to develop Twitter application. This is great I said and I can create my own GUI for my desktop that I can update my twit message as often as I can. And then I found this lovely gem, Witty, an open-source WPF-based desktop application that leverages the TwitterLib. This is a great application front-end for my Twitter experience and it made me more hungry to update my tweet every now and then because this application is only sitting on my system tray and updates automatically when there’s a new tweet, I don’t even need to go to the Twitter.com website just to see if there’s a new tweet message!

And tonight, my tweeting experience is getting much cooler with this new found astounding UI called blu developed by thirteen23.  I’ve never seen such a user interface that is so great, so clean and so Vista like experience! Surprisingly enough, they also using TwitterLib with some custom made tweaks.  What I like with this cool UI is the effects and the way they presented the functionality of their controls like message counter that sits on the background like a faded color but updates itself upon typing, pretty slick design indeed! And also the automatic TinyURL transformation of my long URL works on-the-fly! Try it now for yourself and experience a new level of tweeting with this killer desktop twitter application.

Follow me on twitter: www.twitter.com/earljon

Reference Links:

* TwitterAPI
* Witty and TwitterLib
* blu

VS2008 Plugin: Smart Paster and CopySourceAsHtml

While reading Arcane’s blog, I found these 2 cool AddIns for Visual Studio:

1. Smart Paster (Source code available too)
2. CopySourceAsHtml (No source code)

copy_paster

To install VS 2008 Addin:

1. Extract the zip file, for Smart Paster, binaries are located in SmartPaster2008sln\SmartPaster2008 Solution\SmartPaster2008\bin
2. Copy/Paste the files in /bin folder going to your C:\Users\<user-name>\Documents\Visual Studio 2008\Addins
3. Fire up your VS2008 IDE and verify/check your AddIn if it’s installed via Tools/Addin Manager:

copy_paster_addin

Both will get you more productive in coding.

Enjoy!

VS2008: Unrecoverable Build Error when creating a Setup/Installer project

Have you ever experienced getting this error on your Visual Studio 2008 when Building a setup project?

Solution:

Just go to your command prompt, and register ole32.dll on your machine like:

   1: regsvr32 ole32.dll

This solution solved my problem.

Simplify your IM experience with Pidgin

Although I already heard of this Instant Messaging application (much like Trillian) since 2006, I haven’t actually tried to install and main_ui use this, mainly because I seldom use multiple instant messengers in my PC. I still prefer to use Yahoo Messenger over MSN IM. But the world of Instant messaging changed and improved a lot. Once noticeable improvement is the ability for collaborating/integrating all your accounts and just use a single Messenger! Big players already started this and the response is really really good. I can now use and see my contacts from other messengers like Yahoo, MSN, etc.

So why do I use Pidgin instead of those already available? Answer: Simple yet powerful.

Simple and intuitive interface makes me feel at home. Multiple messenger protocol supported which I think a very powerful feature. Imagine communicating your Sametalk contacts to GTalk contacts! And also the best feature is the tabbed approach for conversations.

conversation

I’m very very happy using this as my default Instant Messaging application.

Pidgin is distributed as Open Source so you can extend the functionality whenever the need arises or you can just collaborate to other developers to make this application every better.

Learn more about Pidgin at http://www.pidgin.im/about/