Skip to content

persival001/Entrevoisins

Repository files navigation

Entrevoisins

"Entrevoisins" is an application to list neighbors, view their profile and add them to a list of favorites

Deployment

compileSdkVersion 33 minSdkVersion 27 targetSdkVersion 33

To import a project in Android Studio, you should open Android Studio Project: Click on "Open an existing Android Studio project" to open the Android Studio Project.

Step 1 :

1 - Select your Android Studio Project directory from the 'Open file to Project' dialogue and click on the OK button.

2 - Wait until the project sync and builds project in Android Studio.

Step 2 :

Open Gradle or Eclipse ADT project : Click on “Import Project (Gradle, Eclipse ADT etc)” to open Eclipse build project for placing the project in Android studio without fail.

1 - Here, browse your project in Android Studio by navigating the location where you kept your project, your project’s folder will appear with an Android logo on it like this:

2 - Select the app and click OK, this will take some time for the Gradle to build, wait for the loading time. (You might get an error here stating the different SDK location, the error looks like this):

3 - In case of the above error just go to Project Directory and you’ll then find the file named “local.properties” in the root folder of your project. Open this file and scroll to the last 2 lines “ndk” and “SDK” and change the location with the one of your SDK and save the file. Again open the Android Studio Project or else if already opened in Android studio, go to Gradle->Rebuild.

Step 3 :

To build and run your app: In the toolbar, select your app from the run configurations drop-down menu.

1 - From the target device drop-down menu, select the device you want to run your app.

Note: If you don't have any devices configured, then you need to either connect a device via USB or create an AVD to use the Android Emulator

° Click on the Run button in Toolbar or Select the Run menu in the menubar

Step 4 :

Edit project :

By default, while you import project in Android Studio, the Android Studio displays your project files in the Android view. This view does not reflect the actual file hierarchy on disk, but is organized by modules and file types to simplify navigation between key source files of your Android Studio Project, hiding certain files or directories that are not commonly used. Some of the structural changes compared to the structure on disk include the following:

1 - Shows all the project's build-related configuration files in a top-level Gradle Script group. 2 - Shows all manifest files for each module in a module-level group(when you have different manifest files for different product flavors and build types). 3 - Shows all alternative resource files in a single group, instead of in separate folders per resource qualifier. For example, all density versions of your launcher icon are visible side-by-side.

Within each Android app module, files are shown in the following groups:

1 - manifests: Contains the AndroidManifest.xml file. 2 - java: Contains the Java source code files, separated by package names, including JUnit test code. 3 - res: Contains all non-code resources, such as XML layouts, UI strings, and bitmap images, divided into corresponding sub-directories. For more information about all possible resource types, see Providing Resources. 4 - Gradle Scripts: Two types of Gradle file are used in android projects One type is Project level Gradle which contains application repositories, dependencies, and project-level variables, Second type are modules level Gradle which contain app version name, version code, min version, application ID, dependencies for this module, debug and release build types, build flavors, etc

New features :

  • Ability to see a person's details on a full screen.
  • Ability to add a person to a favorites list.
  • Ability to directly manage the deletion of a person from this list by clicking on the star. It is also possible to remove a person from the favorites by clicking directly on the star in the neighbour's detail screen.

How to use the application ?

  • At the opening of the application you have a list of neighbors that you can select individually by clicking directly on the item concerned to see the details of this person.
  • On the detail screen, it is possible to add or remove a neighbor from the list of favorites.
  • On the main screen, the button located at the bottom right of the screen is used to add a person manually to your list of neighbors, by default, it is not added to the list of favorites.
  • The tab bar allows you to switch between the list of all neighbors and that of neighbors put in favorites by the user.
  • It is possible to remove a neighbor from the main list by clicking on the trash can icon, or by clicking on the star icon in the list of favorite neighbors.

Screenshots

Main screen Screenshot_20221117_161218

Detail screen Screenshot_20221117_161204

Favorite screen Screenshot_20221117_161251

About

Formation OpenClassrooms Projet 3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published