On Official documentation they described how to share multiple images, but what I wanna do is share a screenshot and a link to the app, I am able to take screenshot and share it without any problem, but when it comes to adding text, it doesn't work, a toast message appear that says sharing failed, and it appears that it's from receiver side like facebook or whatsapp, can i do this or not?
Read that question : Android share text and image - I hope it will be helpful for you, it is answering your question in general (OP has very similar problem)
Related
If anyone clicks on my hyperlink then he will be redirected to my WhatsApp. I already know how it is possible by using WhatsApp API like,
https://wa.me/<number>
But recently I saw one of person link when I clicked on it it shows the name rather than number on the screen. His link looks like,
https://api.whatsapp.com/message/ZAPEQ6LY2F2WP1
I searched a lot on google but can not get how I can create this type of link.
It is provided with Whatsapp Business tools. If you are a business owner, you can create such a link with Business tools bundled with wa4b.
![see the screenshot attached here]
Screenshot is attached
(https://i.stack.imgur.com/q6SbN.jpg)
I want to share text not link to facebook. Ya we can share links. But if i have simple text then it has to be set to facebook post edittext. Is it possible to do that? if yes then please suggest me... how??? Thank you.
If you want to share a text, not a link, in facebook you have to use their library to do it because they "remove" the share text when you send a normal Intent, at least in the past years... they change very often.
You can download and follow the documentation here:
https://developers.facebook.com/docs/android/getting-started
Other solution is use a library that helps you include easily social libraries like ASNE library
https://github.com/gorbin/ASNE
Its a little outdated but is very easy to improve
I am working on a social app that takes in text posts from users. Now I want to design an activity that takes input from the user for a new post. I want it to look like the 'create a new post' dialogs in popular apps like google +, Tumblr or facebook android apps. I tried searching the web for the like but couldn't find any. Kindly direct me to some good resource. Any good github project will be really helpful.
You can do two things.
Use a DialogFragment. Here is the documentation and here is an example and some information.
Hide a View that is on top of the layout with a semi transparent background and some padding causing it to look like your picture.
I hope this is enought to push you in the right direction. If you need extra information comment on this answer and I'll help you with it.
I am working on multi users android app and I was wondering if there any method to display a specific facebook post inside the app and when the users click on the post he'll be directed to the facebook app then he can "like or share .. that post" and go back to my app
I've been searching a couple of week for method to do that but I can't find any method to do it. If you know any method to do it please tell me.
Looking for the same answer myself.
Ended up in sending the link of the post to my app, along with the post-text and image if any. Display the post and image according to you will and redirect the user to the link on click on either the image or the text. If the Facebook app is installed on the device, it will automatically ask you if you need to go to the app. You can design the app to show the image and text one below another to achieve the (near fb) style you need.
This is just a workaround to achieve the feature. I could not find a solution to achieve embedding post in android, the way it can be achieved on the web
I've been searching how to make an application appear in the Gallery share menu but I haven't find anything. There's a similar question here in SO but it hasn't been answered (link: How to let my app show up as a gallery?).
So, summing up:
I am trying to make a Whatsapp emoji application and I'd like to provide my users a direct access to the app via whatsapp, and the best way of doing it that I've seen is what other emoji apps in the market do, as you can see in the following image:
I'm pretty sure it's achieved via intent-filters or something like that but I haven't found any solution.
Thank you in advance!