Posted on Facebook Java Android - java

I am a Android app developer
I want to share a photo on facebook with some explanation like the picture I have uploaded
What I want is a card that contains a picture and a description and when I click on it, I transfer it to Google Play
I need share on Facebook like this image

Related

How to overlay Google Play app page on the top of my app?

I want to show Google play app page on the top of my app but cannot find a way. Google play app linking page does not say anything about it. Linking to Google Play.
I have not found anything like this on Google Play Core library.
Few suggested me, it is just a custom bottom sheet.
But check the images below.
Image 1 : Google app on Android showing BBC app's google play page on the top of GOOGLE app.
Image 2: Facebook in app ad shows advertiser's Google Play page after clicking the ad.
How can I implement it ?

How to upload text on Facebook timeline field using android studio?

i am trying to upload text on Facebook timeline using my app to Facebook app using share dialogue. Below code work fine to share link but not working on only text field.
ShareLinkContent content = new ShareLinkContent.Builder()
.setContentUrl(Uri.parse("https://developers.facebook.com"))
.build();
1 Open the Facebook Pages app (or download the Facebook Pages Manager app for Android and iOS if you don’t already have it). 2 Tap the toolbox icon at the far bottom right. 3 Under Sharing Tools, click Scheduled Posts. 4 Tap the post to open it, and click the three dots to reschedule or publish now.

Play YouTube Videos in Android app using Exoplayer with Firebase Database

I want to play a YouTube video in my android app and I need to add new videos everyday. So I would like to access the YouTube video link from firebase database everyday. I would like to use Exoplayer. Is that possible? I am new to android development and a beginner. Please help me.
yes you can play youtube video in exoplayer for this you have to extract dash-url from video link.
https://github.com/nhCoder/YouTubeExtractor
this link will help you to extract dash url working perfectly fine for me.

Play a video on Android full screen from website link

I have a website which lists the links to videos. Clicking on these links will play video on browser.
Now, I am planning to develop an Android app for my website. The way I am going to do is just framing this website inside Android app.
Now, when I click on these links inside the Android app, the video is getting played as like it plays on the browser. But I need it in a way such that when a user clicks on these links the video should play automatically on full screen landscape mode.
What modification should be done in the coding to play this video on full screen upon clicking on the video link?
Thanks

Embedding youtube channels in android application

I want to be able to display a certain youtube channel's videos and allow the user to select one of their videos to watch. Do I have to do this manually (parse the source code of the webpage to get each individual video link and then display them) or can I use the youtube api?
If anyone has done this, example code or tutorials would be greatly appreciated. Thanks!
you can do that without parse any webpage, the correct way is using the youtube api
from a Youtube video get the Id
http://www.youtube.com/watch?v=opZ69P-0Jbc
(this is the mobile youtube version
http://m.youtube.com/watch?v=opZ69P-0Jbc)
so you can get the data scheme
http://gdata.youtube.com/feeds/mobile/videos/opZ69P-0Jbc
and you can get for example the related videos
http://gdata.youtube.com/feeds/mobile/videos/opZ69P-0Jbc/related
heres the youtube api reference
http://code.google.com/intl/en-US/apis/youtube/2.0/reference.html

Categories