gRPC releases Beta opening door for use in production environments

| 0 comments |

Posted by Mugur Marculescu, Product Manager

The gRPC team is excited to announce the immediate availability of gRPC Beta. This release marks an important point in API stability and going forward most API changes are expected to be additive in nature. This milestone opens the door for gRPC use in production environments.

We’re also taking a big step forward in improving the installation process. Over the past few weeks, we’ve rolled out gRPC packages to Debian Stable/Backports. Installation in most cases is now a two line install using the Debian package and available language specific package managers (e.g. maven, pip, gem, composer, pecl, npm, nuget, pod). In addition gRPC docker images are now available on Docker Hub.

We’ve updated the documentation on grpc.io to reflect the latest changes and released additional language-specific reference docs. See what’s changed with the Beta release in the release notes on Github for Java, Go and all other languages.

In the coming months, the focus of the gRPC project will be to keep improving performance and stability and adding carefully chosen features for production use cases. This is part of our principles and goals to enable highly performant and scalable APIs and microservices on top of HTTP/2. Documentation will also be clarified and will continue to improve with new examples and guides.

We’ve been very excited to see the community response to gRPC and the various projects starting to use it (etcd v3 experimental api, grpc-gateway for RESTful APIs and others). We really want to thank everyone who contributed code, gave presentations, adopted the technology and engaged in the community. With your help support we look forward to the 1.0!

Read More..

Present to anyone from wherever you are

| 0 comments |


Google Slides helps you share your big ideas with the world, but sometimes presenting these ideas can be challenging. In June, Slides added support for Chromecast and Airplay, which made it easier to project your slides on the big screen. Now there’s another new way to share your work: easy presenting to Hangouts video calls. Teammates, partners, clients and classmates can see your ideas, even if they’re on the other side of the planet.


As you get ready for the big meeting, all you need is your Android phone or tablet. With one tap of the present button, you’ll see the option to present to a Hangouts video call. Meetings that are scheduled on your calendar will automatically be listed, so you can be up and running in no time.

You’ll also get a handy look at whos on the call before you start presenting. Once you’re ready to rock, you can use your mobile device to advance slides, view speaker notes and stay on track with a built-in timer.

Presenting just got even easier with Google Slides on Android – available starting today and rolling out over the next few days.
Read More..

Set title subtitle and logo of Toolbar

| 0 comments |

Last post show how to "Replace ActionBar with Toolbar". Here show how to set title subtitle and logo of Toolbar.


Edit MainActivity.java
package com.blogspot.android_er.androidtoolbar;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toolbar toolbar = (Toolbar)findViewById(R.id.toolbar);
setSupportActionBar(toolbar);

getSupportActionBar().setTitle("Toolbar example");
toolbar.setSubtitle("Android-er.blogspot.com");
toolbar.setLogo(android.R.drawable.ic_menu_info_details);


}
}


In the example, also modify layout/activity_main.xml to use LinearLayout.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout

android_layout_width="match_parent"
android_layout_height="match_parent"
android_paddingBottom="@dimen/activity_vertical_margin"
android_paddingLeft="@dimen/activity_horizontal_margin"
android_paddingRight="@dimen/activity_horizontal_margin"
android_paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical"
tools_context="com.blogspot.android_er.androidtoolbar.MainActivity">

<android.support.v7.widget.Toolbar
android_id="@+id/toolbar"
android_layout_width="match_parent"
android_layout_height="56dp"
android_background="#FFA000"/>
<TextView
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Hello World!" />
</LinearLayout>


Next:
- Add OptionsMenu to Toolbar

Read More..

Episode 22 Wear Wolves

| 0 comments |
Tor and Chet are joined by Justin Koh and Griff Hazen from the Android Wear team. We talk about watches, notifications, watch faces, data, apps, services, and All Things Wear. You could say that we wear out the topic. You probably wouldnt, but you could.

Favorite word:
"Transflective"

Favorite phrase:
"Eventually consistent"

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


Relevant Links:

Overview of Wear Development: http://developer.android.com/wear
Creating a Wearable App: https://developer.android.com/training/wearables/apps/creating.html
Android Wear UI: https://developer.android.com/training/wearables/apps/layouts.html
Android Wear Suppor Lib Reference: http://developer.android.com/reference/packages-wearable-support.html
Watchfaces API: https://developer.android.com/training/wearables/watch-faces/index.html
Data APIs: https://developer.android.com/training/wearables/data-layer/index.html

