-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from adityaoberai/hackmit-update
Merged HackMIT work in 'master' branch
- Loading branch information
Showing
30 changed files
with
784 additions
and
289 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="CodeCapture.AboutUs"> | ||
<ContentPage.Content> | ||
<Grid> | ||
<Label | ||
Text="About CodeCapture" | ||
HorizontalOptions="CenterAndExpand" | ||
FontSize="Title" | ||
Grid.Row="0" | ||
Grid.ColumnSpan="7"/> | ||
|
||
<Image | ||
Source="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/CodeCapture-Banner-JPG.jpg/1024px-CodeCapture-Banner-JPG.jpg" | ||
Grid.Row="1" | ||
Grid.RowSpan="3" | ||
Grid.Column="0" | ||
Grid.ColumnSpan="7"/> | ||
|
||
<Label | ||
x:Name="aboutUs" | ||
Text="" | ||
Grid.Row="4" | ||
Grid.RowSpan="4" | ||
Grid.Column="1" | ||
Grid.ColumnSpan="5"/> | ||
|
||
<Button | ||
x:Name="returnButton" | ||
Text="Return" | ||
Clicked="returnButton_Clicked" | ||
BackgroundColor="MediumAquamarine" | ||
BorderColor="Black" | ||
BorderWidth="1.5" | ||
HorizontalOptions="FillAndExpand" | ||
VerticalOptions="CenterAndExpand" | ||
Grid.Row="8" | ||
Grid.Column="2" | ||
Grid.ColumnSpan="3"/> | ||
</Grid> | ||
</ContentPage.Content> | ||
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
using Xamarin.Forms; | ||
using Xamarin.Forms.Xaml; | ||
|
||
namespace CodeCapture | ||
{ | ||
[XamlCompilation(XamlCompilationOptions.Compile)] | ||
public partial class AboutUs : ContentPage | ||
{ | ||
public string description; | ||
public AboutUs() | ||
{ | ||
InitializeComponent(); | ||
|
||
description = "\nCodeCapture is a cross-platform app that aims to assist remote learning experiences in Computer Science for students without computers by taking code from paper to mobile. CodeCapture has the functionality to extract code (C++, Java, JavaScript, or Python) from images of handwritten text and then allow the user to edit, compile, and share the result via email/SMS.\n\nWe also have various lessons on C++ (more languages coming soon) to assist with students' Computer Science education especially in times like these, where the COVID-19 pandemic and the enforced lockdown have kept students away from school."; | ||
aboutUs.Text = description; | ||
} | ||
|
||
private async void returnButton_Clicked(object sender, EventArgs e) | ||
{ | ||
await Navigation.PopModalAsync(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using Plugin.Media; | ||
using System; | ||
using System; | ||
using Xamarin.Forms; | ||
using Xamarin.Forms.Xaml; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,62 +5,96 @@ | |
<ContentPage.Content> | ||
<Grid> | ||
<Label | ||
Text="Output of Code" | ||
Text="Output Of Code" | ||
HorizontalOptions="CenterAndExpand" | ||
FontSize="Title" | ||
Grid.Row="0" | ||
Grid.Column="0" | ||
Grid.ColumnSpan="7"/> | ||
Grid.ColumnSpan="8"/> | ||
|
||
<Editor | ||
x:Name="editor" | ||
Text="Waiting For Output From Compiler..." | ||
HorizontalOptions="FillAndExpand" | ||
VerticalOptions="FillAndExpand" | ||
Grid.Row="1" | ||
Grid.RowSpan="6" | ||
Grid.RowSpan="3" | ||
Grid.Column="1" | ||
Grid.ColumnSpan="6"/> | ||
|
||
<Button | ||
x:Name="returnButton" | ||
Text="Return" | ||
Text="Return To Editor" | ||
BackgroundColor="MediumAquamarine" | ||
BorderColor="Black" | ||
BorderWidth="1.5" | ||
Clicked="returnButton_Clicked" | ||
HorizontalOptions="FillAndExpand" | ||
Grid.Row="7" | ||
Grid.Column="0" | ||
Grid.ColumnSpan="2" | ||
Grid.ColumnSpan="3" | ||
Margin="10,0,0,10"/> | ||
|
||
<Button | ||
x:Name="captureNewImageButton" | ||
Text="Capture New Image" | ||
x:Name="menuButton" | ||
Text="Return To Lessons Menu" | ||
BackgroundColor="MediumAquamarine" | ||
BorderColor="Black" | ||
BorderWidth="1.5" | ||
Clicked="captureNewImageButton_Clicked" | ||
Clicked="menuButton_Clicked" | ||
HorizontalOptions="FillAndExpand" | ||
Grid.Row="7" | ||
Grid.Column="3" | ||
Grid.ColumnSpan="2" | ||
Margin="0,0,0,10"/> | ||
Grid.Column="5" | ||
Grid.ColumnSpan="3" | ||
Margin="0,0,10,10"/> | ||
|
||
<Button | ||
x:Name="emailButton" | ||
Text="Email Result" | ||
x:Name="shareButton" | ||
Text="Email/SMS Result" | ||
BackgroundColor="#7F0DFF00" | ||
BorderColor="Black" | ||
BorderWidth="1.5" | ||
Clicked="emailButton_Clicked" | ||
Clicked="shareButton_Clicked" | ||
VerticalOptions="EndAndExpand" | ||
HorizontalOptions="FillAndExpand" | ||
Grid.Row="7" | ||
Grid.Column="6" | ||
Grid.ColumnSpan="2" | ||
Margin="0,0,10,10"/> | ||
Grid.Row="6" | ||
Grid.RowSpan="1" | ||
Grid.Column="2" | ||
Grid.ColumnSpan="4" | ||
Margin="0,0,0,30"/> | ||
|
||
<Label | ||
Text="Share Your Result" | ||
HorizontalOptions="CenterAndExpand" | ||
VerticalOptions="CenterAndExpand" | ||
FontSize="Title" | ||
Grid.Row="4" | ||
Grid.Column="0" | ||
Grid.ColumnSpan="8"/> | ||
|
||
<Editor | ||
x:Name="emailID" | ||
Placeholder="Your Email Address (e.g. [email protected])" | ||
Text="" | ||
VerticalOptions="EndAndExpand" | ||
HorizontalOptions="StartAndExpand" | ||
Grid.Row="5" | ||
Grid.RowSpan="1" | ||
Grid.Column="0" | ||
Grid.ColumnSpan="4" | ||
Margin="10,0,0,15"/> | ||
|
||
<Editor | ||
x:Name="phoneNumber" | ||
Placeholder="Your Phone Number (e.g. +919123456789)" | ||
Text="" | ||
VerticalOptions="EndAndExpand" | ||
HorizontalOptions="StartAndExpand" | ||
Grid.Row="5" | ||
Grid.RowSpan="1" | ||
Grid.Column="4" | ||
Grid.ColumnSpan="4" | ||
Margin="0,0,10,15"/> | ||
</Grid> | ||
</ContentPage.Content> | ||
</ContentPage> |
Oops, something went wrong.