SceneForm and Scenview in android - android

I am following the below tutorial for rendering 3d model
https://medium.com/#harivigneshjayapalan/arcore-cupcakes-1-render-a-scene-without-ar-for-phones-without-arcore-27d61a43a130
But when i run thee app app runs succesfully but empty screen is coming.

Solved the issue, The problem is with device ,It works with device or emulator having OS oreo 8.1 version

You just need to give correct path of your 3d image folder. Then, only it will retrieve that image and display it on the screen.

Related

Android Virtual Devices (AVD) resolution not correct after downloading Android 5.1.1 for SDK

The story is that I developed an Android program with Android 4.4.2. But some problems was found after installing the program to a device with Android 5.1.1. So I tried to download Android 5.1.1 for my SDK to debug the problem. Then the AVD I kept on using becomes like a mess no matter I changed to different configuration (see picture 1). My AVD configuration is as picture 2.
Hope someone could help... Thank you so much!
Picture 1
Picture 2
Got a temporary way to solve it and don't know if it is correct.
Set the skin to "no skin".
There is another problem happened now. The control bar of that window shows out of the screen. It makes the window cannot be moved. Anyway, I can continue my development job in this way...

Preview of widget not showing correct image after update

I have an app that has an widget preview image. I recently updated this image on the app, but in a device with Lollipop (5.0) version of android, the preview image of the widget shows the old image (the one I replaced). The same doesn't occur in devices without Lollipop.
I turned the resources folder upside down searching for the old image, but it is correctly updated in all the places (actually, it is only in one folder, as I have only one image of the preview).
Just to give more info, I'm using Android Studio 1.0-rc1, and this problem only occurs in my Nexus 4 with lollipop (5.0) running on it.
I tested in some emulators with Lollipop, and the same happened.
It's important to highlight that if I never installed any previous version of the app (with the old widget preview image), when I install the new version the preview image appears to be correct.
Is anyone having the same problem, or knows how to solve this?
Thanks.
I had the same problem. I managed to work around it (on Nexus 5) by going to the settings of the launcher app (Settings -> Apps -> Google App) and deleting the cache.
I also had this same issue and the answer by #spookypeanut put me on the right track.
My phone is running CyanogenMod so I had to go to app Launcher3 (com.cyanogenmod.trebuchet), clear cache and force stop it. After it reloaded all the previews updated.

Android MediaStore.Images.Media.insertImage works on KitKat only after using camera app to take a picture

I have an app in which the user draws an image using Canvas and Bitmap. When the user wishes to save the image I use MediaStore.Images.Media.insertImage.
On an Android 4.3 or earlier device or AVD it works.
On an Android 4.4 AVD it works.
On an Android 4.4 device it fails with a FileNotFound exception appearing only in DDMS. HOWEVER, if I then go to the Android 4.4 devices camera app and take one picture, then go back to my app and save my image IT WORKS!
Seems like a bug to me. Anyone have any ideas?
Best, Paul
Make sure that there's the folder /sdcard/0/emulated/DICM/Camera. In Android4.4(Kitkat), 3rd party app doesn't create the DCIM/Camera folder. It seems like a bug.
related Google's commit

Gif animation on JellyBean 4.2 doesn't display

I'm using
Nexus 7 android 4.2
SDK and eclipse is the adt-bundle-windows version. *download on 2012-11-21st
OS is Windows7 64bits home premium sp1
I tried to run the sample code at
...\ApiDemos\src\com\example\android\apis\graphics\BitmapDecode.java.
It is successfully build and run on both simulator and my nexus 7. The problem is the app doesn't display the *.gif animation but the the other 3 *.bmp is shown correctly. There even doesn't has any black box on the screen.
I tried different *.gif file which from internet or SDK example image file.
And I have attached the files at google group. Here is the link.
In debug mode, I checked some parameter and as below:
the inputstream having the same length with the gif file, so I think is read successfully.
The Movie.draw x,y is having a positive number.
May be the frame rate is too high, so I tried to slow down by putting a delay and tried Movie.setTime(10); So it atleast must show some static picture. But at my device/simulator just got blank screen.
Thank you.
Regards,
Murnesty
Android doesn't support animated GIFs.

Android: draw9path doesn't not work on Emulator

I 'm using Android draw9path for an image that I will set for background.
after I process picture on software (default tools of android SDK) an put it in drawable-hdpi folder, and put it in background by:
android:background="#drawable/background".
I test successfully on graphical view, but when I run on Emulator, Android Emulator acts as normal image.
Who can help me solve this issue, please.
thanks :)
I think you didn't create p pitch image properly.
save the file like filename.9.png

Categories

Resources