October 22, 2024
Chicago 12, Melborne City, USA
Android

While images appear in debug and release mode in my Xamarin android application, images do not appear when published in aab format.aab

I have a Xamarin android project. I tested it in debug and release mode, the images appear, the application works fine. But when I publish it to Google Play (I create and publish the package in .aab format), none of the images, not even the icons in the tabbar menu, appear. What am I doing

Read More
Android

Android Studio Setup

I am experiencing an issue with Android Studio where the download progress is not being displayed. Despite waiting for over 20 minutes, the status remains stuck on “Preparing,” and no progress bar or percentage is shown. This makes it difficult to determine if the download is proceeding or if it has stalled. I have verified

Read More
Android

ThumbnailUtils.createVideoThumbnail() can not get bitmap

I test many file formats for this, e.g. avi、flv、wmv…, but all of this get null bitmap: String aviPath = "xxxx.avi"; Bitmap bitmap = ThumbnailUtils.createVideoThumbnail(aviPath, MediaStore.Images.Thumbnails.MINI_KIND); and had log like this: java.io.IOException: Failed to create thumbnail, can’t open xxx.avi。 Is it means that these file formats can’t be supported now? or using it wrong? You need

Read More
Android

React Native application stuck on Expo logo screen after building using eas

I’m facing an issue when building my react native application using eas. The application worked fine without any issue while running with expo normally, but now when building the application in the android emulator the app get’s stuck in this screen. In the Expo build dashboard the building process goes well without any error, so

Read More
Android

While running the app showing this error e: Supertypes of the following classes cannot be resolved. make sure have the dependencies in the classpath

so app is building fine when i am trying to run the app it is showing these errors i have added the dependencies While running the app showing this error e: Supertypes of the following classes cannot be resolved. make sure have the dependencies in the classpath still there is the problem e: Supertypes of

Read More
Android

Bitmap in Kotlin with Jetpack, won't draw the correct size

This has been driving me crazy all day. I have been trying to draw a full screen bitmap as the background for my custom view. The bitmap resolution is 2312×1080 the code right before I draw it shows both my canvas that I’m in and my bitmap are also 2312×1080 (these two log functions). But

Read More
Android

Cannot create .NET MAUI project from Linux Ubuntu

I just became aware that Linux users can create MAUI apps, so I followed the steps listed in these resources: https://techcommunity.microsoft.com/t5/educator-developer-blog/net-maui-on-linux-with-visual-studio-code/ba-p/3982195 https://www.youtube.com/watch?v=4D2vUYUIqFU So far, I have installed all the necessary SDKs for C# and MAUI. I can confirm this by typing dotnet --info And dotnet workload list So, I have all the SDKs and variables

Read More
Android

Android NFC(?) Device to Device Communication- Major failure

need major help, here is what I have tried so far: my goal: App1Terminal: Waits for a mobile device to get in proximity App2Device: Comes in proximity, opens channel with App1Terminal and sends some data App1Terminal: Receives data from App2Device and responds with some level of decision as well as shows decision on its screen

Read More
Android

Could not locate class file for okhttp3.OkHttpClient with ByteBuddy android

previously i asked the question here, got some suggestions from @Rafael Winterhalter. i applied those changes but stuck with new error. this code is working with subclass but I want to replace all the OkHttpClient automatically with bytebuddy. how should I approach this ? here is my code fun setupOkHttpBuilderByteBuddy(context: Context) { val strategy =

Read More
Android

how to create android layout like image?

[! android layout]1 Dear All, I am newer in Android. I am doing android application. I have tried many options. but layout didn’t match like this. Please suggest any solutions. am sharing image. Please help me for layout. I am trying so much but not get exactly solution. Thanks in advance <androidx.cardview.widget.CardView android:id="@+id/card_excel2pdf" android:layout_width="match_parent" android:layout_height="wrap_content"

Read More