Reddit » Developing Android Apps
1,490 FOLLOWERS
Read news for Android developers with the who, what, where when, and how of the Android community. Probably mostly the how. Here, you'll find news for Android developers.
Reddit » Developing Android Apps
4h ago
I don't know that much but this problem is happening again and again so please help..
submitted by /u/Fuzzy_Fisherman_2088
[visit reddit] [comments ..read more
Reddit » Developing Android Apps
4h ago
I just created a simple example project in IDEA, and there are so many files already! And most of them don’t have any information specific to the project, so they shouldn’t be there, or they should be in a separate (preferably hidden) directory.
And why are there so many ugly nesting levels? Like, the main source file is app/src/main/java/com/example/hellodroid/MainActivity.kt instead of src/main.kt as God intended. Why can’t the project structure be more like that of Rust?
Also, why is there a literal Bash script gradleview in the root? Is that something that I should ever modify as a part o ..read more
Reddit » Developing Android Apps
12h ago
Hello! I'm a web developer using clean architecture principles, but I'm curious about how Android developers might handle a scenario I'm facing. In my app, there's a complex UI state management on a page. For example, managing a list of financial products that can be added, removed, and reordered. This list is currently managed in the ViewModel layer.
Typically, actions like adding or removing a product would be a use case, but it feels redundant to invoke use cases because all the management is done in ViewModel layer, so there’s nothing that this use case would do. To add a new product we j ..read more
Reddit » Developing Android Apps
16h ago
Wondering if anyone has tips on efficiently reading (from sensors), storing (in-memory and disk), and processing (resampling) time series data in Android.
This seems like it would be a common thing, since we have access to lots of on-device sensors that can create tons of data (some irregularly sampled, requiring resampling).
SQLite is our typical go-to db, but isn't really well suited for time series data. There are some tricks one may play with schema design (table per time-period-bucket, PK is timestamp) etc.
I'd like to hear back from anyone that has worked in this space, and used any lib ..read more
Reddit » Developing Android Apps
18h ago
submitted by /u/androidtoolsbot
[visit reddit] [comments ..read more
Reddit » Developing Android Apps
18h ago
submitted by /u/koje1971
[visit reddit] [comments ..read more
Reddit » Developing Android Apps
21h ago
Hey all!
I am very excited to share my newly released app, JustLift, with all of you guys!
JustLift is a workout app designed for beginners and intermediate gym members, to help make tracking and logging your workout easier. JustLift features:
- 250+ workouts
- Individual exercise statistics
- Comprehensive workout history
- Overall statistics
- Tracks your improvement and progress
- 3d interactive model
You can download it from the links below, and any feedback or tips are appreciated and will be taken into consideration for future releases. Thanks!
Play Store: https://play.google.com/store ..read more
Reddit » Developing Android Apps
1d ago
I grabbed the code from https://developer.android.com/training/tv/playback/media-session and put it into MainActivity's onCreate method where it's properly initialized and the isActive flag is set to true.
When I launch the app in emulator or on a physical device I don't see the notification with controls on the lock screen.
In general, my code looks similar to the following fragment of VLC code.
I use libs.androidx.media package containing MediaSessionCompat class.
Minimal SDK of my project — Android 5.0 Lollipop (API 20)
I also tested it under Android 8.0 and the notification still doesn't ..read more
Reddit » Developing Android Apps
1d ago
Can't quite make sense of this - this value is set to false when decompiled ... how do I flip it to TRUE in smali? I have no access to source java files to build from there.
``` .line 830 iget-boolean v0, p0, Landroid/path/to/file;->thingThatIsSetToFalse:Z
return v0
```
submitted by /u/privacyguy123
[visit reddit] [comments ..read more
Reddit » Developing Android Apps
1d ago
submitted by /u/TypeProjection
[visit reddit] [comments ..read more