La question est hors-sujet ou n'est pas pertinente
How to create app like Uber
I need to create an app like Uber , and how to access other apps like Whats App , Facebook, Twitter etc in my game and post Message in all application
FAQ :
What are the guidelines for writing good questions?
We want Unity Answers to become a comprehensive database of questions and answers related to Unity. When you ask your questions, it can be helpful to keep a few things in $$anonymous$$d:
Some reasons for getting a post rejected:
You haven't provided enough context: we need more information about your problem, relevant code snippets and what you have tried already.
Your question isn't specific enough: asking for a script, asking multiple questions in one post or asking a question that could be either subjective or require extensive discussion (and thus belongs in the Forum)
I got solution Thank you Sujit Horakeri
http://www.thegamecontriver.com/2015/04/unity-share-text-message-game-link-android.html
using UnityEngine; using System.Collections;
public class ShareApp : $$anonymous$$onoBehaviour {
string subject = "WORD-O-$$anonymous$$AZE"; string body = "PLAY THIS AWESO$$anonymous$$E GA$$anonymous$$$$anonymous$$ GET IT ON THE PLAYSTORE AT LIN$$anonymous$$";
public void shareText(){ //execute the below lines if being run on a Android device #if UNITY_ANDROID //Refernece of AndroidJavaClass class for intent AndroidJavaClass intentClass = new AndroidJavaClass ("android.content.Intent"); //Refernece of AndroidJavaObject class for intent AndroidJavaObject intentObject = new AndroidJavaObject ("android.content.Intent"); //call setAction method of the Intent object created intentObject.Call("setAction", intentClass.GetStatic("ACTION_SEND")); //set the type of sharing that is happening intentObject.Call("setType", "text/plain"); //add data to be passed to the other activity i.e., the data to be sent intentObject.Call("putExtra", intentClass.GetStatic("EXTRA_SUBJECT"), subject); intentObject.Call("putExtra", intentClass.GetStatic("EXTRA_TEXT"), body); //get the current activity AndroidJavaClass unity = new AndroidJavaClass ("com.unity3d.player.UnityPlayer"); AndroidJavaObject currentActivity = unity.GetStatic("currentActivity"); //start the activity by sending the intent data currentActivity.Call ("startActivity", intentObject); #endif
}
}