• 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 mind:

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 : MonoBehaviour {

string subject = "WORD-O-MAZE"; string body = "PLAY THIS AWESOME GAME. GET IT ON THE PLAYSTORE AT LINK";

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: 

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

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

OnApplicationPause Not working 0 Answers

Social.LoadUsers causes short fps hiccup 0 Answers

Google Play Games - Can I have more than 100 Leaderboards or filter scoreData based on a custom metadata tag? 1 Answer

Is there a way to Set Game Center Leaderboard and Login to use Default Orientation in Player Settings? 0 Answers

Social.localUser.Authenticate doesn't work with Google Play Game Plugin 1 Answer


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