Reactive Programming on Google Maps Platform: Watch Video to Learn - Build What's Next
How-to

Reactive Programming on Google Maps Platform: Watch Video to Learn

5304

Of your peers have already read this article.

1:30 Minutes

The most insightful time you'll spend today!

Learn all about reactive programming concepts to build responsive and reactive mobile apps. Read the blogpost on three-part video series to effectively leverage Google Maps Platform Android SDK.

The Google Maps Platform Android SDK supports extensions for reactive programming, which helps you write code to handle asynchronous operations.

Write reactive and responsive mapping applications with Google Maps Platform

In mobile apps, asynchronous events can happen at any point in time: user touch events, waiting for network calls to complete, or receiving push notifications, to name a few. As an app developer, accounting for these events and composing them with other asynchronous events can be challenging. Reactive programming is an alternative to passing callbacks for different events and helps simplify the process of working with asynchronous events. In reactive programming, events are modeled as a stream, emitting items over time.

https://youtube.com/watch?v=1TmJvOZfBVQ%3Fenablejsapi%3D1%26

There are two libraries you can use to write reactive code: Kotlin Flows and RxJava. The next two videos show you how to use each one.

Writing reactive and responsive mapping applications using Kotlin

If you’re a Kotlin developer looking to use Coroutines and Flows, the KTX library allows you to use Kotlin Flows to receive events. The Maps KTX library includes extension functions that return Kotlin Flow objects, so you can listen to events in a reactive manner. Unlike suspending functions, which return a single value, Kotlin Flows can return several values over time. For example, you can use a Flow to receive camera event changes over time. To get started using Kotlin Flows in your app, include the Maps KTX library in the dependencies section in your build.gradle file.

https://youtube.com/watch?v=Cotx1ZmEYg8%3Fenablejsapi%3D1%26

Creating reactive maps on Android with RxJava

Integrate Google Maps Platform SDKs with popular Android library RxJava. RxJava is the Java implementation of Reactive Extensions, which is a library for composing asynchronous and event-based programs using observable sequences. One thing RxJava does is allows you to convert callback-based asynchronous code into a chain of transformations. Learn how this works and the other ways you can use RxJava in the third video in this series.

https://youtube.com/watch?v=AgGE7fAMrdA%3Fenablejsapi%3D1%26

​​We hope you learn more about reactive programming concepts to help you build responsive and reactive mobile apps in this three-part YouTube series. Have ideas for helpful videos you’d like to see on our channel? Leave a comment on any of our videos. And don’t forget to subscribe to our YouTube channel for the latest updates, tutorials, customer stories, and more.

For more information on Google Maps Platform, visit our website.

Case Study

How Morrisons Connects All of its 120,000 Employees Across 500 Offices on One Platform

6166

Of your peers have already read this article.

2:30 Minutes

The most insightful time you'll spend today!

With 120,000 staff nationwide across more than 500 sites, good communication is crucial. G Suite helps Morrisons connect every member of their team affordably, whether they’re picking stock in a warehouse or serving customers in-store. Here's how.

Morrisons is a large supermarket chain in the United Kingdom, headquartered in Bradford, West Yorkshire, England.

Eleven million customers trust Morrisons, a leading UK supermarket, to provide quality food at affordable prices each week. With 120,000 staff nationwide across more than 500 sites, good communication is crucial. G Suite helps Morrisons connect every member of their team affordably, whether they’re picking stock in a warehouse or serving customers in-store.

Morrisons used to print half a million sheets of paper every week and file them in over 3,000 filing cabinets in order to fulfill compliance requirements. Now, with collaboration in Docs and rapid information collection with Forms, they’ve reduced paperwork. Outside the office, staff has replaced clunky VPNs and outdated handheld devices with G Suite, which can work on any device. And with Google’s intuitive administrative tools, local managers can set up new accounts in three minutes instead of five to ten days.

