Motto:
Hey, did you ever wonder that you are capable of doing so much more than what you can do?
Well, if your answer is no, think again, EVERY ONE is capable of doing wonders!!
Following, you are going to witness the code and the pictures of our app, let me remind you, we learned JAVA and programmed our application in 3 days and 2 nights, Yes people are capable of WONDERS...
Overview:
without further delay, let's begin,Our application is called Hire Me. It allows its usger to hire a worker i.e a mechanic or electrician etc. The application can be though of as a big data base storing the data of thousands of workers. Currently only the prototype of our application is developed and so only a few data members are added(dummy values). In the next step we will use google map API to automatically add data members which are registered. Others can be added by executing a field survey and collecting data. Currently you can view a profile, view the worker's rating, name and contact number. The application then allow its user to automatically send a message to the desired worker they want to hire.
Code and Images:
<TextView android:id="@+id/textView_plumber"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:clickable="true"
android:text="Plumber"
android:textSize="30sp" />
The above lines of code is known as a text view and it is used to display a text on the
android screen.
<ImageViewandroid:id="@+id/imageView_plumber"android:layout_width="match_parent"android:layout_height="match_parent"android:layout_Bottom = "@id+/imageView_electrician"android:src="@drawable/plumber" />The above lines of code is known as a image view and it is used to display a an imageon the android screen.<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:baselineAligned="false"android:orientation="vertical"android:paddingBottom="@dimen/activity_vertical_margin"android:paddingLeft="@dimen/activity_horizontal_margin"android:paddingRight="@dimen/activity_horizontal_margin"tools:context="com.example.monibsaadi.hireme3.Selection"> <TextViewandroid:id="@+id/textView"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_gravity="center_horizontal"android:layout_marginLeft="8dp"android:layout_marginTop="8dp"android:clickable="false"android:text="Select a Category:"android:textAllCaps="true"android:textSize="32sp" /> <LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="16dp"android:orientation="horizontal"> <TextViewandroid:id="@+id/textView_mechanic"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_margin="8dp"android:clickable="true"android:text="Mechanic"android:textSize="30sp" /><ImageViewandroid:id="@+id/imageView_mechanic"android:layout_width="match_parent"android:layout_height="match_parent"android:src="@drawable/mecanic" /></LinearLayout> <LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="16dp"android:orientation="horizontal"> <TextViewandroid:id="@+id/textView_electrician"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_margin="8dp"android:clickable="true"android:text="Electrician"android:textSize="30sp" /> <ImageViewandroid:id="@+id/imageView_electrician"android:layout_width="match_parent"android:layout_height="match_parent"android:src="@drawable/electrician_man" /> </LinearLayout> <LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="16dp"android:orientation="horizontal"> <TextViewandroid:id="@+id/textView_plumber"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_margin="8dp"android:clickable="true"android:text="Plumber"android:textSize="30sp" /><ImageViewandroid:id="@+id/imageView_plumber"android:layout_width="match_parent"android:layout_height="match_parent"android:layout_Bottom = "@id+/imageView_electrician"android:src="@drawable/plumber" /></LinearLayout> <LinearLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_margin="16dp"android:orientation="horizontal"><TextViewandroid:id="@+id/textView_carpenter"android:layout_width="wrap_content"android:layout_height="wrap_content"android:layout_margin="8dp"android:clickable="true"android:text="Carpenter"android:textSize="30sp" /> <ImageViewandroid:id="@+id/imageView_carpenter"android:layout_width="match_parent"android:layout_height="match_parent"android:src="@drawable/carpenter" /></LinearLayout> </LinearLayout>The above lines of code mainly shows the selection screen or the starting screen of the applicationas shown.
There are 4 options, you can select any one you want to hire.Next you will select the region. In our prototype only two regions of our country are available forsearch. G-11 and G-10.I choose Electricians and then I want to see Electricians in G-11, i choose it.I see the details as follows.If I choose Mechanics Instead of Electicians, following screen shows up.I then choose mechanics in G-11. Let me remind you This app is notlinked to a server, and the data is not obtained from the google mapAPI(Application Program Interface). The data stored is dummy data but the idea is properly conveyed.Next the details of the workers will appear. You can choose any one of the specified member.Press the button hire me.A text message will be sent to the selected member, saying"Assalam o Alaikum I visited your profile on Hire Me. You have beenselected. Please contact me on this number."We will be updating the complete app very soon on the App store and an externallink will also be shared on this blog, hope you download it and use it, happyhiring!Stay tuned...






