SlideShare a Scribd company logo
1 of 16
Business Plan
Hannah Brookhart, Florence Lee, Jackie Wolf
What is BusinessPlan?
Users:
○ Microfinance officers and
low-income clients
Use:
○ Assesses current income
and client’s business
○ Generates business plan
○ Provides visual
Client Info & Business Info
Customers & Hours
Happy Faces & Graph
Suggestions & Plan Summary
You and Your Community
● Visual representation of how
well the user is doing
compared to the poverty
threshold
● Using Shared Preferences and
the GraphView library for
Android
BusinessInformation.javaClientInformation.java
collecting household information collecting user’s income
Making the graph show...
Generating Suggestions For Improvement
using Shared Preferences
● Based on user selection:
o Programmatically alter
views
o Calculate and store
suggestions
YourHours.java
user selects their hours of operation
YourHours.java suggestions_for_improvement.xml
calculate suggestions and store in Shared Preferences
Creating a Summary of the Plan
● Summary overview of
information clients have
put into the app
● Used Shared
Preferences and
TextWatch
ClientInformation.java
Creating Shared Preferences for Name and City info
ActionPlan.java
Grabbing Shared Preferences for
summary view
This is how this happens
Token Kitten Slide

More Related Content

Viewers also liked

Quicktrim Extreme Burn Reviews
Quicktrim Extreme Burn ReviewsQuicktrim Extreme Burn Reviews
Quicktrim Extreme Burn ReviewsPaul Davidson
 
OWASP Top 10 practice workshop by Stanislav Breslavskyi
OWASP Top 10 practice workshop by Stanislav BreslavskyiOWASP Top 10 practice workshop by Stanislav Breslavskyi
OWASP Top 10 practice workshop by Stanislav BreslavskyiNazar Tymoshyk, CEH, Ph.D.
 
Ib estonia justification
Ib estonia justificationIb estonia justification
Ib estonia justificationMark Maslov
 
Britton Jones Visual Resume
Britton Jones Visual ResumeBritton Jones Visual Resume
Britton Jones Visual ResumeBrit Trees
 
Olsen, nicole, under thesea
Olsen, nicole, under theseaOlsen, nicole, under thesea
Olsen, nicole, under theseaNicole Olsen
 
Presentasi linux-remastering-slax-140103230038-phpapp02
Presentasi linux-remastering-slax-140103230038-phpapp02Presentasi linux-remastering-slax-140103230038-phpapp02
Presentasi linux-remastering-slax-140103230038-phpapp02Eko Soesanto
 
User Experience at Fundacion Paraguaya
User Experience at Fundacion ParaguayaUser Experience at Fundacion Paraguaya
User Experience at Fundacion ParaguayaJackie Wolf
 
Introduksjon til funksjonell reaktiv programmering
Introduksjon til funksjonell reaktiv programmeringIntroduksjon til funksjonell reaktiv programmering
Introduksjon til funksjonell reaktiv programmeringmikaelbr
 
Focus group analysis
Focus group analysisFocus group analysis
Focus group analysisCharLilyMay
 
Presentation to BPS Wessex Student Conference 10th May 2014
Presentation to BPS Wessex Student Conference 10th May 2014Presentation to BPS Wessex Student Conference 10th May 2014
Presentation to BPS Wessex Student Conference 10th May 2014Elizabeth Beckingham
 
Media product evaluation
Media product evaluationMedia product evaluation
Media product evaluationCharLilyMay
 
Geldvoorelkaar journaal 4
Geldvoorelkaar journaal 4Geldvoorelkaar journaal 4
Geldvoorelkaar journaal 4Gerard Umans
 

Viewers also liked (15)

Quicktrim Extreme Burn Reviews
Quicktrim Extreme Burn ReviewsQuicktrim Extreme Burn Reviews
Quicktrim Extreme Burn Reviews
 
Kelompok borobudur
Kelompok  borobudurKelompok  borobudur
Kelompok borobudur
 
OWASP Top 10 practice workshop by Stanislav Breslavskyi
OWASP Top 10 practice workshop by Stanislav BreslavskyiOWASP Top 10 practice workshop by Stanislav Breslavskyi
OWASP Top 10 practice workshop by Stanislav Breslavskyi
 
Ib estonia justification
Ib estonia justificationIb estonia justification
Ib estonia justification
 
Britton Jones Visual Resume
Britton Jones Visual ResumeBritton Jones Visual Resume
Britton Jones Visual Resume
 
Olsen, nicole, under thesea
Olsen, nicole, under theseaOlsen, nicole, under thesea
Olsen, nicole, under thesea
 
Rica Belna _ Art for Interior Design: Graphic art & installations
Rica Belna _ Art for Interior Design: Graphic art & installationsRica Belna _ Art for Interior Design: Graphic art & installations
Rica Belna _ Art for Interior Design: Graphic art & installations
 
Presentasi linux-remastering-slax-140103230038-phpapp02
Presentasi linux-remastering-slax-140103230038-phpapp02Presentasi linux-remastering-slax-140103230038-phpapp02
Presentasi linux-remastering-slax-140103230038-phpapp02
 
User Experience at Fundacion Paraguaya
User Experience at Fundacion ParaguayaUser Experience at Fundacion Paraguaya
User Experience at Fundacion Paraguaya
 
Introduksjon til funksjonell reaktiv programmering
Introduksjon til funksjonell reaktiv programmeringIntroduksjon til funksjonell reaktiv programmering
Introduksjon til funksjonell reaktiv programmering
 
Focus group analysis
Focus group analysisFocus group analysis
Focus group analysis
 
Presentation to BPS Wessex Student Conference 10th May 2014
Presentation to BPS Wessex Student Conference 10th May 2014Presentation to BPS Wessex Student Conference 10th May 2014
Presentation to BPS Wessex Student Conference 10th May 2014
 
Media product evaluation
Media product evaluationMedia product evaluation
Media product evaluation
 
Decade of 60´s
Decade of 60´sDecade of 60´s
Decade of 60´s
 
Geldvoorelkaar journaal 4
Geldvoorelkaar journaal 4Geldvoorelkaar journaal 4
Geldvoorelkaar journaal 4
 

Similar to JAVA Business Application

Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdfvaibhavkanaujia
 
Best Practice Audience Segmentation for App Retargeting: Early and Late Stag...
 Best Practice Audience Segmentation for App Retargeting: Early and Late Stag... Best Practice Audience Segmentation for App Retargeting: Early and Late Stag...
Best Practice Audience Segmentation for App Retargeting: Early and Late Stag...Adjust
 
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...Tatvic Analytics
 
Quickbooks Product Management Case Study
Quickbooks Product Management Case StudyQuickbooks Product Management Case Study
Quickbooks Product Management Case StudyJordan Dake
 
ACS an agile approach to optimising your digital strategy v4.1
ACS   an agile approach to optimising your digital strategy v4.1ACS   an agile approach to optimising your digital strategy v4.1
ACS an agile approach to optimising your digital strategy v4.1Mia Horrigan
 
Participant Experience Research - 2014 mobile phone app
Participant Experience Research - 2014 mobile phone app Participant Experience Research - 2014 mobile phone app
Participant Experience Research - 2014 mobile phone app Evan Wiener
 
Epsilon Digital Assessment
Epsilon Digital AssessmentEpsilon Digital Assessment
Epsilon Digital AssessmentChaitrakps
 
IRIS SiCLOPS Masterclass
IRIS SiCLOPS MasterclassIRIS SiCLOPS Masterclass
IRIS SiCLOPS MasterclassLucy Sofiano
 
Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul | Embracing sim...
Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul  | Embracing sim...Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul  | Embracing sim...
Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul | Embracing sim...LeanKanbanIndia
 
Unlock App Marketing Success With Rewarded Ads
Unlock App Marketing Success With Rewarded AdsUnlock App Marketing Success With Rewarded Ads
Unlock App Marketing Success With Rewarded AdsAppLift
 
FY15 Annual Shareholder Meeting
FY15 Annual Shareholder MeetingFY15 Annual Shareholder Meeting
FY15 Annual Shareholder Meetinginvestorsintuitinc
 
Top 20 Customer Journey Mapping Tools
Top 20 Customer Journey Mapping Tools Top 20 Customer Journey Mapping Tools
Top 20 Customer Journey Mapping Tools Mopinion
 
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...Sencha
 
N2 Nolla - Service design as a tool for strategy creation
N2 Nolla - Service design as a tool for strategy creationN2 Nolla - Service design as a tool for strategy creation
N2 Nolla - Service design as a tool for strategy creationService Design Breakfast
 
ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...
ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...
ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...Databricks
 
Proposal Template For Payroll Services PowerPoint Presentation Slides
Proposal Template For Payroll Services PowerPoint Presentation SlidesProposal Template For Payroll Services PowerPoint Presentation Slides
Proposal Template For Payroll Services PowerPoint Presentation SlidesSlideTeam
 
Masters Academy workshop BA User stories: be simple, be useful
Masters Academy workshop BA User stories: be simple, be usefulMasters Academy workshop BA User stories: be simple, be useful
Masters Academy workshop BA User stories: be simple, be usefulMasters Academy
 
Customer Success Story: Interact Everywhere with IBM Active Reports
Customer Success Story: Interact Everywhere with IBM Active ReportsCustomer Success Story: Interact Everywhere with IBM Active Reports
Customer Success Story: Interact Everywhere with IBM Active ReportsCCG
 

Similar to JAVA Business Application (20)

Passbook project document_april_21__.pdf
Passbook project document_april_21__.pdfPassbook project document_april_21__.pdf
Passbook project document_april_21__.pdf
 
Best Practice Audience Segmentation for App Retargeting: Early and Late Stag...
 Best Practice Audience Segmentation for App Retargeting: Early and Late Stag... Best Practice Audience Segmentation for App Retargeting: Early and Late Stag...
Best Practice Audience Segmentation for App Retargeting: Early and Late Stag...
 
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...
 
Quickbooks Product Management Case Study
Quickbooks Product Management Case StudyQuickbooks Product Management Case Study
Quickbooks Product Management Case Study
 
ACS an agile approach to optimising your digital strategy v4.1
ACS   an agile approach to optimising your digital strategy v4.1ACS   an agile approach to optimising your digital strategy v4.1
ACS an agile approach to optimising your digital strategy v4.1
 
Participant Experience Research - 2014 mobile phone app
Participant Experience Research - 2014 mobile phone app Participant Experience Research - 2014 mobile phone app
Participant Experience Research - 2014 mobile phone app
 
Epsilon Digital Assessment
Epsilon Digital AssessmentEpsilon Digital Assessment
Epsilon Digital Assessment
 
IRIS SiCLOPS Masterclass
IRIS SiCLOPS MasterclassIRIS SiCLOPS Masterclass
IRIS SiCLOPS Masterclass
 
Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul | Embracing sim...
Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul  | Embracing sim...Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul  | Embracing sim...
Kanban India 2023 | Jayalatha Ramachandran and Sanjay Adasul | Embracing sim...
 
CV
CVCV
CV
 
Unlock App Marketing Success With Rewarded Ads
Unlock App Marketing Success With Rewarded AdsUnlock App Marketing Success With Rewarded Ads
Unlock App Marketing Success With Rewarded Ads
 
FY15 Annual Shareholder Meeting
FY15 Annual Shareholder MeetingFY15 Annual Shareholder Meeting
FY15 Annual Shareholder Meeting
 
Top 20 Customer Journey Mapping Tools
Top 20 Customer Journey Mapping Tools Top 20 Customer Journey Mapping Tools
Top 20 Customer Journey Mapping Tools
 
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
SenchaCon 2016: Using Ext JS 6 for Cross-Platform Development on Mobile - And...
 
N2 Nolla - Service design as a tool for strategy creation
N2 Nolla - Service design as a tool for strategy creationN2 Nolla - Service design as a tool for strategy creation
N2 Nolla - Service design as a tool for strategy creation
 
ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...
ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...
ML, Statistics, and Spark with Databricks for Maximizing Revenue in a Delayed...
 
Proposal Template For Payroll Services PowerPoint Presentation Slides
Proposal Template For Payroll Services PowerPoint Presentation SlidesProposal Template For Payroll Services PowerPoint Presentation Slides
Proposal Template For Payroll Services PowerPoint Presentation Slides
 
Masters Academy workshop BA User stories: be simple, be useful
Masters Academy workshop BA User stories: be simple, be usefulMasters Academy workshop BA User stories: be simple, be useful
Masters Academy workshop BA User stories: be simple, be useful
 
Customer Success Story: Interact Everywhere with IBM Active Reports
Customer Success Story: Interact Everywhere with IBM Active ReportsCustomer Success Story: Interact Everywhere with IBM Active Reports
Customer Success Story: Interact Everywhere with IBM Active Reports
 
Internship report presentation
Internship report presentationInternship report presentation
Internship report presentation
 

More from Jackie Wolf

Making (more) Accessible Infographics
Making (more) Accessible InfographicsMaking (more) Accessible Infographics
Making (more) Accessible InfographicsJackie Wolf
 
Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...
Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...
Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...Jackie Wolf
 
IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...
IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...
IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...Jackie Wolf
 
Speaking drupal: a cultural linguistic adventure
Speaking drupal: a cultural linguistic adventureSpeaking drupal: a cultural linguistic adventure
Speaking drupal: a cultural linguistic adventureJackie Wolf
 
