Showing posts with label lainnya. Show all posts
Showing posts with label lainnya. Show all posts

Saturday, October 27, 2018

Lowpan On Android Things

Posted past times Dave Smith, Developer Advocate for IoT

Creating robust connections betwixt IoT devices tin hold out difficult. WiFi as well as Bluetooth are ubiquitous as well as operate good inwards many scenarios, simply endure limitations when mightiness is constrained or large numbers of devices are required on a unmarried network. In answer to this, novel communications technologies bring arisen to address the mightiness as well as scalability requirements for IoT.

Low-power Wireless Personal Area Network (LoWPAN) technologies are specifically designed for peer-to-peer usage on constrained battery-powered devices. Devices on the same LoWPAN tin communicate amongst each other using familiar IP networking, allowing developers to purpose criterion application protocols similar HTTP as well as CoAP. The specific LoWPAN applied scientific discipline that nosotros are most excited virtually is Thread: a secure, fault-tolerant, low-power mesh-networking applied scientific discipline that is speedily becoming an manufacture standard.

Today nosotros are announcing API back upwardly for configuring as well as managing LoWPAN equally a business office of Android Things Developer Preview 6.1, including fantabulous networking back upwardly for Thread. By adding an 802.15.4 radio module to 1 of our developer kits, Android Things devices tin communicate straight amongst other peer devices on a Thread network. These types of low-power connectivity solutions enable Android Things devices to perform edge computing tasks, aggregating information locally from nearby devices to brand critical decisions without a constant connexion to cloud services. See the LoWPAN API guide for to a greater extent than details on edifice apps to create as well as bring together local mesh networks.

Getting Started

OpenThread makes getting started amongst LoWPAN on Android Things easy. Choose a supported radio platform, such equally the Nordic nRF52840, as well as download pre-built firmware to enable it equally a Network Co-Processor (NCP). Integrate the radio into Android Things using the LoWPAN NCP user driver. You tin also expand back upwardly to other radio hardware past times edifice your ain user drivers. See the LoWPAN user driver API guide for to a greater extent than details.

To larn started amongst DP6.1, purpose the Android Things Console to download organisation images as well as flash existing devices. Then download the LoWPAN sample app to endeavour it out for yourself! LoWPAN isn't the alone exciting matter happening inwards the latest release. See the release notes for the amount laid of fixes as well as updates included inwards DP6.1.

Feedback

Please post us your feedback past times filing bug reports as well as feature requests, equally good equally asking whatever questions on Stack Overflow. You tin also bring together Google's IoT Developers Community on Google+, a dandy resources to larn updates as well as hash out ideas. Also, nosotros bring our novel hackster.io community, where everyone tin part the amazing projects they bring built. We await frontwards to seeing what y'all create amongst Android Things!

Thursday, October 25, 2018

New Products At Ces Powered Yesteryear Android Things

By Venkat Rapaka, Director of Product Management, Google

The Android Things squad has been working closely alongside our partners to practise compelling, secure in addition to thoughtful IoT products. During the Consumer Electronics Show (CES) inward Las Vegas, a number of our OEM partners are announcing their showtime educate of products powered past times Android Things. These products are built on certified Android Things System-on-Modules (SoMs) from our silicon partners, practise goodness from regular characteristic in addition to safety updates from Google, in addition to convey the Google Assistant in addition to Google Cast seamlessly built in.

New voice-activated speakers powered past times Android Things are existence announced at CES, including the LG ThinQ WK7 in addition to iHome iGV1. Turnkey hardware solutions based on the Qualcomm SD212 Home Hub Platform, MediaTek MT8516 in addition to Rockchip RK3229 SoM are certified for the Assistant in addition to Cast, in addition to NXP i.MX 8M is coming soon. Three of our Original Design Manufacturer (ODM) partners, Tymphany, Goertek, in addition to Tonly, convey created total speaker reference designs based on these SoMs to farther bring down evolution toll in addition to time-to-market.

Today, nosotros likewise announced that the Google Assistant is coming to smart displays powered past times Android Things. These novel devices convey the Assistant in addition to Cast built in, in addition to alongside the added practise goodness of a affect screen, they tin laissez passer on the sack assist you lot encounter in addition to practise more. Smart displays from JBL, Lenovo, LG (all based on the Qualcomm SD624 Home Hub Platform) in addition to Sony (based on the MediaTek MT8173 SoM) volition move available subsequently this year.

