User Tag List

Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 21 to 30 of 45

Thread: Android Send Intent (Share)

  1. #21
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    WhiteEyeDesign's Avatar
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, maybe i am blind or just stupid. But i really dont understand it. I got "Select from gallery" and "GetGalleryPath$". But how do I open the exact screenshot that I have created with the Android object?
    If "Select from Gallery" could handle Stings i would understand it. But with 0, 1, 3 I'm stuck. HEEEELLLPPP a blind (or stupid) member, please!!!

  2. #22
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,359
    Mentioned
    218 Post(s)
    Tagged
    4 Thread(s)
    ok, kind of busy for two days but i will take a time to post an example

    but do you see now the screenshot inside the gallery, right?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #23
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    WhiteEyeDesign's Avatar
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you.

    Yes that works. Only the thumbnail does not refresh correctly if you overwrite the image.

  4. #24
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,359
    Mentioned
    218 Post(s)
    Tagged
    4 Thread(s)
    please look at this example

    https://dl.dropboxusercontent.com/u/...reAndShare.mfa

    let me know your results
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #25
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    WhiteEyeDesign's Avatar
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your example.

    Unfortunately, it's not quite what I thought. In your example you have to open the gallery and the search image first. I'm trying to get it without this step.

    Idea 1 - Share with Intent :
    Click on your own designed "Share Button" and send the last screenshot that was made​​. Ideally with previous app selection. Facebook, WhatsApp, GMail etc.

    Idea 2 - Share with Gallery:
    Click on "Open Screenshot in Gallery" and the last screenshot directly opens up in gallery. (no search) From there you can then directly share it with build in Share Button from Android.

    Unfortunately, your intent is not working properly because the image is not attached. This intent would be enough for me. (if its working)
    I have the same results with my intent as well. (Almost even the same code). The image is not attached . It seems as if it would not find the file path.

  6. #26
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,359
    Mentioned
    218 Post(s)
    Tagged
    4 Thread(s)
    Idea 1 - Share with Intent :
    Click on your own designed "Share Button" and send the last screenshot that was made​​. Ideally with previous app selection. Facebook, WhatsApp, GMail etc.
    but sorry the image have the name you set to save to capture the screen, i think i donīt follow you on this, the name is available because you create it, or i am missing something?

    if you create the capture using PublicStorageDirectory( "Android object", "Pictures" ) + "/" + "myscreengame.jpg", that is the file you need, so pointing to PublicStorageDirectory( "Android object", "Pictures" ) + "/" + "myscreengame.jpg" is pointing the image if exist, which you can test before using file object.

    Idea 2 - Share with Gallery:
    Click on "Open Screenshot in Gallery" and the last screenshot directly opens up in gallery. (no search) From there you can then directly share it with build in Share Button from Android.
    sorry this i can not do.


    Unfortunately, your intent is not working properly because the image is not attached. This intent would be enough for me. (if its working)
    I have the same results with my intent as well. (Almost even the same code). The image is not attached . It seems as if it would not find the file path.
    this will not work, i forgot to delete since you need to do a real stream of bytes to attach a file, but still can attach manually or use the email object i will make some change and post so can be use

    what i am intrigue is that with the example I do open an image, capture the screen, open gallery select the image just captured once again do screen capture and again select from gallery and is the old one and is correctly show, can you post which device you are using, here i am using Gtablet and Nexus 7 (thats why i am using the public storage in the example KitKat 4.4)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #27
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    WhiteEyeDesign's Avatar
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but sorry the image have the name you set to save to capture the screen, i think i donīt follow you on this, the name is available because you create it, or i am missing something?
    if you create the capture using PublicStorageDirectory( "Android object", "Pictures" ) + "/" + "myscreengame.jpg", that is the file you need, so pointing to PublicStorageDirectory( "Android object", "Pictures" ) + "/" + "myscreengame.jpg" is pointing the image if exist, which you can test before using file object.
    I have the correct path. But you write here:

    this will not work, i forgot to delete since you need to do a real stream of bytes to attach a file, but still can attach manually or use the email object i will make some change and post so can be use
    So attach a picture does not work by Intent? Right? Because you need to do a real stream of bytes to attach a file? Right? If yes, thats bad and my intent code would never work correctly because i couldnt attach an image to the intent.


    what i am intrigue is that with the example I do open an image, capture the screen, open gallery select the image just captured once again do screen capture and again select from gallery and is the old one and is correctly show, can you post which device you are using, here i am using Gtablet and Nexus 7 (thats why i am using the public storage in the example KitKat 4.4)
    I use a Nexus5 and Nexus7 2012. Both with Android 4.4.2.

    The example is cool. Yes. But not what i need. Manually attach a picture is not an option for me. When a user presses a share button, he expects everything works automatically. Not that he has to search the picture in the Gallery and attach it to the mail again. The possibility to attach pictures with an intent would be the best, i think. When that would work, we could use the share function of Android and share our screenshots with ALL APPS installed. And no one have to make different extensions for each social media app (etc. Facebook, Twitter...).

  8. #28
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    WhiteEyeDesign's Avatar
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, if you capture a new screenshot in your example the image and the thumbnail is changed. Everything works fine there.

  9. #29
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    357
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Hello, can you reload the sample mfa. File doensnt exist.

  10. #30
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,359
    Mentioned
    218 Post(s)
    Tagged
    4 Thread(s)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast

Similar Threads

  1. Android share (social, mail etc...)
    By TatosGames in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 17th May 2014, 11:39 AM
  2. Launch Skype from App via Intent?
    By StingRay in forum Android Export Module 2.5
    Replies: 4
    Last Post: 18th January 2014, 10:14 AM
  3. Replies: 7
    Last Post: 13th April 2013, 01:17 PM
  4. Start Intent
    By kiko in forum Android Export Module Version 2.0
    Replies: 7
    Last Post: 8th November 2012, 08:28 AM
  5. Please send me new android beta software key
    By Tuna in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 15th April 2012, 02:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •