Postingan

Menampilkan postingan dari Juni, 2019

Advanced in-app billing: handling alternative purchase flows

Gambar
Posted by Oscar Rodriguez, Developer Advocate When designing and developing an app or game, at some point you may ask yourself if you want to monetize it. If you choose to do so by selling products via Google Play, you will most likely have a store screen that shows available items for sale, and use the Google Play Billing Library to display dialogs that allow your users to complete their purchase. While there is a more detailed explanation in the documentation and in the Billing Library TrivialDrive samples , the general flow is as follows: Call the launchBillingFlow() method from the UI thread to launch the Google Play purchase dialog. If the purchase was successful, Google Play calls the onPurchasesUpdated() method to deliver the result of the purchase operation. If your app has a server, we strongly recommend that you verify the purchase from your server by using the Subscriptions and In-App Purchases API . Acknowledge the purchase either with consumeAsync() for consumable it...

Moving Android Studio and Android Emulator to 64-bit versions

Gambar
Posted by Sam Lin, Product Manager, Android With Project Marble , the Android Studio team focused our efforts on making the fundamental features and flows of the Integrated Development Environment (IDE) rock-solid. Performance is an underlying tenant to delivering a high quality IDE. To this end, we are sharpening our product focus and we will only support 64-bit operating systems going forward. Using Android Studio with an 64-bit operating systems enables efficient access to memory for both the IDE and the Android Emulator, and overall leads to a better development experience. While this change will not affect most Android Studio users, this change does have an impact if you use 32-bit versions of Microsoft ® Windows ® . To aid in this transition for those developers using 32-bit versions of Microsoft Windows, we want to give you details on the upcoming depreciation timeline plus steps to take to be ready for this upcoming change. Timeline To minimize the impact of this change towar...

Android Q Beta 4 and Final APIs!

Gambar
Posted by Dave Burke, VP of Engineering Last month at Google I/O we talked about what’s new for Android developers, from new features in Android Q to the latest in Kotlin and Jetpack . With Android Q, we highlighted three themes: innovation, security and privacy, and digital wellbeing. We want to help you take advantage of the latest new technology -- 5G, foldables, edge-to-edge screens, on-device machine learning, and more -- while making sure users' security, privacy, and wellbeing are always a top priority. We also talked about how we’re going increasingly Kotlin -first, and continuing to expand Jetpack with new libraries like CameraX , Jetpack Security and Jetpack Compose -- a modern reactive-style UI toolkit for Android that takes advantage of Kotlin. If you missed the livestream for the keynotes or tech sessions, make sure to check out the full playlist of Android and Play sessions . Today we’re releasing Beta 4 with the final Android Q APIs and official SDK -- the time is...

Indie Games Accelerator - Introducing class of 2019!

Gambar
Posted by Vineet Tanwar, Business Development Manager, Google Play In April we opened applications for the 2019 class of Indie Games Accelerator, a program to help top mobile game startups from emerging markets achieve their full potential on Google Play. We’re truly awed by the response we have received with over 1,700 applications from developers across 37 countries*. We continue to be impressed by the innovation and creativity of game developers everywhere. Now, it's time to introduce you to the developers selected for the class of 2019. Here they are: Congratulations to the selected participants and we look forward to meeting you in Singapore! Find out more about the program or express your interest in joining the next class of the Indie Games Accelerator . * The competition is open to developers from the following countries: Bangladesh, Brunei, Cambodia, India, Indonesia, Laos, Malaysia, Myanmar, Nepal, Pakistan, Philippines, Singapore, Sri Lanka, Thailand, Vietnam, Egypt, Jo...

Improved app quality and discovery on Google Play

Gambar
Posted by Kosuke Suzuki, Product Manager, Google Play Every month, more than 2 billion users from over 190 countries visit the Google Play Store to browse and discover new apps and games. As part of making Google Play a great discovery experience, we continue to increase our focus on quality. Over the coming weeks, we’ll be updating our featuring and ranking logic to further prioritize high quality apps and games with strong technical performance and engaging content. If you’re looking for ways to improve your app quality, below are three key areas to focus on. Along with these suggestions, we've highlighted several tools available in the Google Play Console to help you better understand user behavior, monitor technical performance, and deliver the best in-app experience for users. Remember, app quality will impact where and how prominently you're eligible to surface in the store, so always look to create the most compelling and delightful experience possible. Good in-app user ...

Google Play services and Firebase migrating to AndroidX

Gambar
Posted by Doug Stevenson, Developer Advocate Later this year, the Google Play services and Firebase SDKs will migrate from the Android Support libraries to androidx-packaged library artifacts. We are targeting this change for June/July of 2019 . This will not only make our SDKs better, but make it easier for you to use the latest Jetpack features in your app. If your app depends on any com.google.android.gms or com.google.firebase libraries, you should prepare for this migration. To quickly test your build with androidx -packaged library artifacts, add the following two lines to your gradle.properties file: android.useAndroidX=true android.enableJetifier=true If your build still works, then you're done! You will be ready to use the new Google Play services and Firebase SDKs when they arrive. If you experience any new build issues or want more information on this migration, visit the official Jetpack migration guide . We will communicate when the androidx migration ...