Of course, Android Things is designed to back upward a broad diversity of devices beyond speakers in addition to smart displays. Prototype demos tin laissez passer on the sack move establish inward the NXP booth, such equally HandBot, DrawBot, 3D printer, in addition to AI artwork T-shirts.

Starting tomorrow, you lot tin laissez passer on the sack see the Google Assistant Playground (booth CP-21) at CES to thought novel products, chipsets, in addition to reference designs past times our partners. In addition, these devices are likewise available for display inward other companionship spaces throughout the conference, including Lenovo, LG, JBL, Qualcomm, MediaTek, NXP, Rockchip, iHome, Goertek, in addition to Tymphany.

Android Things is currently inward Developer Preview, in addition to you lot tin laissez passer on the sack instruct started alongside the latest version DP6.1. You tin laissez passer on the sack purpose the Android Things Console to download arrangement images in addition to flash existing devices. Feedback tin laissez passer on the sack move given past times filing bug reports in addition to feature requests, equally good equally on Stack Overflow or our Google's IoT Developers Community. The Long Term Support liberate volition move available this year, alongside to a greater extent than details coming soon.

Faster Renewals For Examination Subscriptions

Testing your in-app subscriptions is a critical pace inwards ensuring you're offering your customers a high character service.

In social club to brand testing easier in addition to faster, starting on Feb 20th, nosotros are introducing shorter renewal intervals for examine purchases made amongst license-test accounts. Currently, subscriptions yesteryear license-test accounts renew daily. The novel changes volition permit you lot to examine an entire subscription cycle, including half-dozen renewals, inwards nether an hour. We volition likewise endure shortening the testing fourth dimension intervals of features such equally grace flow in addition to trouble organisation human relationship hold.

Please endure aware that these changes are coming then you lot tin update your testing flows accordingly prior to the change. Also annotation that existing examine subscriptions yet active on Feb 20, 2018 volition automatically endure canceled at that time.

Renewal times

Renewal times volition vary based on the subscription period:

Subscription period Test subscription period
1 calendar week 5 minutes
1 calendar month 5 minutes
3 calendar month 10 minutes
6 calendar month 15 minutes
1 yr 30 minutes

Time intervals of the next features volition likewise endure shortened for examine subscriptions:

Feature Test period
Free case 3 minutes
Introductory toll flow Same equally examine subscription flow
Grace flow (both three in addition to vii day) 5 minutes
Account concur 10 minutes

Note: These times are approximate; you lot may encounter but about modest variations inwards the precise fourth dimension of an event. To compensate for variation, telephone telephone the Google Play Developer API to sentiment electrical flow condition afterwards every subscription expiration date.

Renewal limit

Due to the increase inwards renewal frequency, the issue of renewals is express to half-dozen regular renewals (not including intro price/free trial). After half-dozen renewals, the subscription volition endure automatically canceled.

Examples

Here are several examples of how the novel renewal times are applied.

Free trial

Grace period

Account hold

Don't forget to depository fiscal establishment stand upwards for the Testing In-app Billing page for to a greater extent than details on testing your subscriptions. If you lot yet bring questions, orbit out through the comments or transportation your inquiry on Stackoverflow using the tag google-play.

Tuesday, October 23, 2018

How Nosotros Fought Bad Apps As Well As Malicious Developers Inwards 2017

Posted past times Andrew Ahn, Product Manager, Google Play

Apps convey devices to life -- letting yous volume a ride instantly, connect too percentage memories amongst friends, survive alerted nearly electrical flow events, play games amongst someone across the globe, too acquire move done inwards the constituent or on the road. Google Play is committed to providing a prophylactic sense for billions of Android users to uncovering too uncovering such apps. Over the years, this commitment has made Google Play a to a greater extent than trusted too safer place. Last twelvemonth we've to a greater extent than than halved the probability of a user installing a bad app, protecting people too their devices from harm's way, too making Google Play a to a greater extent than challenging house for those who seek to abuse the app ecosystem for their ain gain.

In 2017, nosotros took downwards to a greater extent than than 700,000 apps that violated the Google Play policies, 70% to a greater extent than than the apps taken downwards inwards 2016. Not alone did nosotros take away to a greater extent than bad apps, nosotros were able to position too activity against them earlier. In fact, 99% of apps amongst abusive contents were identified too rejected before anyone could install them. This was possible through meaning improvements inwards our mightiness to uncovering abuse - such equally impersonation, inappropriate content, or malware - through novel motorcar learning models too techniques.

