All Questions
Tagged with android object-oriented
22
questions
9
votes
2
answers
4k
views
Android Tetris App Design
Recently I have finished my first bigger Android project. I made a little Tetris App.
Here is a picture of my app in emulator:
My Tetris has following functions:
fast drop down
play tetris music
...
6
votes
2
answers
4k
views
Three-in-a-row board game
I don't truly understand how OOP works and It's stopping me from creating good programs! Below I have a program that will check to see if there are 3 tiles from a gridview in a row.
Here's a ...
5
votes
0
answers
2k
views
Android nested RecyclerView handling clicks, using OOP
Brief Background: I just started learning Android Development recently. I have some experience with programming and understand the basics of OOP but am not confident that I am using principles of OOP ...
4
votes
1
answer
1k
views
Location-based reminder application
I'm creating a location-based reminder application in Android using proximity alerts, geocoder, Google Maps API and their Places API.
Currently there is a default ...
4
votes
2
answers
543
views
Storing realm objects using Kotlin extensions
I am a Java Android Developer and I'm approaching Kotlin.
I have defined the following class:
open class Player : RealmObject() {
...
}
And I defined the ...
4
votes
1
answer
877
views
Android "ServiceListener" class for listening web services
I'm new in Android, Java and the whole object-oriented programming, I'm trying to develop an app which needs to listen on many web services (PHP scripts written by me returning a standardized JSON ...
4
votes
1
answer
290
views
SQLite database for books
First, my Book object:
...
4
votes
1
answer
46
views
Places and their PlaceCategories
I'm going to start small here because I actually have several questions but I'll go one at a time.
In the app I am making to better learn Java/Android/SQL/OOP, I have a page where a user can define ...
3
votes
1
answer
148
views
Android - Simplify ViewModel and Repository classes with OOP
Let's say I have 2 repository classes:
...
2
votes
1
answer
298
views
Displaying a list of players and their leagues
My question is mostly directed towards the principles of object-oriented programming.
I have an Android application and one of the activities has a ListView.
In ...
2
votes
1
answer
91
views
Android app class serialization
I am attempting to build an Android APP with the custom serializable class User. The public method Save is to save class ...
2
votes
1
answer
81
views
Collision detection on Android
This is the same game code from my previous question. I split the code into smaller "logical units". The runnable code "Moon Buggy" is available in beta from the google playstore.
It was previously ...
1
vote
1
answer
502
views
Simple login and authentication app
For school I had to do a real simple login and authentication system on an Android app, and I'm wondering how my code can be optimised to reduce code duplication and how it can be made more object ...
1
vote
1
answer
4k
views
Getting multiple inputs from single EditText
This is an Android app and there is a EditText box, and I need to accept multiple types of inputs one after another in order. This order is predefined. On ...
1
vote
1
answer
75
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 ...