Tuesday, October 18, 2011

Accessing windows phone 7 (WP7) contacts through c# programming



Does anyone know how to access contacts list in WP7 ? this is the questions i came across in many forums and websites and recently i myself came across this situation shortly and came to know that microsoft has restricted access to the Contact API's, calendar, Camera etc to the third party application developers though i really don't know why microsoft had hidden such an important APIs from the developer since most of the mobile development works revolve around accessing phone contact for many purpose.

Do microsoft open the API's to public? really don't know but Microsoft is planning to release "Mango update" SDK this month 26th and it is said that more than 1500 API's are exposed in this SDK release to acces contacts, calendar etc etc but no one really knows to what degree.

is there any way to access contacts now? the answer is no but we can get partial information of contacts using "SavePhoneNumberTask" which has a property "PhoneNumber" with which you can access few information of contact below is the sample code

First of all include name space Tasks

using Microsoft.Phone.Tasks;

and below is the function to retieve contact list

private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
{
SavePhoneNumberTask savePhoneNumber = new SavePhoneNumberTask();
savePhoneNumber.Completed += new EventHandler(savePhoneNumber_Completed);
savePhoneNumber.PhoneNumber = "1987654320";
savePhoneNumber.Show()

void savePhoneNumber_Completed(object sender, TaskEventArgs e)

{
view sourceprint?

MessageBox.Show("Phone Number Saved");

}
Though this method calls the phone contact screen and then add the contact one by one, but this is not straight forward way to it since API doesn't allow to save contacts without opening contact list screen any way above method is crude and its better to wait until Microsoft releases "Mango SDK" for windows phone development.

Monday, October 17, 2011

How to get google plus invititation OR what is google plus


What is Google+ (Plus)?

Google+ (plus) has become Google's answer to Facebook. If you have been under a rock and haven't quite heard yet, Google has really created a few new additions to its product line. The company launched Google Offers a few months ago which will compete with Groupon and LivingSocial. They are also adding pay for videos to YouTube so I really think Netflix is next. The most recent addition to their product line, Google+, is meant to replace Facebook.
Here are a few of the features that set the Google+ project apart:
Circles: Instead of announcing posts to everyone on Facebook, you can create different social circles so that it will be harder to accidentally tell your grandma you drank 7 shots of whiskey the night before.
Hangout: The chat option on Facebook has always been kind of awkward. In the Google plus hangout, you can let others know you are open to chatting online by visiting the hangout section.
Instant Upload: You can set it up so that all of your photos and videos upload automatically to your own private Google+ folder and then you can share the links to the photos or videos to select people. I would strongly discourage anyone to have their photos and videos automatically upload to any place on the Internet.
Sparks: With Sparks, you tell Google the things that you think you might be interested in and they will send you links to things you might want to watch or read. This is kind of similar to Google Alerts but less complicated.
Huddle: This is like a chat room. You can have a group of people meet at once. This might be able to replace Twitter parties in the future (which I've always found too complicated).
After exploring Google Plus, I think this will be more business friendly so that businesses (and their salespeople) will have a better way of communicating directly with customers. And since there is the huddle option, businesses will be able to hold chat sessions. I could see this as a way to connect customers with celebrities that may be representing their products.
I am not sure how contests can be ran yet on Google Plus but I imagine that Google will create their own contest program or link the social network program with a third party add-on.
I think Google Plus is going to be the way to connect most of Google's products together. For instance, when you sign on you are able to move people you've emailed in the past to several different groups like family, friends, following, or acquaintances. In the future, you will probably be able to click a friend to call them using Google Voice. In other words, Google Plus may become almost the only place you visit on the web. (Screenshots below)

How to Get a Google+ (Plus) Invite

This is the tough part. Google opened their program for a short period of time and then maxed out on the number of users after about 48 hours. You have to be invited to test out the Google+ Project. Here are the ways you can get an invite:
Comment Below: I have a few invites available. Comment below with why you want an invite.
Ebay: Many sellers say the invites will be delivered instantly. In all cases, you should review their feedback before purchasing anything from a seller to make sure they are legit. EBAY Google Plus Invites
From a Friend: Make an announcement on Facebook and Twitter to let everyone know you are looking for an invite.
Get on the List: There is waiting involved with this method. You can request to be notified by Google when they open Google Plus to more people. Here is the link:Google Plus Notification

Circle Group Options for Friends

my first blog

hi friends this is my first blog and i am confused how to use a blog 

Put your name after Time in Taskbar

Trick to Show Your name after time in taskbar... Try this trick to add up ur name in place of AM and PM beside time Its simple Step-1:- Navigate to -> Start -> Control Pannel -> Regional and Language Option -> Click on Customize -> Go to TIME Tab -> Change AM symbol and PM symbol from AM and PM to your name -> Apply -> Ok ... Did It change? If not, follow step-2 below. Step2:- Now go to time in taskbar and Double Click it to open "Date and time property" ...Look place where time changes in digital form i.e. 02:47:52 AM , click to arrow to change the AM or PM by selecting and press arrow. It will Show ur name or name that was entered by u, Apply -> OK and enjoy Computer Tricks Corner.

Sunday, October 16, 2011

How to Use Bold/underline text in facebook chat



For chat:-
  • Bold Text in Facebook Chat: If you want to write bold text then you would start your text with star '*'and end with'*' for example *Bold Text* will appear Bold Text.

  • Underline Text in Facebook Chat: If you want to write underline text then you would start your text with underscore '_' and end with '_' for example _Underline Text_ will appear as Underline Text.

  • Bold with Underline Text in Facebook Chat: In this case you would be start your text with star together with underscore '*_' and end with '_*' for example *_Bold with Underline Text_* will appear as Bold with Underline Text.


Saturday, October 15, 2011

अपने ब्लॉग में खुबसूरत Subscribe बॉक्स लगायें|

अपने ब्लॉग में खुबसूरत Subscribe बॉक्स लगाने के लिए सब से पहले ब्लॉगर अकाउंट में लोग इन करें|

फिर लेआउट पर क्लिक करें और page element पर जायें| 


इसके बाद Add a Gadget पर क्लिक कर HTML/JavaScript चुने|


अब नीचे दिया गया कोड उस बॉक्स में पेस्ट कर सेव कर दें|




<style type='text/css'>

#topbox{width:250px;border:4px solid #a1a1a1;background-color:#ffffff;}
#topbox:hover{border:4px solid #4e4c4c;background-color:#ffffff;}

#social1 .social2 h2.subscription { border:0; margin:0; padding:3px 0 0 55px; height:42px; font-size:14px;font-family:"Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif;
font-weight:bold; }

#social1 .social2 h2.subscription:hover { font-size:15px;}

#social1 .social2 h2.rss { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjgiBxTd1xUfy_5Iwwk_WMsdhmJ33Sek-Xfxo6Jig6XCgf3_4uy5ZLzTi07UjFxVjXITXdIs1jLleK4f2iM6i98j5e1jvug0F9s07r6T8QyubJDeq9UP0kpq42Y9w5v3aUpmI2-FUh5UO5/s48/Rss.png) no-repeat top left; }

#social1 .social2 h2.twitter { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7cgKKAIxqrf_J8SDrLVbtUgTwAJMl3Yh7ZGZbRpPUylvHI6iYVpduFkXN_Z3nrICDZiww4LlaXjPzJBaYjAMeacM8qNL5cVxg7V_fO6CAiuysyuK6u8hXmHNwgpAZT5_pRm6eh3EPIsKh/s48/twitter.png) no-repeat top left; }

#social1 .social2 h2.email { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_w9RCSBYPcqf3TH5bcTcIw2Qx7H07wqzLmuI-WjyzgPp72ErYJhheHEhR93GH-hG2DJbZJk2MgAINXC_m2ZmQcefaoWb8ssWu2Y0l6kA_pu6yYVvyblnXz01x-gso9yiU68jSN0_E9K5-/s48/mail.png) no-repeat top left; }

#social1 .social2 .subscription a { color:#252e28; text-decoration:none; }

</style>

<div id="topbox">
<div id="social1">
<div class="social2">

<h2 class="subscription rss"><a href="RSS feed URL">SUBSCRIBE VIA RSS</a></h2>
<h2 class="subscription twitter"><a href="Twitter URL">FOLLOW ON TWITTER</a></h2>

<h2 class="subscription email"><a href="Your Email Subscription URL">SUBSCRIBE VIA EMAIL</a></h2>

</div></div>
</div>
कोड में लिखे इन सब URL को आप अपने URL से बदल दीजिये और फिर सेव कर दीजिये| 

"RSS feed URL"
"Twitter URL"
"Your Email Subscription URL"






 Subscribe via Google SMS Channel

How to increase your RAM and make your computer system faster

These tips will help you to increase your Desktop or Laptops speed and make your system quick

It includes to main steps .
  • 1.Increase virtual Ram (Paging)
  • 2.Check for errors, Analyze and defragment.
  •  3. Deleting %temp% and temp


 
  • 1.Increase virtual Ram (Paging) It will increase the virtual Ram .just follow the steps

    •  Hold down the 'Windows' Key and Press the 'Pause/Break' button at the top right of your keyboard.
Another way is Right-Clicking 'My Computer' and then Select 'Properties'.
    • Click on the 'Advanced' tab.

    • Under 'Performance', click 'Settings'.

    • Then click the 'Advanced' tab on the button that pops up.

    • Under 'Virtual Memory' at the bottom, click 'Change'.

    • Click the 'Custom Size' button.

    •  For the initial size (depending on your HD space), type in anywhere from 1000-1500 (although I use 4000), and for the Maximum size type in anywhere from 2000-2500 (although I use 6000).

    •  Click 'Set', and then exit out of all of the windows.

    •  Finally, Restart your computer.

    •  You now have a faster computer and 1-2GB of Virtual RAM..!


  • 2.Check for errors, Analyze and defragment.



    • go to my computer

    •  right click on c drive, click properties

    • click on tools tab

    • Click check now and start disk check. It will scan the system for errors.sometimes it show , disk check will take place when you restart computer, if it show such message then click yes and it will automatically check when you restart.

    • follow step 1-4 for all drives.

    • if no message is shown then manually check for errors and then click analyze and after analyzing click defragment.

    • On your next restart you will see the changes in speed.


  • 3. Deleting %temp% and temp

    • go to run 
    • type:-  %temp%
    • and press enter
    • select all by using ctrl+a delete all files. This are temparary files taking the disk space. Deleting files would not affect the system.some files may not be deleted so just ignore them.

Follow all this steps every week or every month for better performance from your system.

Thank you.