We've also developed novel detection models too techniques that tin position repeat offenders too abusive developer networks at scale. This resulted inwards taking downwards of 100,000 bad developers inwards 2017, too made it to a greater extent than hard for bad actors to create novel accounts too displace to position out yet to a greater extent than or less other fix of bad apps.

Here are a few examples of bad apps nosotros took activity against inwards 2017:

Copycats

Attempting to deceive users past times impersonating famous apps is 1 of the most mutual violations. Famous titles acquire a lot of search traffic for item keywords, then the bad actors attempt to amass installs leveraging such traffic. They produce this past times trying to sneak inwards impersonating apps to the Play Store through deceptive methods such equally using confusable unicode characters or hiding impersonating app icons inwards a dissimilar locale. In 2017, nosotros took downwards to a greater extent than than a quarter of a 1000000 of impersonating apps.

Inappropriate content

We don't allow apps that comprise or promote inappropriate content, such equally pornography, extreme violence, hate, too illegal activities. The improved motorcar learning models sift through massive amounts of incoming app submissions too flag them for potential violations, aiding the human reviewers inwards effectively detecting too enforcing on the problematic apps. Tens of thousands of apps amongst inappropriate content were taken downwards concluding twelvemonth equally a termination of such improved detection methods.

Potentially Harmful Applications (PHAs)

PHAs are a type of malware that tin terms people or their devices -- e.g., apps that bear SMS fraud, deed equally trojans, or phishing user's information. While pocket-size inwards volume, PHAs pose a threat to Android users too nosotros invest heavily inwards keeping them out of the Play Store. Finding these bad apps is non-trivial equally the malicious developers become the extra mile to brand their app await equally legitimate equally possible, precisely amongst the launch of Google Play Protect inwards 2017, the average annual PHA installs rates on Google Play was reduced past times fifty percentage twelvemonth over year.

Despite the novel too enhanced detection capabilities that led to a record-high takedowns of bad apps too malicious developers, nosotros know a few nevertheless grapple to evade too play a joke on our layers of defense. We create got these extremely seriously, too volition conk along to nowadays our capabilities to improve uncovering too protect against abusive apps too the malicious actors behind them. We are committed to brand Google Play the most trusted too prophylactic app shop inwards the world.

How useful did yous uncovering this blogpost?

Thursday, October 18, 2018

Time To Upgrade From Gcm To Fcm

Time To Upgrade From Gcm To Fcm

Originally posted yesteryear Jen Person on the Firebase Blog.

In 2016, nosotros unveiled Firebase Cloud Messaging (FCM) every bit the side yesteryear side development of Google Cloud Messaging (GCM). Since then, we've been working difficult to brand Firebase Cloud Messaging fifty-fifty to a greater extent than powerful than its predecessor. Like GCM, Firebase Cloud Messaging allows you lot to shipping notifications in addition to information messages reliably to iOS, Android, in addition to the Web at no cost. In addition, FCM includes a host of novel features, such every bit an intuitive notifications interface inwards the Firebase console, amend reporting, in addition to native integrations amongst other Firebase products. With FCM, you lot tin bathroom target in addition to evidence notifications to re-engage your users amongst greater repose in addition to efficiency.

We're excited to devote to a greater extent than fourth dimension in addition to attending to improving FCM. That's why today we're announcing that all developers volition request to upgrade to FCM inside a year. The GCM server in addition to customer APIs lead hold been deprecated in addition to volition hold out removed every bit presently every bit Apr 11th, 2019. We recommend you lot upgrade sooner rather than afterwards hence you lot tin bathroom starting fourth dimension taking payoff of the novel features we're edifice inwards FCM correct away!


To assistance you lot through the upgrade, we've created a step-by-step migration guide in addition to answered a few of the most mutual questions you'll in all probability lead hold below.

What else is novel inwards FCM?

Once you lot upgrade, you'll hold out able to usage all of the novel features in addition to functionality available inwards FCM, similar platform overrides in addition to topic combinations. You'll likewise hold out able to shipping notifications direct from the Firebase console! What's more, FCM integrates seamlessly amongst other Firebase products similar A/B Testing in addition to Predictions.

Want to evidence unlike messages to run across which ane drives to a greater extent than conversions? You tin bathroom usage FCM amongst A/B Testing to run experiments to optimize your notifications. Want to engage users who are probable to churn or pass coin inwards your app? You tin bathroom usage FCM amongst Predictions to target notifications to users based on their predicted behavior.

These are approximately of the awesome features you'll lead hold at your fingertips amongst FCM. In the future, we'll hold out adding many more!

Will I all the same hold out able to shipping messages to my existing users?

