Create Augmented Reality App in Android Studio | Android App Development Tutorial

  Рет қаралды 19,624

EasyLearn

EasyLearn

Күн бұрын

Пікірлер: 66
@shahzadhaider9355
@shahzadhaider9355 4 жыл бұрын
THANKS A LOT ....You are good teacher......It is request to send all latest videos to me especially Android app development....Thankyou again
@LearnKambadrive
@LearnKambadrive 4 жыл бұрын
I stand up to support this. Subscribed
@shahad2331
@shahad2331 3 жыл бұрын
please have an AR obj how can I make it as url?
@maliksoft3675
@maliksoft3675 4 жыл бұрын
Please make video on how to build Ar measurement app if possible, otherwise please refer some resource from where I learn it, if you have. Your videos are very helpful thanks.
@jeremyngweibin3788
@jeremyngweibin3788 2 жыл бұрын
Why I upload the glb file to GitHub and read the URL in the app but the item not showing on the camera.
@maciejszelag5622
@maciejszelag5622 4 жыл бұрын
What can I do with error "Error inflating class com.google.ar.sceneform.ArSceneView" ?
@islombeknishonboev2208
@islombeknishonboev2208 3 жыл бұрын
Thanks a lot. Really helpful and understandable
@ConstantinescuAdrian
@ConstantinescuAdrian 3 жыл бұрын
In my case it is not finding any flat surfaces for displaying the object. That white phone and the hand symbol is continuously rotating in the center of the screen.
@LisbonLabs
@LisbonLabs 4 жыл бұрын
Hi, thank you for the video! What would change if this was to be deployed by a scanned image?
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi LisbonLabs, For that feature ARCore's Augmented Images needs to be added to recognize the scanned image before placing a model. Checkout this reference: codelabs.developers.google.com/codelabs/augimg-intro/index.html developers.google.com/ar/develop/java/augmented-images/guide Thanks for watching this tutorial.
@gauravrawat6172
@gauravrawat6172 4 жыл бұрын
Your videos are helpful Can u provide documentation link For further learning Ar in android
@LisbonLabs
@LisbonLabs 4 жыл бұрын
@@EasyLearnVideos Thank you!
@PavelStr-x5w
@PavelStr-x5w 4 жыл бұрын
Hey, thanks for Video! I did every step, but I can't I convert fbx to sfb. (I have Google Sceneform Tools). It simply does not convert, does not perform any actions, as if there was nothing. Can you help me?
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Amap, please try the older version of Android Studio for sceneform plugin. You can get all the info in the video regarding sceneform and android studio version used. You can also try this AR tutorial to load 3d model directly - kzbin.info/www/bejne/bIuze5abfLFsapo. Hope it helps. Thanks
@PavelStr-x5w
@PavelStr-x5w 4 жыл бұрын
@@EasyLearnVideos thank you!
@nipanipa3326
@nipanipa3326 3 жыл бұрын
Hi mam thanku for this tutorial plz also make tutorial on face filter ar all👍
@ahsansyed4146
@ahsansyed4146 4 жыл бұрын
have worked on ARCore depth api?
@huyvan7680
@huyvan7680 3 жыл бұрын
I can't load the color of model on scene, can you help me , please?
@sonnyhope4770
@sonnyhope4770 4 жыл бұрын
Hi mam can i know where did you get the asset for the lion or any animals like in the github ?
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Sonny Hope, the model should be there on the server.. you can use from github or else you can download model from poly.google.com/ and host it on the server. Also you can watch my previous AR video if you don't want to load model from url and just want to have one model in Android studio and show it directly into the app. Thank you for watching this tutorial.
@KoradiyaAbhay
@KoradiyaAbhay 4 жыл бұрын
@@EasyLearnVideos But In the previous video, you are using obj model.
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
@@KoradiyaAbhay yes you can try both ways.
@somyatomar6292
@somyatomar6292 4 жыл бұрын
Kindly tell how did you create a url for your glb file. I tried uploading my gltf file on drive and used that url but in the app it is not showing up during runtime. Please help.
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Somya, please try the available glb model from github. It is there in the description box. If it is working you can try uploading your own glb file on github. Let me know if you need more help on this. Thanks for your support.
@agam9998
@agam9998 3 жыл бұрын
i am getting an error where you are casting Fragment to ArFragment it says incorvertible types
@mugilesh.e8107
@mugilesh.e8107 2 жыл бұрын
Same error for me Did you solved that error?
@lordmaxwell00
@lordmaxwell00 2 жыл бұрын
same..
@TechMediaMalayalam12
@TechMediaMalayalam12 3 жыл бұрын
Great work
@rogerccaqp
@rogerccaqp 4 жыл бұрын
hi this Arcore work for some devices and apis. Dont work in my mobile. sdk 27 Android 8 Any alternative of solution? Goode content and Thanks.
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Roger, Apps built on ARCore works only on device which supports Google play services for AR -play.google.com/store/apps/details?id=com.google.ar.core No alternative solution as of now. Thanks..
@harshitsrivastava9903
@harshitsrivastava9903 4 жыл бұрын
Import sceneform assest on obj file not giving any change..i have used the same steps until this
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Harshit Srivastava, Check Android studio version and sceneform library version as well that may be the case. You can check the source code in description box also to get the demo sfb file. Thanks!
@harshitsrivastava9903
@harshitsrivastava9903 4 жыл бұрын
@@EasyLearnVideos Android Studio 4 and sceneform 1.15.0
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
@@harshitsrivastava9903 Hi, the updated Android Studio was not working with sceneform for me as well. I worked with Android Studio 3.6 which worked fine as shown in the video. You can try to add it manually if the conversion is not happening.
@harshitsrivastava9903
@harshitsrivastava9903 4 жыл бұрын
@@EasyLearnVideos can you please tell me how to add it manually bcz i cant get back to android studio's previous version.
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
@@harshitsrivastava9903 May be you can check out below link to resolve or try to download and copy the source code from description box. stackoverflow.com/questions/60413649/error-while-importing-fbx-with-import-sceneform-asset-in-android-studio-3-6 And do check out my other video to load 3d model dynamically using url without any conversion. kzbin.info/www/bejne/bIuze5abfLFsapo. I hope it would be helpful.
@qazizaidahmad8332
@qazizaidahmad8332 4 жыл бұрын
How can i download source code it
@ankushvishwakarma8544
@ankushvishwakarma8544 4 жыл бұрын
How i Get Model URL Help Me ?
@Gajendra.Sukalkar
@Gajendra.Sukalkar 4 жыл бұрын
download the model and host it using any service like Google drive or Git hub repo. Hope this helps.
@rahulbillava3103
@rahulbillava3103 4 жыл бұрын
Great tutorial. Keep it up. Can you help me to detect a plain page and place a 2D image instead of a 3D object on that page? Thanks.
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Rahul, thanks please use ViewRenderable similarly if you want to place 2d image. Hope this would be helpful - medium.com/@KristiSimakova/how-to-add-ui-elements-to-ar-scene-in-arcore-d2ba64454478. Thanks for watching. Do subscribe to the channel. Thanks.
@PinglusKitchen
@PinglusKitchen 4 жыл бұрын
আমারও ভিডিও ভালো লেগেছে, পাশে থাকলাম, তুমিও...
@TusharJainnn
@TusharJainnn 4 жыл бұрын
Everytime I run this app on the emulator, it crashes
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Tushar Jain, please configure your emulator properly if you haven't done. Do check this documentation for setting up the emulator to run AR. developers.google.com/ar/develop/java/emulator Thanks for watching this tutorial.
@TusharJainnn
@TusharJainnn 4 жыл бұрын
@@EasyLearnVideos It still crashes, I get this error E/EGL_emulation: tid 14731: eglCreateContext(1479): error 0x3005 (EGL_BAD_CONFIG) E/EGL_emulation: tid 14731: eglGetConfigAttrib(1020): error 0x3005 (EGL_BAD_CONFIG) I/chatty: uid=10150(com.example.easylearn) identical 3 lines E/EGL_emulation: tid 14731: eglGetConfigAttrib(1020): error 0x3005 (EGL_BAD_CONFIG) tid 14731: eglCreatePbufferSurface(1066): error 0x3005 (EGL_BAD_CONFIG) E/Filament: Error opening trace file: No such file or directory (2) I/Filament: FEngine (32 bits) created at 0xc6f7c030 (threading is enabled) D/Filament: Using ASurfaceTexture D/Filament: FEngine resolved backend: OpenGL D/HostConnection: HostConnection::get() New Host Connection established 0xf6092670, tid 14761 D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2 E/Filament: eglChooseConfig failed with unknown D/AndroidRuntime: Shutting down VM E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.easylearn, PID: 14731 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.easylearn/com.example.easylearn.MainActivity}: android.view.InflateException: Binary XML file line #9 in com.example.easylearn:layout/activity_main: Binary XML file line #22 in com.example.easylearn:layout/sceneform_ux_fragment_layout: Binary XML file line #22 in com.example.easylearn:layout/sceneform_ux_fragment_layout: Error inflating class com.google.ar.sceneform.ArSceneView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3356) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3500) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2049) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7523) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941) Caused by: android.view.InflateException: Binary XML file line #9 in com.example.easylearn:layout/activity_main: Binary XML file line #22 in com.example.easylearn:layout/sceneform_ux_fragment_layout: Binary XML file line #22 in com.example.easylearn:layout/sceneform_ux_fragment_layout: Error inflating class com.google.ar.sceneform.ArSceneView Caused by: android.view.InflateException: Binary XML file line #22 in com.example.easylearn:layout/sceneform_ux_fragment_layout: Binary XML file line #22 in com.example.easylearn:layout/sceneform_ux_fragment_layout: Error inflating class com.google.ar.sceneform.ArSceneView Caused by: android.view.InflateException: Binary XML file line #22 in com.example.easylearn:layout/sceneform_ux_fragment_layout: Error inflating class com.google.ar.sceneform.ArSceneView Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at android.view.LayoutInflater.createView(LayoutInflater.java:852) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) at android.view.LayoutInflater.inflate(LayoutInflater.java:680) at android.view.LayoutInflater.inflate(LayoutInflater.java:532) at com.google.ar.sceneform.ux.BaseArFragment.onCreateView(BaseArFragment.java:162) at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2600) at androidx.fragment.app.FragmentManagerImpl.ensureInflatedFragmentView(FragmentManagerImpl.java:1138) at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:851) at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1133) at androidx.fragment.app.FragmentManagerImpl.addFragment(FragmentManagerImpl.java:1393) at androidx.fragment.app.FragmentManagerImpl.onCreateView(FragmentManagerImpl.java:3205) at androidx.fragment.app.FragmentController.onCreateView(FragmentController.java:134) at androidx.fragment.app.FragmentActivity.dispatchFragmentsOnCreateView(FragmentActivity.java:357) at androidx.fragment.app.FragmentActivity.onCreateView(FragmentActivity.java:336) at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1067) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:995) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959) E/AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082) at android.view.LayoutInflater.inflate(LayoutInflater.java:680) at android.view.LayoutInflater.inflate(LayoutInflater.java:532) at android.view.LayoutInflater.inflate(LayoutInflater.java:479) at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:555) at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:161) at com.example.easylearn.MainActivity.onCreate(MainActivity.java:25) at android.app.Activity.performCreate(Activity.java:7984) at android.app.Activity.performCreate(Activity.java:7973) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3329) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3500) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2049) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7523) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941) Caused by: java.lang.IllegalStateException: Couldn't create Engine at com.google.android.filament.Engine.create(Engine.java:206) at com.google.ar.sceneform.rendering.EngineInstance.createEngine(EngineInstance.java:85) at com.google.ar.sceneform.rendering.EngineInstance.getEngine(EngineInstance.java:39) at com.google.ar.sceneform.rendering.Renderer.initialize(Renderer.java:542) at com.google.ar.sceneform.rendering.Renderer.(Renderer.java:109) at com.google.ar.sceneform.SceneView.initialize(SourceFile:76) at com.google.ar.sceneform.SceneView.(SourceFile:21) at com.google.ar.sceneform.ArSceneView.(SourceFile:13) ... 45 more
@abhinavmaharana9821
@abhinavmaharana9821 4 жыл бұрын
@@TusharJainnn yup it is still crashing did you try once again to work for it
@moviecenter5445
@moviecenter5445 4 жыл бұрын
How to add multiple models in ai app
@EasyLearnVideos
@EasyLearnVideos 4 жыл бұрын
Hi Chandresh, you can use the same method again for placing multiple model. But need to provide position differently for each. Thanks.
@KoradiyaAbhay
@KoradiyaAbhay 4 жыл бұрын
How to solve androidx issue?
@bjorkaasli2636
@bjorkaasli2636 3 жыл бұрын
on navbar click refactor -> migrate android x
@periodcolombia2415
@periodcolombia2415 4 жыл бұрын
When you upload a video explaining how to make periodic payments in the app, I would really appreciate it 🥺
@krrishrajput5753
@krrishrajput5753 3 жыл бұрын
make face ar and make two ar filters in one project
@armindehghany
@armindehghany 3 жыл бұрын
you dont teach friendly and its so bad and specialy you said download 3D object but you used URL in video i just confused so how should we convert our object to URL ???? that was so bad
@EasyLearnVideos
@EasyLearnVideos 3 жыл бұрын
Hi Armin, if you are not able to figure out. Please follow this tutorial where you can use local 3D model in Android studio but it will need previous Android studio version kzbin.info/www/bejne/fZqvo5Rtn9Onqc0. Or just checkout any sample url available on net for 3D model. Few free 3D model urls are available. Also check in description box you will get one sample link of a (Astronaut) 3D model in .glb format. Thanks for sharing your feedback.
@Dika9101
@Dika9101 2 жыл бұрын
Why model tiger can't load in my camera? Just Round and white, please help me 😖
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Building a Mobile App in 2025: The BEST Technologies
13:31
Dan Ilies
Рет қаралды 123 М.
Как стать ДЕЙСТВИТЕЛЬНО хорошим программистом
7:35
Бинарный происк
Рет қаралды 154 М.
Evolute I-Space - ты просто космос Стас!
19:35
Клубный сервис
Рет қаралды 101 М.
КАК НАЧАТЬ ПОНИМАТЬ LINUX (2024)
21:10
PLAFON - Канал о линуксе
Рет қаралды 241 М.
Augmented Reality (AR) tutorial for beginners using Unity 2022
32:11
Playful Technology
Рет қаралды 316 М.
Coding INDOOR NAVIGATION with A* Pathfinding
10:24
MatthewHallberg
Рет қаралды 193 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН