Mini Project MAD
Mini Project MAD
Mini Project MAD
BELAGAVI”
SUBMITTED BY:
KARTIK METRI(2BL19IS007)
B.L.D.E.A.’s V.P. Dr. P.G. HALAKATTI COLLEGE OF ENGINEERING
AND TECHNOLOGY, VIJAYAPURA – 586 103
DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING
CERTIFICATE
Examiner 1:
Examiner 2:
ACKNOWLEDGEMENT
Mobile Application Development mini project requires guidance, hard work and co-
ordination. It gives great pleasure to acknowledge with thanks to the assistance and
contribution of many individuals who had been actively involved at various stages of our
project.
I would also like to express my heartfelt gratitude to our beloved Principal Dr. V. G. Sangam
and Prof. S.M. Chadchan, HOD, Information Science and Engineering Sir BLDEA’s CET
whose guidance and support was truly invaluable.
I express our gratitude to our guides Prof .A.A.Javaji , Asst. Prof., BLDEA’s CET for their valuable
guidance, instance motivation and constant supervision at all places of study for making this a
success.
I’m extremely thankful to our parents and friends for their unfailing enthusiasm, moral
boosting and encouragement for us in completion of this.
Finally, a vote of thanks to the Department of Information Science Engineering, both teaching
and non-teaching staff for their co-operation extended
TABLE OF CONTENTS
INTRODUCTION 5
IMPLEMENTATION 6
EXPERIMENT RESULTS 16
CONCLUSION 17
REFERENCES 18
INTRODUCTION
A meeting schedule is a plan where there is a list of activities and topics to discuss or accomplish at a particular
time and day. The meeting schedule is crucial in ensuring that the task and issues to attend. Whether for
a project management meeting in the office or seeing several clients throughout the week, a meeting schedule is
the best tool to help you keep track of them.
Poorly-run meetings are a multi-billion-dollar problem in most organizations in the United States, as mentioned
by an article in Forbes. To make your meetings efficient and worth everyone’s time, then you have to maximize
your meeting schedule for the layout of a perfectly timed session. Before you start sending messages of the
upcoming meet through email , take note of these tips first.
Identify the people who should be in the meeting . When scheduling a meeting, it’s important to list down the
critical people whose presence would matter a lot to the agenda. These people should be the first to know that
you have to set up a schedule for a meeting. In this way, you can determine what time and day there is available
for a meeting.
Do not set a meeting schedule without asking for everyone’s availability. You do not want to set the table with
only a few of your expected attendees. It is important that the schedule example you set works with everyone.
For example, if you are organizing a team meeting , make sure all the employees who are a part of it can show up
on the particular date you planned.
3. Arrange A Timeline
Make an agenda for the meeting . It is imperative that during your session, the activities and topics should be in
chronological order. The reason for this is to have a proper and productive meeting and not make everyone
confused. Figure what you need to deal with first and try to save the lighter aspects of the meeting at the last
part.
Identify the perfect time to meet with the people you planned to be. Once you have taken into account
everybody’s schedules, it should be easy to spot a window of time where everyone can show up. Make sure it
has enough time as well for everything to be settled appropriately and not rush things.
1. IMPLEMENTATION
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
android:layout_width="596dp"
android:layout_height="98dp"
android:background="#009688"
android:theme="@style/Theme.MeetingInfo.AppBarOverlay">
<TextView
android:id="@+id/title"
android:layout_width="216dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="@android:color/holo_orange_dark"
android:gravity="center"
android:minHeight="?actionBarSize"
android:padding="@dimen/appbar_padding"
android:text="MeetUp+"
android:textAlignment="center"
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/view_pager"
android:layout_width="wrap_content"
android:layout_height="619dp"
android:background="#F8FBFB"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="37dp"
android:background="#FFEB3B"
app:tabIndicatorColor="#F33325" />
</androidx.viewpager.widget.ViewPager>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
JAVA (BACKEND LANGUAGE):
Function call in Java is the equivalent of a function in languages like C which helps in code
reusing. A set of statements make a method, and this method can be invoked through other
statement. When invoked (called) , all the statements that are a part of the method would be
executed. For instance, look at this method: "public static void methodExample() {}". It
currently has no code in it, but there are three keywords before the method name. There is
public, static, and void.
The word public before the method name means that the method itself can be called from
anywhere which includes other classes, even from different packages (files) as long as import
the class. There are three other words that can replace public. They are protected and private.
If a method is protected, then only this class and subclasses (classes that use this as a basis to
build off of) can call the method. If a method is private, then the method can only be called
inside the class. Only the classes in the same package can call the method.
The second keyword, static means that the method belongs to the class and not any instance
of the class (object).
The last word before the method name is void. The word void means that when the method
doesn't return anything. If not want a method to return something, then simply replace the
word void with a data type (primitive or reference type) of the object ( or primitive type)
that wish to return.
package com.example.meetinginfo;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import androidx.annotation.Nullable;
import androidx.fragment.app.FragmentActivity;
@Override
public void onCreate(SQLiteDatabase db) {
db.execSQL("create Table meetingTbl(date TEXT,time TEXT, agenda TEXT)");
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
db.execSQL("drop Table if exists meetingTbl");
}
public boolean insertvalue(String d, String t, String agd){
SQLiteDatabase DB=this.getWritableDatabase();
ContentValues cv = new ContentValues();
cv.put("date",d);
cv.put("time",t);
cv.put("agenda",agd);
long res=DB.insert("meetingTbl",null,cv); //query to insert
if(res==-1){
return false;
}
else
return true;
}
public Cursor fetch(String d){
SQLiteDatabase DB=this.getReadableDatabase();
// String sqlquery="select name from MDTbl where date='19/3/21' AND time='Afternoon'";
// Cursor c = DB.rawQuery(sqlquery,null);
Cursor c = DB.rawQuery("Select time,agenda from meetingTbl where date='"+d+"' ",null);
return c;
}
package com.example.meetinginfo;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import androidx.annotation.Nullable;
@Override
public void onCreate(SQLiteDatabase db) {
@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
}
}
package com.example.meetinginfo;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.CalendarView;
import android.widget.EditText;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
Boolean insert=dbc.insertvalue(mdate,mTime,mAgenda);
if(insert==true){
Toast.makeText(getActivity(),"Data Inserted",Toast.LENGTH_SHORT).show();
}
else
Toast.makeText(getActivity(),"Data NOT
Inserted",Toast.LENGTH_SHORT).show();
//txt.setText("NOT INSERTED");
});
return view;
}
private void closeKeyBoard(){
View view = getActivity().getCurrentFocus();
if (view != null) {
InputMethodManager imm = (InputMethodManager)
getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(view.getWindowToken(), 0);
}
package com.example.meetinginfo;
import android.database.Cursor;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CalendarView;
import android.widget.DatePicker;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatDialogFragment;
import androidx.fragment.app.Fragment;
import com.example.meetinginfo.R;
import java.util.Calendar;
cal.setOnDateChangeListener(new CalendarView.OnDateChangeListener() {
@Override
public void onSelectedDayChange(@NonNull CalendarView view, int year, int month, int
dayOfMonth) {
String d=dayOfMonth+"/"+(month+1)+"/"+year;
date.setText(d);
}
});
btn1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
String d1=date.getText().toString();
StringBuffer res=new StringBuffer();
Cursor c=dbc.fetch(d1);
int count=c.getCount();
c.moveToFirst();
if(count>0) {
do {
res.append(c.getString(c.getColumnIndex("agenda"))+"\t"+"at"+"\
t"+c.getString(c.getColumnIndex("time")));
res.append("\n");
//med = (String.valueOf(c.getString(c.getColumnIndex("agenda"))));
//med1 = (String.valueOf(c.getString(c.getColumnIndex("time"))));
}while (c.moveToNext());
Toast.makeText(getActivity(), res, Toast.LENGTH_LONG).show();
}
else
{
Toast.makeText(getActivity(), "No Meeting on This Day....",
Toast.LENGTH_LONG).show();
}
});
return view;
}
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
}
package com.example.meetinginfo;
import android.os.Bundle;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.google.android.material.snackbar.Snackbar;
import com.google.android.material.tabs.TabLayout;
import androidx.viewpager.widget.ViewPager;
import androidx.appcompat.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import com.example.meetinginfo.ui.main.SectionsPagerAdapter;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
SectionsPagerAdapter sectionsPagerAdapter = new SectionsPagerAdapter(this,
getSupportFragmentManager());
ViewPager viewPager = findViewById(R.id.view_pager);
viewPager.setAdapter(sectionsPagerAdapter);
TabLayout tabs = findViewById(R.id.tabs);
tabs.setupWithViewPager(viewPager);
}
}
EXPERIMENT RESULTS
2. CONCLUSION
In this article, you have seen about Meeting Schedule in Android. Android
provides us with the feature of Meeting schedule in which we can copy and
paste data according to our needs. Android has a Clipboard Framework for
copying and pasting different types of data.
User can save time and benefitted by this application User can see when is
meeting, Remembering Scheduled meeting.
3. REFERENCES
https://developer.android.com/
https://www.tutorialspoint.com/index.htm
https://www.youtube.com
https://www.freecodecamp.org