Thursday, July 8, 2010

How to improve iPhone AT&T reception in California? Turn off 3G

About 10 days back, I moved to California with a lot of new dreams. This place is just awesome :D. But I gotta admit, I realized that the signal reception of AT&T is pretty bad in California, especially in crowded cities. I could never receive phone calls or even missed calls. I had to rely on voice mails or google voice number to get connected.

This forced me to find ways to seek better signal reception and voila I found it. Most Base Stations are installed with 3G equipment to support the enormous about of traffic on their AT&T network. But, there might be other 2G/2.5G base stations near your house.

The simple solution is to turn off 3G if you're at home. One can use the Wi-fi as an alternative to access emails. This is how you do it.

Step 1 : Home > Settings > General > Network > Turn off "Enable 3G".
Step 2 : If it helps, turn off Cellular Data, but it is not needed.

If the iPhone fails to pick a new base station, turn off and on the Airplane mode to find new base stations.  You'll find the Airplane mode under Settings.

Enjoy!

iPhone iOS 4.0 Upgrade slows down 3GS? Learn how to improve the performance

A few weeks back I upgraded my iPhone 3GS with the latest iOS 4.0 version. Initially it was uber fast and I enjoyed the new additions, especially multitasking. Now, I can keep my RunKeeper app and also work on other apps while I'm walking/jogging/running.

But, over the last few days, it has been very slow. It was painful to even compose a simple mail and to read emails. The solution I found is very simple.

1. Open the multitasking taskbar by double clicking the home button. (Pic1)
2. Click on the icons for a few seconds before they start shaking. (Pic2)
3. Close the apps which you no longer need to be running in the background by clicking on the red - (minus) sign on the left top corner of the icon. (Pic2)
4. After you've closed all the applications in the background, delete all the unwanted songs/videos in your iPhone using iTunes.



Hope that helps!

Wednesday, June 23, 2010

Earthquake in Canada and East Coast?

My friend just broke the news to me that he felt an earthquake in Canada. I'm starting to see twitter messages about the same.

Toronto and parts of Canada and the entire east coast of North America felt the quake.

Awaiting reports!

Hope it has nothing to do with 2012 and wish there were no causalities.

Update 1 : Cleveland. New York. Toronto. Montreal. All felt it and are reporting it via twitter. Cell phone network is busy.

Update 2 : location at Ontario-Quebec border region, Canada. Magnitude 5.5

Source : google.com

Update 3:  Wikipedia already has an entry - Click here
Update 4:  CNN, yet to report as breaking news. Though there are updates on Twitter, it is yet to become a trend. Sad that Vuvuzela has a place in the top 10 twitter list. Someone please ban that thing!
Update 5: News Update - Source
There are reports of unusual ground shaking in various parts of Ontario and Quebec, including Ottawa, Toronto and Montreal. The Toronto newsroom of The Globe and Mail shook just before 1:45 p.m. EDT. The Ottawa newsroom was evacuated at about 1:43 p.m.

Twitter users as distant as Springfield, Massachusetts and Traverse City, Michigan reported feeling tremors. A Globe reporter in Montreal said that city also shook.

The earthquake rattled buildings in Ottawa, where the streets are crowded with office workers who evacuated their workplaces.

An eyewitness saw items flying off the shelves at a pharmacy in Gatineau, QC.

“We felt the building shake. It was actually it was pretty serious. It was definitely the strongest quake that I ever felt,” said Dennis Choquette, a Globe and Mail online editor based in Ottawa.

The shaking lasted about 15 seconds, Mr. Choquette said.

The severity of the earthquake is not yet known. It is not yet known whether there have been any reports of injuries.
Update 6 : News - Source
There are reports a minor earthquake shook buildings across upstate New York and into Canada and Vermont. There are no reports of any serious damage.
Update 7 : Details about the earthquake confirmed by the seismologist. Source.

iPhone OS 4.0 upgrade - how to turn off archive in gmail settings?

After the upgrade I couldn't delete emails anymore. I could only move them to trash. While I checked the settings I noticed that the archive feature was automatically ON. So, I decided to turn it off.

Home screen -> Settings -> Mail, Contacts, Calendars -> Select the account -> Archive Messages.

Turn if off as shown in the picture. You'll be able to delete your emails now ;o-)

Monday, June 21, 2010

Fix for iPhone 4.0 OS upgrade and google account sync problem

Just a few hours ago, the iPhone 4.0 OS upgrade came out and many were complaining that the upgrade had removed their contacts and events synced with their google accounts.

The fix is very simple. I read it in one of the support pages and the idea isn't my own.

Disclaimer: This is just a guide. The user should be responsible for the settings he/she chooses. I highly recommend taking a backup before proceeding. In the event of loss of emails, contacts and other critical data the backup can be used. 

FIX : Connect your iPhone to iTunes and click on the "Info" tab.

Proceed by using the image as a guide to check the various configurations as shown below. You might have to careful when you make selections while configuring the accounts. iTunes would probably throw some error/warning messages. Read it carefully. Choosing the wrong options might lead to loss of data.

Do ask if you have any questions, the comments sections is open. Good luck.



Saturday, March 27, 2010

Bubble sort implementation in C


#Author : AgnelCodes
#include <stdio.h>

#define MAX 5
#define true 1

//Define the methods
void sort(int*);
void printarray(int*);
void swap(int*, int*);

int main(int argc, char* argv[])
{
int array[MAX] = { 50,40,20,60,100 };
sort(array);

}

void sort(int *ptr)
{
int swapbit=0;
while(true)
{
int i=0;
swapbit=0;
for(i=1;i<MAX;i++)
{
if(*(ptr+i-1)>*(ptr+i))
{
swap(ptr+i-1, ptr+i);
swapbit = 1;
}
}
if(swapbit == 0)
break;
printarray(ptr);
}
}

void swap(int *ptr1, int *ptr2)
{
int temp;
temp = *ptr1;
*ptr1 = *ptr2;
*ptr2 = temp;
}

void printarray(int *arrayptr)
{
int i=0;
printf("nThe values in the array are :n");
for(i;i<MAX;i++)
{
printf("n%d : %d",i,*(arrayptr+i));
}
}

Tuesday, March 2, 2010

Reduce programs memory requirements

"Reducing a program's space requirements also reduces it's run time" -Jon Bentley