Skip to main content

All Questions

Tagged with
0 votes
1 answer
124 views

Feasibility of using different java version for different project with different compatibility properties

I have multiple Flutter Android app projects that have different compatibilities of Java. Now, what should I do if I am developing more than one project simultaneously? If the first one uses Java 17, ...
DevQt's user avatar
  • 131
-2 votes
2 answers
80 views

How to send non real time push notifications so that the servers aren't hogged?

Our android application is built on java. And while sending push notifications we're using tomcat as a server. And it is doing more harm than good. Currently all the push notifications (FCM/APN) are ...
tuck_y's user avatar
  • 181
-2 votes
2 answers
11k views

What are the possible *root causes* of a SocketTimeoutException?

I understand that a SocketTimeoutException (I'm in Java, but I guess it's the same in just about every major language) happens after a server or client doesn't respond after a period of time, let say ...
Mickael Bergeron Néron's user avatar
0 votes
0 answers
533 views

Is splitting Android activities/classes into many Kotlin extension functions a good or bad practise?

I have been working on an Android application for some time, and ever since the beginning I've developed a practice of splitting my class's (mostly activity/fragment) code up into multiple files. This ...
thebluepandabear's user avatar
0 votes
0 answers
747 views

Designing a unique id reliably based on a String date?

I am creating an Android application that sets alarms based on the String date of a list of Objects (PendingIntents, with each taking in an id, that is an integer). In order to cancel the ...
Adam Lee's user avatar
  • 129
1 vote
1 answer
362 views

Offline audio comparison for Android

I have two audio clips: Source of truth Recording of user I want to compare the two, testing if they are similar enough, removing accents, etc. Any idea how I could do this on Android? To add more ...
moinudin's user avatar
  • 381
1 vote
3 answers
684 views

Best way to Model Classes associated with other Classes?

I'm trying to make a sports stats app in Java/Android + Realm. I have the following classes: Season Player Matches I would like the Season to contain a "list" of all the players that played that ...
musicalears's user avatar
1 vote
2 answers
329 views

What goes on behind the scenes when data is passed through the use of interfaces?

I understand an interface is a contract and if a class implements that interface, it must define those abstract methods from the interface. What I don't understand is, how is data passed between two ...
Peter G. Williams's user avatar
-2 votes
1 answer
78 views

Big scale projects

I had a question about big scale projects. what if the team decides to change a library and therefor the codes should be changed. for example what if the team wants to change the picasso library to ...
Tyr's user avatar
  • 11
2 votes
1 answer
1k views

How does .Net's Mono Framework, Work on Android

Android uses the modified version of JVM known as Android Runtime to execute android apps. How do games (with Unity 3d) and Apps (Xamarin) written in C# (which require dot Net's Mono framework) run ...
LekeOpe's user avatar
  • 271
1 vote
0 answers
37 views

How to lay out a core java module with an Android GUI layer on top

How can I use Java modules in an Android app repository? In particular, what directory structure should I use? I have a project in mind for which I would like to have a GUI-independent core Java 9 ...
Anakhand's user avatar
  • 149
3 votes
2 answers
181 views

Is recommendable set as final as classes by default in a SDK?

I am working on the development of an SDK in Android with Java, In general the user doesn't need to inherit any class of the SDK, so the question is if it is a good practice put by default all classes ...
Tlaloc-ES's user avatar
  • 387
2 votes
1 answer
507 views

Is it good approach to create new viewModel class for every new Ui(Fragment/Activity)?

I am working on a project in which I am following clean Architecture from Google ... and for making code testable I am following an approach in which,I am creating a new ViewModel Class ViewModel ...
Kamran Ali's user avatar
1 vote
1 answer
2k views

Do shared ViewModels contradict MVVM?

I want to follow the MVVM app architecture. I also need to have some communication between some fragments. But the official approach is pretty confusing. Taken from the docs (https://developer....
Josip Domazet's user avatar
12 votes
3 answers
17k views

Should business logic be in the app or in the backend?

I've recently started applying the Clean Architecture while developing an Android application. And so I divided my application in 4 different parts. Data layer Contains the implementation of ...
Ludvig W's user avatar
  • 231

15 30 50 per page
1
2 3 4 5
9