SlideShare a Scribd company logo
1 of 56
PAGE-1
INTRODUCTION
Sudhridh Bharat Application is a useful mobile application this project is provide the facility
to various data (family, parent ,pregnant women, child , water source, type of toilet etc.) about a
Anganwadi center for child nutrition and pregnant women monitoring in proper way
The main strategy of the project is to provide all information about people from Anganwadi
center to Block level officer and all officer that are belong to that deportment( mahila Baal
Vikash and pustahar vibhag) very quickly and analysis that and provide needed nutrition material
The mobile Application are use basically Anganwadi support(Helper) and collect
All information about people and upload automatic and also with help of sync
All information are show in cms according to state wise deistic wise and also display Block wise
The mobile app is based on Jsw project hold on various modules.
 Login
 Registration
 Synchronizations
 Nutrition
 Monitoring
 Help
 Setting
In this project my module is change language and registration which is part of Anganwadi
Support ,it is dynamically related to collect information and change language according to
requirement to the user and in registration module that are ahold parent registration ,pregnant
women registration child registration and also nutrition and monitor registered child and
pregnant women.
1.1 Purpose.
Main aim in this mobile app (Sudirdh Bharat Application) is to provide an easy way not only
automatic all functionalities of Anganwadi center but also to provide full information about
people and water source , type of toilet and every thing according to block wise ,Deistic level
related deportment officer very fast and accurate.We are committed to bring the best way to all
information to help of CMS .
PAGE-2
1.2 Scope
The current system of Anganwadi center the Anganwadi support is gather all information about
the parent, pregnant women, child and note down a register (note book) and send that register to
his upper officer but that process is very complex ,time taking system and untrusted system. this
system have lot of drawback Example Anganwadi person are note all information about child
,height ,weight ,MUAC, current source of water, type of toilet but when that information are
analysis and apply to next two month after that may something will be changed that time
With help of this project all information Conway very fast and easy to analyze and take decision
easily
The result of this application will be very positive and I hope all state Govt. adopt this app and
implemented in whole country, currently this app are implemented in maharastra Govt.
1.3 Definition, Acronyms, and Abbreviations-
IEEE The Institute of Electric and Electronics,Inc
MUAC Middle Upper Arm circumference
EDD Expected Delivery Date
LMP Last, Month, Period
GUI Graphical User Management
PAGE-3
Chapter- 2
THE OVERALL DESCRIPTION
PAGE-4
2. Overall Description
2.1ProductPerspective-
Anganwadi Support is a child nutrition and monitoring system this project is a mobile based
project.it is provide facilities to Anganwadi helper are may belong to city or very backward Area
there may be not sufficient resource (Electricity or network) this App are developed this kind of
problem keep in mind
Not use very much graphical interface and images that app have local and server data base
.suppose the user are collect information on his mobile phone but that time network not available
that time this app also work, that time this app store all information in local data base and that
time the user on network he/she send all information into server with help of synchronization
This app are provide various application on CMS but our application is different in following
ways
 Easy to gather all information to all person or any one person
 Using this app to provide an scale to a particular child is healthy or required nutrition .
 Similarly use the app we are calculate Expected Delivery Date of a pregnant women and
monitor his in a proper manner.
 In server end user’s are officer that are analysis and take decision according to graph
representation
 Server end according to select state, select deistic , select block, and select family
2.1.1 User interface-
The user will be interacted with the system a mobile application (Anganwadi support) are run in
android 4.4(kit-cat) to current version that app not need to more
Battery and if user are login at one time with correct user name and password next time they
does not need to user name and password that user enter directly main menu and register, or
monitor very easily that app UI is very simple and not use any image or heavy weight code that
are degrade that performance,
PAGE-5
2.1.2 Hardware interfaces-
The hardware used for the development of the project is-;
Mobile device Android 4.4
Processor Dual core 1.2GHZ
RAM 1GB
SD Card 8GB
Camera 5mp 2492*1944
2.1.3 Software interfaces-
In client side very simple and mobile support android 4.4(OS)
2.1.4 Memory Constraints-
A minimum of 3GB RAM is required to install ADT.
2.2 Product Function-
The product function monitoring system is as follows:
1. Our system keep is handle the child nutrition .
2. Our system keep all information about all family like as parent registration.
3. The system is handle the child weight and height and its made a graph analytical
according view growth of child.
4. All information will show in server and handle the web API.
5. Web API is handle by admin and its control in server.
PAGE-6
2.3 User Characteristics-
The product is design to be usable by individual with a minimum level of literacy and related to
the use of information technology of mobile. The user of application required only a few of
training on the application and this application hold many local language exp-Marathi, Hindi,
English etc.
2.4 Constraints-
This application is developed on ADT bundle and web services are handle Cake Php .Web
services is call by JSON API and local database is SqLite and server side database use MySql.
PAGE-7
Chapter-3
Specific Requirement
PAGE-8
3.1 External Interface Requirement-
3.1.1 User Interface-
The user interface of Anganwadi support content the following activities:
 Child Registration- All information about child.
 Parent Registration-All information about parents.
 Pregnant Women Registration-All information about pregnant women.
 Nutrition-The nutrition activity contain growth of child.
 Monitoring-The monitoring activity is contain the growth of pregnant women in proper
way.
 Water source- The rural or city area people drinking water source, well, tubewell,piped.
 Toilet Type- The registered family have type of toilet open, close.
 Delivery Order-Order of child.
 Weight- The child or pregnant women weight in cms.
 Height-The child or pregnant women height in cms.
 Hg- Hemoglobin level of pregnant women
 MUAC- Middle upper arm circumfuse
3.1.2 Hardware interface-
No specific hardware requirement for the application. In future we can configure some hardware
to the application like bar code reader ,figure print reader and card reader,
3.1.3 Software interface-
The software used for the development of the project
Development tool :ADT Bundle
OS :windows/Linux
DBMS :SQLITE
PAGE-9
3.2 Software product feature-
As we discuss about the various forms and their uses in the application, the block specified in the
forms takes appropriate input from the user validate them check them and processes the system
according to the input and generated outputs.
At form level our application has following commands-
1- Save - this button is used to save new data in database.
2- Modify - this button is used to modify the records.
3- View - this button is used to view the records.
4- First - This button is used to view the first record in the database.
5- Previous - This button is used to view the previous record.
6- Next - This button is used to view the next record.
7- Last - This button is used to view the last record.
8- Delete - This button is used to delete the records.
9- Exit - This button is used to exit form the form.
10- Cancel - This button is used to clear the records from the forms.
11- Print - This button is used to print the records.
The whole processing in the web application are done on the level. Each form validates input on
form level and then send them into the database. Our web application generates two types of
output-
1-Output in forms
2-In the forms of reports
3.2.1 Reportgeneration-
Outputs can be generated in the form of reports. Reports can be generated in the specified format
according to user requirement like-
 Tabular
 Group left
 Form-like
 Mailing-Label
PAGE-10
 Group-above
 Matrix
 Matrix-with-group
 Form-letter
These reports are forcontains all information of all branches with company wise/institute
wise. This is an online web application so that user take information online. Parents can see
class details, their progress reports and also results from home. This is too much user
friendly.there is lots of scope the area of user interface, database performance Etc.This report
master, payment,good receipt etc. these reports are generated by the joining of the various
tables. The report output can be delivered directly to a printer or saved in the following
formats:
 PDF
 HTML
 XML
 Microsoft Excel
