Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
81 views

Sharing UI logic between fragments and activity

I have tried to make my code more modular and reusable by utilizing fragments in activity. The purpose is to have a static activity with a FragmentContainerView that hosts various fragments. Each ...
Kevin's user avatar
  • 71
3 votes
1 answer
118 views

Auth0 Credentials Manager in Android app

I am building an Android app that communicates with a REST API using Retrofit2 and uses Auth0 for authentication. The Android app needs to store access token from Auth0 and use it to authorize its ...
Kevin's user avatar
  • 71
2 votes
2 answers
133 views

Simple service that wraps access to json file

I'm wondering if this is the best way to write the Java code I have written. It works, but looks overly verbose, is it possible to rewrite any of the code to make it more concise? Please ignore the ...
Professor of programming's user avatar
2 votes
0 answers
151 views

MVVM signing in using firebase

I'm new to MVVM architecture. I want to have authentication with email + password, google and Facebook. I'm not sure if there should be separate view models for each authentication way: ...
Edziu Kowalski's user avatar
1 vote
1 answer
85 views

custom button class for android game engine

I'm a self-taught programmer and I haven't really followed industry-standard coding classes. I'm currently coding my own game engine for android, though and I was wondering if my coding style could ...
Gyoo's user avatar
  • 113
4 votes
1 answer
215 views

Calculator app made in Java (ver2)

A few days ago, I uploaded my first version of my calculator app I made in android studio. I got some great some feedback on it and tried to improve my app as much as I could. changes/new featres: ...
Philip's user avatar
  • 105
6 votes
2 answers
1k views

Simple calculator app made in Android Studio (Java)

I'm a college student in my first year of my bachelor in IT. I recently decided to try some app development with Android Studio and Java. For my first project, I made a basic calculator app. Here you ...
Philip's user avatar
  • 105
1 vote
1 answer
260 views

Safely and Quickly Trim a Byte Array of Audio in Java

I'm trying to take a raw byte array of audio and trim it. The user selects a start and end value using a range slider. ...
user avatar
2 votes
1 answer
476 views

My Android app is really slow when getting simple data from PHP

I have a PHP API which echoes some data depending on the parameters in the URL: URL = "MyWebsite.com/MyAPI.php/username/password" When I try to access this API with Postman, I get the ...
KiDo's user avatar
  • 123
1 vote
1 answer
895 views

Android APP FTP uploading file implementation in Java

This is a follow-up question for Android APP FTP host profile class implementation and Android APP connect to FTP server in Java. I am attempting to perform the upload operation to specified FTP ...
JimmyHu's user avatar
  • 7,014
1 vote
1 answer
66 views

Android APP user registration page implementation

This is a follow-up question for Android APP User class implementation. I am attempting to build a user registering system and this post shows the user registration page implementation. The ...
JimmyHu's user avatar
  • 7,014
1 vote
1 answer
80 views

Android APP Password Strength Assessment class implementation

This is a follow-up question for Android APP User class implementation. I am attempting to create a password strength assessment class which is named ...
JimmyHu's user avatar
  • 7,014
1 vote
1 answer
104 views

Android APP FTP host profile class implementation

This is a follow-up question for Android APP connect to FTP server in Java. I am attempting to create a tiny FTP host manager with FTPHostProfile class and ...
JimmyHu's user avatar
  • 7,014
0 votes
1 answer
88 views

Android APP User class implementation

This is a follow-up question for Android app class serialization. The implementation of User class has been updated and the functionality of null string checking, ...
JimmyHu's user avatar
  • 7,014
0 votes
1 answer
424 views

Unit tests for User class with JUnit 5

This is a follow-up question for Android app class serialization. Some problems have been mentioned in forsvarir's answer. Then, I am following JUnit 5 User Guide to redesign the test cases for ...
JimmyHu's user avatar
  • 7,014

15 30 50 per page
1
2 3 4 5
44