http://freeprojectscode.com/wp-content/uploads/2014/03/Safe-Cab-Android-Project-Source-Code-Free-Download-300x46.jpg


Safe cab is a android project which is useful as education project for students who are looking for simple android project source code free download and submitting to college or practising android projects. 






Android Project Source Code Free Download


Project Overview:


Main objective of developing safe cab android application is to provide security for users who are travelling in cabs and help cab service providers to provide effective method to manage routing and mapping. This application uses mapping technology for inserting pin point on the map.  Users can call using Click to call button in emergency, mapping locations using pin, Details about route..etc.


Safe Cab Android Project Source Code :


List of Activity files in this project:


About Activity, cab detail activity, camera activity, detail activity, dialogue activity, history activity, history detail activity, in the cab, main activity, map activity. 


<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout01" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="#FFFFFF">
<RelativeLayout android:id="@+id/RelativeLayout02"
android:layout_width="fill_parent" android:layout_height="50px"
android:layout_alignParentTop="true">
<ImageView android:layout_below="@+id/RelativeLayout02"
android:id="@+id/ImageView01" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:background="@drawable/headers">
</ImageView>
</RelativeLayout>
<RelativeLayout android:layout_below="@+id/RelativeLayout02"
android:id="@+id/RelativeLayout03" android:layout_centerInParent="true"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:layout_below="@+id/RelativeLayout02"
android:id="@+id/TextView01" android:text="Welcome to SafeCab"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:textStyle="bold" android:textColor="#000000" android:gravity="center"
android:layout_marginTop="10px" android:textSize="26px">
</TextView>
<TextView android:layout_below="@+id/RelativeLayout02"
android:id="@+id/TextView02"
android:text="By joining SafeCab you are able to see one of the largest networks of verified Taxi networks.Find the closest company or cars,See the driver before you get into a cab,rate the journey or allow us to track you via your phone."
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:textColor="#000000" android:paddingRight="5px"
android:paddingLeft="10px" android:textSize="18px"
android:layout_marginTop="50px" android:layout_marginLeft="7px"
android:layout_marginRight="7px">
</TextView>
<TextView android:layout_below="@+id/TextView02" android:id="@+id/TextView03"
android:text="Our only aim is to get home safely"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:textColor="#000000" android:paddingLeft="10px"
android:layout_marginTop="10px" android:textSize="18px"
android:layout_marginLeft="7px" android:layout_marginRight="7px">
</TextView>
<Button android:layout_width="wrap_content"
android:layout_below="@+id/TextView03" android:layout_toLeftOf="@+id/ImageView02"
android:layout_height="wrap_content" android:id="@+id/btnenter"
android:layout_marginTop="5px" android:layout_marginLeft="90px"
android:background="@drawable/enterimage">
</Button>
</RelativeLayout>
</RelativeLayout>

  Java code for  Car Map:


package com.mapview;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class CarMap extends Activity
{
protected boolean _active = true;
protected int _splashTime = 5000;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Thread splashTread = new Thread() {
@Override
public void run() {
try
int waited = 0;
while(_active && (waited < _splashTime))
sleep(100);
if(_active)
waited += 100;


catch(InterruptedException e)
// do nothing
finally
finish();
startActivity(new Intent(CarMap.this,MainActivity.class));
stop();

Download Safe Cab Android Project Source Code Free Download.


The post Safe Cab Android Project Source Code Free Download appeared first on Project Code Report.




Safe Cab Android Project Source Code Free Download
Source: OpenAndroid

0 comments:

Post a Comment

 
Top