Android Send Intent (Share)

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • For some reason, I can not seem to get a SEND intent to work. At best, I can get a custom titled chooser box with no options. I am using the Android object, starting an intent. I have tried passing android.intent.action.ACTION_SEND, android.intent.action.ACTION_SENDTO, as well as a number of other things with all sorts of combinations of URIs, but it just doesn't seem to do anything. EDIT: Logcat does say "no activity found to handle intent". Permissions are fine. I have checked anything and everything relevant to no avail.

    I've even tried using Stephen's Android Email extension (Please login to see this link.), but it causes the app to freeze and crash if you cancel the Email popup without choosing to run something, and it doesn't have the flexibility I am looking for.

    If I am just doing something wrong here, will someone please tell me what that is and tell me how to do it correctly? From what I'm noticing, it looks like the intents just don't work, but I hope that isn't the case.

    Edited 2 times, last by Neildo64 (January 31, 2014 at 4:52 PM).

  • under permissions you need to enable "Internet"
    Please login to see this picture.

    Please login to see this link.Please login to see this link.
    Take a course in Clickteam Fusion Please login to see this link.
    Youtube Please login to see this link.
    Please login to see this link.

  • Sparckman, have you successfully implemented this? I'm still trying to get this working. I have been trying in MMF2 and F2.5. It looks like you took that screenshot from a project that sends an e-mail. If that is the case, how is that being achieved?

  • Bump. I am still trying to get this to work to no avail. I would really appreciate some assistance from anyone who has successfully implemented a SEND intent. If this feature is just broken, that would also be great to know, but I'm pretty sure others are doing it without problems.

  • Yeah, I couldn't get this to work either? I followed googles offical rules for this and nothing happened.. can someone post an example of this working??

    Been kliking around since Klik n' Play :)
    Visit my site @ Please login to see this link.

  • Thanks Fernando!
    I was having troubles figuring out how to share to Facebook. It appears the Facebook app doesn't allow you to prefill the post with the extra string "android.intent.extra.TEXT" , which makes the share intent useless!

    However after a bit of googling, i saw this topic: Please login to see this link.
    which explains that the Android Facebook app wont let you add plain text to the extra string. You can however share a URL and it will prefill it in the facebook app!

    Been trying to figure out this for sometime, now i can finally share to facebook from my game and share a link to the google play listing!

  • Fernando: If you want to say launch the Facebook application using intents WITHOUT a chooser, how can this be done. Can you tell the intents to launch a specific app package?
    Also is there a way to determine whether the user went through and launched an application from the chooser, eg test if it was successful/not?

  • If you use SEND it will point to the apks specific for this (registered in the system). opposite if you use SENDTO, but i can not point specific to an application not matter if the choose is use it or not.

    Intents are driven by the OS

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • I don't get it. How do i read the image path. With "Select from gallery" i can only say 0=All, 1=Pictures, 2=Videos.
    A code example would be nice.

    I try somthing like "On "Share" Button clicked... then it should open the befor taken screenshot with the gallery App.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!