Griff: google.com/+GriffHazen
Justin: google.com/+JustinKoh
Tor: google.com/+TorNorbye
Chet: google.com/+ChetHaase

Read More..

Episode 32 Leak Canary

| 0 comments |
In this episode, we chat with Pierre-Yves Ricau (aka @Piwai, for his initials P and Y and for the benefit of non-French-speakers that find "Pierre-Yves" entirely too complicated to pronounce) from Square about his excellent Leak Canary tool, as well as other topics hes interested in -- presenting, dependency injection, and crash reporting.

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


Relevant links

Leak Canary blog post
Leak Canary Github project
MAT (Memory Analyzer Tool)
Dagger2

Pierre-Yves Ricau: twitter.com/Piwai
Tor: google.com/+TorNorbye
Chet: google.com/+ChetHaase
Read More..

Set image on Toolbar

| 0 comments |
This post show how to set image on Toolbar:

Modify from last post "Add OptionsMenu to Toolbar".

To set background image of Toolbar, edit layout/activity_main.xml to set android:background of <android.support.v7.widget.Toolbar>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout

android_layout_width="match_parent"
android_layout_height="match_parent"
android_paddingBottom="@dimen/activity_vertical_margin"
android_paddingLeft="@dimen/activity_horizontal_margin"
android_paddingRight="@dimen/activity_horizontal_margin"
android_paddingTop="@dimen/activity_vertical_margin"
android_orientation="vertical"
tools_context="com.blogspot.android_er.androidtoolbar.MainActivity">

<android.support.v7.widget.Toolbar
android_id="@+id/toolbar"
android_layout_width="match_parent"
android_layout_height="56dp"
android:background="@mipmap/ic_launcher"/>
<TextView
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Hello World!" />
</LinearLayout>



Another method, add ImageView inside <android.support.v7.widget.Toolbar>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout

android_layout_width="match_parent"
android_layout_height="match_parent"
android_paddingBottom="@dimen/activity_vertical_margin"
android_paddingLeft="@dimen/activity_horizontal_margin"
android_paddingRight="@dimen/activity_horizontal_margin"
android_paddingTop="@dimen/activity_vertical_margin"
android_orientation="vertical"
tools_context="com.blogspot.android_er.androidtoolbar.MainActivity">

<android.support.v7.widget.Toolbar
android_id="@+id/toolbar"
android_layout_width="match_parent"
android_layout_height="56dp"
android_background="#FFA000">
<ImageView
android_id="@+id/toolbarimage"
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_src="@mipmap/ic_launcher"/>

</android.support.v7.widget.Toolbar>
<TextView
android_layout_width="wrap_content"
android_layout_height="wrap_content"
android_text="Hello World!" />
</LinearLayout>



In this examples, also modify menu/menu_main.xml to set all app_showAsAction="ifRoom".
<?xml version="1.0" encoding="utf-8"?>
<menu
>
<item
android_id="@+id/menu_camera"
android_icon="@android:drawable/ic_menu_camera"
android_orderInCategory="100"
android_title="camera"
app_showAsAction="ifRoom"/>
<item
android_id="@+id/menu_compass"
android_icon="@android:drawable/ic_menu_compass"
android_orderInCategory="100"
android_title="compass"
app_showAsAction="ifRoom"/>
<item
android_id="@+id/menu_agenda"
android_icon="@android:drawable/ic_menu_agenda"
android_orderInCategory="100"
android_title="agenda"
app_showAsAction="ifRoom"/>
<item
android_id="@+id/menu_gallery"
android_icon="@android:drawable/ic_menu_gallery"
android_orderInCategory="100"
android_title="gallery"
app_showAsAction="ifRoom"/>
<item
android_id="@+id/menu_calendar"
android_icon="@android:drawable/ic_menu_my_calendar"
android_orderInCategory="100"
android_title="calendar"
app_showAsAction="ifRoom"/>
</menu>

Next:
- Implement checkable items in OptionsMenu of Toolbar

Read More..

Episode 23 Re In Car Nation

| 0 comments |
Tor and Chet are joined by Gabriel Peal from the Android Auto team. We talk about... cars! And dashboard entertainment systems, and notifications, and navigation, and the Android Auto capabilities available today.

Favorite phrase:
"Duck the audio"

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


Relevant Links:

Android Auto Developer Site: http://developer.android.com/auto/index.html
Consumer Site: http://www.android.com/auto/

Gabriel: google.com/+GabrielPeal8 or on Twitter: @gpeal8
Tor: google.com/+TorNorbye
Chet: google.com/+ChetHaase

Read More..