Entrepreneurship: The Broke App
Entrepreneurship: The Broke AppEntrepreneurship: The Broke App
Entrepreneurship: The Broke AppJackie Wolf
 
Cultivated Abundance: Managing Chaos in Early Sears Catalogs
Cultivated Abundance: Managing Chaos in Early Sears CatalogsCultivated Abundance: Managing Chaos in Early Sears Catalogs
Cultivated Abundance: Managing Chaos in Early Sears CatalogsJackie Wolf
 
Mobile Maternal Child Health Application: Global Information Engagement Progr...
Mobile Maternal Child Health Application: Global Information Engagement Progr...Mobile Maternal Child Health Application: Global Information Engagement Progr...
Mobile Maternal Child Health Application: Global Information Engagement Progr...Jackie Wolf
 
Introduction to the GIEP Mobile Maternal Child Health Project
Introduction to the GIEP Mobile Maternal Child Health ProjectIntroduction to the GIEP Mobile Maternal Child Health Project
Introduction to the GIEP Mobile Maternal Child Health ProjectJackie Wolf
 
Creating a One-handed User Interface for Drones
Creating a One-handed User Interface for DronesCreating a One-handed User Interface for Drones
Creating a One-handed User Interface for DronesJackie Wolf
 
Evaluating Customer Experience: The Michigan Flyer
Evaluating Customer Experience: The Michigan FlyerEvaluating Customer Experience: The Michigan Flyer
Evaluating Customer Experience: The Michigan FlyerJackie Wolf
 
Stranger in a Strange Land: Traveling & UX
Stranger in a Strange Land: Traveling & UXStranger in a Strange Land: Traveling & UX
Stranger in a Strange Land: Traveling & UXJackie Wolf
 
Intro to Tools & Resources: UMSI Orientation Fall 2014
Intro to Tools & Resources: UMSI Orientation Fall 2014Intro to Tools & Resources: UMSI Orientation Fall 2014
Intro to Tools & Resources: UMSI Orientation Fall 2014Jackie Wolf
 
Contextual Inquiry: Information Flow
Contextual Inquiry: Information FlowContextual Inquiry: Information Flow
Contextual Inquiry: Information FlowJackie Wolf
 
QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"
QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"
QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"Jackie Wolf
 
Exposure Series: Trans-Siberian Train Adventures
Exposure Series: Trans-Siberian Train AdventuresExposure Series: Trans-Siberian Train Adventures
Exposure Series: Trans-Siberian Train AdventuresJackie Wolf
 
UMSI Exposition: 1960's Civil Rights Research Guide
UMSI Exposition: 1960's Civil Rights Research GuideUMSI Exposition: 1960's Civil Rights Research Guide
UMSI Exposition: 1960's Civil Rights Research GuideJackie Wolf
 
Shure Design Jam: Collaborative Spaces
Shure Design Jam: Collaborative SpacesShure Design Jam: Collaborative Spaces
Shure Design Jam: Collaborative SpacesJackie Wolf
 
Information Architecture: Building Story- The de Young Museum, San Francisco, CA
Information Architecture: Building Story- The de Young Museum, San Francisco, CAInformation Architecture: Building Story- The de Young Museum, San Francisco, CA
Information Architecture: Building Story- The de Young Museum, San Francisco, CAJackie Wolf
 
Information Architecture: Architect Story- Julia Morgan
Information Architecture: Architect Story- Julia MorganInformation Architecture: Architect Story- Julia Morgan
Information Architecture: Architect Story- Julia MorganJackie Wolf
 

More from Jackie Wolf (19)

Making (more) Accessible Infographics
Making (more) Accessible InfographicsMaking (more) Accessible Infographics
Making (more) Accessible Infographics
 
Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...
Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...
Confab Higher Ed:"How Do You Make the Good Great? A Case Study on Redesigning...
 
IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...
IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...
IA Summit:"How Do You Make the Good Great? A Case Study on Redesigning the Un...
 
Speaking drupal: a cultural linguistic adventure
Speaking drupal: a cultural linguistic adventureSpeaking drupal: a cultural linguistic adventure
Speaking drupal: a cultural linguistic adventure
 
Entrepreneurship: The Broke App
Entrepreneurship: The Broke AppEntrepreneurship: The Broke App
Entrepreneurship: The Broke App
 
Cultivated Abundance: Managing Chaos in Early Sears Catalogs
Cultivated Abundance: Managing Chaos in Early Sears CatalogsCultivated Abundance: Managing Chaos in Early Sears Catalogs
Cultivated Abundance: Managing Chaos in Early Sears Catalogs
 
