Friday, May 4, 2012

How to disable/Enable 3G on your Samsung Omnia W


How to disable/Enable 3G on your Samsung Omnia W So in my Samsung Omnia W Windows phone, it defaults to 3G out of the box and there is no visible setting to change it.
If you like me, don’t really want to switch to 3G and would rather prolong the life of your battery, here is what you need to do:
Go into the phone dial mode.
Type: ##3282#
If the screen does not change to “field test”, tap the dial button.
On the next screen which opens up, pop up the settings options from the bottom of the screen via the … button.
Tap settings
In the Network type, select 2G only
Hit the back arrow and go to your home screen.
Your phone will now work on the 2G network and consume lesser battery.

Thursday, May 3, 2012

Objective C Programming


Script to compile and run a obj c file in GNUstep Shell in windows



gcc -o $1 $1.m -I /GNUstep/System/Library/Headers -L /GNUstep/System/Library/Libraries -lobjc -lgnustep-base./$1


save this as r.shthen run chmod 777 r.sh from the shell

then copy the file and place it in the bin folder of GNUstep

then to run a file type: r.sh MyClassand get it running