3.3 LogicalDataBase Requirements:
In this application Sqlite is used as database. There are many tables in the modules. These table
are dynamically related with other modules os Target PMT. In these tables various types of keys
like primary key, foreign key constraints like not null, unique and triggers are applied. This
database secure and fast.
The tables of this module are as follows-
1- Login
2- Family
3- Child Registration
4- Parent Registration
5- Language
6- Child Nutrition
7- Anganwadi center
8- Beat
PAGE-11
9- Birth status
10- Boolean support
11- Caste
12- Delivery type
13- Drinking water source
14- Gender
15- Multimedia
16- Nutrition
17- Place of delivery
18- Pregnant women monitor
19- Regional language
20- Religion
21- Server id
22- Toilet availability
23- Type toilet
24- User
PAGE-12
1.Login
user_name TEXT
user_id INTEGER
Password TEXT
Email TEXT
PRIMARY KEY user_id
2.Anganwadi center
center_id INTEGER
center_name TEXT
beat_id NUMERIC
PRIMARY KEY center_id
3.Child Registration
Gender TEXT
Status NUMERIC
child_id INTEGER
child_name TEXT
date_of_birth TEXT
birth_weight TEXT
parent_name TEXT
server_id NUMERIC
Latitude TEXT
Longitude TEXT
Multimedia TEXT,
birth_order NUMERIC
user_id NUMERIC
birth_height TEXT
PRIMARY KEY child_id
4.ParentRegistration
PAGE-13
parent_id INTEGER
houser_id TEXT
Latitude TEXT
Longitude TEXT
Father TEXT
Mother TEXT
has_toilet NUMERIC
have_water NUMERIC
litracy_status NUMERIC
Religion NUMERIC
Caste TEXT
f_adharcard TEXT
m_adharcard TEXT
Address TEXT
user_id NUMERIC
server_id NUMERIC
Status NUMERIC
PRIMARY KEY parent_id
5.Child_Nutrition_Monitor
6.Beat
beat_id INTEGER
beat_name TEXT
PRIMARY KEY beat_id
7.Birth_Status
Id INTEGER
Value TEXT
PRIMARY KEY id
8.Boolean_Support
Id INTEGER
parent_name TEXT
child_name TEXT
Weight TEXT
Height TEXT
Muac TEXT
Status NUMERIC
Server_id NUMERIC
Multimedia TEXT
PAGE-14
Value TEXT
PRIMARY KEY id
9.Nutrition
nutrition_id INTEGER
Status NUMERIC
child_id NUMERIC
date_of_monitoring TEXT
height TEXT
Weight TEXT
Muac TEXT
latitude TEXT
Longitude TEXT
server_id NUMERIC
PRIMARY KEY nutrition_id
9.Pregnant_WomenMonitor
women_id NUMERIC
pregnant_women_name TEXT
Weight TEXT
Hb TEXT
Status TEXT
server_id NUMERIC
current_date TEXT
10.Regional_language
multimedia_id INTEGER
Data BLOB
Status NUMERIC
Type NUMERIC
server_id NUMERIC
PRIMARY KEY multimedia_id
10.Server
PAGE-15
Value TEXT
Id INTEGER
PRIMARY KEY id
3.4 Software SystemAttributes:
3.4.1 Reliability
Reliability the main objective so as to win the Confidence of the user and to provide information
on which he can relies upon.
3.4.2 Availability
The entire system should be available round the year, except for a periodic maintenance. The
maintenance period should be pre scheduled and short. The users should be reminded of the
unavailability period, well in advance.
3.4.3 Security
Since the information entered is of vital Importance to the organization and to the owner
of the website, it should be made to allow only the website developers to manipulate the
data.
PAGE-16
3.4.4 Maintainability
The document should be easy for the users who execute the system day to day, for the developers
who wish to edit or develop further, and for the personnel who is in charge of the maintenance.
3.4.5 Portability
The system shoul support window and Linux operating system. And application can also be
integrate into client-server web application.
3.4.6 Usability
The GUI should be easy to learn and use by users of any technical background. A tool-tip feature
is available in all blocks, to guide the users.
3.5 List Of Diagrams
3.5.1 Data Flow Diagram-
Zero level DFD.
PAGE-17
One level DFD
PAGE-18
3.5.2 Use case diagram
PAGE-19
Chapter-4
Implementation Results
PAGE-20
Login page
PAGE-21
Parent registration
PAGE-22
List Parentregistration
PAGE-23
Pregnantwomen registration
PAGE-24
Listing of Pregnantwomen page
PAGE-25
Child registration
PAGE-26
Monitoring
PAGE-27
Pregnantwomen monitoring
PAGE-28
Child monitoring
PAGE-29
Sync
PAGE-30
Settings
PAGE-31
After change language
PAGE-32
Chapter-5
Source Code
PAGE-33
Login Page
public class ActivityLogin extends Activity {
EditText etxtUserName, extxPassword;
TextView txtLogin,txtUser,txtPass,txtLat1,txtLat,txtLang,txtType;
String notavaliduser;
public static final String TxtLogin = "txtLogin";
public static final String TxtUser = "txtUser";
public static final String TxtPass = "txtPass";
public static final String TxtLat1 = "txtLat1";
public static final String TxtLat = "txtLat";
public static final String TxtLang = "txtLang";
public static final String TxtType = "txtType";
public static final String Notavaliduser = "notavaliduser";
String strUserName, strPassword, gcm;
SharedPrefHelper sph;
LocationManager locationManager;
long minTime = 1000;
float minDistance = 1;
public boolean foundGPSLocation = false;
String tag = "";
MyLocationListener mylistener;
SqliteHelper sqliteHelper;
ServerHelper serverhelper;
private ProgressDialog mProgressDialog;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_login);
initialize();
String languageId = sph.getString("Language", "1");// getting languageId
String Login = sqliteHelper.LanguageChange(TxtLogin,languageId);
String User = sqliteHelper.LanguageChange(TxtUser,languageId);
String Pass = sqliteHelper.LanguageChange(TxtPass,languageId);
PAGE-34
String Lat1 = sqliteHelper.LanguageChange(TxtLat1,languageId);
String Lat = sqliteHelper.LanguageChange(TxtLat,languageId);
String Lang = sqliteHelper.LanguageChange(TxtLang,languageId);
String Type = sqliteHelper.LanguageChange(TxtType,languageId);
notavaliduser = sqliteHelper.LanguageChange(Notavaliduser,languageId);
txtLogin.setText(Login);
txtUser.setText(User);
txtPass.setText(Pass);
txtLat1.setText(Lat1);
txtLat.setText(Lat);
txtLang.setText(Lang);
txtType.setText(Type);
//startGPS();
//enableGPS();
//startGettingLocationUsingGPSProvider();
}
public void initialize() {
sqliteHelper = new SqliteHelper(this);
sph = new SharedPrefHelper(this);
txtLogin = (TextView) findViewById(R.id.txtLogin);
txtUser = (TextView) findViewById(R.id.txtUser);
txtPass = (TextView) findViewById(R.id.txtPass);
txtLat1 = (TextView) findViewById(R.id.txtLat1);
txtLat = (TextView) findViewById(R.id.txtLat);
txtLang = (TextView) findViewById(R.id.txtLang);
txtType = (TextView) findViewById(R.id.txtType);
etxtUserName = (EditText) findViewById(R.id.etxtUserName);
extxPassword = (EditText) findViewById(R.id.extxPassword);
sph = new SharedPrefHelper(this);
locationManager = (LocationManager)
getSystemService(LOCATION_SERVICE);
mylistener = new MyLocationListener();
txtLat = (TextView) findViewById(R.id.txtLat);
txtLang = (TextView) findViewById(R.id.txtLang);
txtType = (TextView) findViewById(R.id.txtType);
//sqliteHelper=new SqliteHelper(this);
serverhelper=new ServerHelper();
mProgressDialog = new ProgressDialog(this);
mProgressDialog.setIndeterminate(false);
PAGE-35
mProgressDialog.setMax(100);
mProgressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
mProgressDialog.setCancelable(true);
mProgressDialog.setMessage("Please wait!!! ");
mProgressDialog.setCanceledOnTouchOutside(false);
}
private void startGPS() {
boolean isGPSEnabled = locationManager
.isProviderEnabled(LocationManager.GPS_PROVIDER);
if (!isGPSEnabled) {
showSettingsAlert();
}
}
public final boolean isInternetOn() {
ConnectivityManager connec = (ConnectivityManager)
getSystemService(getBaseContext().CONNECTIVITY_SERVICE);
if (connec.getNetworkInfo(0).getState() ==
android.net.NetworkInfo.State.CONNECTED
|| connec.getNetworkInfo(0).getState() ==
android.net.NetworkInfo.State.CONNECTING
|| connec.getNetworkInfo(1).getState() ==
android.net.NetworkInfo.State.CONNECTING
|| connec.getNetworkInfo(1).getState() ==
android.net.NetworkInfo.State.CONNECTED) {
return true;
} else if (connec.getNetworkInfo(0).getState() ==
android.net.NetworkInfo.State.DISCONNECTED
|| connec.getNetworkInfo(1).getState() ==
android.net.NetworkInfo.State.DISCONNECTED) {
return false;
}
return false;
}
public void click_login(View vw) {
strUserName = etxtUserName.getText().toString();
strPassword = extxPassword.getText().toString();
PAGE-36
if (strUserName.equalsIgnoreCase("")
|| (strPassword.equalsIgnoreCase(""))) {
Toast.makeText(getApplicationContext(),
"Please enter username and password!", 200).show();
} else {
if (sqliteHelper.validateUserOffline(strUserName, strPassword)>0) {
GlobalVars.UserID=sqliteHelper.validateUserOffline(strUserName, strPassword);
Intent intent = new Intent(this, MainMenuActivity.class);
startActivity(intent);
} else {
Toast.makeText(getApplicationContext(),
"Invalid user, authenticating online!!!",
200).show();
if(isInternetOn()==false){
Toast.makeText(getApplicationContext(),
"Please enable internet to online login!!!",
200).show();
}
else{
mProgressDialog.show();
new AsyncTask<String, String, String>(){
@Override
protected void onPostExecute(String result) {
// TODO Auto-generated method stub
super.onPostExecute(result);
if(result!=null){
try {
JSONObject user= new
JSONObject(result);
if(user.has("user_id")){
int user_id=
user.getInt("user_id");
if(user_id>0)
{
sqliteHelper.SaveUser(strUserName, strPassword, user_id+"");
GlobalVars.UserID=user_id;
PAGE-37
Intent intent = new
Intent(ActivityLogin.this, MainMenuActivity.class);
startActivity(intent);
}
else{
Toast.makeText(getApplicationContext(),
notavaliduser, 200).show();
}
}
mProgressDialog.dismiss();
} catch (JSONException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
@Override
protected String doInBackground(String... arg0) {
// TODO Auto-generated method stub
return serverhelper.LoginOnServer(strUserName,
strPassword);
}
}.execute((String)null);
}
}
}
}
/**
* Get provider name.
*
* @return Name of best suiting provider.
* */
String getProviderName() {
LocationManager locationManager = (LocationManager) this
.getSystemService(Context.LOCATION_SERVICE);
Criteria criteria = new Criteria();
criteria.setPowerRequirement(Criteria.POWER_LOW); // Chose your desired
PAGE-38
// power consumption
// level.
criteria.setAccuracy(Criteria.ACCURACY_FINE); // Choose your accuracy
// requirement.
criteria.setSpeedRequired(true); // Chose if speed for first location
// fix is
required.
criteria.setAltitudeRequired(false); // Choose if you use altitude.
criteria.setBearingRequired(false); // Choose if you use bearing.
criteria.setCostAllowed(false); // Choose if this provider can waste
// money :-)
// Provide your criteria and flag enabledOnly that tells
// LocationManager only to return active providers.
return locationManager.getBestProvider(criteria, true);
}
public void showSettingsAlert() {
AlertDialog.Builder alertDialog = new AlertDialog.Builder(this);
// Setting Dialog Title
alertDialog.setTitle("GPS setting");
// Setting Dialog Message
alertDialog.setMessage("Would you like to enable GPS?");
// On pressing Settings button
alertDialog.setPositiveButton("Yes",
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Intent intent = new Intent(
Settings.ACTION_LOCATION_SOURCE_SETTINGS);
startActivity(intent);
}
});
// on pressing cancel button
alertDialog.setNegativeButton("No",
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.cancel();
}
});
PAGE-39
// Showing Alert Message
alertDialog.show();
}
public void Notify(String notificationTitle, String notificationMessage,
String path) {
Uri soundUri = Uri
.parse("android.resource://com.example.anganwarisupport/raw/"
+ path);
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(
this).setSmallIcon(R.drawable.ic_launcher) // notification icon
.setContentTitle("Geo-Location Updates") // title
// for
// notification
.setContentText("Geo-Location Updates") // message for
// notification
.setAutoCancel(true).setSound(soundUri);
NotificationManager mNotificationManager = (NotificationManager)
getSystemService(Context.NOTIFICATION_SERVICE);
mNotificationManager.notify(0, mBuilder.build());
}
public void startGettingLocationUsingGPSProvider() {
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,
minTime, minDistance, mylistener);
CountDownTimer count = new CountDownTimer(5000, 1) {
@Override
public void onFinish() {
Toast.makeText(getApplicationContext(), "Connecting AGPS",
200)
.show();
Notify("a", "aa", "agps");
tag = "AGPS";
startGettingLocationUsingNetworkProvider();
}
@Override
public void onTick(long millisUntilFinished) {
PAGE-40
// TODO Auto-generated method stub
}
};
count.start();
}
public void startGettingLocationUsingNetworkProvider() {
locationManager.requestLocationUpdates(
LocationManager.NETWORK_PROVIDER, minTime,
minDistance,
mylistener);
}
public boolean isGPSEnabled() {
LocationManager mlocManager = (LocationManager) this
.getSystemService(this.LOCATION_SERVICE);
boolean enabled = mlocManager
.isProviderEnabled(LocationManager.GPS_PROVIDER);
return enabled;
}
public void enableGPS() {
Intent intent = new Intent("android.location.GPS_ENABLED_CHANGE");
intent.putExtra("enabled", true);
sendBroadcast(intent);
}
public void disableGPS() {
// Disable GPS
Intent intent = new Intent("android.location.GPS_ENABLED_CHANGE");
intent.putExtra("enabled", false);
sendBroadcast(intent);
}
class MyLocationListener implements LocationListener {
String provider_tag = "";
@Override
public void onLocationChanged(Location location) {
String sss = location.getLongitude() + "";
if (sss.length() > 10) {
PAGE-41
txtLat.setText("Latitude : " + location.getLatitude());
txtLang.setText("Longitude : " + location.getLongitude());
txtType.setText("Type : " +"GPS");
} else {
txtLat.setText("Latitude : " + location.getLatitude());
txtLang.setText("Longitude : " + location.getLongitude());
txtType.setText("Type : " +"AGPS");
}
GlobalVars.lattitude = location.getLatitude() + "";
GlobalVars.longitude = location.getLongitude() + "";
}
@Override
public void onProviderDisabled(String provider) {
// TODO Auto-generated method stub
}
@Override
public void onProviderEnabled(String provider) {
// TODO Auto-generated method stub
}
@Override
public void onStatusChanged(String provider, int status, Bundle extras) {
// TODO Auto-generated method stub
if (provider.equalsIgnoreCase("gps")) {
Notify("a", "aa", "gps");
locationManager.requestLocationUpdates(
LocationManager.GPS_PROVIDER, 10, 1,
mylistener);
tag = "GPS";
}
}
}
@Override
public void onBackPressed() {
// TODO Auto-generated method stub
super.onBackPressed();
// disableGPS();
}
PAGE-42
}
Child Registration
public class ActivityChildReg extends Activity implements
AdapterView.OnItemSelectedListener {
String Childmandatory;
String gendermandatory;
String dobmandatory;
String weightmandatory;
String pleasebOrder,childregistrationdone,no,yes,cancelRegistration,savingserver;
SharedPrefHelper sph;
SqliteHelper sqliteHelper;
TextView txtChildRegistration;
TextView txtDateOfBirth;
TextView txtBirthWeight;
TextView txtBirthOrder;
TextView txtSelectParent;
TextView txtPlaceOfDelivery;
TextView txtPhotograph;
TextView txtGps;
TextView txtBirthHeight,txtChildName1,txtGender;
public static final String TxtChildRegistration = "txtChildRegistration";
public static final String TxtDateOfBirth = "txtDateOfBirth";
public static final String TxtBirthWeight = "txtBirthWeight";
public static final String TxtBirthOrder = "txtBirthOrder";
public static final String TxtSelectParent = "txtSelectParent";
public static final String TxtPlaceOfDelivery = "txtPlaceOfDelivery";
public static final String TxtPhotograph = "txtPhotograph";
public static final String TxtGps = "txtGps";
public static final String TxtBirthHeight = "txtBirthHeight";
public static final String TxtChildName1 = "txtChildName1";
PAGE-43
public static final String TxtGender = "txtGender";
public static final String Thildmandatory="Childmandatory!";
public static final String Gendermandatory="gendermandatory";
public static final String Dobmandatory="dobmandatory";
public static final String Weightmandatory="weightmandatory";
public static final String PleasebOrder="pleasebOrder";
public static final String Childregistrationdone="childregistrationdone";
public static final String No="no";
public static final String Yes="yes";
public static final String CancelRegistration="cancelRegistration";
public static final String Savingserver="savingserver";
static EditText etxtDateOfBirth, etxtChildName, etxtBirthWeight, etxtBirthHeight;
Button btnGps;
Spinner spnBirthOrder, spnSelectParent,spnGender;
ImageView btnClicked;
private static final int CAMERA_CAPTURE_IMAGE_REQUEST_CODE = 100;
byte[] image;
int birth_order, birthOrder;
String child_name, date_of_birth, child_weight, parent_name, lattitude,gender,
longitude, parentid, birthWeight;
String[] birthStatus = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
"11", "12" };
ProgressDialog progressDialog;
String image64 = "";
ServerHelper serverhelper= new ServerHelper();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_activity_child_reg);
initialize();
btnGps.setText("Lat: " + GlobalVars.lattitude + ", Long: "
+ GlobalVars.longitude);
String languageId = sph.getString("Language", "1");// getting languageId
String childregistration =
sqliteHelper.LanguageChange(TxtChildRegistration,languageId);
String dob = sqliteHelper.LanguageChange(TxtDateOfBirth,languageId);
String bweight = sqliteHelper.LanguageChange(TxtBirthWeight,languageId);
PAGE-44
String border = sqliteHelper.LanguageChange(TxtBirthOrder,languageId);
String selectparent = sqliteHelper.LanguageChange(TxtSelectParent,languageId);
String
placeofdel=sqliteHelper.LanguageChange(TxtPlaceOfDelivery,languageId);
String Photograph = sqliteHelper.LanguageChange(TxtPhotograph,languageId);
String gps = sqliteHelper.LanguageChange(TxtGps,languageId);
String BirthHeight = sqliteHelper.LanguageChange(TxtBirthHeight,languageId);
String ChildName1 =
sqliteHelper.LanguageChange(TxtChildName1,languageId);
String Gender = sqliteHelper.LanguageChange(TxtGender,languageId);
Childmandatory=sqliteHelper.LanguageChange(Thildmandatory, languageId);
gendermandatory=sqliteHelper.LanguageChange(Gendermandatory, languageId);
dobmandatory=sqliteHelper.LanguageChange(Dobmandatory, languageId);
dobmandatory=sqliteHelper.LanguageChange(Dobmandatory, languageId);
weightmandatory=sqliteHelper.LanguageChange(Weightmandatory, languageId);
pleasebOrder=sqliteHelper.LanguageChange(PleasebOrder, languageId);
childregistrationdone=sqliteHelper.LanguageChange(Childregistrationdone,
languageId);
no=sqliteHelper.LanguageChange(No, languageId);
yes=sqliteHelper.LanguageChange(Yes, languageId);
cancelRegistration=sqliteHelper.LanguageChange(CancelRegistration,
languageId);
savingserver=sqliteHelper.LanguageChange(Savingserver, languageId);
//setting text
txtChildRegistration.setText(childregistration);
txtDateOfBirth.setText(dob);
txtBirthWeight.setText(bweight);
txtBirthOrder.setText(border);
txtSelectParent.setText(selectparent);
txtPlaceOfDelivery.setText(placeofdel);
txtPhotograph.setText(Photograph);
txtGps.setText(gps);
txtBirthHeight.setText(BirthHeight);
txtChildName1.setText(ChildName1);
txtGender.setText(Gender);
spnBirthOrder.setOnItemSelectedListener(this);
// Creating the ArrayAdapter instance having the country list
ArrayAdapter aa = new ArrayAdapter(this,
android.R.layout.simple_spinner_item, birthStatus);
aa.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
// Setting the ArrayAdapter data on the Spinner
spnBirthOrder.setAdapter(aa);
PAGE-45
populateList(spnSelectParent, "parents", "parent_id", "mother",
"Select Parent", "");
populateList(spnGender, "gender", "id", "value",
"Select Gender", "");
}
public void initialize() {
sqliteHelper = new SqliteHelper(this);
sph = new SharedPrefHelper(this);
serverhelper= new ServerHelper();
txtChildRegistration = (TextView) findViewById(R.id.txtChildRegistration);
txtDateOfBirth = (TextView) findViewById(R.id.txtDateOfBirth);
txtBirthWeight = (TextView) findViewById(R.id.txtBirthWeight);
txtBirthOrder = (TextView) findViewById(R.id.txtBirthOrder);
txtSelectParent = (TextView) findViewById(R.id.txtSelectParent);
txtPlaceOfDelivery = (TextView) findViewById(R.id.txtPlaceOfDelivery);
txtPhotograph = (TextView) findViewById(R.id.txtPhotograph);
txtGps = (TextView) findViewById(R.id.txtGps);
txtBirthHeight = (TextView) findViewById(R.id.txtBirthHeight);
txtChildName1 = (TextView) findViewById(R.id.txtChildName1);
txtGender = (TextView) findViewById(R.id.txtGender);
etxtDateOfBirth = (EditText) findViewById(R.id.etxtDateOfBirth);
spnBirthOrder = (Spinner) findViewById(R.id.spnBirthOrder);
spnSelectParent = (Spinner) findViewById(R.id.spnSelectParent);
spnGender = (Spinner) findViewById(R.id.spnGender);
etxtChildName = (EditText) findViewById(R.id.etxtChildName);
etxtBirthWeight = (EditText) findViewById(R.id.etxtBirthWeight);
btnClicked = (ImageView) findViewById(R.id.btnClicked);
btnGps = (Button) findViewById(R.id.btnGps);
etxtBirthHeight = (EditText) findViewById(R.id.etxtBirthHeight);
Button btnGps = (Button) findViewById(R.id.btnGps);
progressDialog = new ProgressDialog(this);
progressDialog.setMessage(savingserver);
progressDialog.setIndeterminate(false);
progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
progressDialog.setCancelable(true);
progressDialog.setIndeterminateDrawable(getResources().getDrawable(
R.drawable.rotate_loading_360));
}
PAGE-46
public void click_Image(View vw) {
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
File f = new File(android.os.Environment.getExternalStorageDirectory(),
"temp.jpg");
intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(f));
startActivityForResult(intent,
CAMERA_CAPTURE_IMAGE_REQUEST_CODE);
}
public String getSelectedValue(Spinner spn) {
SpinnerHelper data = (SpinnerHelper) spn.getItemAtPosition((int)
spn.getSelectedItemId());
return data.getValue();
}
public void click_save(View vw) {
parentid = getSelectedValue(spnSelectParent);
int serverid=sqliteHelper.getServerId(parentid);
gender =getSelectedValue(spnGender);// spnGender.getSelectedItemId()+"";
String order = spnBirthOrder.getSelectedItem().toString();
birthWeight = etxtBirthWeight.getText().toString();
String height=etxtBirthHeight.getText().toString();
Child child = new Child();
if (etxtChildName.getText().toString().equals("")) {
etxtChildName.setError(Childmandatory);
}else if (gender.equals("")) {
Toast.makeText(getApplicationContext(),gendermandatory,
Toast.LENGTH_SHORT).show();
}else if (etxtDateOfBirth.getText().toString().equals("")) {
etxtDateOfBirth.setError(dobmandatory);
}
else if (etxtBirthWeight.getText().toString().equals("")) {
etxtBirthWeight.setError(weightmandatory);
}
PAGE-47
else if (order.equals("")) {
Toast.makeText(getApplicationContext(),
pleasebOrder, Toast.LENGTH_SHORT).show();
}
else{
child.setChild_name(etxtChildName.getText().toString());
child.setParent_name(parentid);
child.setGender(gender);
child.setDate_of_birth(etxtDateOfBirth.getText().toString());
child.setChild_weight(birthWeight);
child.setBirth_order( Integer.parseInt(order));
child.setMultimedia(image64);
child.setLatitude(GlobalVars.lattitude);
child.setLongitude(GlobalVars.longitude);
child.setHeight(height);
long id = sqliteHelper.ChildRegistration(child);
if (id > 0) {
Toast.makeText(getApplicationContext(),
childregistrationdone, 200).show();//child registration don!!
Intent intent1 = new Intent(ActivityChildReg.this,
ActivityChildListing.class);
intent1.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent1);
}
}
/*new AsyncTask<String, String, String>(){
@Override
protected void onPostExecute(String result) {
// TODO Auto-generated method stub
super.onPostExecute(result);
progressDialog.dismiss();
Intent intent1 = new Intent(ActivityChildReg.this,
MainMenuRegistrationActivity.class);
PAGE-48
intent1.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent1);
}
@Override
protected String doInBackground(String... arg0) {
// TODO Auto-generated method stub
return serverhelper.ChildRegistration(child);
//return null;
}
}.execute((String)null);*/
}
private int parseInt(Object selectedItem) {
// TODO Auto-generated method stub
return 0;
}
@SuppressLint("NewApi")
public void show_callender(View vw) {
DialogFragment newFragment = new DatePickerFragment();
newFragment.show(getFragmentManager(), "datePicker");
}
@SuppressLint("NewApi")
public static class DatePickerFragment extends DialogFragment implements
DatePickerDialog.OnDateSetListener {
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
// Use the current date as the default date in the picker
final Calendar c = Calendar.getInstance();
int year = c.get(Calendar.YEAR);
int month = c.get(Calendar.MONTH);
int day = c.get(Calendar.DAY_OF_MONTH);
// Create a new instance of DatePickerDialog and return it
return new DatePickerDialog(getActivity(), this, year, month, day);
}
PAGE-49
public void onDateSet(DatePicker view, int year, int month, int day) {
String dt = day + "-" + month + "-" + year;
Calendar c = Calendar.getInstance();
c.set(year, month, day, 0, 0);
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
etxtDateOfBirth.setText(sdf.format(c.getTime()));
}
}
public void populateList(Spinner spinner, String tableName, String col_id,
String col_value, String label, String whr) {
ArrayList<SpinnerHelper> items = new ArrayList<SpinnerHelper>();
items = sqliteHelper.populateSpinner(tableName, col_id, col_value,
label, whr);
ArrayAdapter<SpinnerHelper> adapter = new ArrayAdapter<SpinnerHelper>(
ActivityChildReg.this, android.R.layout.simple_spinner_item,
items);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
spinner.setPrompt(label);
spinner.setAdapter(adapter);
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
// TODO Auto-generated method stub
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == RESULT_OK) {
if (requestCode == CAMERA_CAPTURE_IMAGE_REQUEST_CODE)
{
File f = new File(Environment.getExternalStorageDirectory()
.toString());
for (File temp : f.listFiles()) {
if (temp.getName().equals("temp.jpg")) {
f = temp;
break;
}
}
try {
Bitmap bm;
BitmapFactory.Options btmapOptions = new
BitmapFactory.Options();
PAGE-50
bm = BitmapFactory.decodeFile(f.getAbsolutePath(),
btmapOptions);
final int maxSize = 800;
int outWidth;
int outHeight;
int inWidth = bm.getWidth();
int inHeight = bm.getHeight();
if (inWidth > inHeight) {
outWidth = maxSize;
outHeight = (inHeight * maxSize) / inWidth;
} else {
outHeight = maxSize;
outWidth = (inWidth * maxSize) / inHeight;
}
bm = Bitmap.createScaledBitmap(bm, outWidth,
outHeight,
true);
ByteArrayOutputStream byteArrayOutputStream = new
ByteArrayOutputStream();
bm.compress(Bitmap.CompressFormat.PNG, 100,
byteArrayOutputStream);
byte[] byteArray = byteArrayOutputStream.toByteArray();
image64 =
Base64.encodeToString(byteArray,Base64.DEFAULT);
btnClicked.setImageBitmap(bm);
String path = android.os.Environment
.getExternalStorageDirectory()
+ File.separator
+ "Phoenix" + File.separator + "default";
f.delete();
OutputStream fOut = null;
File file = new File(path, String.valueOf(System
.currentTimeMillis()) + ".jpg");
try {
fOut = new FileOutputStream(file);
bm.compress(Bitmap.CompressFormat.JPEG, 85,
fOut);
fOut.flush();
fOut.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
PAGE-51
} catch (IOException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
public void click_getgps(View vw) {
Button btnGps = (Button) findViewById(R.id.btnGps);
btnGps.setText("Lat: " + GlobalVars.lattitude + ", Long: "
+ GlobalVars.longitude);
}
@Override
public void onBackPressed() {
AlertDialog.Builder builder = new AlertDialog.Builder(this);
// builder.setTitle("Information");
builder.setMessage(cancelRegistration);
builder.setPositiveButton(no, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
});
builder.setNegativeButton(yes, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
Intent intent = new Intent(ActivityChildReg.this,
MainMenuRegistrationActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
| Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent);
}
});
AlertDialog alert = builder.create();
alert.show();
}
PAGE-52
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.activity_child_reg, menu);
return true;
}
@Override
public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2,
long arg3) {
// TODO Auto-generated method stub
}
@Override
public void onNothingSelected(AdapterView<?> arg0) {
// TODO Auto-generated method stub
}
}
PAGE-53
Chapter-6
Testing
PAGE-54
FeasibilityStudy (include Technical, Operationaland EconomicalFeasibility)
There are five areas of feasibility - Technical, Economic, Legal, Operational, and Scheduling.
Technology and system feasibility
The assessment is based on an outline design of system requirements, to determine whether the
company has the technical expertise to handle completion of the project. When writing a
feasibility report, the following should be taken to consideration:
 A brief description of the business to assess more possible factors which could affect the
