Android Bitmap from View | Generate Images from Views | CheezyCode Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024
  • Android view to Bitmap - In this tutorial, we will learn about how to generate images from views using Bitmap class. Learn how to use FileProvider to access files created inside application files directory. Learn how to convert views into images and store them as PNG or JPG in Android. This technique is used when you want to share your views as an image via Implicit Intent. For instance - you want to share your news or payment reciept from your android app - you can use this technique.Learn by creating a simple example in Hindi.
    Topics covered -
    1. Convert View To Bitmap
    2. Create File using File Provider
    3. Store Bitmaps into PNG files
    4. Generate image for your views.
    Camera and File Provider video -
    • Android Capture Image ...
    Jetpack Paging Tutorial -
    • Android Paging 3 | Jet...
    Complete Dependency Injection Playlist Link -
    • Dagger 2 - Dependency ...
    Complete Android Architecture Components Playlist -
    • Android Architecture C...
    Beginner series in Android Playlist (Hindi) -
    • Android Tutorials Step...
    Kotlin Beginners Tutorial Series -
    • Kotlin Beginner Tutori...
    For more info - visit the below link
    www.cheezycode.com
    We are social. Follow us at -
    Facebook - / cheezycode
    Twitter - / cheezycode
    Instagram - / cheezycode

ความคิดเห็น • 66

  • @Sikarwar0020
    @Sikarwar0020 2 ปีที่แล้ว +2

    Very Informative 🌟

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว

      Thank you Vipin 🤘

  • @rishikeshsingh9946
    @rishikeshsingh9946 2 ปีที่แล้ว +2

    I have seen all the videos from @Cheezy code thankuu

  • @pubgplayer2427
    @pubgplayer2427 2 ปีที่แล้ว +1

    very helpful video, please continue this series

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว

      Will keep adding videos on these topics...

  • @baijusharma6027
    @baijusharma6027 2 ปีที่แล้ว +3

    Sir, pls create a video series on Custom views.

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว +1

      Effort >>>> Worth
      Badi mushkil

    • @baijusharma6027
      @baijusharma6027 2 ปีที่แล้ว

      @@CheezyCode Understood. Thank you.

  • @AkashJhaDDN
    @AkashJhaDDN 2 ปีที่แล้ว +1

    🙏🙏🙏🙏 thankyou for sharing ur knowledge and helping us in our career
    Vo provider vala video kidhar hai aur uri se file me kaise hoga

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว

      th-cam.com/video/FTKWgcIYomY/w-d-xo.html

  • @VINITJACOB
    @VINITJACOB 2 ปีที่แล้ว

    Awesome bro...you are really a good teacher....bro last time I told you something please whenever u get time plz make video on that also

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว +1

      yes bro...play store like search...

  • @gunjansharma6934
    @gunjansharma6934 ปีที่แล้ว +1

    Can you create a video for creating a Alarm app. Which works exactly on time ? Work manager does not work for specific and correct time. It will really help many developers like me

  • @ashokvlogs2024
    @ashokvlogs2024 2 ปีที่แล้ว

    Thank u so much sir I see all your videos and I learn alot ........one more thing please make video on Junit, espresso, mockito. Plz plz plz sir 🙏🙏🙏🙏🙏 again thanks very much sir

  • @sohilupadhyay4804
    @sohilupadhyay4804 2 ปีที่แล้ว +1

    Sir, plz make a video on Unit testing Mockito, JUnit, Roboelectric

  • @muhsantech
    @muhsantech ปีที่แล้ว +1

    Sir showing me Error
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.draw(android.graphics.Canvas)' on a null object reference

  • @shafqatali3065
    @shafqatali3065 2 ปีที่แล้ว +1

    Sir please make video on how we capture high quality images via camera, because when we open camera via intent and capture image, that image is thumbnail of original image.......Kindly please make a video on it.

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว

      need to setup Camera app to handle this scenario but I guess it works without any issue

  • @khapp7821
    @khapp7821 2 ปีที่แล้ว

    A great video.

  • @sabujahmed881
    @sabujahmed881 2 ปีที่แล้ว

    Thank you bai great video

  • @tanishqchawda1725
    @tanishqchawda1725 2 ปีที่แล้ว +1

    Nice Video

  • @YuxYeah
    @YuxYeah ปีที่แล้ว

    Thank you!!!

  • @virajbenade5572
    @virajbenade5572 5 หลายเดือนก่อน

    but screen shot without button logic is awesome

  • @talhaabbasjalvi9572
    @talhaabbasjalvi9572 9 หลายเดือนก่อน

    how can create image if i have recyclerview in my parent view, i am trying same but its not showing alll items. Only items which are visible are being shown

  • @cryptozink6942
    @cryptozink6942 2 ปีที่แล้ว

    great job sir,
    sir pdf generator or bata sakto ho key?

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว +1

      Thanks...kaam nahi kiya kabhi - backend he banata hai...

  • @tanishqsingh4
    @tanishqsingh4 ปีที่แล้ว

    getting 0 height and 0 width, I am using width (match parent) & height (wrap content) and layout is combination of imageview and textview.. and width of image view is also match parent and height is wrap content.. any solutions

  • @TheHindiSenpai
    @TheHindiSenpai ปีที่แล้ว

    Respected sir I need to know what if i get long text in my textview or edittext. Will it be creating image beyond it or my image will skip the rest text beyond the view size

    • @CheezyCode
      @CheezyCode  ปีที่แล้ว

      Try once...you will get the answer

  • @heavenlife5619
    @heavenlife5619 2 ปีที่แล้ว +1

    *Hello Cheezy bhai, yar Android custom View per video banado plz, 2-3 interview de chuka hu vo saale custom view banane ko bolte hai but aata nhi mujhe aur kisi ne bata bhi nhi rakha youtube per...*

  • @ajaypatel9195
    @ajaypatel9195 ปีที่แล้ว

    How to rename new files for multiple download of images??

  • @tanveerahmed729
    @tanveerahmed729 2 ปีที่แล้ว

    I have seen that you prefer linear layout over constraints layout. Is there any reason for that? Is linear layout more compatible than constraints layout?

    • @avtaar3041
      @avtaar3041 2 ปีที่แล้ว +2

      nope
      constraint layout is better

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว +4

      Depends on the requirement....simple layout hai - toh you can use Linear Layout...no harm in that...nesting avoid karni hai bas...FrameLayout bhi use karta hu mai agar lagta hai UI frame layout se achieve ho jayegi

  • @avtaar3041
    @avtaar3041 2 ปีที่แล้ว

    Bhaiya I have done 1000 questions on leetcode and I know android (kotlin) where should I find jobs because I am getting low package even after fluent in DSA

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว +1

      Check the latest podcast - usme answer hai

  • @AkashJhaDDN
    @AkashJhaDDN 2 ปีที่แล้ว

    Face login pe koi video plz😔

  • @StarkIndustries2008
    @StarkIndustries2008 2 ปีที่แล้ว

    Can you please provide your authority uri permission video link ?

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว

      Check the i button...th-cam.com/video/FTKWgcIYomY/w-d-xo.html

  • @akhileshmaurya3380
    @akhileshmaurya3380 ปีที่แล้ว

    sir how can we take the screen shot of preview ,Actually i was trying but i was getting black image all time.

    • @CheezyCode
      @CheezyCode  ปีที่แล้ว

      Which preview?

    • @akhileshmaurya3380
      @akhileshmaurya3380 ปีที่แล้ว

      @@CheezyCode
      Preview which is used in camera 2 to show the image in custom fram

    • @akhileshmaurya3380
      @akhileshmaurya3380 ปีที่แล้ว

      @@CheezyCode
      Preview which is used in camera 2 to show the image in custom fram

    • @CheezyCode
      @CheezyCode  ปีที่แล้ว

      Camera image ke liye same logic nahi chalega...file save karane ka logic will be same but bitmap creation ka logic different hoga

    • @akhileshmaurya3380
      @akhileshmaurya3380 ปีที่แล้ว

      @@CheezyCode i think sir you should make a video on that .

  • @surajtutz5742
    @surajtutz5742 2 ปีที่แล้ว

    Custom views from scratch, pls

  • @niyalpatel690
    @niyalpatel690 2 ปีที่แล้ว

    How can I make API for my online shopping app

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว

      depends on how many endpoints you want to have...shopping cart api in itself is quite a big project...try to use existing shopping cart platforms and use their APIs.

    • @niyalpatel690
      @niyalpatel690 2 ปีที่แล้ว

      @@CheezyCode yea , I'm going to use php and 000webhost to make it

    • @niyalpatel690
      @niyalpatel690 2 ปีที่แล้ว

      @@CheezyCode will that make my resume stand out as a fresher.?

    • @CheezyCode
      @CheezyCode  2 ปีที่แล้ว

      Kuch badiya banao fir toh apne liye....wohi cv mei dikha dena .. ecommerce kyo banani fir

    • @niyalpatel690
      @niyalpatel690 2 ปีที่แล้ว

      @@CheezyCode jaise ..?

  • @TheAqib57
    @TheAqib57 2 ปีที่แล้ว

  • @jitendrasinghchauhan2368
    @jitendrasinghchauhan2368 2 ปีที่แล้ว

    Nice video