Instead of shared logins, all employees have a G Suite account, and Google+ brings these colleagues from across the company together to share tips and advice. Morrisons also improves services based on customer feedback collected by shop floor staff that use apps on mobile devices.

5264

Of your peers have already watched this video.

2:58 Minutes

The most insightful time you'll spend today!

How-to

Are You Suffering from Spreadsheet Paralysis?

Today, within the four walls of your office there’s just one concern everyone has: What do the numbers say?

The answer to that question almost always rests with you. If they get it wrong, everybody gets it wrong. But does it have to be so hard to get it right?

Wading in the waters of endless spreadsheets, trying to figure formulas to slice data in every possible permutation and combination, and still keeping your sanity is a herculean task.

That’s probably why today’s business leaders are most likely suffering from what’s being termed as spreadsheet paralysis. The symptoms include confusion, anxiety and a desire to throw away your computer in the garbage.

It doesn’t have to be that bad. With Explore in Google Sheets, you can ask questions—with words, not formulas—based on the data exported. Questions like: “What was the average time spent on a project?,” “What was the average cost of the new consignment? or “What is the total amount of time taken by an individual?”

Watch this video to find out how.

5314

Of your peers have already watched this video.

1:34 Minutes

The most insightful time you'll spend today!

How-to

How You Can Collaborate in Real Time to Build Pitch Proposals Overnight

It’s no secret that marketing and sales teams have a love-hate relationship. But there’s one thing that binds them like no other: The pressure of creating pitch decks overnight.

The struggle is real.

Be it for a new marketing campaign or a sales idea, pitch decks need multiple teams in different parts of the world to collaborate towards a single goal—and race with the clock.

That’s why, more often than not, marketing and sales teams watch deadlines fly past and risk losing potential customers, fail to beat the competition, and adversely impact revenue.

But with G Suite, marketing teams can now collaborate in real time, tweak proposals, add missing data, and write and edit the same file—all together.  In fact, 74 percent of all time spent in Docs, Sheets, and Slides is on collaborative work—that is, multiple people creating and editing content together. That means they can create pitch decks overnight.

With AI and machine learning powering, and protecting, the G Suite, today’s marketing and sales teams have a smarter, quicker and more secure platform to ensure their ideas get to market faster and also remain within the organization.

That’s probably why companies like Whirlpool, Nielsen, BBVA, and Broadcom are among the many who chose G Suite to move faster, better connect their teams, and advance their competitive edge.

 

Case Study

Why I Moved to the G Suite: Rentokil CIO

4448

Of your peers have already read this article.

2:13 Minutes

The most insightful time you'll spend today!

Rentokil Initial's CIO says, for senior management, G Suite has saved roughly 54 hours of the senior management’s time a week - that’s over 2,000 hours a year. It also saved millions of pounds on IT maintenance and several hundred thousand pounds by cutting the time spent on administrative tasks. Here's how.

Whether it’s getting rid of pests, cleaning up a crime scene or tending to office plants, Rentokil Initial is a service business whose primary aim is to offer customers the best possible standard. This can only be achieved if teams work closely together, sharing expertise and ideas and communicating constantly.

We used to have 180 email domains and 40 mail systems in place, so finding contact details and responding quickly to colleagues was a challenge. To tackle this, in 2009, we moved 0 business users, including our ‘on the road’ service technicians and salespeople onto a single communications platform, G Suite.

Since switching to G Suite, we’ve saved millions of pounds (£) on IT maintenance and several hundred thousand pounds by cutting the time spent on administrative tasks through using tools such as Google Docs, Sites and Forms. For senior management, Google Hangouts Meet has also proved its worth, saving roughly 54 hours of the senior management’s time a week – that’s over 2,000 hours a year. In addition to maximizing productivity, online sharing through G Suite products has enabled us to spread knowledge and ideas organically across countries and divisions.