study
 The part of the business being examined
 The human and economic factor
 The possible solutions to the problem
At this level, the concern is whether the proposal is both technically and legal feasible (assuming
moderate cost).
Legal Feasibility
Determines whether the proposed system conflicts with legal requirements , e.g. a data
processing system must comply with the local Data Protection Acts .
Operational Feasibility
Operational feasibility is a measure of how well a proposed system solves the problems, and
takes advantage of the opportunities identified during scope definition and how it satisfies the
requirements identified in the requirements analysis phase of system development.
The operational feasibility assessment focuses on the degree to which the proposed development
projects fits in with the existing business environment and objectives with regard to development
schedule, delivery date and existing business processes.
To ensure success, desired operational outcomes must be imparted during design and
development. These include such design-dependent parameters such as reliability,
maintainability, supportability, usability, reducibility, disposability, sustainability, affordability
PAGE-55
and others. These parameters are required to be considered at the early stages of design if desired
operational behaviors are to be realized. A system design and development requires appropriate
and timely application of engineering and management efforts to meet the previously mentioned
parameters. A system may serve its intended purpose most effectively when its technical and
operating characteristics are engineered into the design. Therefore operational feasibility is a
critical aspect of systems engineering that needs to be an integral part of the early design phases.
Schedule Feasibility
A project will fail if it takes too long to be completed before it is useful. Typically this means
estimating how long the system will take to develop, and if it can be completed in a given time
period using some methods like payback period. Schedule feasibility is a measure of how
reasonable the project timetable is. Given our technical expertise, are the project deadlines
reasonable? Some projects are initiated with specific deadlines. It is necessary to determine
whether the deadlines are mandatory or desirable.
PAGE-56
BIBLIOGRAPHY
BOOKS
 JAVA 2 Complete Reference.
 Programming with java”E.Ballaguruswamy”
