Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
This question was closed Mar 21, 2016 at 12:21 PM by Hellium for the following reason:

La question est hors-sujet ou n'est pas pertinente

avatar image
0
Question by liju · Mar 21, 2016 at 12:13 PM · social

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

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Hellium · Mar 21, 2016 at 12:21 PM 1
Share

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)

avatar image liju · Mar 22, 2016 at 08:41 AM 0
Share

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

}

}

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

40 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What service is right for me? 2 Answers

iOS crash on Social Leaderboard LoadScores after upgrading to Unity5 0 Answers

social share button with setPackage and setClassName 1 Answer

How can I get friends list why playing my game by facebook sdk 0 Answers

How to GameCenter to third party server for unity 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges