How to Make a News App in Android Studio? | GeeksforGeeks

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 130

  • @GeeksforGeeksVideos
    @GeeksforGeeksVideos  3 роки тому +11

    Apply For Video Internship Program - script.geeksforgeeks.org/on-boarding/youtube

    • @kartikeywings2079
      @kartikeywings2079 2 роки тому

      what's the back end of this project?

    • @sangeethacr2064
      @sangeethacr2064 Рік тому

      Hello, i cant fetch the news, the app showing only layout without news

  • @m.o.t.a.n.y.a
    @m.o.t.a.n.y.a 2 роки тому +10

    Finally after several attempt's to create the app I finally managed to create it by myself... Thanks a million ✌️✌️.

  • @MuhammadBilal-gs2xu
    @MuhammadBilal-gs2xu Рік тому +4

    great video. followed each step and done without any single error.

    • @uvashree1014
      @uvashree1014 Рік тому +1

      That's good help me to finish this app

    • @VinayKumar-ws1db
      @VinayKumar-ws1db Рік тому

      Brother can you send me the zip file of that please?? It would be huge help! I'm waiting for your replay!!

  • @fahadaftab4807
    @fahadaftab4807 3 роки тому +3

    I want to display the source and date of publish above title in card view... How can i do it

  • @someshsarode9324
    @someshsarode9324 Рік тому +1

    When I run the application it does not open. A error pops up on emulator saying "App keeps stopping". I found the error from logcat. It is on the 52:04 line. The newsRV one. It does not show error in main activity but shows in logcat

  • @rohitrishi5253
    @rohitrishi5253 2 роки тому +3

    16:18 on writing "idIVNews" shows error . idINews is not defined anywhere. Did you mean idRVNews

    • @heycuriousmind
      @heycuriousmind Рік тому

      Just rename IVNews to idIVNews in the layout

  • @saurabhthakur5027
    @saurabhthakur5027 3 роки тому +4

    after doing all the steps I am still getting an error fail to get data as toast for onErrorResponse
    what should I do

  • @chiragmehta5312
    @chiragmehta5312 3 роки тому +6

    You guys are doing such a great job for android beginners,
    Please continue it in kotlin.

  • @AmishaBhardwaj660
    @AmishaBhardwaj660 2 роки тому +2

    Sir catagory when i was open category it's shows bug error and category wise not open what should i do

  • @eerojunewsservice
    @eerojunewsservice 2 роки тому +1

    Bro open source code is available..? Please how create in shor model news app explain..

  • @rold7256
    @rold7256 7 місяців тому

    why i got null pointer exception in mainactivity.this on for loop can anyone suggest answer for this

  • @sakshibkotian609
    @sakshibkotian609 Рік тому

    For category "All" which image url we should mention?

  • @muneezashamsi7801
    @muneezashamsi7801 Рік тому +1

    My gradle is building
    There is not a single error
    The app is running
    But it's only showing a blank page with news application written
    And in the logcat it's how's ACR not enable ioctl error
    Can someone please help

  • @eerojunewsservice
    @eerojunewsservice 3 роки тому +1

    How to create database in this app? And how add other option in this app also admin panel..here is no information in this video..

  • @zyanl9155
    @zyanl9155 3 роки тому +4

    sir i am a beginner, what tools apps do you use to make this application?

    • @PassionforTechnology
      @PassionforTechnology 3 роки тому +1

      The main tool used is android studio and java must be installed

  • @samarththaker5051
    @samarththaker5051 Рік тому

    Which dependencies are added in the first step?

  • @akshaykumar186
    @akshaykumar186 3 роки тому +1

    this is very cool .. please make more videos on android development using android studio of different kinds

  • @joelmiranda5808
    @joelmiranda5808 3 роки тому +1

    superb explanation :)

  • @vaishalitiwari1887
    @vaishalitiwari1887 3 роки тому +7

    can you please provide the source code

  • @vivekkumarmishra3813
    @vivekkumarmishra3813 Рік тому

    GsonConverterFactory this was not adding automatically and showing error what should i do

  • @surajtutz5742
    @surajtutz5742 3 роки тому +1

    Can we show full news content on this app, is thi api a able to do this?

  • @AVRNWITHVLOG
    @AVRNWITHVLOG Рік тому

    Hello sir last moment when run show keep stopping app and auto cut

  • @takeshiasahi5494
    @takeshiasahi5494 3 роки тому +2

    Massive respect, Thank a lot gfg💗

  • @arnavrout8200
    @arnavrout8200 3 роки тому

    Hey can't able to pass the GsonConverterFactory at 1:01:01 time. Please help.

  • @CrazyBroadcast
    @CrazyBroadcast 2 роки тому

    What is
    loadingPB = findViewById(R.id.idPBLoading); ?
    I cannot find idPBLoading .......Help me with this please.

  • @unknownplayer2536
    @unknownplayer2536 2 роки тому

    i am getting error at 37:58. it says cannot resolve symbol picasso

  • @ashwanirajput4281
    @ashwanirajput4281 Рік тому

    How can I overcome from crashing app when i opened it.. Everytime it,s same reaction, so please anybady helps me to overcome this eorre

  • @adityakulkarni4745
    @adityakulkarni4745 Рік тому

    RecyclerView: No adapter attached; skipping layout
    hey gfg im getting this error in console pls help

    • @dado7093
      @dado7093 Рік тому

      newsrv.setadapter(newsrvadapter);
      Did you set the adapter

  • @VishalRaj-hx9wy
    @VishalRaj-hx9wy 3 роки тому +1

    Thank u so much geeks for geeks and bow to the mentor and the team

  • @AJ30873
    @AJ30873 Рік тому

    My app is keep sttoping..what to do?I followed every step

  • @abhaykumar0215
    @abhaykumar0215 3 роки тому +2

    Sir when I m trying to run the application in my own phone the app is crashing everytime.... Help to overcome it.

    • @anmol441
      @anmol441 3 роки тому

      Hey Abhay! Can you see any error in the console log on android studio?

    • @abhaykumar0215
      @abhaykumar0215 3 роки тому +1

      @@anmol441 Thanks for asking but i fixed it...and it is perfectly running ... Tysm GFG

    • @anmol441
      @anmol441 3 роки тому

      @@abhaykumar0215 glad to know! 😀

    • @farzankhan2649
      @farzankhan2649 3 роки тому

      could you please tell how?

    • @fahadaftab4807
      @fahadaftab4807 3 роки тому

      @Abhay kumar please tell how u fixed it

  • @VishalRaj-hx9wy
    @VishalRaj-hx9wy 3 роки тому +1

    when i am clicking the category the app is crashing....i have copied each and every line of code....please help

  • @Vinod-uq5jp
    @Vinod-uq5jp 3 роки тому +2

    Bro after successfull launching it shows app keeps Stoping

  • @amishatmustudent5355
    @amishatmustudent5355 2 роки тому

    sir in categoryrvadaptor my int position for oncategoryclick showing error

    • @itzzkeshav
      @itzzkeshav 2 роки тому

      Did you get the resolution?

  • @AdityaKumar-yi8kc
    @AdityaKumar-yi8kc Рік тому +2

    App is working successfully but it shows the toast message as fail to get news, it is not fetching the data from the server. Please help

  • @tynelson6722
    @tynelson6722 3 роки тому +1

    Thanks for the tutorial!

    • @amit.flutter
      @amit.flutter 3 роки тому

      hey brother can you send me git link if you uploaded your practice code on git ?

    • @amit.flutter
      @amit.flutter 3 роки тому

      hey brother can you send me git link if you uploaded your practice code on git ?

    • @shobhitsingh3965
      @shobhitsingh3965 2 роки тому

      @@amit.flutter can you share your git link

  • @rrajkumar9796
    @rrajkumar9796 3 роки тому +2

    Thanks. This app very useful for me developing different apps

    • @Mohit-il9gx
      @Mohit-il9gx 3 роки тому

      Please share the source code bro

  • @vilgex6156
    @vilgex6156 3 роки тому

    Sir it Is showing an error"expected begin_object but was begin_array

  • @akshaykumar186
    @akshaykumar186 3 роки тому

    also could mark different parts, and steps

  • @coderlady_
    @coderlady_ 2 роки тому +2

    Hi, I am wondering if we can still build android apps in java? or kotlin is the only way to go? I am learning java, and I don't wanna switch to kotlin for now! what do you think about the future of java in android world?

    • @ApratimArora
      @ApratimArora 2 роки тому

      I think for Android, future is definitely Kotlin considering the reason why Google developed kotlin.
      Java to me is more like an evergreen language which strengthens your base as a programmer and will be used for much longer to develop secure backend and other things in tech giants.

  • @manishajoshi8140
    @manishajoshi8140 3 роки тому +1

    as i click on the news to read the whole news it is crashing, pls help..

  • @shanthisophia4009
    @shanthisophia4009 Рік тому

    I'm getting error in dependency

  • @floramerano6293
    @floramerano6293 2 роки тому +1

    Do you actually have to pay for this API?

  • @heycuriousmind
    @heycuriousmind Рік тому

    Thumb Rule: No one can beat an India guy youtube tutorial.

  • @Yashas-z9s
    @Yashas-z9s 2 роки тому

    thank you so much sir

  • @farzankhan2649
    @farzankhan2649 3 роки тому +1

    not able to run this app on my phone , crashing.

    • @fahadaftab4807
      @fahadaftab4807 3 роки тому +2

      Same here.... Getting error in Mainactivity. Java....asking to initialise call in call.enqueue()......if u have found the answer please tell ne

    • @small_town_trader1
      @small_town_trader1 3 роки тому +1

      Same here, how to solve this issue?

  • @avinashchauhan7856
    @avinashchauhan7856 Рік тому

    Hello mara program ma error ave che run thay jay che pachi mobile ma app nathi khulti

  • @abhishekjasrotia3271
    @abhishekjasrotia3271 2 роки тому

    sir, i am not getting data in app. It is showing "fail to get data" that toast message. please help

  • @pritambasu2316
    @pritambasu2316 2 роки тому

    Exactly did the same, but always getting the failed to get news :( .

  • @ujjawalkumar4866
    @ujjawalkumar4866 3 роки тому

    how to fix dependency error of firebase?

  • @Funismyname
    @Funismyname 3 роки тому

    Thanks you very much Sir

    • @small_town_trader1
      @small_town_trader1 3 роки тому

      Hay, i m not getting any error in android studio codes, but the application is not being opened.

  • @Amaandigitalworld
    @Amaandigitalworld 2 роки тому

    Sir hmare news channel k lie aap application devlove krde charges m pay krdunga

  • @manishanaik1443
    @manishanaik1443 3 роки тому

    Thank you!

  • @subhanumajumder6831
    @subhanumajumder6831 3 роки тому

    my app is not working please provide the source code to cross reference

    • @amit.flutter
      @amit.flutter 3 роки тому

      Yes same ...

    • @amit.flutter
      @amit.flutter 3 роки тому

      code is stuck on first run ( running loading indicator)

  • @nightcoder562
    @nightcoder562 2 роки тому +2

    Make sure to have the Source code next time.

  • @victorochi4436
    @victorochi4436 3 роки тому +2

    Source code please 🤘🤘

  • @JerrysTechCorner
    @JerrysTechCorner 3 роки тому

    No search bar?..

    • @small_town_trader1
      @small_town_trader1 3 роки тому

      Hay, i m not getting any error in android studio codes, but the application is not being opened.

  • @RFISGDharani
    @RFISGDharani Рік тому

    can anyone send source code

  • @anvishravan2326
    @anvishravan2326 3 роки тому

    19:00

  • @ramachalyadav3128
    @ramachalyadav3128 Рік тому

    25:38

  • @absiddiq9908
    @absiddiq9908 Рік тому

    Java project?

  • @saadmayo8822
    @saadmayo8822 2 роки тому

    My App is crashing at runtime

  • @GrowwithVivek08
    @GrowwithVivek08 3 роки тому +1

    Sir you spoke so fast...

  • @blkpikfans8268
    @blkpikfans8268 2 роки тому +1

    Bro iam create game news app

  • @nishantpatil5859
    @nishantpatil5859 2 роки тому

    Source code?

  • @shantanujr9204
    @shantanujr9204 9 місяців тому

    source code

  • @kumbharprathamesh3207
    @kumbharprathamesh3207 2 роки тому +1

    getItemCount(){
    return categoryRVModals.size();
    }
    Error :
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference
    Please try to solve my Error.

  • @adityaroy1851
    @adityaroy1851 3 роки тому

    Sir make gallery application

  • @Mohit-gb9dv
    @Mohit-gb9dv 3 роки тому

    ERROR

  • @janvimyadventures1310
    @janvimyadventures1310 3 роки тому

    Bhut bakwaas hai app keeps crashing

    • @skaltamash6281
      @skaltamash6281 2 роки тому

      Dependencies latest version implement karo

  • @SamandarMuxtorov-gv7mw
    @SamandarMuxtorov-gv7mw Рік тому

    E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.developer.samandar.newsappgfg, PID: 19606
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.developer.samandar.newsappgfg/com.developer.samandar.newsappgfg.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.clear()' on a null object reference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
    at android.app.ActivityThread.-wrap11(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6541)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
    Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.clear()' on a null object reference
    at com.developer.samandar.newsappgfg.MainActivity.getNews(MainActivity.java:64)
    at com.developer.samandar.newsappgfg.MainActivity.onCreate(MainActivity.java:44)
    at android.app.Activity.performCreate(Activity.java:6975)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
    at android.app.ActivityThread.-wrap11(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6541)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
    it's happening iltimos yordam bering

  • @RFISGDharani
    @RFISGDharani Рік тому

    can anyone send source code