A new kind of Classroom for 10 million students and teachers

| 0 comments |


(Cross-posted on the Google for Education Blog.)

In a junior high class in Queens, New York, Ross Berman is teaching fractions. He wants to know whether his students are getting the key concept, so he posts a question in Google Classroom and instantly reviews their answers. It’s his favorite way to check for understanding before anyone has the chance to fall behind.

Across the country, in Bakersfield, California, Terri Parker Rodman is waiting at the dentist’s office. She wonders how her class is doing with their sub. With a few swipes on her phone, she finds out which students have finished their in-class assignment and sends a gentle reminder to those who haven’t.
Google Classroom launched last August, and now more than 10 million educators and students across the globe actively use it to teach and learn together, save time, and stay organized. We worked with teachers and students to create Classroom because they told us they needed a mission control – a central place for creating and tracking assignments, sharing ideas and resources, turning in completed work and exchanging feedback. Classroom is part of Google’s lineup of tools for education, which also includes the Google Apps for Education suite – now used by more than 50 million students, teachers and administrators around the world – and Chromebooks, the best-selling device in U.S. K-12 schools.

Here are a few of the stories we’ve heard from teachers and students who are using Classroom.

Learning better together 


We built Classroom to help educators spend less time on paperwork and administrative tasks. But it’s also proven to be highly effective at bringing students and teachers closer together. In London, fifth grader Kamal Nsudoh-Parish stays connected with his Spanish teacher while he does his homework. “If I don’t understand something, I can ask him and he’d be able to answer rather than having to wait until my next Spanish lesson,” Kamal says.

Terri, who teaches sixth grade at Old River Elementary School, also observes that Classroom can strengthen ties and improve communication. “When a student doesnt turn something in, I can see how close they are,” she says. “In the past, I couldnt tell why they didnt finish their work. I was grading them on bringing back a piece of paper instead of what their ability was.”

Resource room teacher Diane Basanese of Black River Middle School in Chester, New Jersey, says that Classroom lets her see her students’ minds at work. “I’m in the moment with them,” she explains. “We have dialogue, like, ‘Oh, are you saying I should use a transition?’ We’re talking to each other. It’s a better way.”


Removing the mundane 


By helping them cut down on busywork, Classroom empowers teachers to do even more with every school day. “I no longer waste time figuring out paper jams at the school photocopier,” says Tom Mullaney, who teaches in Efland, North Carolina. “Absent students no longer email or ask, ‘What did we do yesterday?’ These time savers may not sound like much, but they free me to spend time on things that I consider transcendent in my teaching practice.”

In Mexico City, teachers at Tec de Monterrey high school and university switched to Classroom from an online learning management system that often added complexity to their workflow instead of simplifying it. Professor Vicente Cubells says he’s found the new question feature in Classroom particularly useful for short quizzes, because he can quickly assess learning and have an automatic record of their responses and grades. “The Classroom mobile apps have also become essential for our faculty and students, we use them to stay connected even when we’re not in front of a laptop,” Cubells said.

Giving teachers superpowers 


Teachers are some of the most innovative thinkers in the world, so it’s no surprise that they’ve used Classroom in ways we never even imagined.

Elementary school teacher Christopher Conant of Boise, Idaho, says his students are usually eager to leave school behind during summer break. But after using Classroom last year, they wanted to keep their class open as a way to stay in touch. “Classroom is a tool that keeps kids connected and learning as a community, well beyond the school day, school year and school walls,” said Christopher, who continued to post videos and questions for his students all summer long.

These endless possibilities are the reason why Diane Basanese, a 30-year teaching veteran, says that Classroom is the tool she’s been looking for throughout her career. “It has made me hungrier,” she explains. “I look at how I can make every lesson a hit-it-out-of-the-ballpark lesson.”

Growing our Classroom 


Ever since we began working with teachers and students, its been rewarding and encouraging to hear their stories, collaborate to find answers to their problems, and watch those solutions come to life at schools and universities around the world. Lucky for us, we’re just getting started.
Read More..

Raising Sweet C Cane for Well Dressed Animals

| 0 comments |

Posted by Stewart Miles, Fun Propulsion Labs*