REFERENCES
 http://www.android.developer.com/
 http://www.androidhive.com/
 http://www.javatpoint.com/
 http://www.wikipedia.com/ introduction_of_android.html
 http://www.androidhelper.com

More Related Content

What's hot

Hostpital management system(srs)
Hostpital management system(srs)Hostpital management system(srs)
Hostpital management system(srs)maamir farooq
 
Srs example(1)
Srs example(1)Srs example(1)
Srs example(1)zozila
 
Hospital management system project
Hospital management system projectHospital management system project
Hospital management system projectHimani Chopra
 
BIS4995 : Web-based Package Tour Reservation System
BIS4995 : Web-based Package Tour Reservation System BIS4995 : Web-based Package Tour Reservation System
BIS4995 : Web-based Package Tour Reservation System Woraphan Atikomtrirat
 
Online Estate Managment
Online Estate ManagmentOnline Estate Managment
Online Estate ManagmentBHOMA RAM
 
Software Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSoftware Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSM. Aurnob
 
Android Based Application to Ensure Medical Adherence: CareWise
Android Based Application to Ensure Medical Adherence: CareWiseAndroid Based Application to Ensure Medical Adherence: CareWise
Android Based Application to Ensure Medical Adherence: CareWiseDr. Amarjeet Singh
 
HOSPITAL MANAGEMENT SYSTEM ANDROID
HOSPITAL MANAGEMENT SYSTEM ANDROIDHOSPITAL MANAGEMENT SYSTEM ANDROID
HOSPITAL MANAGEMENT SYSTEM ANDROIDFoysal Mahamud Elias
 
Srs hospital management
Srs hospital managementSrs hospital management
Srs hospital managementmaamir farooq
 
Online vehicle service center management system project report
Online vehicle service center management system project reportOnline vehicle service center management system project report
Online vehicle service center management system project reportmehulgundaliya
 
Software Requirements Specification Final
Software Requirements Specification FinalSoftware Requirements Specification Final
Software Requirements Specification Finaljangjong
 
Healthcare Tracker App: Full Report
Healthcare Tracker App: Full ReportHealthcare Tracker App: Full Report
Healthcare Tracker App: Full ReportDave Siegel
 
Complete project on hospital maangement system
Complete project on hospital maangement systemComplete project on hospital maangement system
Complete project on hospital maangement systemRahul Kumar
 
Software requirement specification
Software requirement specificationSoftware requirement specification
Software requirement specificationAmit Gandhi
 

What's hot (17)

Hostpital management system(srs)
Hostpital management system(srs)Hostpital management system(srs)
Hostpital management system(srs)
 
Srs example(1)
Srs example(1)Srs example(1)
Srs example(1)
 
Hospital management system project
Hospital management system projectHospital management system project
Hospital management system project
 
BIS4995 : Web-based Package Tour Reservation System
BIS4995 : Web-based Package Tour Reservation System BIS4995 : Web-based Package Tour Reservation System
BIS4995 : Web-based Package Tour Reservation System
 
Online Estate Managment
Online Estate ManagmentOnline Estate Managment
Online Estate Managment
 
Software Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management systemSoftware Requirements Specification for restaurant management system
Software Requirements Specification for restaurant management system
 
B05330815
B05330815B05330815
B05330815
 
Android Based Application to Ensure Medical Adherence: CareWise
Android Based Application to Ensure Medical Adherence: CareWiseAndroid Based Application to Ensure Medical Adherence: CareWise
Android Based Application to Ensure Medical Adherence: CareWise
 
HOSPITAL MANAGEMENT SYSTEM ANDROID
HOSPITAL MANAGEMENT SYSTEM ANDROIDHOSPITAL MANAGEMENT SYSTEM ANDROID
HOSPITAL MANAGEMENT SYSTEM ANDROID
 
Srs for banking system
Srs for banking systemSrs for banking system
Srs for banking system
 
Srs hospital management
Srs hospital managementSrs hospital management
Srs hospital management
 
Online vehicle service center management system project report
Online vehicle service center management system project reportOnline vehicle service center management system project report
Online vehicle service center management system project report
 
Software Requirements Specification Final
Software Requirements Specification FinalSoftware Requirements Specification Final
Software Requirements Specification Final
 
Healthcare Tracker App: Full Report
Healthcare Tracker App: Full ReportHealthcare Tracker App: Full Report
Healthcare Tracker App: Full Report
 
HOSPITAL MANAGEMENT SYSTEM project report
HOSPITAL MANAGEMENT SYSTEM project reportHOSPITAL MANAGEMENT SYSTEM project report
HOSPITAL MANAGEMENT SYSTEM project report
 
Complete project on hospital maangement system
Complete project on hospital maangement systemComplete project on hospital maangement system
Complete project on hospital maangement system
 
Software requirement specification
Software requirement specificationSoftware requirement specification
Software requirement specification
 

Similar to 2introduction

Online birth certificate system and management
Online birth certificate system and managementOnline birth certificate system and management
Online birth certificate system and managementKARUPPUSAMYSAIPRASAT
 
Food distribution management system
Food distribution management systemFood distribution management system
Food distribution management systemAmit P
 
orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...
orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...
orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...drakselva2011
 
Mess_Management.pptx
Mess_Management.pptxMess_Management.pptx
Mess_Management.pptxAnand283
 
IRJET- Disaster Management System using Web
IRJET-  	  Disaster Management System using WebIRJET-  	  Disaster Management System using Web
IRJET- Disaster Management System using WebIRJET Journal
 
FEASIBILITY ANALYSIS REPORT
FEASIBILITY ANALYSIS REPORTFEASIBILITY ANALYSIS REPORT
FEASIBILITY ANALYSIS REPORTrabianasir8
 
mnvRTBS-PPT-int4p9[1].pptx this report is good
mnvRTBS-PPT-int4p9[1].pptx this report is goodmnvRTBS-PPT-int4p9[1].pptx this report is good
mnvRTBS-PPT-int4p9[1].pptx this report is goodmrmanavpachurkar
 
online patient treatment system
online patient treatment system online patient treatment system
online patient treatment system RabiaNasir31
 
web based speed age courier
web based speed age courierweb based speed age courier
web based speed age courierFAKHRUN NISHA
 
IRJET- A Review on Budget Estimator Android Application
IRJET-  	  A Review on Budget Estimator Android ApplicationIRJET-  	  A Review on Budget Estimator Android Application
IRJET- A Review on Budget Estimator Android ApplicationIRJET Journal
 
Latest proposal project info zakat
Latest proposal project info zakatLatest proposal project info zakat
Latest proposal project info zakatUmmi Zakiah
 
