Weather app with Retrofit 🔥 | Android Studio | Jetpack Compose 2024

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 82

  • @geoffreyfisher7434
    @geoffreyfisher7434 5 месяцев назад +8

    Hi Bima, I just stumbled across your YT channel and I have to say how impressive you are. I'm a retired 30+ years software Programmer / Analyst and have rarely seen someone who documents/graphically designs and programs to that design so clearly and concisely.

  • @light2790
    @light2790 3 месяца назад +2

    i like how you show the architecture before proceeding to build the app, it gives so much clarity of what we gonna do, what we required and how we are doing it.
    so far you are the only youtuber i have seen doing this, most other youtuber just straight starts to build the app with no explanation of the architecture or what's the plan is to build it.

  • @softwareAlchemyWithTandon
    @softwareAlchemyWithTandon 12 дней назад +1

    after coil 3.x use both dependencies for async Image function then it will load the photo
    implementation("io.coil-kt.coil3:coil-compose:3.0.2")
    implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.2")

  • @TheEncouragementRoom
    @TheEncouragementRoom 3 месяца назад +3

    Thanks for your great tutorial on Android App using Jetpack Compose and MVVM architecture. Your code is simple and easy to understand. Keep up the good work!

  • @basedlegit
    @basedlegit 3 месяца назад +1

    Thank you so much sir!!! Very detail and clear explanation, with logcat guidance, many people didn't teach those so I have no clue when the app ain't run at the end!! You are awesome !! Hope to see more valuable contents from you.

  • @SanusiAdewale
    @SanusiAdewale 5 месяцев назад

    Im an iOS developer looking to learn JPC, just saw your channel and for real its beginner friendly and well explained. Youre what I've been searching for.

  • @richartfernandez
    @richartfernandez 3 месяца назад

    Excelente video, muy ilustrativo y el ejemplo realizado es completo.
    Sólo me queda agradecer, porque aprendí mucho!
    Muchas gracias

  • @KhagendraOli-x6v
    @KhagendraOli-x6v День назад

    thank you for your video. could you explain how can we display weather forcast
    for following 7 days. thanks

  • @dhruvsharma5786
    @dhruvsharma5786 5 месяцев назад

    Thankyou Dear Sir ❤
    I really enjoyed learning 🎉
    You made it so easy to understand 🙏

    • @EasyTuto1
      @EasyTuto1  5 месяцев назад

      It's my pleasure

  • @pranavtodkar7811
    @pranavtodkar7811 Месяц назад

    thanks thanks thanks!!!
    great video

  • @prem_kumar
    @prem_kumar 5 месяцев назад

    I am learning jetpack compose, and I like that you follow a simple pattern which makes understanding concepts very clear.
    For example: I was facing problem understanding viewModels but you make a standard code in every project, which helps a lot.
    Keep uploading new compose projects.

    • @techkid358
      @techkid358 4 месяца назад +1

      can u explain why exactly we use ViewModel, or what it's benefits ?

    • @prem_kumar
      @prem_kumar 4 месяца назад

      @@techkid358 with viewmodel you can separate the logical code and ui code. In the ui code file you just have to call the viewmodel methods and the code becomes more easily readable. Otherwise you will have to go in different files to check where the logical code is written.

    • @kartikgdrbd
      @kartikgdrbd 2 месяца назад

      @@techkid358 +1

  • @eqa3ati
    @eqa3ati 6 месяцев назад

    Really thank you. Please make a video of running Metronome at a certain real speed, for example, let it be 120 BPM and 4/4, using Java or Kotlin.

  • @hsbytes
    @hsbytes 3 месяца назад

    Thank you so much sir. Excellent ❤❤

  • @danielaloycedaniel
    @danielaloycedaniel Месяц назад

    Bro, you deserve salute

  • @mahboobahmadofficial1
    @mahboobahmadofficial1 4 месяца назад +2

    sir kindly used StateFlow instead of live data, and use HILT for retrofit object, use latest things, i know its a beginner level project but use latest things 🥰

    • @darkstain054
      @darkstain054 3 месяца назад

      Also he doesn’t have a repository

  • @techkid358
    @techkid358 6 месяцев назад +2

    18:00 convetor ka shortcut key kya hai mac me ??

  • @theblueplanet3576
    @theblueplanet3576 3 месяца назад

    Awesome content. You deserve more likes on this video. 👍👍👍

    • @EasyTuto1
      @EasyTuto1  3 месяца назад

      Thank you so much 😀

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 5 месяцев назад +1

    Great. Just subscribed. Please make videos on ui design also. The composables are looking google product. Like in flutter we can customize a material widget into our own, like disabling ripple, changing ripple color, bottom bar using their api. Which is hard in jetpack compose i guess

  • @mehmetaltinsoy525
    @mehmetaltinsoy525 3 месяца назад

    Great tutorial. Thanks

  • @loveyouself5389
    @loveyouself5389 4 месяца назад

    Thanks for the awesome teaching, thanks for doing it in English

  • @chantecbrayanricardo7768
    @chantecbrayanricardo7768 5 месяцев назад

    Thank you, I learned too much. I will continue to see your content

    • @EasyTuto1
      @EasyTuto1  5 месяцев назад

      Glad to hear it!

  • @junlapunete1602
    @junlapunete1602 3 месяца назад

    very nice video thank you, can you make a video about crud retrofit connecting localhost web api server using postgresql with jetpcak compose mvvm architecture?

  • @dishaswarajsoft2834
    @dishaswarajsoft2834 4 месяца назад

    Hello Sir. I have developed as per you and its all successfull.
    Only I cant do that the image with coil, something kotlin version error is raising.
    Please help me out.

  • @aashutoshsathe8078
    @aashutoshsathe8078 3 месяца назад

    Thank you so muchh sirrr❤

  • @felixamenya4554
    @felixamenya4554 5 месяцев назад

    Thanks for this amazing tutorial

  • @GuruGaming-xj2qe
    @GuruGaming-xj2qe 4 месяца назад

    hlo bro please reply , i copied everything from you i tried a lot check all the things again and again but it is not working it always show unable to load what to do

  • @Wildscreen8197
    @Wildscreen8197 6 месяцев назад

    No Activity found to handle Intent { act=android.intent.action.PICK typ=Image/* } please help me about this problem sir

  • @AmitKumar-q7p9f
    @AmitKumar-q7p9f 22 дня назад

    Nice Video

  • @khan-um6hp
    @khan-um6hp 5 месяцев назад

    please make a complete e commerce project with api integration & local db

  • @Anonymous0202.
    @Anonymous0202. 5 месяцев назад +1

    God bless you

  • @AdityaEditzYT
    @AdityaEditzYT 6 месяцев назад

    Best Quality. Plz continue making such projects and plz remeber while making videos that we are begineers so make it begineer friendly. BTW Thanks for this video 🕉🕉❤❤

    • @EasyTuto1
      @EasyTuto1  6 месяцев назад

      Thank you, I will.

  • @MobileDeveloper1965
    @MobileDeveloper1965 5 месяцев назад

    Good English. If you can slow down a bit you will be perfect.

  • @sagarsahoo4810
    @sagarsahoo4810 5 месяцев назад

    Sir please make a using navigation

  • @Muhammad-Shafqat
    @Muhammad-Shafqat 5 месяцев назад

    make a video on music player in jetpack compose plz

  • @new_life_
    @new_life_ 4 месяца назад

    how to integrate current location in weather app

  • @ookie218
    @ookie218 5 месяцев назад

    I have a question if i may. When using the weather API in the view model, does it matter if we psss it with object instantiation or DI with constructor injection? Whats the benefit of DI in that case?

    • @EasyTuto1
      @EasyTuto1  5 месяцев назад

      If you have large scale project use DI otherwise for small project like this, its not required.

  • @raeesmohit01
    @raeesmohit01 5 месяцев назад

    Just One Question how much time you actually need to make this app?

  • @thamilarasup1499
    @thamilarasup1499 6 месяцев назад +1

    Bro Android studio
    App create to
    How earn money vedio please

  • @Cloudy-19-x
    @Cloudy-19-x Месяц назад

    Kya XML Ana jaruri he

  • @softwareAlchemyWithTandon
    @softwareAlchemyWithTandon 17 дней назад

    AsyncImage(
    modifier = Modifier.size(120.dp),
    model = "https:${data.current.condition.icon}",
    contentDescription = "condition icon"
    )
    the Image is not reflecting in my application
    any update for this

  • @Wildscreen8197
    @Wildscreen8197 6 месяцев назад +1

    CAN YOU PLEASE MAKE A VOICE RECORDER APP WITH JETPACK COMPOSE ? PLEASE REPLY .

  • @crazyff5777
    @crazyff5777 6 месяцев назад

    I really like your videos ❤
    Can you create a complete music app using dezzer API in android studio please 🙂

    • @EasyTuto1
      @EasyTuto1  6 месяцев назад

      Noted.

    • @crazyff5777
      @crazyff5777 6 месяцев назад

      @@EasyTuto1 where you noted 📝
      Show me 💀
      Please create it
      Because when I use dezzer API so it provides only preview url which was play in media player
      But these full provided url can't play in media player
      Or
      When I try to use Spotify so it's paid because it gives exception( You Are not subscribed to this API)
      And I check many other API but no one is usefull
      Please find a good and best API which plays indian songs also 😘

  • @sokheanggamer5342
    @sokheanggamer5342 6 месяцев назад

    thank you for this video

    • @EasyTuto1
      @EasyTuto1  6 месяцев назад +1

      Welcome!❤

    • @dhananjayingole5070
      @dhananjayingole5070 4 месяца назад

      Bro your videos are amazing.keep posting such amazing​ and explanatory videos❤❤@@EasyTuto1

  • @virajsahare2680
    @virajsahare2680 27 дней назад

    Bro can we implement fetch current location functionality to get current weather of location??

  • @Wildscreen8197
    @Wildscreen8197 6 месяцев назад

    SIR iam watched your video which is tiktok clone app and i have done all the videos as well as everything is ok but finally i have a problem like this
    android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.PICK typ=Video/* }
    now how to solve it.

    • @junmarta3591
      @junmarta3591 6 месяцев назад

      Best to ask ChatGPT: I asked a question about your problem and chatGPT answered me:
      The ActivityNotFoundException you're encountering suggests that there is no application installed on the device that can handle the intent you are trying to start. Specifically, it seems like you're trying to open a video picker with the following intent:
      java code
      Intent intent = new Intent(Intent.ACTION_PICK);
      intent.setType("video/*");
      startActivityForResult(intent, REQUEST_CODE_PICK_VIDEO);
      Here are a few potential solutions to handle this issue:
      1. Check if there's an app that can handle the intent
      Before starting the activity, check if there is an app that can handle the intent:
      java Code
      Intent intent = new Intent(Intent.ACTION_PICK);
      intent.setType("video/*");
      if (intent.resolveActivity(getPackageManager()) != null) {
      startActivityForResult(intent, REQUEST_CODE_PICK_VIDEO);
      } else {
      // Notify the user or handle the absence of video picker apps gracefully
      Toast.makeText(this, "No app available to pick a video", Toast.LENGTH_SHORT).show();
      }
      2. Provide an alternative if no app is available
      If there is no app to handle the video picking intent, you could provide an alternative solution, such as allowing the user to record a video or using a third-party library to pick videos.
      3. Handle the exception
      You can wrap your startActivityForResult call in a try-catch block to handle the exception gracefully:
      java Code
      Intent intent = new Intent(Intent.ACTION_PICK);
      intent.setType("video/*");
      try {
      startActivityForResult(intent, REQUEST_CODE_PICK_VIDEO);
      } catch (ActivityNotFoundException e) {
      // Notify the user or handle the absence of video picker apps gracefully
      Toast.makeText(this, "No app available to pick a video", Toast.LENGTH_SHORT).show();
      }
      4. Use a File Picker Intent
      If your target is to let the user select a video file, you can use a more general file picker intent:
      java Code
      Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
      intent.setType("video/*");
      intent.addCategory(Intent.CATEGORY_OPENABLE);
      if (intent.resolveActivity(getPackageManager()) != null) {
      startActivityForResult(Intent.createChooser(intent, "Select a Video"), REQUEST_CODE_PICK_VIDEO);
      } else {
      Toast.makeText(this, "No app available to pick a video", Toast.LENGTH_SHORT).show();
      }
      5. Include a Permission Check
      Make sure you have the necessary permissions to access storage, especially if you are targeting Android 6.0 (Marshmallow) or higher, where runtime permissions are required.
      xml Code
      Also, check for the permission at runtime:
      java Code
      if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE)
      != PackageManager.PERMISSION_GRANTED) {
      ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, REQUEST_CODE_PERMISSION);
      } else {
      // Permission has already been granted, proceed with the intent
      }
      By applying these solutions, you should be able to avoid the ActivityNotFoundException and provide a smoother experience for users when they try to pick a video.

  • @techkid358
    @techkid358 4 месяца назад

    how to chnage the background according to temperature ?

    • @EasyTuto1
      @EasyTuto1  4 месяца назад

      Change background of parent layout programatically.

  • @funwithreactnative0211
    @funwithreactnative0211 5 месяцев назад +1

    Ctrl + f shortcut how work

    • @mey9047
      @mey9047 5 месяцев назад

      ctrl f+r

  • @radheshyampatel5578
    @radheshyampatel5578 3 месяца назад

    20:32

  • @manofsteel6173
    @manofsteel6173 6 месяцев назад

    Thanksss

  • @sritikamanjrekar
    @sritikamanjrekar 4 месяца назад

    how to show AQI?

    • @EasyTuto1
      @EasyTuto1  4 месяца назад

      Show if it has that data in json.

  • @aligebril942
    @aligebril942 6 месяцев назад

    We thank you for your good performance in explaining these practical applications, but we would like more complex applications so that we can learn how to improve performance.

  • @ManishKumar-uc1rw
    @ManishKumar-uc1rw 2 месяца назад

    20:44