Click here to Skip to main content
15,893,814 members
Everything / Mobile Apps / Android

Android

Android

Great Reads

by ridoy
A brief explanation of application development for Android Wear, helpful for every beginner and intermediate android developer.
by Safak Tarazan
Usage of services, alarm manager and broadcast receivers
by Daniel Vaughan
Create best-in-breed cross-platform MVVM apps using Calcium for Xamarin.Forms.
by raddevus
Steps for building a device you can add to your existing garage door, which implements an atmega328, bluetooth (hc-05) and relay module which will allow you to open your garage door from any paired Android device.

Latest Articles

by JudyL_MD
Code sample for passing encrypted compressed data between Windows and Android
by Ayush Vijaywargi
Enhancing Android app stability by integrating LeakCanary with RxJava for efficient memory leak detection and resolution.
by Suhagkumar Vamja
The article discusses the challenges faced by businesses in releasing mobile applications quickly and the importance of faster time to market (TTM)
by Zijian
Use PowerShell scripts to generate icons of native mobile apps

All Articles

Sort by Updated

Android 

N 6 May 2024 by OriginalGriff
To add to what Pete has said ... This is one of the most common problems we get asked, and it's also the one we are least equipped to answer, but you are most equipped to answer yourself. Let me just explain what the error means: You have tried...
N 6 May 2024 by Pete O'Hanlon
You check mlist to see if it's null then log this. If it's null, you have no guard around the size because you just log that there's a null entry and continue processing as per normal. Try something like this.if (mlist == null) { ...
N 6 May 2024 by BHAVYA NAINESHKUMAR FULWALA
package com.example.todoapp.adapter; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CheckBox;...
N 1 May 2024 by maveň08
You can try: - Collect Data Properly: Instead of directly assigning the Flow to your state variables, collect the data within the LaunchedEffect block and then update the state variables accordingly. - Separate Database Operations: Move the...
U 1 May 2024 by maveň08
Can you move this line messagesAdapter = new messagesAdapter(Chat_Window.this, messageArrayList); in onDataChange, after messageArrayList.add(messages); this line.
N 1 May 2024 by maveň08
You can try this way. private void downloadVideo(String videoUrl, String name, String fileExtension) { FileUtils.saveVideoToInternalStorage(requireContext(), videoUrl, name + fileExtension, success -> { if (success) { //...
U 30 Apr 2024 by PauliKK
The app seems to ignore the database values and defaults to "00-00-0000" for dates and "0" for streak counts, suggesting an issue with the data collection logic or state handling in the composable function.A likely cause could be incorrect data...
N 30 Apr 2024 by Everything Select
Function in my Dao file is: @Query("SELECT * from appData WHERE type = :type ORDER BY id DESC") fun getData(type: String): Flow> The database contains a column of automatically generated int primary key 'id', a column of...
8 Apr 2024 by VortexV7
The chats/messages are not appearing on my app's chat windows but when I have checked my firebase database it is showing there properly. Here is the code please look into it. ChatWindow.java package com.vortexv.vconnect; import...
6 Apr 2024 by Pete O'Hanlon
Add an empty default constructor to the class.public Users() {} The error told you exactly what the problem was.
6 Apr 2024 by VortexV7
I am using firebase as my database for my app which is an chatting app. And my app is crashing whenever I try to login or sign up to my app main activity the app crashes automatically. MainActivity.java package com.vortexv.vconnect; import...
18 Mar 2024 by Aftab Amjad
Hi, I am trying to download a video from url and save it in the internal app storage which can be viewed in the Downloaded Fragment. The problem is that when i click the download button video starts downloading and in notification bar downloading...
13 Mar 2024 by JudyL_MD
Code sample for passing encrypted compressed data between Windows and Android
12 Mar 2024 by Ayush Vijaywargi
Enhancing Android app stability by integrating LeakCanary with RxJava for efficient memory leak detection and resolution.
8 Feb 2024 by Ayush Thakur from New Delhi
I want to make a simple data entry application where the app starts with the main activity and asks the user for their info and image URI from the gallery, after getting all the inputs when the user enters submit it opens up a new activity that...
3 Feb 2024 by Richard MacCutchan
You can create as many projects as you want in Android Studio. Just use the "New Project" menu selector.
3 Feb 2024 by 3bdelrahman
How to create another android application project in the same android studio which already have a project and an application . Is it possible to have two separate projects with two separate android applications in the same android studio? What I...
26 Jan 2024 by Graeme_Grant
Make a Method in MAUI, then expose it to your Blazor Hybrid app. You call the MAUI method and that will do the native Android work for you. If you are not sure how to do this, there are plenty of examples: call maui method from a blazor hybrid...
26 Jan 2024 by Martijn van der Kaaij
I'm trying to open any app on my android phone from within a blazor hybrid app (written in c#). On windows machines I can open local programs, using system.diagnostics.process.start, but I can't get it to work on Android. I have tried to start...
14 Jan 2024 by Tushar Sondhi
I am getting the error saying "libgbm_mesa_wrapper (SHARED_LIBRARIES) android-x86" missing libgbm_mesa (SHARED_LIBRARIES android-x86)" in my AOSP project while I am trying to build it for x86 platform. I did try to set...
25 Dec 2023 by eva joly fabiola yepgwa takedo
Logs : KeyboardViewController.show():438 Requesting to show sub view with id 2131428318(key_pos_password_header_numbers) which doesn't exist in current keyboard view ...
25 Dec 2023 by Dave Kreskowiak
Without the error message printed to the console window by the e.printStackTrace method in your trry/catch block, it's impossible for anyone to tell you what's going wrong.
25 Dec 2023 by eva joly fabiola yepgwa takedo
When i click the button to save user's informations, the app just close and i can't access the database to see if the infos got saved or not because of that. When i comment the "verifyUser(mail)" part, i only get the toast as an answer but the...
24 Dec 2023 by Richard MacCutchan
This is not a programming issue; you should contact Facebook for help
24 Dec 2023 by Xarzu
I had given up on Facebook. Someone managed to use its system against me be making multiple request to reset my password. So I eventually decided to live without it. But I begrudgingly found that Facebook can be a useful tool to make contact...
18 Dec 2023 by pasztorpisti
Have some balls and don't be afraid to choose your destiny for yourself. Do you want us to tell you what to do with your life??? (Hmmm, a few tips from me: go and try working as a makeup artist or a ballet dancer...) If you have no clue about any...
11 Dec 2023 by Suhagkumar Vamja
The article discusses the challenges faced by businesses in releasing mobile applications quickly and the importance of faster time to market (TTM)
13 Nov 2023 by Zijian
Use PowerShell scripts to generate icons of native mobile apps
6 Nov 2023 by Yago Rodríguez
I have encountered this problem in my androidstudio application. I've checked my build.gradle and I don't have the maxSnapshotsForTestFailures added. I've searched the entire application and I haven't added what the compiler says I have. What I...
5 Nov 2023 by Navi_here
So there is a website which contains some information. I am building an Android app that will show some specific information of that website and whenever the website gets some update, my app will automatically receive a notification about that...