• Breaking News

    Friday, January 10, 2020

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 10 Jan 2020 04:40 AM PST

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    First commits of ConstraintLayout in AOSP Jetpack Compose repo

    Posted: 10 Jan 2020 12:17 AM PST

    Here's a merged commit for ConstraintLayout in Jetpack Compose. You can see an example usage here. It looks like they separated out declaring the children (which you do in the trailing lamda) from declaring the constraints (which you do as part of the ConstraintSet parameter to the ConstraintLayout composable function). They use the Tag modifier to link them together. My understanding is that the tag plays the same role as IDs did for referring to other views in the ConstraintLayout XML.

    Of course - this is all very early and a lot could change. And of course a lot of stuff is missing (most notably, animations).

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

    New: List of KTX extensions

    Posted: 10 Jan 2020 05:57 AM PST

    Is there a way for developers to programmatically avoid triggering Huawei's HiTouch without foregoing the entire idea of having two fingers on the screen at the same time?

    Posted: 09 Jan 2020 10:43 PM PST

    Flutter and Android docker images with support for emulators, VNC, Fastlane and more.

    Posted: 10 Jan 2020 04:54 AM PST

    Hi,
    I have published docker images for android and flutter.

    The docker images contains sdks and also tools that will help you:
    * automate code review, code style review, execute tests and generate report and also html report.
    * docker images also has support for android emulators even on device without KVM.
    * support for VNC, FTP, QR code generation and more.

    Android images: https://hub.docker.com/repository/docker/bitsydarel/android
    Flutter images: https://hub.docker.com/repository/docker/bitsydarel/flutter-ci

    Docker allow you to build and run software without compromizing your host computer.

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

    Emulator 29.3.5 Canary

    Posted: 10 Jan 2020 08:27 AM PST

    Companion object invoke operator overloading for default constructor argument in generic classes - A real world case in a coroutine test rule implementation

    Posted: 10 Jan 2020 06:55 AM PST

    Modern features to consider for your Android app

    Posted: 10 Jan 2020 06:17 AM PST

    Is there any way to transfer google play developer earnings to google play balance to buy apps and games?

    Posted: 10 Jan 2020 08:42 AM PST

    I published a paid version game and I got some decent amount from some orders. Can I use that money to buy a app or game from play store?

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

    Hy i have a question about ironsource advertising compaign, i've published my game and i want to promote it using ironsource . Is there anyone here who used ironsource before and what is your opinions about it. thanks

    Posted: 10 Jan 2020 08:23 AM PST

    Update not live yet, a week after submission - anyone else?

    Posted: 09 Jan 2020 09:01 PM PST

    Hey all - is this happening to anyone else? The update I published after new year's has not gone live yet.

    I usually receive the "update is live" message within 24 hours.

    For reference, there were only a couple of crash fixes in the new update so not sure why this would happen. The app has been out there for 5 years or so.

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

    What actions have you taken to comply with CCPA? Will you take any actions?

    Posted: 09 Jan 2020 11:28 PM PST

    Observing datastores with coroutines: Jetpack's Room now supports Flow in Kotlin

    Posted: 09 Jan 2020 09:34 AM PST

    Converting PyTorch float tensor to Android RGBA Bitmap with Kotlin

    Posted: 10 Jan 2020 02:43 AM PST

    Google Play remove my app because app upload user data to another app what I never use it in my code? Why?

    Posted: 09 Jan 2020 06:39 PM PST

    Google Play remove my app because app upload user data to https://apps.applozic.com without a prominent disclosure. but I never do that. And there is noy any code about https://apps.applozic.com. Why google play do this decision? do anyone know this app(https://apps.applozic.com)?

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

    Firebase specific question for importing a String

    Posted: 09 Jan 2020 11:57 PM PST

    Android JAVA create wifi hotspot and blocking or kicking user Inbox

    Posted: 09 Jan 2020 11:36 PM PST

    Hi! I am trying to develop an app that can create a hotspot with user defined SSID and password but there is no API available for that?

    Also i am trying to let the hotspot host to kick or block unwanted client from the hotspot through app, but I can't find the API for doing it also.

    Are there any solutions for doing these or maybe some dirty tricks?? Thank you very much for your help

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

    Migrating from Java to Kotlin

    Posted: 09 Jan 2020 10:54 PM PST

    I have a good grasp on android development with Java. And now I am starting to learn Kotlin. Though as a language Kotlin is easy to learn however when it comes to writing apps in Kotlin, it feels me very intimidating and new. Can you please guide me on how to start with Kotlin and other modern advancements in android like different design patterns, Jetpack. I see the caster.io and antonio leiva course. Is it worth to buy these courses to be updated?

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

    How many beta testers should we seek out?

    Posted: 09 Jan 2020 01:45 PM PST

    I am releasing an app and am looking at the 'beta testing' process as more of a marketing approach.... it gives us a chance to get lots of early users and create some buzz before launching publicly. That being said, I'm wondering what the "right number" of testers are? Again, my interest here is moreso to build a critical mass so that when we launch the app, we already have some 'word of mouth' referrals we can get from the satisfied beta testers.

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

    Aspect Ration on Samsung devices

    Posted: 09 Jan 2020 01:40 PM PST

    Hello! All of my apps are targeting API 28 or API 29. Some of them are using "android:resizeableActivity true" and everything is fine. But on some of them I restricted that to false.

    Accoding to this https://developer.android.com/guide/practices/screens-distribution.html:

    "If you do not want your app or activity to run in multi-window mode, set android:resizeableActivity false. In this case, the app always appears on the full screen. The system controls how this is done, depending on the Android OS level:

    • If your app targets Android 8.0 (API level 26) or higher, it fills the entire screen, according to its layout.
    • If your app targets Android 7.1 (API level 25) or lower, the system limits the size of the app's interface to a window with an aspect ratio of 16:9 (approximately 1.86). If the app runs on a device with a larger screen aspect ratio, the app appears in a 16:9 letterbox that leaves part of the screen unused."

    As I understand if my app targets API 26 and higher, even if I set android:resizeableActivity to false the app should be streched to the entire screen instead of letterboxed on devices with aspect ratio higher than 16:9 (for example 18:9 or 21:9). And on all devices I tested it is looking that it is true but on Samsung devices it is not. On Samsung I have to explicitly go into the phone's settings and enable the app to use full screen instead of auto. If not, the app is letterboxed to 16:9. Why this is happening despite the documentation? Is this Samsung's own stuff? To fix this I should use "<meta-data android:name="android.max\_aspect" android:value="2.4" />" for example but why should I do that only for Samsung? Every other manufacturer seems to follow the Google's rules. And if I make the value 2.4 for example what is the guarantee that in the future we will not see device with aspect 3.0 for example and my app is letterboxed again? How do you deal with those stuff? Usually my apps are supporting all orientations and are resizable but I have a few games that needs to be portrait and not resizable. But they can still fill the entire screen.

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

    Android AlarmManager Pause/Continue

    Posted: 09 Jan 2020 12:23 PM PST

    I want to make an application that reminds the user to drink water every hour. I want to send notifications every hour but I want to pause the alarmmanager (notification) at night time and resume/continue in the morning. How can I do this?

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

    Dark theme and trusted web activities now available in AndroidX Browser library

    Posted: 09 Jan 2020 04:05 PM PST

    No comments:

    Post a Comment