If you lot lead hold projects that are all the same using the GCM APIs, you lot volition request to update your customer in addition to server code to usage FCM earlier Apr 11, 2019. But balance assured, your existing GCM tokens volition croak on to piece of job amongst FCM hence you lot won't lose the mightiness to shipping messages to your existing users.

How practice I upgrade?

The total procedure is outlined inwards our migration guide, or if you lot prefer video content, you lot tin bathroom likewise banking concern represent out this Firecast for details.

On a high level, upgrading consists of iii principal parts: console-side, app-side, in addition to server-side.

  • In the Firebase console, you'll request to practice a novel Firebase projection using your app's existing Cloud Project ID.
  • In your app, you'll request to brand approximately code changes. The amount of changes volition depend on what features of GCM you lot currently use, such every bit topic subscriptions in addition to token generation.
  • On the server side, you'll request to alter the server endpoint from GCM to FCM.

Keep inwards heed that you lot don't lead hold to consummate all iii parts of the procedure inwards ane sitting - you lot tin bathroom lead hold it at your ain pace. For example, you lot tin bathroom select to configure the console today in addition to piece of job on the app code approximately other time. You're likewise gratis to update your app's code correct now, in addition to tackle the server-side requirements later.

What happens to my users who don't update their apps?

As long every bit users lead hold GCM logic inwards their apps, they volition all the same have messages. FCM is backwards compatible amongst GCM, hence fifty-fifty if you lot don't update your server endpoint now, you lot tin bathroom all the same update your app's logic, in addition to vice versa.

What information volition Firebase collect in addition to use? I'm concerned well-nigh privacy.

Please run across the Firebase terms in addition to the Firebase Privacy in addition to Security Policy. You tin bathroom disable Google Analytics for Firebase to trim back the amount of information that is collected, exactly maintain inwards heed this volition likewise disable approximately FCM features.

What if I all the same lead hold questions?

We're hither to assistance you lot through the upgrade process. Check out this nifty FAQ page every bit a start. We likewise encourage you lot to post service your questions on StackOverflow. Or, experience gratis to arrive at out to Firebase back upwards through whatsoever of these means.

To salve you lot clicking time, hither are approximately of the links that are likewise worth a read. Start amongst the upgrade guide, in addition to and then banking concern represent out the other links to uncovering out more.

What if I already migrated?

Awesome! How'd it go? Tweet me at @ThatJenPerson to enjoin me what went good in addition to what didn't. Sharing your experience helps us brand improvements!

We await frontwards to welcoming you lot to FCM, the side yesteryear side development of GCM!

Thursday, October 11, 2018

Android Things Customer Library For Google Cloud Iot Core

Posted past times Wayne Piekarski, Developer Advocate for IoT +WaynePiekarski @WaynePiekarski

We're releasing a customer library to arrive tardily to utilization Google Cloud IoT Core from Android Things devices. With exactly a few lines of code, you lot tin dismiss easily connect to the IoT Core MQTT bridge, authenticate the device, pose out device telemetry as well as state, subscribe to configuration changes, as well as own got errors as well as network outages.

What is Cloud IoT Core?

Cloud IoT Core is a fully managed service on Google Cloud Platform that allows you lot to easily as well as securely connect, manage, as well as ingest information from millions of globally dispersed devices. Cloud IoT Core, inwards combination alongside other services which brand upwards Google's Cloud IoT platform, provides a consummate solution for collecting, processing, analyzing, as well as visualizing IoT information inwards existent time, to back upwards improved operational efficiency, compliance, or revenue management. Android Things is designed to back upwards everything from collecting telemetry information to powerful figurer vision, good processing, as well as machine learning applications, all on device, as well as using Cloud IoT Core, force your information into Google Cloud Platform for farther analysis.

Cloud IoT Core customer library

The Cloud IoT Core customer library was designed to enable Android Things developers to acquire started alongside exactly a few lines of code. The customer library handles the networking, threading, as well as message handling, implementing best practices for authentication, security, mistake handling, as well as offline operation.

Cloud IoT Core maintains a device registry that keeps rails of approved devices, as well as each device uses a world key to authenticate alongside the server. Android Things provides many features to back upwards secure IoT applications, including a hardware-backed Android Keystore that ensures cryptographic key cloth is protected. The customer library supports both RSA as well as ECC keys, as well as implements the generation of JSON Web Tokens (JWTs) for authentication alongside Cloud IoT Core.

