Friday, 22 August 2014

Sharing results to Facebook Using Unity3d


Sharing results to Facebook  

1.open facebook developer website click on app tab >create a new app fill all the details including app domain

 2.Get an app id and use that id in given Script. 

 const string appId="14012223232";
 const string fbUrl="http://www.facebook.com/dialog/feed"; 

  public static void share(string link,string pictureLink,string name,string caption,string  description,string redirect) 
 {
     Application.OpenURL(fbUrl +
     "?app_id="+appId 
     +"&link="+WWW.EscapeURL(link) 
     +"&picture="+WWW.EscapeURL(pictureLink)
     +"&name="+WWW.EscapeURL(name)
     +"&caption="+WWW.EscapeURL(caption)
     +"&description="+WWW.EscapeURL(description)
     +"&redirect_uri="+redirect); 
}


 3.to share just use 

classname.share(("https://www.somewebsitename.com", "http://www.pictureLinkWebsite.com", "Game Title", "caption", "Player High Score:1200000", "https://www.somewebsitename.com"); 


//redirect website should have  same app domain

Saturday, 29 March 2014

How to Access PC from Mobile Phone (Android)through wi fi

How to Access PC from  Mobile Phone (Android)through wi fi 


1.turn your wifi on pc and mobile.
2.on your computer open cmd prompt with admin privilege.
type this commands click enter

netsh wlan set hostednetwork mode=allow ssid=wifi key=12345678 
netsh wlan start hostednetwork

3.connect with this wifi network with given username and password.
here password is 12345678

4.download ES file explorer.
5.open ES file explorer and go to options Network>Lan.
6.There will show your ip click it and you can see Your public folders. 

How to Connect SD Card Mobile Phone (Android) To Computer through wifii


How to Connect SD Card Mobile Phone (Android) To Computer through wifii



1.download ES file explorer.
2.go to options tools>remote Manager then click Turn on.
3.turn your wifi on pc and mobile.
4.on your computer open cmd prompt with admin privilege.
type this commands click enter

netsh wlan set hostednetwork mode=allow ssid=wifi key=12345678 
netsh wlan start hostednetwork

5.connect with this wifi network with given username and password.
here password is 12345678

6.open my computer click on Add a network location.

7.click next and paste address given in your mobile on the box then click next .