To celebrate the holiday season at Fun Propulsion Labs, were trading our sushi mats and baking pans for candy canes and snowballs. Please join us for a special holiday-themed version of Pie Noon and Zooshi! Zooshi and Pie Noon are open source, cross-platform games built from a suite of libraries that eager C++ developers can use to build their own projects.

You can download and run Zooshis Santa mode on Google Play and find the latest open source release on our GitHub page. The holiday version of Pie Noon is available on Google Play as Snowdown in Santa Tracker and on our GitHub page. Happy Holidays!

* Fun Propulsion Labs is a team within Google thats dedicated to advancing gaming on Android and other platforms.

Read More..

Table layout

| 0 comments |
Organizing widgets in a table is a famous approach in HTML design where you construct a table of a number of rows and cells and distribute the controls over the cells to achieve a consistent look for your UI. Android provides a similar technique.


In android you define the number of rows by your own and android determines the number of cells in each row according to the number of widgets in each row




<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Submit"
/>


You can define a table and add rows and views to it like this:
TableLayout tl=new TableLayout(this);
TableRow tr=new TableRow(this);
Button btn=new Button(this);
btn.setText("Hello");
tr.addView(btn);
tl.addView(tr);
setContentView(tl);
This example represents a row with three cells.

A table cell can span multiple columns like this:




<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Submit"
/>




<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Cancel"
/>



Also you can choose which column to put your widget by using android:layout_column property, you define the Zero-based index of the column where you want your widget to be.




<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Submit"
/>




<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Cancel"
/>



<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Help"
android_layout_column="1"
/>



Note: if you specify an index greater than the actual cells count, the widget won’t appear. For example in the previous example if android:layout_column had a value greater than 2 the widget wouldn’t appear.

Table layout also allows you to put widgets directly under the <TableRow> tag to act as a separator between rows.


These widgets will have their width set to fill_parent.




<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Submit"
/>




<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Cancel"
/>



<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Help"
android_layout_column="5"
/>

<Button
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Separator"
/>


In table layout each column occupies space equal to the size of the largest widget in it. But you can set the width of any column to take the largest available space, just like setting the width to 100 % in HTML. This is done by setting the property android:stretchColumns to the index of the column, also you can set multiple columns by separating them with a comma.

Look at the layout below:






Now we gonna to add android:stretchColumns="0" to the table layout and see what it’s gonna look like:






Column 0 occupied the largest available space.

You can set this property from code like this
TableLayout tl=new TableLayout(this);
tl.setColumnStretchable(0, true);
the setColumnStretchable(ColumnIndex, IsStretchable)method parameters are the column index and a Boolean value to indicate it is going to be stretched.

Now if we have a column that have a large content. Android columns by default do not wrap their content. Look at this layout:






See column zero occupies large space that column 1 is not visible.

We can use android:shrinkColumns property to wrap content of a certain column or for multiple columns by assigning column numbers separeted by commas.

When we use the property with column zero it will be like this:






Its like using style=”white-space:wrap;” style in HTML
You can set the property from code like this:
TableLayout tl=new TableLayout(this);
tl.setColumnShrinkable(0, true);
The setColumnShrinkable(columnIndex, isShrinkable) method parameters are the column index and a Boolean to indicate it si going to be shrinked.

Finally if you want to make some columns invisible you can use the property android:collapseColumns the same way we used the last two properties






See that column zero is invisible.
You can use this property from code like this:
TableLayout tl=new TableLayout(this);
tl.setColumnCollapsed(0, true);
The property setColumnCollapsed(columnIndex, isCollapsed) parameters are the column index and a Boolean to indicate that it’s going to be collapsed

This is just like using the style=”display:none;” in HTML

Other functions can be called from code:
TableLayout.setShrinkAllColumns(Boolean shrinkAllColumns) : shrinks all colums
TableLayout.setStretchAllColumns(Boolean stretchAllColumns): stretches all columns
Read More..

Episode 26 Fit

| 0 comments |
Tor and Chet are joined by Gustavo Moura from the Google Fit team. We talk about the Google Fit app, but also about the GMS Core and REST APIs that enable that application and any other application that wants to take advantage of the sensor data that those APIs provide.

