How to implement No internet Dialog Android Studio || Check internet Connection in android

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

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

  • @someshsahu4638
    @someshsahu4638 2 года назад +1

    Nice video brother thankyou so much 🙏🏼🙏🏼🙏🏼

  • @riju_de
    @riju_de 2 года назад

    vai kotlin main kaise kare ??

  • @keerthig5021
    @keerthig5021 2 года назад

    Bro I used this code and it's working But I convert Website to App when internet is off it will show wen page is not available it shouldn't show instead of this I need what u done now that one so what I should do Bro please help me only one problem about this Please tell me how to solve this

  • @MUKULGHOSH-f7y
    @MUKULGHOSH-f7y Год назад

    Video Quality is very low(360p) 😢

  • @dionisfuentes687
    @dionisfuentes687 3 года назад

    Well

  • @aamorstudio
    @aamorstudio 3 года назад

    Nice 👍

  • @saurabhtulsyan4855
    @saurabhtulsyan4855 3 года назад

    aur ye code app start se pahle kam karega but app ke beech me internet off ho gaya tab kaise dialog ayega?

    • @saurabhtulsyan4855
      @saurabhtulsyan4855 3 года назад

      bhai ji....ise kaise solve karenge?

    • @keerthig5021
      @keerthig5021 2 года назад

      Yes I am also facing the same problem please give solution for this one

  • @saurabhtulsyan4855
    @saurabhtulsyan4855 3 года назад

    bhai ji....app ke beech me internet off hone par kaise karenge ?

  • @SparkNetworksIndia
    @SparkNetworksIndia 3 года назад

    The no internet dialogue is shown only when the app started, if the internet is off after the app loads and click on any link then the dialogue does not show, please fix the issue for web view app

  • @rokusaofficial
    @rokusaofficial 2 года назад +1

    Want source code

  • @MrGedanggoreng
    @MrGedanggoreng 3 года назад

    Network Info is deprecated. Have any other method?

    • @YourDeveloperHere
      @YourDeveloperHere  3 года назад

      Yes it's Deprecated But it's Working i use it in every Project

    • @MrGedanggoreng
      @MrGedanggoreng 3 года назад +1

      @@YourDeveloperHere Sorry, I'm newbie. Can you make a video about applying this method for WebView app?

    • @YourDeveloperHere
      @YourDeveloperHere  3 года назад

      @@MrGedanggoreng You Can use Same Method for Web View also

    • @gamesforu6619
      @gamesforu6619 3 года назад

      @@YourDeveloperHere You shouldn't use deprecated code in real projects, its not best practice.

  • @saurabhtulsyan4855
    @saurabhtulsyan4855 3 года назад

    Please tell me how to stay on activity instead of finish?

    • @YourDeveloperHere
      @YourDeveloperHere  3 года назад

      check again

    • @saurabhtulsyan4855
      @saurabhtulsyan4855 3 года назад

      @@YourDeveloperHere retry par click karne par app close nahi honi chahiye balki connection check karna chaiye. agar connection available ho to app continue honi chahiye. plz help

    • @YourDeveloperHere
      @YourDeveloperHere  3 года назад

      @@saurabhtulsyan4855 finish ko remove kr do and fir se is online wali method call lr do
      =>
      if (isNetworkConnected()) {
      noInternet.dismiss();
      } else {
      Toast.makeText(this, "Please Connect your Mobile with Network", Toast.LENGTH_SHORT).show();
      return;
      }

    • @saurabhtulsyan4855
      @saurabhtulsyan4855 3 года назад

      @@YourDeveloperHere sorry but it still not working

  • @kumarchhotu7026
    @kumarchhotu7026 3 года назад

    bhai countdown timer work hi nahi kar rah hai quize app me

    • @YourDeveloperHere
      @YourDeveloperHere  3 года назад

      stackoverflow.com/questions/10032003/how-to-make-a-countdown-timer-in-android
      Check This

    • @kumarchhotu7026
      @kumarchhotu7026 3 года назад

      @@YourDeveloperHere bro samjh me hi aa raha hai ak video mil jata to bahut hi achha raha hai brother

  • @kumarchhotu7026
    @kumarchhotu7026 3 года назад

    bhai app create kiye to thik hai par jab run kar rahe hai to desing thodha sa niche se kut jaa raha hai yesa kyo

    • @YourDeveloperHere
      @YourDeveloperHere  3 года назад

      Kyoki Hamko Sift Center me hi chahiye thoda card type isiliye Bhai

  • @gamesforu6619
    @gamesforu6619 3 года назад

    You are using deprecated code.

    • @YourDeveloperHere
      @YourDeveloperHere  3 года назад

      brother it's still working on android 11 you can check over here