How to create JOOX Login Screen in Android
HTML-код
- Опубликовано: 28 сен 2024
- Hey guys! In this video, we are going to learn how we can create JOOX login screen in Android. One of the highlights of this video is that I'm going to show you how we can actually set a video as the background of the app.
If you think that this tutorial video is helpful, I will be very thankful to you if you could buy me a coffee as a token of appreciation via Patreon here ► bit.ly/supportJ...
Don't forget to like, share and subscribe for more videos like this :)
Full Source Code ► bit.ly/joox-log...
Subscribe for more "NAKED" app ► bit.ly/subJackT...
Let's get CONNECTED!
Facebook ► / jacktiongyk
Google+ ► plus.google.co...
RUclips ► bit.ly/subJackT...
Twitter ► / tiongjack
Music:
Music ► www.bensound.com
Thanks for watching!
finally someone knows what he's talking about, thank you mu'ath for suggesting such a nice channel
Thank you so much for the kind words buddy :)
i have error in bgVideoView is color red :/ why :( and in +R.raw.bg_video ... raw in red :(
Amazing, wow, this is what I'm looking for. Great channel, keep going man.
Thanks for the kind words buddy! :)
great video! Really well explained and easy to follow and build, but I am struggling to implement this onto a fragment. Do you have some advice?
Life saver! Keep up the awesome work :) I found your video from your answer on stack overflow :D
Thanks for the kind words buddy! Really glad that it helps ;)
I have a doubt. What's the difference between working on a Constraint layout and Relative layout? Thanks for the help :)
Thanks for stopping by buddy! Well I would say both the constraint layout and relative layout basically provides the same mechanism for us to place our views on the screen which is relative positioning (e.g. left-of / right-of another view) but the reason why I love constraint layout so much is not only because it's a new thing/trend but also because it is a lot more flexible especially with the gridlines feature. Trust me buddy, you can't go wrong with constraint layout :)
Thanks Jack ! Also, does constraint layout work only with higher APIs? I tried working with it on API 16, and it was totally messed up.!
Yeap you can use Constraint Layout on Android system starting from API 9 (Gingerbread)
You Are Awesome Man Greate Job!
Works for Kotlin?
Wow Thanks man! Subed you and tweeted also!
Thank you so much for the kind words buddy! I am glad that it helps :)
you'er rock great work
Thanks a lot buddy! I'm glad that you like it :)
thank you so much
video can't play..pls help I done the same thing in the tutorial
this is not working in api level 22 any solution ?
VERY VERY GOOD, THANK YOU!!!!!))))
im using this video for my work... ive been stuck
MediaPlayer: error (1, -2147483648)
I get a blank screen
Hello cute , use this:
@Override protected void onResume({
super.onResume();
mVideoView.start();
}
Can i ask a question?
Thanks it worked great, I added a linearlayout and two buttons inside of it, anchored linearlayout to the bottom and set two buttons as borderless, they share fullwidth of the screen by half, now it looks identical to the spotify login screen :D
Well done buddy! Glad that you like the video :)
thanks a lot sir it worked and finally i got video of i was looking from very long time, sir i have a question i downloaded a video from youtube and placed in app but in app it is showing as a landscape video in half screen so how i can i set in full screen like in Joox, Spotify and vimeo. Waiting for your reply.
worked awesome vid!! take your time and youll get it, my laptop was freezing up so it took a couple days :) worth the wait
Awesome men, thx , this is exactly i was looking for, ¿How many affects this to APK size?
Thank you so much. I needed this tutorial so badly. Looked up online, spent my 1 hour & found this. Keep it up bud.
I have " QCMediaPlayer could not be located" ... any idea?
Great video! Could you please provide the Relativelayout version of this?
i didnt get anything from this, im lost now xd please speak slowly
i was about to waste my day .. but YOU saved it :) Thankx alot man...
jack, tank u !!!
Awesome thanks you're the best
Great video, this helped me so much! Also constraint layout is awesome, thanks for that! One question, sometimes when I run the app then press the home button and then run the app again the video will not load, only a black screen with buttons. But if I force close or press the back button to exit the app and then reload it the video will work fine. Any ideas to fix this issue? Thanks.
Hey buddy! Thank you so much for the kind words and I am really glad that it helps! And thanks for pointing out the issue as well. To resolve it, simply copy the function below and paste it in your MainActivity class. Hope it helps :)
@Override
protected void onResume() {
super.onResume();
mVideoView.start();
}
Totally fixed it! Thanks so much man and thanks for the super fast reply.. You definitely got a new subscriber here!
Anytime buddy! and thanks for subscribing! :)
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_home);
final VideoView videoview = (VideoView) findViewById(R.id.videoView);
videoview.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
public void onCompletion(MediaPlayer mp) {
videoview.start(); //need to make transition seamless.
}
});
Uri uri = Uri.parse("android.resource://"+getPackageName()+"/"+R.raw.test1);
videoview.setVideoURI(uri);
videoview.start();
}
where should i write on resume code?