Mobile store management
Mobile store management Mobile store management
Mobile store management Rupendra Verma
 
Hospital Management System Project
Hospital Management System ProjectHospital Management System Project
Hospital Management System ProjectSanjit Yadav
 
Kisan Monitoring System Focused on Android based Application
Kisan Monitoring System Focused on Android based ApplicationKisan Monitoring System Focused on Android based Application
Kisan Monitoring System Focused on Android based ApplicationIRJET Journal
 
Payroll Management System SRS
Payroll Management System SRSPayroll Management System SRS
Payroll Management System SRSShubham Modi
 
Daily Needs Management Application
Daily Needs Management ApplicationDaily Needs Management Application
Daily Needs Management ApplicationIRJET Journal
 

Similar to 2introduction (20)

OBCS-PPT-sehhia (1).pptx
OBCS-PPT-sehhia (1).pptxOBCS-PPT-sehhia (1).pptx
OBCS-PPT-sehhia (1).pptx
 
Online birth certificate system and management
Online birth certificate system and managementOnline birth certificate system and management
Online birth certificate system and management
 
Food distribution management system
Food distribution management systemFood distribution management system
Food distribution management system
 
CDMS-PPT-fzq94g.pptx
CDMS-PPT-fzq94g.pptxCDMS-PPT-fzq94g.pptx
CDMS-PPT-fzq94g.pptx
 
orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...
orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...
orphanemgensysmtelsjfdinadlfhlajfdljflajdfkljalkdjflkjlajfeohrlejkldjlkjglajf...
 
abstract
abstractabstract
abstract
 
Mess_Management.pptx
Mess_Management.pptxMess_Management.pptx
Mess_Management.pptx
 
Job portal
Job portalJob portal
Job portal
 
IRJET- Disaster Management System using Web
IRJET-  	  Disaster Management System using WebIRJET-  	  Disaster Management System using Web
IRJET- Disaster Management System using Web
 
FEASIBILITY ANALYSIS REPORT
FEASIBILITY ANALYSIS REPORTFEASIBILITY ANALYSIS REPORT
FEASIBILITY ANALYSIS REPORT
 
mnvRTBS-PPT-int4p9[1].pptx this report is good
mnvRTBS-PPT-int4p9[1].pptx this report is goodmnvRTBS-PPT-int4p9[1].pptx this report is good
mnvRTBS-PPT-int4p9[1].pptx this report is good
 
online patient treatment system
online patient treatment system online patient treatment system
online patient treatment system
 
web based speed age courier
web based speed age courierweb based speed age courier
web based speed age courier
 
IRJET- A Review on Budget Estimator Android Application
IRJET-  	  A Review on Budget Estimator Android ApplicationIRJET-  	  A Review on Budget Estimator Android Application
IRJET- A Review on Budget Estimator Android Application
 
Latest proposal project info zakat
Latest proposal project info zakatLatest proposal project info zakat
Latest proposal project info zakat
 
Mobile store management
Mobile store management Mobile store management
Mobile store management
 
Hospital Management System Project
Hospital Management System ProjectHospital Management System Project
Hospital Management System Project
 
Kisan Monitoring System Focused on Android based Application
Kisan Monitoring System Focused on Android based ApplicationKisan Monitoring System Focused on Android based Application
Kisan Monitoring System Focused on Android based Application
 
Payroll Management System SRS
Payroll Management System SRSPayroll Management System SRS
Payroll Management System SRS
 
Daily Needs Management Application
Daily Needs Management ApplicationDaily Needs Management Application
Daily Needs Management Application
 

Recently uploaded

Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...nirzagarg
 
Only Cash On Delivery Call Girls Service In Chennai 💯Niamh 📲🔝6378878445🔝Call...
Only Cash On Delivery Call Girls Service In Chennai  💯Niamh 📲🔝6378878445🔝Call...Only Cash On Delivery Call Girls Service In Chennai  💯Niamh 📲🔝6378878445🔝Call...
Only Cash On Delivery Call Girls Service In Chennai 💯Niamh 📲🔝6378878445🔝Call...vershagrag
 
Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...
Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...
Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...Hyderabad Escorts Agency
 
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一avy6anjnd
 
Is Your Mercedes Benz Trunk Refusing To Close Here's What Might Be Wrong
Is Your Mercedes Benz Trunk Refusing To Close Here's What Might Be WrongIs Your Mercedes Benz Trunk Refusing To Close Here's What Might Be Wrong
Is Your Mercedes Benz Trunk Refusing To Close Here's What Might Be WrongMomentum Motorworks
 
Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...
Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...
Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...jaspritkaur4u
 
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfJohn Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfExcavator
 
FULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl Service
FULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl ServiceFULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl Service
FULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl Servicedollysharma2066
 
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...nirzagarg
 
9352852248 Call Girls Gota Escort Service Available 24×7 In Gota
9352852248 Call Girls  Gota Escort Service Available 24×7 In Gota9352852248 Call Girls  Gota Escort Service Available 24×7 In Gota
9352852248 Call Girls Gota Escort Service Available 24×7 In Gotagargpaaro
 
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...
Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...
Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...vershagrag
 
👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...vershagrag
 
Goa ❤CALL GIRL ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRL
Goa ❤CALL GIRL  ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRLGoa ❤CALL GIRL  ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRL
Goa ❤CALL GIRL ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRLCall Girls Mumbai
 
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...Hyderabad Escorts Agency
 
Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...
Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...
Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...vershagrag
 
Kolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service Available
Kolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service AvailableKolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service Available
Kolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service AvailableCall Girls Mumbai
 
Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...
Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...
Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...Call Girls Mumbai
 

Recently uploaded (20)

Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In Rajahmundry [ 7014168258 ] Call Me For Genuine Mode...
 
Only Cash On Delivery Call Girls Service In Chennai 💯Niamh 📲🔝6378878445🔝Call...
Only Cash On Delivery Call Girls Service In Chennai  💯Niamh 📲🔝6378878445🔝Call...Only Cash On Delivery Call Girls Service In Chennai  💯Niamh 📲🔝6378878445🔝Call...
Only Cash On Delivery Call Girls Service In Chennai 💯Niamh 📲🔝6378878445🔝Call...
 
Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...
Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...
Call Girl in Faridabad | Whatsapp No 📞 8168257667 📞 VIP Escorts Service Avail...
 
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
如何办理(NCL毕业证书)纽卡斯尔大学毕业证毕业证成绩单原版一比一
 
Is Your Mercedes Benz Trunk Refusing To Close Here's What Might Be Wrong
Is Your Mercedes Benz Trunk Refusing To Close Here's What Might Be WrongIs Your Mercedes Benz Trunk Refusing To Close Here's What Might Be Wrong
Is Your Mercedes Benz Trunk Refusing To Close Here's What Might Be Wrong
 
Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...
Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...
Bhubaneswar Call Girls 💯Call Us 🔝 9777949614 🔝 💃 Top Class Russian Bhubaneswa...
 
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfJohn Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
 
Obat Penggugur Kandungan Di Apotek Klinik Banyuwangi +6287776558899
Obat Penggugur Kandungan Di Apotek Klinik Banyuwangi +6287776558899Obat Penggugur Kandungan Di Apotek Klinik Banyuwangi +6287776558899
Obat Penggugur Kandungan Di Apotek Klinik Banyuwangi +6287776558899
 
FULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl Service
FULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl ServiceFULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl Service
FULL ENJOY 8377087607 Call Girls In Paharganj (DELHI NCr) Call Girl Service
 
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
 
