News for hackers. Stuff that matters.
Re:Show HN: Superblocks AI – AI coding assistant for interna... by dr_kiszonka on Tuesday June 27, 2023 @09:00PM (#36500909)
Your tool looks very impressive. Have you ever tried how well it works with Android app repos?
Re:Show HN: Superblocks AI – AI coding assistant for interna... by anotherpaulg on Wednesday June 28, 2023 @01:50PM (#36510017)
Aider seems pretty comfortable working with android apps. Here's a conversation I just had with it:

> what's a simple, popular open source android app?

One simple and popular open source Android app is "Minimal ToDo". It's a simple task management app with a clean, minimalistic user interface. The source code is available on GitHub and it's a great project for beginners who want to understand the structure and functioning of an Android app.

> clone command to clone minimal todo?

To clone the Minimal ToDo app from GitHub, you can use the following command:

  ```bash
  git clone https://github.com/avjinder/Minimal-Todo.git
  ```
This will create a local copy of the Minimal ToDo repository on your machine.

> tell me about the overall structure of this codebase

This codebase appears to be for an Android application, specifically a to-do list app. The structure is typical of an Android project, with Java source files, XML layout files, and resource files.

1. Java Source Files: These are located in the `app/src/main/java/com/example/avjindersinghsekhon/minimaltodo` directory. The package structure suggests that the app is divided into several modules such as `About`, `AddToDo`, `Analytics`, `AppDefault`, `Main`, `Reminder`, `Settings`, and `Utility`. Each module contains classes related to its functionality.

2. XML Layout Files: These are located in the `app/src/main/res/layout` directory. They define the user interface for different activities and fragments in the app.

3. Resource Files: These include drawable resources (images, icons), values (strings, dimensions, colors), and menu definitions. They are located in the `app/src/main/res` directory.

4. Gradle Files: The `build.gradle` files specify the build configuration for the app. There are typically two such files in an Android project: one for the project and one for the app module.

5. Test Files: These are located in the `app/src/androidTest/java/com/example/avjindersinghsekhon/minimaltodo` directory. They contain tests for the application's functionality.

6. Manifest File: The `AndroidManifest.xml` file in the `app/src/main` directory declares the app's components to the Android system and specifies permissions and other app requirements.

7. Properties and Configuration Files: Files like `gradle.properties` and `.travis.yml` are used for configuration of the build system and continuous integration services.

8. Other Files: The `google-services.json` file is typically used for configuring services from Google Firebase. The `.idea` directory contains configuration files for the IntelliJ IDEA IDE.