Individual teams have fully embraced the opportunity to share knowledge, using the group intranet, powered by Google Sites, to post training videos and access technical images. But it’s not all about official documents and meetings: online sharing is helping us to become a more personal, sociable organization, which is important for staff retention and working culture. Colleagues use our intranet to share personal achievements, from sleeping on the streets for a homeless charity to boxing in international championships, giving a true flavor of the diversity within the company.

Employees at all levels are embracing G Suite to connect with colleagues. For example, our UK Managing Director uses Google+ to post updates and pictures of his ‘road trips’ across the UK and his encounters with colleagues, from the CFO to our longest standing pest control technicians, providing new insight into his role in the business. The ability to connect directly with our executives and create communities amongst our new employees is radically changing and modernizing the culture of our company.

All in all, we’ve been amazed by the journey which G Suite has taken us on, connecting our teams no matter where they are and no matter what they’re doing and making a difference in almost every corner of our business. Thanks to Google we see ourselves as better connected, able to offer a better service to customers and more competitive on a global scale.

Case Study

How Kisan Network is Connecting Over 30,000 Farmers to Help them Reap Over 10% More Profits from Their Crops

5712

Of your peers have already read this article.

5:33 Minutes

The most insightful time you'll spend today!

The 30,000-plus Indian farmers in the Kisan Network control their entire crop-selling processes through online marketing, earning at least 10 percent more profits than before. Here's how.

For many people, an Ivy League education is a promise of a better future. But Aditya Agarwalla, who studied computer science at Princeton, didn’t want to limit that future to just himself. He wanted to share his good fortune and create a positive social impact in his home country of India.

When Agarwalla discovered that small farmers didn’t have ways to demand fair prices owed to them for their crops, he knew he’d found his mission. His Princeton thesis project was the basis for a solution: Kisan Network, an online marketplace that connects farmers directly to buyers for produce, eliminating middlemen and increasing farmers’ profits.

Taking a leave from Princeton, Agarwalla returned to Delhi and launched Kisan Network with his father in 2015. Agarwalla and his 70 employees—software developers as well as field employees who consult with farmers throughout India—use G Suite to record crop information from farmers, share ideas for improving Kisan Network’s Android app, and recruit new hires.

Bringing technology back to earth

“Switching to G Suite was seamless. Almost everyone is familiar with the functionality and design of it from their own personal Google accounts.” — Aditya Agarwalla, Founder, Kisan Network

Farmers in rural communities struggle to earn a living without access to information and technology. India’s independent farmers often engage in an outdated selling system involving middlemen who help set low prices that only benefit buyers. Agarwalla saw Kisan Network as a way to connect farmers directly to buyers, so that farmers could be paid fairly.

“We connect a farmer in a Northern Indian state to a buyer located in a Southern Indian state—a 1,500-mile spread,” says Agarwalla. Farmers benefit by doing business with a far broader range of produce buyers than they can reach on their own.

Talking to farmers and buyers across India demanded email and other business tools that could be accessed in a remote field, in Kisan Network’s offices just outside of Delhi, or while meeting job candidates in person. When Kisan Network started out with just four employees, Agarwalla used Microsoft Outlook for email.

“When you’re doing sales and marketing, it matters that you’re reaching out from an authorized company email address,” Agarwalla says. “It conveys a sense of professionalism and gives you validity.”

Adding email addresses with the kisannetwork.com wasn’t easy in Outlook, and once Agarwalla created the addresses, he’d still have to set up accounts and buy licenses for other productivity tools like Microsoft Word.

As Agarwalla started hiring more people, he realized that just about all of the candidates had Gmail addresses, which got him thinking about choosing G Suite for email and workplace collaboration. Since most people already knew their way around Gmail, Agarwalla wouldn’t have to teach them how to use the tools; plus, it was easier for him to manage.

“The ease of setup was important,” Agarwalla says. “Once you set up a new email address in Gmail—which only took a few minutes—that person instantly has access to everything you want them to use in G Suite. My employees needed only a single account for everything.”