Once the connectedness is established, devices tin dismiss pose out their telemetry information to ane or to a greater extent than buckets inwards the telemetry topic, equally good equally study their internal nation to a split upwards device nation topic. The device nation is intended to shop information such equally software versions or the number of working sensors. The telemetry messages are for all other information from the device, such equally actual sensor measurements. Devices tin dismiss likewise subscribe to configuration changes published from Cloud IoT Core.

Because IoT devices operate inwards the existent Blue Planet alongside miserable wireless conditions, the customer library provides extensive back upwards for treatment errors, as well as for caching as well as retransmitting events later. For developers requiring custom offline behavior, the library's queue is configurable as well as fifty-fifty replaceable. This provides detailed command over which events to relieve as well as the companionship inwards which they are sent when dorsum online.

Device provisioning as well as authentication alongside Android Things

The Cloud IoT Core customer library is utilization of our overall vision for device provisioning as well as authentication alongside Android Things. To larn to a greater extent than nearly this, sentry the video of our presentation from Google I/O 2018:

Sample code

Getting started alongside the Cloud IoT Core customer library is simple. You tin dismiss only add together the next to the build.gradle file inwards your Android Things project:

implementation 'com.google.android.things:cloud-iot-core:1.0.0' 

The library is likewise available equally opened upwards source on GitHub if you lot prefer to construct it yourself. We likewise accept a sample that shows how to implement a sensor hub on Android Things, collecting sensor information from connected sensors as well as publishing them to a Google Cloud IoT Pub/Sub topic.

It is tardily to inaugural of all using the customer library inwards your ain code. The next Kotlin lawsuit demonstrates how to do a novel configuration as well as customer based on your project.

var configuration = IotCoreConfiguration.Builder().                          .setProjectId("my-gcp-project")                          .setRegistry("my-device-registry", "us-central1")                          .setDeviceId("my-device-id")                          .setKeyPair(keyPairObject)                          .build()  var iotCoreClient = IotCoreClient.Builder()               .setIotCoreConfiguration(configuration)               .setOnConfigurationListener(onConfigurationListener)               .setConnectionCallback(connectionCallback)               .build()  iotCoreClient.connect() 

Next, you lot tin dismiss pose out telemetry information or device state, using the next Kotlin examples.

private fun publishTelemetry(temperature: Float, humidity: Float) {     // payload is an arbitrary, application-specific array of bytes     val examplePayload = """{         |"temperature" : $temperature,         |"humidity": $humidity         |}""".trimMargin().toByteArray()     val number = TelemetryEvent(examplePayload, topicSubpath, TelemetryEvent.QOS_AT_LEAST_ONCE)     iotCoreClient.publishTelemetry(event) }  someone fun publishDeviceState(telemetryFrequency: Int, enabledSensors: Array<String>) {     // payload is an arbitrary, application-specific array of bytes     val examplePayload = """{         |"telemetryFrequency": $telemetryFrequency,         |"enabledSensors": ${enabledSensors.contentToString()}         |}""".trimMargin().toByteArray()     iotCoreClient.publishDeviceState(examplePayload) } 

Additional resources

You tin dismiss larn to a greater extent than nearly edifice for Android Things at the developer site. For to a greater extent than information nearly getting started alongside Cloud IoT Core, catch the information page as well as documentation. Finally, bring together Google's IoT Developers Community on Google+ to allow us know what you're edifice alongside Android Things as well as Cloud IoT Core!

Tuesday, October 9, 2018

Improving Regain Of Character Apps In Addition To Games On The Play Store

Improving Regain Of Character Apps In Addition To Games On The Play Store

Posted yesteryear Paul Bankhead, Director, Product Management, Google Play

Every day, millions of people come upward to the Play Store to regain the best apps as well as games. As business office of our continued seek to deliver bully experiences to our users, nosotros regularly update the Play Store to help people regain as well as regain safe, high quality, as well as relevant apps as well as games.

Over the last year, we've been enhancing our search as well as regain algorithms' consideration of app character as well as user engagement. This agency that apps as well as games that accept high retentivity rates, depression crash rates, depression uninstalls, as well as many other factors, are recommended to a greater extent than often.

Recently, nosotros increased the importance of engagement as well as app character inwards our recommendation systems as well as users reacted favorably to the changes. With to a greater extent than high character titles beingness surfaced inwards the Play Store's recommendations, people are playing the games they download to a greater extent than often.

We believe that providing bully experiences for our users on Google Play volition encourage a healthier, growing Android ecosystem. We encourage all developers to review roughly of the suggestions inwards this post as well as on developers.android.com for guidance as well as best practices.