Below are pictures of the PowerPoint slides we used as an initial mock-up of Community Connections:
Below is the MATLAB code we are using as a secondary platform, before we develop Community Connections as a full-fledged app:
X = sprintf('Welcome to Community Connections');
disp(X)
choice = questdlg('Are you a volunteer?',...
'Add Data','Yes','No','No');
switch choice
case 'Yes'
search = questdlg('Search by:',...
'Catagory Question','Area','Interest','Interest'); %Yes is Area, No is Interest
switch search
case 'Area' %Area
area = questdlg('Choose an Area:',...
'Area Question','Lowell','Boston','Wonderland','Boston');
switch area
case 'Lowell' %Lowell
project = questdlg('Choose a Project:',...
'Project Question','Riverhawk Preserve','River Clean Up','River Clean Up'); %Yes is Riverhawk Preserve, No is River Clean Up
switch project
case 'Riverhawk Preserve' %Riverhawk Preserve
X = sprintf('By: Riverhawk Saviours');
disp(X)
X = sprintf('Location: Lowell');
disp(X)
X = sprintf('Time: Mon-Fri, 9am-5pm');
disp(X)
X = sprintf('Fluff nest and feed birds. Help save the riverhawk species.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
case 'River Clean Up' %River Clean Up
X = sprintf('By: Lowell Cleans');
disp(X)
X = sprintf('Location: Lowell');
disp(X)
X = sprintf('Time: Sat, 10am-6pm');
disp(X)
X = sprintf('Help clean the river to ensure future generations ability to view out beautiful river!');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
end
case 'Boston' %Boston
project = questdlg('Choose a project:','Project Question','Baking Beans','Make Way for Ducks','Baking Beans'); %Yes is Baking Beans, No is Make Way for Ducks
switch project
case 'Baking Beans' %Baking Beans
X = sprintf('By: Sticky Situations');
disp(X)
X = sprintf('Location: Boston');
disp(X)
X = sprintf('Time: Thurs, 5pm-8pm');
disp(X)
X = sprintf('Cook baked beans for the less fortunate.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
case 'Make Way for Ducks' %Make Way for Ducks
X = sprintf('By: Bird Watch Boston');
disp(X)
X = sprintf('Location: Boston');
disp(X)
X = sprintf('Time: Sat, 12pm-3pm');
disp(X)
X = sprintf('Make sure ducks cross the dangerous intersections safely.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
end
case 'Wonderland'
project = questdlg('Choose a project:','Project Question',...
'Tea Party Set Up','Painting Roses Red','Reading to Daises','Reading to Daises');
switch project
case 'Tea Party Set Up'
X = sprintf('By: Mad Hatter Corporation');
disp(X)
X = sprintf('Location: Wonderland');
disp(X)
X = sprintf('Time: Sat, 10am-2pm');
disp(X)
X = sprintf('Setting up tables and brewing tea.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
case 'Painting Roses Red'
X = sprintf('By: Guards 4 a Cause');
disp(X)
X = sprintf('Location: Wonderland');
disp(X)
X = sprintf('Time: Tues, 6pm-9pm');
disp(X)
X = sprintf('Painting roses red and ensuring the queen is happy.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
case 'Reading to Daises'
X = sprintf('By: Plants Read 2');
disp(X)
X = sprintf('Location: Wonderland');
disp(X)
X = sprintf('Time: Sun,10apm-11am');
disp(X)
X = sprintf('Read childrens books to the Daises of Wonderland.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
end
end
case 'Interest' %Interest
a_o_i = questdlg('Choose an area of interest:', 'Interest Question','Animal','Art','Nature','Nature'); %Yes is Animal, No is Nature
switch a_o_i
case 'Animal' %Animal
project = questdlg('Choose a project:',...
'Project Question','Riverhawk Preserve','Make Way for Ducks','Riverhawk Preserve'); %Yes is Riverhawk Preserve, No is Make Way for Ducks
switch project
case 'Riverhawk Preserve' %Riverhawk Preserve
X = sprintf('By: Riverhawk Saviours');
disp(X)
X = sprintf('Location: Lowell');
disp(X)
X = sprintf('Time: Mon-Fri, 9am-5pm');
disp(X)
X = sprintf('Fluff nest and feed birds. Help save the riverhawk species.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
case 'Make Way for Ducks' %Make Wap for Ducks
X = sprintf('By: Bird Watch Boston');
disp(X)
X = sprintf('Location: Boston');
disp(X)
X = sprintf('Time: Sat, 12pm-3pm');
disp(X)
X = sprintf('Make sure ducks cross the dangerous intersections safely.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
end
case 'Nature' %Nature
X = sprintf('By: Lowell Cleans');
disp(X)
X = sprintf('Location: Lowell');
disp(X)
X = sprintf('Time: Sat, 10am-6pm');
disp(X)
X = sprintf('Help clean the river to ensure future generations ability to view out beautiful river!');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
case 'Art' %Painting Roses
X = sprintf('By: Guards 4 a Cause');
disp(X)
X = sprintf('Location: Wonderland');
disp(X)
X = sprintf('Time: Tues, 6pm-9pm');
disp(X)
X = sprintf('Painting roses red and ensuring the queen is happy.');
disp(X)
signup = questdlg('Do you want to volunteer for this?',...
'Volunteer Question','Yes','No','No');
switch signup
case 'No'
disp('Thank you for using our app!')
case 'Yes'
A = input('Enter your name: ','s');
B = input('Enter you email address: ','s');
fid=fopen('volunteers.doc','w');
fprintf(fid,'Volunteers name: %s\n',A);
fprintf(fid,'Email address: %s\n',B);
disp('Thank you for using our app! The organization will be in touch with you soon!')
end
end
end
case 'No'
choice2 = questdlg('Do you need volunteers?',...
'Organization Question','Yes','No, just looking','Yes');
switch choice2
case 'Yes'
O = input('Enter the name of your organization: ','s');
N = input('Enter the number of volunteers needed: ','s');
H = input('Enter the date and hours of the event: ','s');
D = input('Enter a brief description of the event: ','s');
L = input('Enter the event location: ','s');
E = input('Enter your email address, so we can provide you with the contact information of volunteers: ','s');
disp('Thank you for using our app!')
fid=fopen('organizations.doc','w');
fprintf(fid,'Organization name: %s\n',O);
fprintf(fid,'Number of volunteers: %s\n',N);
fprintf(fid,'Hours of the event: %s\n',H);
fprintf(fid,'Event description: %s\n',D);
fprintf(fid,'Event location: %s\n',L);
case 'No, just looking'
disp('Thank you for using our app!')
end
end