Mapbox implementation in Android Studio using java

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

КОМЕНТАРІ • 63

  • @dukk5849
    @dukk5849 8 місяців тому +2

    Love your videos!! Can you please tell me how to set markers on spesific locations and make them tappable? Or can you suggest something? Thank you sirr.

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

      Check this out ua-cam.com/video/aj1JjrpYQfs/v-deo.html

  • @MrAyyoub1988
    @MrAyyoub1988 Рік тому +2

    Thanks , please more videos about mapbox

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

      Sure! What tutorial would you like to see next ??

    • @9Megaloman
      @9Megaloman Рік тому +1

      @@EverydayProgrammer This video was very helpful, it would be nice to also see a guide on how to set a route to a specified point using Mapbox

    • @EverydayProgrammer
      @EverydayProgrammer  Рік тому +2

      Sure! will make it.

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

      Can you make a combination with firebase, to send location data to Firestone using another button like sharing location, to exploit that data stored to show it all device sync

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

      There you go!: ua-cam.com/video/cWWjbVPhh0k/v-deo.html

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

    Great informative video for Android developers sir..

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

      Thank you so much for your kind words! I'm glad you enjoyed the content.

  • @user-qk4ss
    @user-qk4ss Рік тому +2

    Great video , but try to give the more explanation regarding concept

  • @elsherman7861
    @elsherman7861 5 місяців тому +1

    Be careful, you are declaring a private token in the string, which makes it easy to access the secret token.

  • @SuraSrisong
    @SuraSrisong Рік тому +3

    Would you make a series of mapbox tutorials in android studio using java? Because I hope that you will.

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

      Sure!

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

      @@EverydayProgrammer Thank you so much.

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

      Thanks for the tutorial video. Helped me a lot. Can you also create a tutorial on how to add event reminders for this navigation app in android studio java? Thank you!

  • @GOLDKUN-ei8wj
    @GOLDKUN-ei8wj 9 днів тому +1

    on command: locationPuck2D.setBearingImage(AppCompatResources.getDrawable(Map_Offical.this, R.drawable.baseline_location_on_24));
    Error: 'setBearingImage(com.mapbox.maps.ImageHolder)' in 'com.mapbox.maps.plugin.LocationPuck2D' cannot be applied to '(android.graphics.drawable.Drawable)'
    Please help me

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

    Nice brother ❤️

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

    what if you want to use mapbox's default puck for user location?

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

    1 thing I suggest you test. If you take the phone and walk around, will the location updatelive, or unless you reload the app?

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

      I just tested it. it works

  • @thomaskappa4814
    @thomaskappa4814 7 місяців тому +1

    thanks buddy, this is a good tutorial.

  • @ToniHenkelGrafvonFalkenstein
    @ToniHenkelGrafvonFalkenstein 11 місяців тому +1

    Hello, I have the Problem on 11:02, in line 108
    (locationPuck2D.setBearingImage(AppCompatResources.getDrawable(MainActivity.this, R.drawable.baseline_location_on_24)); )
    he requiered type is image Holder, but I provide a Drawable. Can you help me please ?

    • @EverydayProgrammer
      @EverydayProgrammer  11 місяців тому

      Try updating mapbox dependency version and make sure that your drawable is vector drawable.

    • @spyderkavin
      @spyderkavin 9 місяців тому +1

      I had the same problem as well, and I solved it.
      Use the imageholder.from(R.id.baselince location on)

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

      @@spyderkavin thanks, this was very useful !

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

      can you help me i also have this error

  • @NursultanSovetov-g6r
    @NursultanSovetov-g6r 6 місяців тому +2

    Bro, when i coded "ACCESS_FINE_LOCATION " ( 9:21) android studio marked it as a mistake. It suggests to make a new class named "ACCESS_FINE_LOCATION " , but you did it with no problom. Could you help me pls🙏🙏

    • @NursultanSovetov-g6r
      @NursultanSovetov-g6r 6 місяців тому

      P.S: after adding the new class it didint work either

    • @EverydayProgrammer
      @EverydayProgrammer  6 місяців тому

      Replace the existing Manifest in the import section with import android.Manifest; or just use 'android.Manifest.permission.ACCESS_FINE_LOCATION'

    • @NursultanSovetov-g6r
      @NursultanSovetov-g6r 6 місяців тому +1

      @@EverydayProgrammer Thank you very much. I appreciate it. Your work on UA-cam helps lots of people around the world!

    • @EverydayProgrammer
      @EverydayProgrammer  6 місяців тому

      Thank you!!!

    • @NursultanSovetov-g6r
      @NursultanSovetov-g6r 6 місяців тому +1

      @@EverydayProgrammer Sorry, but there another issue (10:59) 'setBearingImage(com.mapbox.maps.ImageHolder)' in 'com.mapbox.maps.plugin.LocationPuck2D' cannot be applied to '(android.graphics.drawable.Drawable)' What i can do to deal with it?

  • @TheDARKOMETER
    @TheDARKOMETER 5 місяців тому

    Hello good sir, how were you able to learn these? I was reading the mapbox docs and I was almost brought to insanity because their docs are focused on kotlin and not java

  • @MEImei-tk8zm
    @MEImei-tk8zm Рік тому +1

    Where do you get your reference on your code, mapbox has kotlin built reference, I really want to know how you create java mapbox v10 codes

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

      Well actually I use mapbox's kotlin documentation to implement mapbox in Android studio using kotlin and then I'll translate the code to java. There is no proper java documentation for mapbox atleast yet.

    • @MEImei-tk8zm
      @MEImei-tk8zm Рік тому

      @@EverydayProgrammer Do you manually translate it? Thanks for the reply, really wish you create a routing from current location to destination video

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

      Yeah, Actually routing is a bit harder even to implement using kotlin but I'm working on it and will upload a tutorial on it by the upcoming week (hopefully) 😅.

    • @MEImei-tk8zm
      @MEImei-tk8zm Рік тому +1

      @@EverydayProgrammer Thank you so much! it will be a huge help on our project

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

      There you go: ua-cam.com/video/cWWjbVPhh0k/v-deo.html Hope this helps

  • @aiaee
    @aiaee 11 місяців тому +1

    Hello please help, it says that setBearingImage cannot be applied in android graphics drawable Drawable 😭

    • @aiaee
      @aiaee 11 місяців тому

      10:57 this part, i keep getting errors :(((

    • @EverydayProgrammer
      @EverydayProgrammer  11 місяців тому +1

      Do not use vector drawable, use PNG image. And convert the png into drawable and parse it into setBearingImage.

    • @aiaee
      @aiaee 11 місяців тому

      @@EverydayProgrammer hello, thank you but how would i do that? Im still learning sorryy

    • @EverydayProgrammer
      @EverydayProgrammer  11 місяців тому

      I'm sorry you have to do the exact opposite of what I previously said. You have to use only vector drawable from vector assets in android studio. You can also download icons from Google Material Icons. Try the following icon: fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Alocation_on%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4024

    • @waicun9003
      @waicun9003 8 місяців тому

      I don't know have you fixed it, But here what I have done, and it work!!
      ImageHolder imageHolder = ImageHolder.from(R.drawable.baseline_location_on_24);
      locationPuck2D.setBearingImage(imageHolder);@@aiaee

  • @李国豪-k8v
    @李国豪-k8v 11 місяців тому +1

    太棒啦!谢谢你!

  • @BelindaWoodson
    @BelindaWoodson Місяць тому +1

    satellite 📡 View Drone View

  • @nitay2870
    @nitay2870 10 місяців тому

    how to add markers to the map and customize them and make popup when click on them

    • @dukk5849
      @dukk5849 8 місяців тому

      Did you found any answers?

  • @RahulSingh-jc8gv
    @RahulSingh-jc8gv Рік тому +1

    Please make iptv app tutorial

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

    thx