4. Introduction
As we Named our Project as Business Assistant,
It will record Business Transaction and Provide us:
1. Income Statement
2. Owner Equity
3. Balance Sheet
All data will save in Database with Password
Protection.
12/14/2017 4
5. Key Feature
• All Data will save in Real time Database
• Security Protection Using Hashing
• User can Recover his account
• App we generate Net income and loss
• App we generate Owner Equity
• App we generate Balance Sheet
• CURD operation of Transaction
12/14/2017 5
6. Login System
When User press Login Button
if(name.equals(User_name)
&& password.equals(User_pass))
{
Intent i =new
Intent(this,Wellcome.class);
startActivity(i)
}
12/14/2017 6
7. Sign up System
Sign up Page Create a Database for User then
Insert data when User Press Sign up Button.
Here user Password will encrypt using
hashcode() in Java like :
PassWord=password.hashCode();
* hashcode() not actual Hashing
It makes Unique HashTable .
12/14/2017 7
9. DataBase Connection
Many people use :
public class MyDB extends SQLiteOpenHelper
We use :
SQLiteDatabase db;
db=openOrCreateDatabase("Account", Context.MODE_PRIVATE, null);
db.execSQL("CREATE TABLE IF NOT EXISTS user(name VARCHAR,password
VARCHAR,email VARCHAR,recover VARCHAR);");
12/14/2017 9
15. Income Statement
Cursor c = db.rawQuery("SELECT * FROM accountset", null);
while (c.moveToNext()) {
Revenue =c.getString(4);
Expense =c.getString(5);
r+=Double.parseDouble(Revenue);
e+=Double.parseDouble(Expense);
}
Income = r – e;
12/14/2017 15