All Questions
1,717 questions
0
votes
0
answers
35
views
Can I use TextInputEditText without TextInputLayout?
For a project, I was analyzing part of a Java code structure for mobile applications. During the analysis, I realized that it didn't have a TextInputLayout, but right at the beginning it imports a ...
0
votes
3
answers
58
views
How do i get my app to stop crashing when edittext view is empty
I am creating an app where the users inputs data about their garden within fragments, it saves and outputs data on the home fragment. My problem is that I am trying to make a toast message when the ...
0
votes
0
answers
25
views
Why are my Emergency numbers not displayed in a collapsible form by location?
I tried to make an android App in Android Studio. For some reason there are always errors. It started with it not being collapsible and after more hours than I want to admit of trying, I think I ...
0
votes
0
answers
92
views
Development of an app that sends a message automatically in Android Studio [duplicate]
I usually don't get any answers but I'm kind of desperate so a guess I'll give it a try xd
I'm developing a mobile app in android studio aimed at elderly peolple and I want to implement a button that, ...
0
votes
0
answers
16
views
android UsageStatsManager API to get sessions count for each app along with the duration
i want to build an app similar to StayFree but for company use only not for google play
but there is one thing that i could not achieve , which is the session count for each app also the total time ...
0
votes
2
answers
56
views
Android APIs frequently return incorrect screen resolutions after device rotation
I need to know the dimensions of an app in pixels for screen capture purposes. Previously I used methods like getRealMetrics to get the resolution and this works flawlessly under normal circumstances ...
0
votes
0
answers
49
views
ProGuard Obfuscated files are easily decoded using Android Java Decompiler
I obfuscated my Java files, however when opening the files with Android's Java Decompiler, It fully exposed the supposedly obfuscated code.
I want to obfuscate my Java files properly.
code snippet of ...
0
votes
2
answers
59
views
i tried to get read edit manage storage in android java and output permission denied and not found in device setting
i developed app can read all documents like pdf, and office PowerPoint, excel, word
and the main activity i want to show a list of all documents available on device so user can open any document ...
0
votes
0
answers
27
views
Android - NotificationBuilder large icon getting pixilated
I create notification and set large icon in builder using bitmap.
I debug that bitmap its getting proper with 1024*1024 size but still after add into notification its show me pixilated(blurry)
...
0
votes
1
answer
68
views
How to Implement a Multi-Level ExpandableListView with Hierarchy: Plant → Department & Section → Line → Devices in Android
I am working on an Android project where I need to implement a hierarchical structure using an ExpandableListView. Currently, I have implemented a two-level hierarchy: Plant → Devices. Now, I want to ...
0
votes
0
answers
23
views
Cant draw anything on canvas using surfaceView?
I can't get anything to show up on screen. I have created a Empty Views Action then written the following code. (Copied from youtube where it works)
public class GamePanel extends SurfaceView ...
1
vote
1
answer
147
views
Only receive ServerAuthToken with Credential Manager?
is it possible to only receive the serverAuthCode with the Credential Manager [1] in an Android App written in Java ?
Our backend expects only this information so it may make the request to Google to ...
0
votes
2
answers
30
views
Repeat android animation with multiple translations and durations offsets
I want to an animation that infinitely moves images up and down. However when I run my code, the animation only happens once. This is the animation xml:
<?xml version="1.0" encoding="...
4
votes
1
answer
114
views
Android Stream.toList() does not work in the APK but works when the app is installed directly from the Android Studio
I am using this code
var subList = mainList.stream()
.flatMap(mainListItem ->
getSubItems(mainListItem.subItems).stream())
.toList()
...
0
votes
0
answers
35
views
Why is my up button not navigating to parent activity?
I am building a simple android app and my issue is that when I get to a specific activity the up button does not navigate to the parent activity. My app starts with a MainActivity, from there I can ...