Friday, January 4, 2008
Recently i was in a nasty problem. Whenever i started my emulator it was showing some error message and said that it could not start this/that. And whenever i wanted to access contacts it was showing exceptions. So i started to do what i do, that is googling.
After some googling i decided to remove all the applications installed in my emulator. And that was very easy too. After erasing it all worked well.
Now how to erase those apps,
Go to the home directory of your android sdk through command prompt. Then go to tools. Then in command window type "emulator -wipe-data" and press enter. This will remove all the datas/apps installed in emulator. It solved my exception problems.
How to erase single application from command line:
First,make sure the emulator is running.Then follow below steps:
1. go to tools directory in command
2. adb shell
3. cd /data/app
4. ls (It will display all the .apk installed in your emulator)
5. rm ***.apk(which you want to remove)
6. exit
Check this link
Here is a good article on how to launch an activity during startup of the emulator
launch on startup
You can test the startup by going to the home_directory_of_android_sdk/tools/ then run the emulator.exe, you will see your startup application running after loading the emulator.
Tuesday, August 28, 2007
Yesterday including today was a bad day for me. I was coming back home from office. It was about 8pm. I was crossing dhanmondi 27 after shatmasjid road. Suddenly or slowly a rickshaw came and blocked mine. Then as usual wanted money and told me not to shout. They took my mobile but returned the sim on my request. But they took all money in my moneybag except 13 tk and paisas. This was my first experience. I think not the last.
The story is not over yet. I came home and ate and started to dream. And when i woke up in the morning i found my baranda empty which was full of clothes at night. Good morning robbery.
So it was a bad day for me. I don't know what will happen next. Man, Be careful in the streets.
Monday, August 20, 2007

I am bad mostly
they say that some parts are good
but i think that i didn't tell the truth always ,tried
to prove myself good, which actually was not :)
Extroversion:
You have medium extroversion.
You're not the life of the party, but you do show up for the party.
Sometimes you are full of energy and open to new social experiences.
But you also need to hibernate and enjoy your "down time."
Conscientiousness:
You have low conscientiousness.
Impulsive and off the wall, you don't take life too seriously.
Unfortunately, you sometimes end up regretting your snap decisions.
Overall, you tend to lack focus, and it's difficult for you to get important things done.
Agreeableness:
You have high agreeableness.
You are easy to get along with, and you value harmony highly.
Helpful and generous, you are willing to compromise with almost anyone.
You give people the benefit of the doubt and don't mind giving someone a second chance.
Neuroticism:
You have high neuroticism.
It's easy for you to feel shaken, worried, or depressed.
You often worry, and your worries prevent you from living life fully.
You tend to be emotionally reactive and moody. Your either flying very high or feeling very low.
Openness to experience:
Your openness to new experiences is medium.
You are generally broad minded when it come to new things.
But if something crosses a moral line, there's no way you'll approve of it.
You are suspicious of anything too wacky, though you do still consider creativity a virtue.
You can try to here
Sunday, July 22, 2007
First add a data grid view to the form
then go to the code file
on a buttons click event add the following code
U need to add the header named
using System.Data.OleDb;
private void button1_Click(object sender, EventArgs e)
{
OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\test.mdb;Jet OLEDB:Database Password=password");;
String queryString ="select UserID from UserTable where USerID > 2";
OleDbDataAdapter da = new OleDbDataAdapter(queryString, conn);
DataSet ds = new DataSet();
da.Fill(ds, "UserTable");
dataGridView1.DataSource = ds.Tables["UserTable"].DefaultView;
}
that's it. U r done. U can now add your custom query and use the data grid to show your results.
Enough for today. :D
Some links
http://www.codeproject.com/csharp/UsingDataGrid.asp
http://www.google.com/search?q=c%23+show+data+in+a+datagrid&btnG=Search&hl=en
http://www.c-sharpcorner.com/UploadFile/mahesh/DataGrid11282005234057PM/DataGrid.aspx
Friday, July 20, 2007
i made the decision let's see is it right or wrong
Saturday, July 7, 2007
I am living at my brother's place for one week, but it seemed that I have left the hall for a long time, time goes slow here, last Friday I came to this place. Bought a freeze today :). All my salary is gone . Let's see what happens next. Am a bit tensed about some decisions. Gotta go