Agarwalla liked the ease of creating Kisannetwork.com addresses with G Suite. Another deciding factor was that G Suite could easily integrate with other systems he and his employees used for software development and supply chain management. G Suite was also more affordable than Microsoft Office 365, finalizing Agarwalla’s decision to go with G Suite.

“Switching to G Suite was seamless,” says Agarwalla. “Almost everyone is familiar with the functionality and design of it from their own personal Google accounts.”

Filling the hiring pipeline

Agarwalla had big plans to reform the produce buying process—but he needed more people to make that vision a reality. Right out of the gate, G Suite helped streamline Kisan Network’s hiring process with secure, paper-free tools.

Every job candidate fills out a Google Form, which everyone in the hiring process can access online during interviews. Once candidates are hired, Kisan Network’s hiring team then creates email addresses for new employees through the G Suite admin console—a process that only takes a few minutes.

New hires can browse orientation materials that are shared in Docs and Sheets. The shared online documents help Kisan Network hire people quickly and get new workers up to speed on their roles.

Shrinking the distance between farms

“G Suite seamlessly flows into our everyday work, whether it’s sending emails, setting up meetings, or creating shared documents and presentations.” — Aditya Agarwalla, Founder, Kisan Network

Kisen employees travel all over India to meet with farmers, covering roughly 175,000 miles to date. “We have field presence in many rural regions,” says Agarwalla. “The employees are collecting information like land assessments when they meet farmers and explore new crops.”

Field supervisors log their deployment and destination details into Sheets for quick reference, and use Forms to record the data they collect, including photos of crops and their conditions. In rural India, home internet access is not as common as in cities, so the field supervisors access G Suite apps on their phones.

“They’re constantly working in very remote areas,” Agarwalla says. “Using G Suite on mobile devices is the only way they can do what they do.”

When field supervisors need to speak to colleagues in New Delhi about farmers and their crops, they use Hangouts Meet or Hangouts Chat. “Hangouts is a much better option than Skype for Business, as it works in a browser and can be set up directly from a Calendar event,” Agarwalla says.

Today, Kisan Network employees work across seven Indian states and more than 2,500 villages. The 30,000-plus farmers in the Kisan Network control their entire crop-selling processes through online marketing, earning at least 10 percent more profits than before.

“G Suite seamlessly flows into our everyday work,” says Agarwalla. “Whether it’s sending emails, setting up meetings, or creating shared documents and presentations, we heavily depend on G Suite for everything we do.”

More Relevant Stories for Your Company

How-to

7 Tricks No One Will Tell You to Work Smarter and Grow Your Business Faster

We’re dedicated to creating products that are helpful for our users, including those in a business setting. G Suite helps companies of all sizes transform how they work by encouraging people to focus on what really matters, whether that be fostering a culture of collaboration like Iron Mountain or reducing IT and

Blog

Celebrating Google Cloud and State of Wyoming’s Decade of Partnership!

When Wyoming became the first state to transition all its employees to Google Workspace ten years ago, everyone expected a million dollars in cost savings. What started as a move to save money and ease communication has turned into much more. While the cost savings continues to be significant, state efficiency skyrocketed, allowing

Research Reports

Why settle for the status quo?

Virtual meetings, remote collaboration, flexible hours: it’s becoming clear that these new ways of working are here to stay.  Business leaders, since the onset of COVID-19, have seen workplace transformation go from an almost theoretical long-term goal to an urgent priority. Employers and employees want more flexible ways of working, and delivering

Blog

Quick Recap on Google Cloud: Latest News, Launches, Updates, Events and More

Want to know the latest from Google Cloud? Find it here in one handy location. Check back regularly for our newest updates, announcements, resources, events, learning opportunities, and more.  Tip: Not sure where to find what you’re looking for on the Google Cloud blog? Start here: Google Cloud blog 101: Full list

SHOW MORE STORIES