Mobile Maternal Child Health Application: Global Information Engagement Progr...
Mobile Maternal Child Health Application: Global Information Engagement Progr...Mobile Maternal Child Health Application: Global Information Engagement Progr...
Mobile Maternal Child Health Application: Global Information Engagement Progr...
 
Introduction to the GIEP Mobile Maternal Child Health Project
Introduction to the GIEP Mobile Maternal Child Health ProjectIntroduction to the GIEP Mobile Maternal Child Health Project
Introduction to the GIEP Mobile Maternal Child Health Project
 
Creating a One-handed User Interface for Drones
Creating a One-handed User Interface for DronesCreating a One-handed User Interface for Drones
Creating a One-handed User Interface for Drones
 
Evaluating Customer Experience: The Michigan Flyer
Evaluating Customer Experience: The Michigan FlyerEvaluating Customer Experience: The Michigan Flyer
Evaluating Customer Experience: The Michigan Flyer
 
Stranger in a Strange Land: Traveling & UX
Stranger in a Strange Land: Traveling & UXStranger in a Strange Land: Traveling & UX
Stranger in a Strange Land: Traveling & UX
 
Intro to Tools & Resources: UMSI Orientation Fall 2014
Intro to Tools & Resources: UMSI Orientation Fall 2014Intro to Tools & Resources: UMSI Orientation Fall 2014
Intro to Tools & Resources: UMSI Orientation Fall 2014
 
Contextual Inquiry: Information Flow
Contextual Inquiry: Information FlowContextual Inquiry: Information Flow
Contextual Inquiry: Information Flow
 
QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"
QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"
QuasiCon 2014, "The Embedded Librarian: Reference Services in the Trenches"
 
Exposure Series: Trans-Siberian Train Adventures
Exposure Series: Trans-Siberian Train AdventuresExposure Series: Trans-Siberian Train Adventures
Exposure Series: Trans-Siberian Train Adventures
 
UMSI Exposition: 1960's Civil Rights Research Guide
UMSI Exposition: 1960's Civil Rights Research GuideUMSI Exposition: 1960's Civil Rights Research Guide
UMSI Exposition: 1960's Civil Rights Research Guide
 
Shure Design Jam: Collaborative Spaces
Shure Design Jam: Collaborative SpacesShure Design Jam: Collaborative Spaces
Shure Design Jam: Collaborative Spaces
 
Information Architecture: Building Story- The de Young Museum, San Francisco, CA
Information Architecture: Building Story- The de Young Museum, San Francisco, CAInformation Architecture: Building Story- The de Young Museum, San Francisco, CA
Information Architecture: Building Story- The de Young Museum, San Francisco, CA
 
Information Architecture: Architect Story- Julia Morgan
Information Architecture: Architect Story- Julia MorganInformation Architecture: Architect Story- Julia Morgan
Information Architecture: Architect Story- Julia Morgan
 

JAVA Business Application

Editor's Notes

  1. -assessing what a client does - how make income, who they sell to
  2. We save the number of people in the household selected by the user on the ClientInformation activity and use that to look up the poverty threshold value. We used the OnItemSelectedListener interface from the AdapterView class. The OnItemSelected method allowed us to use the method getSelectedItemPosition from the spinner and store that value in Shared Preferences. We save the reported household income on the BusinessInformation activity and use that to calculate their annual income. We used the public method addTextChangedListener which adds a TextWatcher to the field whose methods are called whenever the TextView text changes. Whenever the user changes text in the field, we save the value into Shared Preferences as an integer.
  3. get the number of people in the household and the income from shared preferences use the number of people to determine the poverty threshold value for the community bar use the income to determine annual income Create graphValues object using GraphViewSeries constructor and add values for each column of data in the graph. Create graphView object using GraphView class graphView.addSeries allows us to use the addSeries method on the graphView object to add the values to the graph. The labels and the axis bound are set using the predefined methods in the library
  4. If any one of the buttons is selected, the selectHours() method is called, which passes certain arguments* to the select() method. Here you can see, the select method takes the buttonView, a boolean (which says whether the button has already been selected), and two variables that describe whether the day selected is part of the week or weekend and what time day. In the select() method local* variables are updated to reflect the selection. The color of the button is also changed to black. We will use the variables, weekdayTotal and weekendTotal to add specific suggestions to our Shared Preferences
  5. Here you can see we add suggestions to a list, which is saved in the SharedPreferences using Amine’s technique (a list is converted to a string delimited by semi-colons). This same thing is done on some of the other activities in the app. So, before saving the new ones, we have to get the existing list and add the new suggestions.