• Breaking News

    Tuesday, August 25, 2020

    Android Dev - We’re on the engineering team for Android Jetpack & Jetpack Compose. Ask us Anything! (starts August 27)

    Android Dev - We’re on the engineering team for Android Jetpack & Jetpack Compose. Ask us Anything! (starts August 27)


    We’re on the engineering team for Android Jetpack & Jetpack Compose. Ask us Anything! (starts August 27)

    Posted: 20 Aug 2020 10:15 AM PDT

    We're on the engineering team for Android Jetpack & Jetpack Compose, and we are excited to participate in another AMA on r/androiddev on Thursday, August 27!

    For our launch of the Android 11 Beta, we introduced #11WeeksOfAndroid, focusing on a new topic every week. We're excited to close out our #11WeeksOfAndroid with a focus on UI, and on Thursday we'll be hosting an AMA on the Android Jetpack and Jetpack Compose!

    Android Jetpack is our suite of libraries to help developers follow best practices, reduce boilerplate code, and write code that works consistently across Android versions and devices. We launched several new libraries like Hilt for Dependency Injection, App Startup, and updates to Paging, Navigation, CameraX, and more. Check out the Jetpack updates we made during #11WeeksOfAndroid here.

    Jetpack Compose is Android's modern toolkit for building native UI - declarative, composable, and more! We're currently in developer preview and excited to show you more next week, when we will focus the week on UI! Check out our overview video and try the tutorial to learn more.

    For this AMA, we want to answer your technical questions about Android Jetpack and Compose. No roadmaps :)

    We'll start answering questions on Thursday, August 27 at 12:00 PM PDT / 3:00 PM EDT (UTC 1900) and will continue until 1:20 PM PDT / 4:20 PM EDT.

    Feel free to submit your questions ahead of time. This thread will be used for both questions and answers. Please adhere to our community guidelines when participating in this conversation.

    Here are some topics we're looking forward to talking about, but feel free to ask anything!

    • Jetpack Compose
    • Hilt
    • Navigation
    • WorkManager
    • Paging
    • Permissions
    • App Startup
    • AppCompat
    • CameraX
    • ...and more!

    Participants from the Android team:

    • Adam Powell - Tech Lead on Jetpack Compose
    • Alan Viverette (/u/alanviverette) - Tech Lead on Android Jetpack
    • Alex Elias (/u/alex_elias) - Tech Lead on Jetpack Compose
    • Amanda Alexander - Product Manager on Jetpack and Jetpack Compose
    • Anna-Chiara Bellini - Product Manager on Jetpack Compose
    • Chris Banes (/u/chrisbanes) - Android Developer Relations
    • Chris Craik - Tech Lead on Paging, Benchmark
    • Clara Bayarri (/u/clarabayarri) - Tech Lead on Jetpack Compose
    • Dany Santiago (/u/danyaguacate) - Tech Lead on Hilt & Room
    • Diana Wong (/u/androiddiana) - Product Manager on Android Jetpack & App Compatibility
    • Doris Liu - (/u/doris4lt) Engineer on Jetpack Compose Animation
    • George Mount - Tech Lead on Jetpack Compose core
    • Ian Lake - Tech Lead on Navigation, Fragments, Lifecycle
    • Jamal Eason - Senior Product Manager, Android Studio
    • Jim Sproch - Engineer on Jetpack Compose
    • Karen Ng (/u/nkaren) - Director of Product, Jetpack and Compose
    • Leland Richardson (/u/lrichardson) - Jetpack Compose Compiler & Runtime
    • Nick Butcher (/u/nickbutcher) - Android Developer Relations
    • Nick Rout (/u/ricknout) - Material Design Developer Relations
    • Romain Guy (/u/romainguy) - Manager of the Android Toolkit/Jetpack team
    • Scott Swarthout - Product Manager on Jetpack Compose Motion Tools
    • Sergey Vasilinetc - Tech Lead on Arch Components
    • Siyamed Sinir (/u/siyamed) - Tech Lead on Android Toolkit & Compose
    • Stephan Linzer - Test
    • Sumir Kataria (/u/SumirKodes) - Tech Lead on Android Jetpack
    • Trevor McGuire (/u/teamcguire) - Engineer on CameraX
    • Vinit Modi - Product Manager on CameraX & Camera
    • Yigit Boyar (/u/yboyar) - Tech Lead on Android Jetpack
    submitted by /u/AndroidEngTeam
    [link] [comments]

    [UPDATE 2] Thank you, Reddit! I am a self-taught developer who ended up in #1 Top Chart! I have recently created an app “Hue Edge” for controlling Philips Hue via the Samsung Galaxy Edge panel.

    Posted: 25 Aug 2020 04:56 AM PDT

    [UPDATE 2] Thank you, Reddit! I am a self-taught developer who ended up in #1 Top Chart! I have recently created an app

    Hue Edge

    Galaxy Store (if you get an error, open Galaxy Store app and search "Hue" or "Hue Edge"): https://galaxy.store/HueEdge

    OP: https://www.reddit.com/r/androiddev/comments/hzjuu9/i_am_a_selftaught_developer_who_just_finished/

    UPDATE #1: https://www.reddit.com/r/androiddev/comments/i5d93x/update_i_am_a_selftaught_developer_who_just/

    Thank you, Reddit

    Thank you for making this possible! After my previous post here, it only took two days until my app "Hue Edge" has ended up as #1 at the Top Chart (same category) of the Samsung Galaxy App Store!

    To this day it has reached over 200 downloads! The app was met with very positive feedback and many interesting feature suggestions from you, the users. I could have not done this without your support and encouragement! I must admit that I have had my moments of despair and wanted to give up in the middle of developing the app as I have encountered problems above my skill-level. I am glad that I have kept learning and kept trying until I could solve those problems.

    I have worked countless hours, remade, refined, and polished every aspect of it until I was satisfied with the quality. My goal for my app is for it to be quick, clean, responsive, and bring joy to users when they interface with it. Today I am releasing an update to version 1.1, which brings a ton of improvements across the board.

    Update

    I have tried to pack in as many features, fixes, and optimizations as I could into this update. While perfection is very abstract, I think this update brings my app closer to it. I will keep listening to user feedback and try to find ways of making the user experience better.

    List of changes:

    • Reworked setup process with animated transitions
    • Many under-the-hood improvements in performance and stability
    • Improvements to handling quick successions of multiple buttons presses
    • New settings that let you adjust the number of levels for brightness, color and saturation
    • Pop-up tips for first-time users
    • Ability to long-tap the scenes to activate them and proceed to adjustment of the associated group
    • Error messages for cases when Wi-Fi is turned off or the Hue Bridge cannot be reached
    • Adjustments to the transparency of the ring animations on buttons making them more subtle
    • Adjustments to font and size of the text on the buttons
    • Fix the animation of pull-to-refresh to be visible until the refresh is complete
    • Capitalization of "Edge" in name, as it could be considered an accidental misspelling by some users

    Open-Source

    Since day one, I have decided to keep the app open source. If you want to create a similar app to control some other type of equipment, you are more than welcome. I will also gladly take any feedback on my code.

    Source: https://github.com/nils-trubkin/Hue-Edge

    Conclusion

    I am very thankful to the community for giving a new developer like me a chance. The amount of positive feedback and response made me very happy! I feel good knowing that my app brings value and joy to the people using it. As for other new developers out there, remember that anyone, if persistent enough, can create apps and reach their goals. Put in your time into work and do not give up when you encounter problems. If you fail, you can always try again and try a different approach!

    submitted by /u/Nils_Trubkin
    [link] [comments]

    Animating your Keyboard - New WindowInsets APIs for checking the keyboard (IME) visibility and size (Chris Banes)

    Posted: 25 Aug 2020 12:01 AM PDT

    Understanding the internals of Android Stack Architecture and how it relates to Linux

    Posted: 24 Aug 2020 01:17 PM PDT

    Video encoding gives inconsistent results but I'm really uneducated on the subject

    Posted: 25 Aug 2020 06:58 AM PDT

    Hey /r/androiddev!

    I've successfully encoded a video by generating images and assembling them.

    Unfortunately, I've discovered that the results are inconsistent between devices. Some users have weird looking videos, and from what I understand, the used codec makes a difference.

    My successful results use the OMX.qcom.video.encoder.avc codec, and I have bad rendering, like color glitches, with OMX.google.h264.encoder.

    When the failing one is used, I get this log, which I don't have with the other one:

    I/ACodec: [OMX.google.h264.encoder] cannot encode color aspects. Ignoring. 

    I've looked a bit into color format but I'm pretty much clueless, any hints?

    submitted by /u/frouge
    [link] [comments]

    How much RAM do you really need for AS?

    Posted: 25 Aug 2020 04:16 AM PDT

    I got a 32GB Ram Dell XPS which is more than enough for developing on Android and using Android Studio, a friend of mine has a MacBook with 8GB of RAM and struggles a lot with Android Studio, it freezes the computer, takes a lot of time to do builds etc.

    So I wondered how much would really need Android Studio to run well and do builds without blocking your computer. A simple answer I think it would be 16GB (a middle answer) but do you think there is a real "minimum" or a "ideal" configuration?

    submitted by /u/TechRedTuft
    [link] [comments]

    How is google-services.json working? Isnt it unsafe to compile these informations into an apk?

    Posted: 25 Aug 2020 12:02 AM PDT

    Hey,
    firebase provides the google-services.json file in order to use some services of firebase. I just wonder how this works? Are this sensitiv information?

    submitted by /u/actopozipc
    [link] [comments]

    Inspecting Android HTTP with a fake VPN

    Posted: 25 Aug 2020 05:41 AM PDT

    Publish work-in-progress app for job hunt?

    Posted: 25 Aug 2020 08:40 AM PDT

    I'm currently in the process of finding a new job and I have been working on Showcase app (shows a couple of different Techs that I want to show I have experience with) but the app is not fully Play store ready yet.

    Should I go ahead and publish the app even though it's not ready for the Play store ( still a couple of bugs and missing some functionality and features) or should I just keep it in the Github repo and mention it on my Resume?

    p.s. I already have a couple of other apps on the Play Store but they are a couple of years old.

    Thank you.

    submitted by /u/Pyrotemplar
    [link] [comments]

    AsyncTask, RxJava or something else for simple TCP client app?

    Posted: 25 Aug 2020 08:34 AM PDT

    This is my first android and first tcp (networking) app. I want to be able to connect to a server with an IP and port and then send a request on the interval that I can set (let's say every 2 seconds) and update GUI based on returned messages from the server. There seems to be so many approaches to this and I don't know which one to choose, I made some things in AsyncTask but people say it's outdated and bad, but RxJava seems so complicated for me.

    submitted by /u/GCapablanca
    [link] [comments]

    dependency-tree-diff: an intelligent diff tool for the output of Gradle's dependencies task

    Posted: 24 Aug 2020 09:10 AM PDT

    Font sizes are different on a per language bases with the same sp, does anyone know if there is approximation somewhere on what sp scaling should be for different languages?

    Posted: 25 Aug 2020 07:16 AM PDT

    Does this Matter if We're publishing an in-house developed App as an Organization? Do We need a business G Suite Account in this case?

    Posted: 25 Aug 2020 06:13 AM PDT

    Native library users, raísing minSdk affecting binary size?

    Posted: 25 Aug 2020 05:13 AM PDT

    Hi,

    my app depends on openCv and bunch of other unrelated native C libraries.

    I recently happily raised minSdk of the project from 21 to 23.

    And apk size increased by 20MB with that change alone

    Does this make sense to anyone?

    submitted by /u/ursusino
    [link] [comments]

    Anyone has a hint on how to stream video and audio from android camera/mic to php server and then to another Android device?

    Posted: 25 Aug 2020 03:58 AM PDT

    Anyone got experience with altbeacons?

    Posted: 25 Aug 2020 03:37 AM PDT

    So I'm currently trying to get a project working with altbeacons library. The premise is that a number of devices share their location using beacons and detect other devices using android location services to detect when the devices are too close. So far I've managed to get the second device to detect the first and implemented my own beacon parser. (i am trying to fit 1 byte in i1, 3 in i2 and 17 in i3 - very specific use case, im basically trying to cram 20 bytes of data in.) i can only assume I've done this correctly as i can count the number of times a beacon is detected by a second device and my app crashes when i change literally anything. However im stumped as to how i actually pull data from the packet? Also, is it possible to have the library send multiple packets in a burst? At present i have to listen, broadcast part 1, listen, broadcast part 2 and so on.

    Perhaps there is a better library for me?

    submitted by /u/gigajoules
    [link] [comments]

    Emulator 30.1.0 Canary

    Posted: 24 Aug 2020 10:06 PM PDT

    Unit Testing: From Spek 2 to JUnit 5

    Posted: 24 Aug 2020 10:22 AM PDT

    After copying file, AS can't recokonize views and arrayListOf function

    Posted: 25 Aug 2020 01:23 AM PDT

    No comments:

    Post a Comment