Professional Documents
Culture Documents
Search
User Panel
In this panel, the user can see all the houses that are available on the app for rent. The
user can click on any house to see more details of the house. He can also see all the
members that have taken the house on rent right now. He can contact the owner and
message him and also view the location of the house on the map.
6. The user and house owner can see all the members of the house.
7. The user can see all the houses on the app available for rent.
8. The user can click on any house to see its details of the house.
Project Prerequisites
If you’re familiar with Android Studio, you should be able to understand its workings.
2. There is a MainActivity.java.
3. There are some other files that will be required to create the design of our app. We
need to create some xml files for the user dashboard and owner dashboard.
4. We need to create an xml file for adding a house and adding a member and some file
for adding user functionalities.
5. We also have to create their corresponding files in java for writing their logic.
Files Required
Activity_main.xml :
1. <Button
2. android:id="@+id/btn_user"
3. android:layout_width="match_parent"
4. android:layout_height="wrap_content"
5. android:layout_gravity="bottom"
android:background="@drawable/bg_rounded_input_field"
6. android:text="ProjectGurukul User"
7. android:textAllCaps="false"
8. android:textColor="@color/white"
9. android:textSize="16sp" />
10.
11. <Button
12. android:id="@+id/btn_houseOwner"
13. android:layout_width="match_parent"
14. android:layout_height="wrap_content"
15. android:layout_below="@id/btn_user"
16. android:layout_gravity="bottom"
17. android:layout_marginTop="50dp"
android:background="@drawable/bg_rounded_input_field"
18. android:text="ProjectGurukul House Owner"
19. android:textAllCaps="false"
20. android:textColor="@color/white"
21. android:textSize="16sp" />
Use the above code for adding a designed round button. These buttons will be used to go
to different modules.
Activity_main.java :
1. btn_houseOwner = findViewById(R.id.btn_houseOwner);
2. btn_user = findViewById(R.id.btn_user);
3.
4. btn_houseOwner.setOnClickListener(new View.OnClickListener() {
5. @Override
6. public void onClick(View v) {
7. startActivity(new Intent(MainActivity.this, RegisterOwner.class));
8. }
9. });
10.
11. btn_user.setOnClickListener(new View.OnClickListener() {
12. @Override
13. public void onClick(View v) {
14. startActivity(new Intent(MainActivity.this, RegisterUser.class));
15. }
16. });
The above java code is used to bind the buttons to the modules. This will add the
functionality to go to their particular module.
Once you have downloaded the ProjectGurukul House Rental Management project, you
need to extract the project in the desired folder and open it in android studio.
2. Open android studio and click on the open project and navigate to documents and
find your project and click on it to open it.
3. If you wish to connect the app to your firebase then you can do it otherwise click on
the run button to run the app.
Summary
This article helps you understand how the house rental management app works. This
will give you a basic idea of how to build a basic house rental management app. You can
also add even more features to this like giving ratings to houses and users, adding
coupons, automatic payment methods, etc.
Tags: android app with code android easy project Android House Rental Management App
Android House Rental Management App with source code android project android project code
1 RESPONSE
Comments 1 Pingbacks 0
Good
Reply
LEAVE A REPLY
Comment *
Name * Email *
Save my name, email, and website in this browser for the next time I comment.
Post Comment
Project Gurukul © 2022. All Rights Reserved.