9352852248 Call Girls Gota Escort Service Available 24×7 In Gota
9352852248 Call Girls  Gota Escort Service Available 24×7 In Gota9352852248 Call Girls  Gota Escort Service Available 24×7 In Gota
9352852248 Call Girls Gota Escort Service Available 24×7 In Gota
 
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In dewas [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Ranchi [ 7014168258 ] Call Me For Genuine Models We...
 
Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...
Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...
Low Cost Jhansi 📞6378878445📞 Just📲 Call Inaaya Call Girls Service No💰Advance ...
 
👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Agartala Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
 
Goa ❤CALL GIRL ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRL
Goa ❤CALL GIRL  ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRLGoa ❤CALL GIRL  ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRL
Goa ❤CALL GIRL ❤CALL GIRLS IN Goa ESCORT SERVICE❤CALL GIRL
 
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
 
Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...
Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...
Premium Call Girls Aurangabad Call Girls 💯Call Us 🔝 6378878445 🔝 💃 Top Class ...
 
Kolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service Available
Kolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service AvailableKolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service Available
Kolkata Call Girls Bengal 👉👉 0000000000 Top Class Call Girl Service Available
 
Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...
Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...
Shimla Call Girls 💯Call Us 🔝 9xx000xx09 🔝 💃 Top Class Russian Shimla Call Gir...
 

2introduction

  • 1. PAGE-1 INTRODUCTION Sudhridh Bharat Application is a useful mobile application this project is provide the facility to various data (family, parent ,pregnant women, child , water source, type of toilet etc.) about a Anganwadi center for child nutrition and pregnant women monitoring in proper way The main strategy of the project is to provide all information about people from Anganwadi center to Block level officer and all officer that are belong to that deportment( mahila Baal Vikash and pustahar vibhag) very quickly and analysis that and provide needed nutrition material The mobile Application are use basically Anganwadi support(Helper) and collect All information about people and upload automatic and also with help of sync All information are show in cms according to state wise deistic wise and also display Block wise The mobile app is based on Jsw project hold on various modules.  Login  Registration  Synchronizations  Nutrition  Monitoring  Help  Setting In this project my module is change language and registration which is part of Anganwadi Support ,it is dynamically related to collect information and change language according to requirement to the user and in registration module that are ahold parent registration ,pregnant women registration child registration and also nutrition and monitor registered child and pregnant women. 1.1 Purpose. Main aim in this mobile app (Sudirdh Bharat Application) is to provide an easy way not only automatic all functionalities of Anganwadi center but also to provide full information about people and water source , type of toilet and every thing according to block wise ,Deistic level related deportment officer very fast and accurate.We are committed to bring the best way to all information to help of CMS .
  • 2. PAGE-2 1.2 Scope The current system of Anganwadi center the Anganwadi support is gather all information about the parent, pregnant women, child and note down a register (note book) and send that register to his upper officer but that process is very complex ,time taking system and untrusted system. this system have lot of drawback Example Anganwadi person are note all information about child ,height ,weight ,MUAC, current source of water, type of toilet but when that information are analysis and apply to next two month after that may something will be changed that time With help of this project all information Conway very fast and easy to analyze and take decision easily The result of this application will be very positive and I hope all state Govt. adopt this app and implemented in whole country, currently this app are implemented in maharastra Govt. 1.3 Definition, Acronyms, and Abbreviations- IEEE The Institute of Electric and Electronics,Inc MUAC Middle Upper Arm circumference EDD Expected Delivery Date LMP Last, Month, Period GUI Graphical User Management
  • 4. PAGE-4 2. Overall Description 2.1ProductPerspective- Anganwadi Support is a child nutrition and monitoring system this project is a mobile based project.it is provide facilities to Anganwadi helper are may belong to city or very backward Area there may be not sufficient resource (Electricity or network) this App are developed this kind of problem keep in mind Not use very much graphical interface and images that app have local and server data base .suppose the user are collect information on his mobile phone but that time network not available that time this app also work, that time this app store all information in local data base and that time the user on network he/she send all information into server with help of synchronization This app are provide various application on CMS but our application is different in following ways  Easy to gather all information to all person or any one person  Using this app to provide an scale to a particular child is healthy or required nutrition .  Similarly use the app we are calculate Expected Delivery Date of a pregnant women and monitor his in a proper manner.  In server end user’s are officer that are analysis and take decision according to graph representation  Server end according to select state, select deistic , select block, and select family 2.1.1 User interface- The user will be interacted with the system a mobile application (Anganwadi support) are run in android 4.4(kit-cat) to current version that app not need to more Battery and if user are login at one time with correct user name and password next time they does not need to user name and password that user enter directly main menu and register, or monitor very easily that app UI is very simple and not use any image or heavy weight code that are degrade that performance,
  • 5. PAGE-5 2.1.2 Hardware interfaces- The hardware used for the development of the project is-; Mobile device Android 4.4 Processor Dual core 1.2GHZ RAM 1GB SD Card 8GB Camera 5mp 2492*1944 2.1.3 Software interfaces- In client side very simple and mobile support android 4.4(OS) 2.1.4 Memory Constraints- A minimum of 3GB RAM is required to install ADT. 2.2 Product Function- The product function monitoring system is as follows: 1. Our system keep is handle the child nutrition . 2. Our system keep all information about all family like as parent registration. 3. The system is handle the child weight and height and its made a graph analytical according view growth of child. 4. All information will show in server and handle the web API. 5. Web API is handle by admin and its control in server.
  • 6. PAGE-6 2.3 User Characteristics- The product is design to be usable by individual with a minimum level of literacy and related to the use of information technology of mobile. The user of application required only a few of training on the application and this application hold many local language exp-Marathi, Hindi, English etc. 2.4 Constraints- This application is developed on ADT bundle and web services are handle Cake Php .Web services is call by JSON API and local database is SqLite and server side database use MySql.
  • 8. PAGE-8 3.1 External Interface Requirement- 3.1.1 User Interface- The user interface of Anganwadi support content the following activities:  Child Registration- All information about child.  Parent Registration-All information about parents.  Pregnant Women Registration-All information about pregnant women.  Nutrition-The nutrition activity contain growth of child.  Monitoring-The monitoring activity is contain the growth of pregnant women in proper way.  Water source- The rural or city area people drinking water source, well, tubewell,piped.  Toilet Type- The registered family have type of toilet open, close.  Delivery Order-Order of child.  Weight- The child or pregnant women weight in cms.  Height-The child or pregnant women height in cms.  Hg- Hemoglobin level of pregnant women  MUAC- Middle upper arm circumfuse 3.1.2 Hardware interface- No specific hardware requirement for the application. In future we can configure some hardware to the application like bar code reader ,figure print reader and card reader, 3.1.3 Software interface- The software used for the development of the project Development tool :ADT Bundle OS :windows/Linux DBMS :SQLITE
  • 9. PAGE-9 3.2 Software product feature- As we discuss about the various forms and their uses in the application, the block specified in the forms takes appropriate input from the user validate them check them and processes the system according to the input and generated outputs. At form level our application has following commands- 1- Save - this button is used to save new data in database. 2- Modify - this button is used to modify the records. 3- View - this button is used to view the records. 4- First - This button is used to view the first record in the database. 5- Previous - This button is used to view the previous record. 6- Next - This button is used to view the next record. 7- Last - This button is used to view the last record. 8- Delete - This button is used to delete the records. 9- Exit - This button is used to exit form the form. 10- Cancel - This button is used to clear the records from the forms. 11- Print - This button is used to print the records. The whole processing in the web application are done on the level. Each form validates input on form level and then send them into the database. Our web application generates two types of output- 1-Output in forms 2-In the forms of reports 3.2.1 Reportgeneration- Outputs can be generated in the form of reports. Reports can be generated in the specified format according to user requirement like-  Tabular  Group left  Form-like  Mailing-Label
  • 10. PAGE-10  Group-above  Matrix  Matrix-with-group  Form-letter These reports are forcontains all information of all branches with company wise/institute wise. This is an online web application so that user take information online. Parents can see class details, their progress reports and also results from home. This is too much user friendly.there is lots of scope the area of user interface, database performance Etc.This report master, payment,good receipt etc. these reports are generated by the joining of the various tables. The report output can be delivered directly to a printer or saved in the following formats:  PDF  HTML  XML  Microsoft Excel 3.3 LogicalDataBase Requirements: In this application Sqlite is used as database. There are many tables in the modules. These table are dynamically related with other modules os Target PMT. In these tables various types of keys like primary key, foreign key constraints like not null, unique and triggers are applied. This database secure and fast. The tables of this module are as follows- 1- Login 2- Family 3- Child Registration 4- Parent Registration 5- Language 6- Child Nutrition 7- Anganwadi center 8- Beat
  • 11. PAGE-11 9- Birth status 10- Boolean support 11- Caste 12- Delivery type 13- Drinking water source 14- Gender 15- Multimedia 16- Nutrition 17- Place of delivery 18- Pregnant women monitor 19- Regional language 20- Religion 21- Server id 22- Toilet availability 23- Type toilet 24- User
  • 12. PAGE-12 1.Login user_name TEXT user_id INTEGER Password TEXT Email TEXT PRIMARY KEY user_id 2.Anganwadi center center_id INTEGER center_name TEXT beat_id NUMERIC PRIMARY KEY center_id 3.Child Registration Gender TEXT Status NUMERIC child_id INTEGER child_name TEXT date_of_birth TEXT birth_weight TEXT parent_name TEXT server_id NUMERIC Latitude TEXT Longitude TEXT Multimedia TEXT, birth_order NUMERIC user_id NUMERIC birth_height TEXT PRIMARY KEY child_id 4.ParentRegistration
  • 13. PAGE-13 parent_id INTEGER houser_id TEXT Latitude TEXT Longitude TEXT Father TEXT Mother TEXT has_toilet NUMERIC have_water NUMERIC litracy_status NUMERIC Religion NUMERIC Caste TEXT f_adharcard TEXT m_adharcard TEXT Address TEXT user_id NUMERIC server_id NUMERIC Status NUMERIC PRIMARY KEY parent_id 5.Child_Nutrition_Monitor 6.Beat beat_id INTEGER beat_name TEXT PRIMARY KEY beat_id 7.Birth_Status Id INTEGER Value TEXT PRIMARY KEY id 8.Boolean_Support Id INTEGER parent_name TEXT child_name TEXT Weight TEXT Height TEXT Muac TEXT Status NUMERIC Server_id NUMERIC Multimedia TEXT
  • 14. PAGE-14 Value TEXT PRIMARY KEY id 9.Nutrition nutrition_id INTEGER Status NUMERIC child_id NUMERIC date_of_monitoring TEXT height TEXT Weight TEXT Muac TEXT latitude TEXT Longitude TEXT server_id NUMERIC PRIMARY KEY nutrition_id 9.Pregnant_WomenMonitor women_id NUMERIC pregnant_women_name TEXT Weight TEXT Hb TEXT Status TEXT server_id NUMERIC current_date TEXT 10.Regional_language multimedia_id INTEGER Data BLOB Status NUMERIC Type NUMERIC server_id NUMERIC PRIMARY KEY multimedia_id 10.Server
  • 15. PAGE-15 Value TEXT Id INTEGER PRIMARY KEY id 3.4 Software SystemAttributes: 3.4.1 Reliability Reliability the main objective so as to win the Confidence of the user and to provide information on which he can relies upon. 3.4.2 Availability The entire system should be available round the year, except for a periodic maintenance. The maintenance period should be pre scheduled and short. The users should be reminded of the unavailability period, well in advance. 3.4.3 Security Since the information entered is of vital Importance to the organization and to the owner of the website, it should be made to allow only the website developers to manipulate the data.
  • 16. PAGE-16 3.4.4 Maintainability The document should be easy for the users who execute the system day to day, for the developers who wish to edit or develop further, and for the personnel who is in charge of the maintenance. 3.4.5 Portability The system shoul support window and Linux operating system. And application can also be integrate into client-server web application. 3.4.6 Usability The GUI should be easy to learn and use by users of any technical background. A tool-tip feature is available in all blocks, to guide the users. 3.5 List Of Diagrams 3.5.1 Data Flow Diagram- Zero level DFD.
  • 33. PAGE-33 Login Page public class ActivityLogin extends Activity { EditText etxtUserName, extxPassword; TextView txtLogin,txtUser,txtPass,txtLat1,txtLat,txtLang,txtType; String notavaliduser; public static final String TxtLogin = "txtLogin"; public static final String TxtUser = "txtUser"; public static final String TxtPass = "txtPass"; public static final String TxtLat1 = "txtLat1"; public static final String TxtLat = "txtLat"; public static final String TxtLang = "txtLang"; public static final String TxtType = "txtType"; public static final String Notavaliduser = "notavaliduser"; String strUserName, strPassword, gcm; SharedPrefHelper sph; LocationManager locationManager; long minTime = 1000; float minDistance = 1; public boolean foundGPSLocation = false; String tag = ""; MyLocationListener mylistener; SqliteHelper sqliteHelper; ServerHelper serverhelper; private ProgressDialog mProgressDialog; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_login); initialize(); String languageId = sph.getString("Language", "1");// getting languageId String Login = sqliteHelper.LanguageChange(TxtLogin,languageId); String User = sqliteHelper.LanguageChange(TxtUser,languageId); String Pass = sqliteHelper.LanguageChange(TxtPass,languageId);
  • 34. PAGE-34 String Lat1 = sqliteHelper.LanguageChange(TxtLat1,languageId); String Lat = sqliteHelper.LanguageChange(TxtLat,languageId); String Lang = sqliteHelper.LanguageChange(TxtLang,languageId); String Type = sqliteHelper.LanguageChange(TxtType,languageId); notavaliduser = sqliteHelper.LanguageChange(Notavaliduser,languageId); txtLogin.setText(Login); txtUser.setText(User); txtPass.setText(Pass); txtLat1.setText(Lat1); txtLat.setText(Lat); txtLang.setText(Lang); txtType.setText(Type); //startGPS(); //enableGPS(); //startGettingLocationUsingGPSProvider(); } public void initialize() { sqliteHelper = new SqliteHelper(this); sph = new SharedPrefHelper(this); txtLogin = (TextView) findViewById(R.id.txtLogin); txtUser = (TextView) findViewById(R.id.txtUser); txtPass = (TextView) findViewById(R.id.txtPass); txtLat1 = (TextView) findViewById(R.id.txtLat1); txtLat = (TextView) findViewById(R.id.txtLat); txtLang = (TextView) findViewById(R.id.txtLang); txtType = (TextView) findViewById(R.id.txtType); etxtUserName = (EditText) findViewById(R.id.etxtUserName); extxPassword = (EditText) findViewById(R.id.extxPassword); sph = new SharedPrefHelper(this); locationManager = (LocationManager) getSystemService(LOCATION_SERVICE); mylistener = new MyLocationListener(); txtLat = (TextView) findViewById(R.id.txtLat); txtLang = (TextView) findViewById(R.id.txtLang); txtType = (TextView) findViewById(R.id.txtType); //sqliteHelper=new SqliteHelper(this); serverhelper=new ServerHelper(); mProgressDialog = new ProgressDialog(this); mProgressDialog.setIndeterminate(false);
  • 35. PAGE-35 mProgressDialog.setMax(100); mProgressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); mProgressDialog.setCancelable(true); mProgressDialog.setMessage("Please wait!!! "); mProgressDialog.setCanceledOnTouchOutside(false); } private void startGPS() { boolean isGPSEnabled = locationManager .isProviderEnabled(LocationManager.GPS_PROVIDER); if (!isGPSEnabled) { showSettingsAlert(); } } public final boolean isInternetOn() { ConnectivityManager connec = (ConnectivityManager) getSystemService(getBaseContext().CONNECTIVITY_SERVICE); if (connec.getNetworkInfo(0).getState() == android.net.NetworkInfo.State.CONNECTED || connec.getNetworkInfo(0).getState() == android.net.NetworkInfo.State.CONNECTING || connec.getNetworkInfo(1).getState() == android.net.NetworkInfo.State.CONNECTING || connec.getNetworkInfo(1).getState() == android.net.NetworkInfo.State.CONNECTED) { return true; } else if (connec.getNetworkInfo(0).getState() == android.net.NetworkInfo.State.DISCONNECTED || connec.getNetworkInfo(1).getState() == android.net.NetworkInfo.State.DISCONNECTED) { return false; } return false; } public void click_login(View vw) { strUserName = etxtUserName.getText().toString(); strPassword = extxPassword.getText().toString();
  • 36. PAGE-36 if (strUserName.equalsIgnoreCase("") || (strPassword.equalsIgnoreCase(""))) { Toast.makeText(getApplicationContext(), "Please enter username and password!", 200).show(); } else { if (sqliteHelper.validateUserOffline(strUserName, strPassword)>0) { GlobalVars.UserID=sqliteHelper.validateUserOffline(strUserName, strPassword); Intent intent = new Intent(this, MainMenuActivity.class); startActivity(intent); } else { Toast.makeText(getApplicationContext(), "Invalid user, authenticating online!!!", 200).show(); if(isInternetOn()==false){ Toast.makeText(getApplicationContext(), "Please enable internet to online login!!!", 200).show(); } else{ mProgressDialog.show(); new AsyncTask<String, String, String>(){ @Override protected void onPostExecute(String result) { // TODO Auto-generated method stub super.onPostExecute(result); if(result!=null){ try { JSONObject user= new JSONObject(result); if(user.has("user_id")){ int user_id= user.getInt("user_id"); if(user_id>0) { sqliteHelper.SaveUser(strUserName, strPassword, user_id+""); GlobalVars.UserID=user_id;
  • 37. PAGE-37 Intent intent = new Intent(ActivityLogin.this, MainMenuActivity.class); startActivity(intent); } else{ Toast.makeText(getApplicationContext(), notavaliduser, 200).show(); } } mProgressDialog.dismiss(); } catch (JSONException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } @Override protected String doInBackground(String... arg0) { // TODO Auto-generated method stub return serverhelper.LoginOnServer(strUserName, strPassword); } }.execute((String)null); } } } } /** * Get provider name. * * @return Name of best suiting provider. * */ String getProviderName() { LocationManager locationManager = (LocationManager) this .getSystemService(Context.LOCATION_SERVICE); Criteria criteria = new Criteria(); criteria.setPowerRequirement(Criteria.POWER_LOW); // Chose your desired
  • 38. PAGE-38 // power consumption // level. criteria.setAccuracy(Criteria.ACCURACY_FINE); // Choose your accuracy // requirement. criteria.setSpeedRequired(true); // Chose if speed for first location // fix is required. criteria.setAltitudeRequired(false); // Choose if you use altitude. criteria.setBearingRequired(false); // Choose if you use bearing. criteria.setCostAllowed(false); // Choose if this provider can waste // money :-) // Provide your criteria and flag enabledOnly that tells // LocationManager only to return active providers. return locationManager.getBestProvider(criteria, true); } public void showSettingsAlert() { AlertDialog.Builder alertDialog = new AlertDialog.Builder(this); // Setting Dialog Title alertDialog.setTitle("GPS setting"); // Setting Dialog Message alertDialog.setMessage("Would you like to enable GPS?"); // On pressing Settings button alertDialog.setPositiveButton("Yes", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { Intent intent = new Intent( Settings.ACTION_LOCATION_SOURCE_SETTINGS); startActivity(intent); } }); // on pressing cancel button alertDialog.setNegativeButton("No", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { dialog.cancel(); } });
  • 39. PAGE-39 // Showing Alert Message alertDialog.show(); } public void Notify(String notificationTitle, String notificationMessage, String path) { Uri soundUri = Uri .parse("android.resource://com.example.anganwarisupport/raw/" + path); NotificationCompat.Builder mBuilder = new NotificationCompat.Builder( this).setSmallIcon(R.drawable.ic_launcher) // notification icon .setContentTitle("Geo-Location Updates") // title // for // notification .setContentText("Geo-Location Updates") // message for // notification .setAutoCancel(true).setSound(soundUri); NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); mNotificationManager.notify(0, mBuilder.build()); } public void startGettingLocationUsingGPSProvider() { locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, minTime, minDistance, mylistener); CountDownTimer count = new CountDownTimer(5000, 1) { @Override public void onFinish() { Toast.makeText(getApplicationContext(), "Connecting AGPS", 200) .show(); Notify("a", "aa", "agps"); tag = "AGPS"; startGettingLocationUsingNetworkProvider(); } @Override public void onTick(long millisUntilFinished) {
  • 40. PAGE-40 // TODO Auto-generated method stub } }; count.start(); } public void startGettingLocationUsingNetworkProvider() { locationManager.requestLocationUpdates( LocationManager.NETWORK_PROVIDER, minTime, minDistance, mylistener); } public boolean isGPSEnabled() { LocationManager mlocManager = (LocationManager) this .getSystemService(this.LOCATION_SERVICE); boolean enabled = mlocManager .isProviderEnabled(LocationManager.GPS_PROVIDER); return enabled; } public void enableGPS() { Intent intent = new Intent("android.location.GPS_ENABLED_CHANGE"); intent.putExtra("enabled", true); sendBroadcast(intent); } public void disableGPS() { // Disable GPS Intent intent = new Intent("android.location.GPS_ENABLED_CHANGE"); intent.putExtra("enabled", false); sendBroadcast(intent); } class MyLocationListener implements LocationListener { String provider_tag = ""; @Override public void onLocationChanged(Location location) { String sss = location.getLongitude() + ""; if (sss.length() > 10) {
  • 41. PAGE-41 txtLat.setText("Latitude : " + location.getLatitude()); txtLang.setText("Longitude : " + location.getLongitude()); txtType.setText("Type : " +"GPS"); } else { txtLat.setText("Latitude : " + location.getLatitude()); txtLang.setText("Longitude : " + location.getLongitude()); txtType.setText("Type : " +"AGPS"); } GlobalVars.lattitude = location.getLatitude() + ""; GlobalVars.longitude = location.getLongitude() + ""; } @Override public void onProviderDisabled(String provider) { // TODO Auto-generated method stub } @Override public void onProviderEnabled(String provider) { // TODO Auto-generated method stub } @Override public void onStatusChanged(String provider, int status, Bundle extras) { // TODO Auto-generated method stub if (provider.equalsIgnoreCase("gps")) { Notify("a", "aa", "gps"); locationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, 10, 1, mylistener); tag = "GPS"; } } } @Override public void onBackPressed() { // TODO Auto-generated method stub super.onBackPressed(); // disableGPS(); }
  • 42. PAGE-42 } Child Registration public class ActivityChildReg extends Activity implements AdapterView.OnItemSelectedListener { String Childmandatory; String gendermandatory; String dobmandatory; String weightmandatory; String pleasebOrder,childregistrationdone,no,yes,cancelRegistration,savingserver; SharedPrefHelper sph; SqliteHelper sqliteHelper; TextView txtChildRegistration; TextView txtDateOfBirth; TextView txtBirthWeight; TextView txtBirthOrder; TextView txtSelectParent; TextView txtPlaceOfDelivery; TextView txtPhotograph; TextView txtGps; TextView txtBirthHeight,txtChildName1,txtGender; public static final String TxtChildRegistration = "txtChildRegistration"; public static final String TxtDateOfBirth = "txtDateOfBirth"; public static final String TxtBirthWeight = "txtBirthWeight"; public static final String TxtBirthOrder = "txtBirthOrder"; public static final String TxtSelectParent = "txtSelectParent"; public static final String TxtPlaceOfDelivery = "txtPlaceOfDelivery"; public static final String TxtPhotograph = "txtPhotograph"; public static final String TxtGps = "txtGps"; public static final String TxtBirthHeight = "txtBirthHeight"; public static final String TxtChildName1 = "txtChildName1";
  • 43. PAGE-43 public static final String TxtGender = "txtGender"; public static final String Thildmandatory="Childmandatory!"; public static final String Gendermandatory="gendermandatory"; public static final String Dobmandatory="dobmandatory"; public static final String Weightmandatory="weightmandatory"; public static final String PleasebOrder="pleasebOrder"; public static final String Childregistrationdone="childregistrationdone"; public static final String No="no"; public static final String Yes="yes"; public static final String CancelRegistration="cancelRegistration"; public static final String Savingserver="savingserver"; static EditText etxtDateOfBirth, etxtChildName, etxtBirthWeight, etxtBirthHeight; Button btnGps; Spinner spnBirthOrder, spnSelectParent,spnGender; ImageView btnClicked; private static final int CAMERA_CAPTURE_IMAGE_REQUEST_CODE = 100; byte[] image; int birth_order, birthOrder; String child_name, date_of_birth, child_weight, parent_name, lattitude,gender, longitude, parentid, birthWeight; String[] birthStatus = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }; ProgressDialog progressDialog; String image64 = ""; ServerHelper serverhelper= new ServerHelper(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_activity_child_reg); initialize(); btnGps.setText("Lat: " + GlobalVars.lattitude + ", Long: " + GlobalVars.longitude); String languageId = sph.getString("Language", "1");// getting languageId String childregistration = sqliteHelper.LanguageChange(TxtChildRegistration,languageId); String dob = sqliteHelper.LanguageChange(TxtDateOfBirth,languageId); String bweight = sqliteHelper.LanguageChange(TxtBirthWeight,languageId);
  • 44. PAGE-44 String border = sqliteHelper.LanguageChange(TxtBirthOrder,languageId); String selectparent = sqliteHelper.LanguageChange(TxtSelectParent,languageId); String placeofdel=sqliteHelper.LanguageChange(TxtPlaceOfDelivery,languageId); String Photograph = sqliteHelper.LanguageChange(TxtPhotograph,languageId); String gps = sqliteHelper.LanguageChange(TxtGps,languageId); String BirthHeight = sqliteHelper.LanguageChange(TxtBirthHeight,languageId); String ChildName1 = sqliteHelper.LanguageChange(TxtChildName1,languageId); String Gender = sqliteHelper.LanguageChange(TxtGender,languageId); Childmandatory=sqliteHelper.LanguageChange(Thildmandatory, languageId); gendermandatory=sqliteHelper.LanguageChange(Gendermandatory, languageId); dobmandatory=sqliteHelper.LanguageChange(Dobmandatory, languageId); dobmandatory=sqliteHelper.LanguageChange(Dobmandatory, languageId); weightmandatory=sqliteHelper.LanguageChange(Weightmandatory, languageId); pleasebOrder=sqliteHelper.LanguageChange(PleasebOrder, languageId); childregistrationdone=sqliteHelper.LanguageChange(Childregistrationdone, languageId); no=sqliteHelper.LanguageChange(No, languageId); yes=sqliteHelper.LanguageChange(Yes, languageId); cancelRegistration=sqliteHelper.LanguageChange(CancelRegistration, languageId); savingserver=sqliteHelper.LanguageChange(Savingserver, languageId); //setting text txtChildRegistration.setText(childregistration); txtDateOfBirth.setText(dob); txtBirthWeight.setText(bweight); txtBirthOrder.setText(border); txtSelectParent.setText(selectparent); txtPlaceOfDelivery.setText(placeofdel); txtPhotograph.setText(Photograph); txtGps.setText(gps); txtBirthHeight.setText(BirthHeight); txtChildName1.setText(ChildName1); txtGender.setText(Gender); spnBirthOrder.setOnItemSelectedListener(this); // Creating the ArrayAdapter instance having the country list ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_spinner_item, birthStatus); aa.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); // Setting the ArrayAdapter data on the Spinner spnBirthOrder.setAdapter(aa);
  • 45. PAGE-45 populateList(spnSelectParent, "parents", "parent_id", "mother", "Select Parent", ""); populateList(spnGender, "gender", "id", "value", "Select Gender", ""); } public void initialize() { sqliteHelper = new SqliteHelper(this); sph = new SharedPrefHelper(this); serverhelper= new ServerHelper(); txtChildRegistration = (TextView) findViewById(R.id.txtChildRegistration); txtDateOfBirth = (TextView) findViewById(R.id.txtDateOfBirth); txtBirthWeight = (TextView) findViewById(R.id.txtBirthWeight); txtBirthOrder = (TextView) findViewById(R.id.txtBirthOrder); txtSelectParent = (TextView) findViewById(R.id.txtSelectParent); txtPlaceOfDelivery = (TextView) findViewById(R.id.txtPlaceOfDelivery); txtPhotograph = (TextView) findViewById(R.id.txtPhotograph); txtGps = (TextView) findViewById(R.id.txtGps); txtBirthHeight = (TextView) findViewById(R.id.txtBirthHeight); txtChildName1 = (TextView) findViewById(R.id.txtChildName1); txtGender = (TextView) findViewById(R.id.txtGender); etxtDateOfBirth = (EditText) findViewById(R.id.etxtDateOfBirth); spnBirthOrder = (Spinner) findViewById(R.id.spnBirthOrder); spnSelectParent = (Spinner) findViewById(R.id.spnSelectParent); spnGender = (Spinner) findViewById(R.id.spnGender); etxtChildName = (EditText) findViewById(R.id.etxtChildName); etxtBirthWeight = (EditText) findViewById(R.id.etxtBirthWeight); btnClicked = (ImageView) findViewById(R.id.btnClicked); btnGps = (Button) findViewById(R.id.btnGps); etxtBirthHeight = (EditText) findViewById(R.id.etxtBirthHeight); Button btnGps = (Button) findViewById(R.id.btnGps); progressDialog = new ProgressDialog(this); progressDialog.setMessage(savingserver); progressDialog.setIndeterminate(false); progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); progressDialog.setCancelable(true); progressDialog.setIndeterminateDrawable(getResources().getDrawable( R.drawable.rotate_loading_360)); }
  • 46. PAGE-46 public void click_Image(View vw) { Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); File f = new File(android.os.Environment.getExternalStorageDirectory(), "temp.jpg"); intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(f)); startActivityForResult(intent, CAMERA_CAPTURE_IMAGE_REQUEST_CODE); } public String getSelectedValue(Spinner spn) { SpinnerHelper data = (SpinnerHelper) spn.getItemAtPosition((int) spn.getSelectedItemId()); return data.getValue(); } public void click_save(View vw) { parentid = getSelectedValue(spnSelectParent); int serverid=sqliteHelper.getServerId(parentid); gender =getSelectedValue(spnGender);// spnGender.getSelectedItemId()+""; String order = spnBirthOrder.getSelectedItem().toString(); birthWeight = etxtBirthWeight.getText().toString(); String height=etxtBirthHeight.getText().toString(); Child child = new Child(); if (etxtChildName.getText().toString().equals("")) { etxtChildName.setError(Childmandatory); }else if (gender.equals("")) { Toast.makeText(getApplicationContext(),gendermandatory, Toast.LENGTH_SHORT).show(); }else if (etxtDateOfBirth.getText().toString().equals("")) { etxtDateOfBirth.setError(dobmandatory); } else if (etxtBirthWeight.getText().toString().equals("")) { etxtBirthWeight.setError(weightmandatory); }
  • 47. PAGE-47 else if (order.equals("")) { Toast.makeText(getApplicationContext(), pleasebOrder, Toast.LENGTH_SHORT).show(); } else{ child.setChild_name(etxtChildName.getText().toString()); child.setParent_name(parentid); child.setGender(gender); child.setDate_of_birth(etxtDateOfBirth.getText().toString()); child.setChild_weight(birthWeight); child.setBirth_order( Integer.parseInt(order)); child.setMultimedia(image64); child.setLatitude(GlobalVars.lattitude); child.setLongitude(GlobalVars.longitude); child.setHeight(height); long id = sqliteHelper.ChildRegistration(child); if (id > 0) { Toast.makeText(getApplicationContext(), childregistrationdone, 200).show();//child registration don!! Intent intent1 = new Intent(ActivityChildReg.this, ActivityChildListing.class); intent1.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent1); } } /*new AsyncTask<String, String, String>(){ @Override protected void onPostExecute(String result) { // TODO Auto-generated method stub super.onPostExecute(result); progressDialog.dismiss(); Intent intent1 = new Intent(ActivityChildReg.this, MainMenuRegistrationActivity.class);
  • 48. PAGE-48 intent1.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent1); } @Override protected String doInBackground(String... arg0) { // TODO Auto-generated method stub return serverhelper.ChildRegistration(child); //return null; } }.execute((String)null);*/ } private int parseInt(Object selectedItem) { // TODO Auto-generated method stub return 0; } @SuppressLint("NewApi") public void show_callender(View vw) { DialogFragment newFragment = new DatePickerFragment(); newFragment.show(getFragmentManager(), "datePicker"); } @SuppressLint("NewApi") public static class DatePickerFragment extends DialogFragment implements DatePickerDialog.OnDateSetListener { @Override public Dialog onCreateDialog(Bundle savedInstanceState) { // Use the current date as the default date in the picker final Calendar c = Calendar.getInstance(); int year = c.get(Calendar.YEAR); int month = c.get(Calendar.MONTH); int day = c.get(Calendar.DAY_OF_MONTH); // Create a new instance of DatePickerDialog and return it return new DatePickerDialog(getActivity(), this, year, month, day); }
  • 49. PAGE-49 public void onDateSet(DatePicker view, int year, int month, int day) { String dt = day + "-" + month + "-" + year; Calendar c = Calendar.getInstance(); c.set(year, month, day, 0, 0); SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy"); etxtDateOfBirth.setText(sdf.format(c.getTime())); } } public void populateList(Spinner spinner, String tableName, String col_id, String col_value, String label, String whr) { ArrayList<SpinnerHelper> items = new ArrayList<SpinnerHelper>(); items = sqliteHelper.populateSpinner(tableName, col_id, col_value, label, whr); ArrayAdapter<SpinnerHelper> adapter = new ArrayAdapter<SpinnerHelper>( ActivityChildReg.this, android.R.layout.simple_spinner_item, items); adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); spinner.setPrompt(label); spinner.setAdapter(adapter); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); if (resultCode == RESULT_OK) { if (requestCode == CAMERA_CAPTURE_IMAGE_REQUEST_CODE) { File f = new File(Environment.getExternalStorageDirectory() .toString()); for (File temp : f.listFiles()) { if (temp.getName().equals("temp.jpg")) { f = temp; break; } } try { Bitmap bm; BitmapFactory.Options btmapOptions = new BitmapFactory.Options();
  • 50. PAGE-50 bm = BitmapFactory.decodeFile(f.getAbsolutePath(), btmapOptions); final int maxSize = 800; int outWidth; int outHeight; int inWidth = bm.getWidth(); int inHeight = bm.getHeight(); if (inWidth > inHeight) { outWidth = maxSize; outHeight = (inHeight * maxSize) / inWidth; } else { outHeight = maxSize; outWidth = (inWidth * maxSize) / inHeight; } bm = Bitmap.createScaledBitmap(bm, outWidth, outHeight, true); ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); bm.compress(Bitmap.CompressFormat.PNG, 100, byteArrayOutputStream); byte[] byteArray = byteArrayOutputStream.toByteArray(); image64 = Base64.encodeToString(byteArray,Base64.DEFAULT); btnClicked.setImageBitmap(bm); String path = android.os.Environment .getExternalStorageDirectory() + File.separator + "Phoenix" + File.separator + "default"; f.delete(); OutputStream fOut = null; File file = new File(path, String.valueOf(System .currentTimeMillis()) + ".jpg"); try { fOut = new FileOutputStream(file); bm.compress(Bitmap.CompressFormat.JPEG, 85, fOut); fOut.flush(); fOut.close(); } catch (FileNotFoundException e) { e.printStackTrace();
  • 51. PAGE-51 } catch (IOException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } } catch (Exception e) { e.printStackTrace(); } } } } public void click_getgps(View vw) { Button btnGps = (Button) findViewById(R.id.btnGps); btnGps.setText("Lat: " + GlobalVars.lattitude + ", Long: " + GlobalVars.longitude); } @Override public void onBackPressed() { AlertDialog.Builder builder = new AlertDialog.Builder(this); // builder.setTitle("Information"); builder.setMessage(cancelRegistration); builder.setPositiveButton(no, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { dialog.dismiss(); } }); builder.setNegativeButton(yes, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { Intent intent = new Intent(ActivityChildReg.this, MainMenuRegistrationActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); startActivity(intent); } }); AlertDialog alert = builder.create(); alert.show(); }
  • 52. PAGE-52 @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.activity_child_reg, menu); return true; } @Override public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2, long arg3) { // TODO Auto-generated method stub } @Override public void onNothingSelected(AdapterView<?> arg0) { // TODO Auto-generated method stub } }
  • 54. PAGE-54 FeasibilityStudy (include Technical, Operationaland EconomicalFeasibility) There are five areas of feasibility - Technical, Economic, Legal, Operational, and Scheduling. Technology and system feasibility The assessment is based on an outline design of system requirements, to determine whether the company has the technical expertise to handle completion of the project. When writing a feasibility report, the following should be taken to consideration:  A brief description of the business to assess more possible factors which could affect the study  The part of the business being examined  The human and economic factor  The possible solutions to the problem At this level, the concern is whether the proposal is both technically and legal feasible (assuming moderate cost). Legal Feasibility Determines whether the proposed system conflicts with legal requirements , e.g. a data processing system must comply with the local Data Protection Acts . Operational Feasibility Operational feasibility is a measure of how well a proposed system solves the problems, and takes advantage of the opportunities identified during scope definition and how it satisfies the requirements identified in the requirements analysis phase of system development. The operational feasibility assessment focuses on the degree to which the proposed development projects fits in with the existing business environment and objectives with regard to development schedule, delivery date and existing business processes. To ensure success, desired operational outcomes must be imparted during design and development. These include such design-dependent parameters such as reliability, maintainability, supportability, usability, reducibility, disposability, sustainability, affordability
  • 55. PAGE-55 and others. These parameters are required to be considered at the early stages of design if desired operational behaviors are to be realized. A system design and development requires appropriate and timely application of engineering and management efforts to meet the previously mentioned parameters. A system may serve its intended purpose most effectively when its technical and operating characteristics are engineered into the design. Therefore operational feasibility is a critical aspect of systems engineering that needs to be an integral part of the early design phases. Schedule Feasibility A project will fail if it takes too long to be completed before it is useful. Typically this means estimating how long the system will take to develop, and if it can be completed in a given time period using some methods like payback period. Schedule feasibility is a measure of how reasonable the project timetable is. Given our technical expertise, are the project deadlines reasonable? Some projects are initiated with specific deadlines. It is necessary to determine whether the deadlines are mandatory or desirable.
  • 56. PAGE-56 BIBLIOGRAPHY BOOKS  JAVA 2 Complete Reference.  Programming with java”E.Ballaguruswamy” REFERENCES  http://www.android.developer.com/  http://www.androidhive.com/  http://www.javatpoint.com/  http://www.wikipedia.com/ introduction_of_android.html  http://www.androidhelper.com