Getting Fit, one step at a time.

Subscribe to the podcast feed or download the audio file directly.

Relevant Links:
Google Fit Developer Documentation
Recording Fitness Data
Working with the Fitness History
Google Fit Developers G+ Community
Google Fit Developer Challenge

Gustavo: google.com/+GustavoMouraGoogle
Tor: google.com/+TorNorbye
Chet: google.com/+ChetHaase

Read More..

Selection Controls 3 CheckBox and RadioButton

| 0 comments |
CheckBox:

The check box has two states: Checked and UnChecked. It inherits from TextView so it has all of its properties:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android_orientation="vertical"
android_layout_width="fill_parent"
android_layout_height="fill_parent"
>
<TextView
android_layout_width="fill_parent"
android_layout_height="wrap_content"
android_id="@+id/txt"
/>
<CheckBox
android_layout_width="fill_parent"
android_layout_height="wrap_content"
android_id="@+id/Chk"
android_text="This is a check box"
android_checked="false"

/>
</LinearLayout>



and to handle the check/uncheck event:
CheckBox chk=(CheckBox)findViewById(R.id.Chk);
chk.setOnCheckedChangeListener(new OnCheckedChangeListener()
{

public void onCheckedChanged(CompoundButton arg0, boolean arg1) {
TextView txt=(TextView)findViewById(R.id.txt);
if (arg1)
txt.setText("checked");
else
txt.setText("Unchecked");

}

}
);


RadioButton:
Android provides Radio button control. You create a RadioGroup and add RadioButtons inside it.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android_orientation="vertical"
android_layout_width="fill_parent"
android_layout_height="fill_parent"
>
<TextView
android_id="@+id/txt"
android_layout_width="fill_parent"
android:layout_height="fill_parent"
/>
<RadioGroup
android_id="@+id/group"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="Radio Group"
>
<RadioButton android_id="@+id/item1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Item1"
android:checked="true"
/>
<RadioButton android_id="@+id/item2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Item2" />
<RadioButton android_id="@+id/item3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Item3" />
</RadioGroup>
</LinearLayout>




You can get the checked item from code like this:
RadioGroup rg=(RadioGroup)findViewById(R.id.group);
rg.setOnCheckedChangeListener(new android.widget.RadioGroup.OnCheckedChangeListener()
{

public void onCheckedChanged(RadioGroup arg0, int arg1) {
// TODO Auto-generated method stub
TextView txt=(TextView)findViewById(R.id.txt);
RadioButton rb=(RadioButton)findViewById(arg1);
txt.setText("You selected "+rb.getText());

}

}
);

Read More..

Episode 31 Graphics Performance

| 0 comments |
This time, Tor and Chet are joined by Chris Craik from the Android UI Toolkit team. Chris took time out of his busy schedule of writing performance-testing tools and fixing graphics performance issues to talk on the podcast about, well, performance-testing tools and graphics performance issues.

Listen in to learn about graphics performance tips, tricks, and tools.

Subscribe to the podcast feed or download the audio file directly.

Relevant Links:
Systrace
Framestats
Android Performance Patterns
Glide

Chris:
Tor: google.com/+TorNorbye
Chet: google.com/+ChetHaase

Read More..

Episode 39 MIDI

| 0 comments |
Chet, Phil, and Tor. And a lot of totally professional sound baffles
This time, Tor and Chet get all musical with Phil Burk from the Android Audio team. Phil worked on the new MIDI feature in the Android 6.0 Marshmallow release, and joins the podcast to talk about MIDI (history as well as Android implementation), electronic music, and other audio-related topics.

Bryan said it was his favorite episode so far. But then Bryans an audio engineer, so he might be slightly biased.

Android MIDI: Its music to our ears.

Subscribe to the podcast feed or download the audio file directly.

Relevant Links

Android MIDI
MidiSynth Example
More Examples
HMSL
Larry Polansky

Tor: google.com/+TorNorbye, @tornorbye
Chet: google.com/+ChetHaase, @chethaase

Thanks to continued tolerance and support by our audio engineer, Bryan Gordon.
Read More..