• Breaking News

    Thursday, January 23, 2020

    Android Dev - AndroidX Stable Releases for January

    Android Dev - AndroidX Stable Releases for January


    AndroidX Stable Releases for January

    Posted: 23 Jan 2020 06:04 AM PST

    Detecting cropped faces in images using the Fritz Pose Estimation API

    Posted: 23 Jan 2020 03:58 AM PST

    Androidx Biometric library code review

    Posted: 22 Jan 2020 01:35 PM PST

    How does a `state of the art` Android-CI setup look like?

    Posted: 23 Jan 2020 05:58 AM PST

    Hi there!

    My team isnt satisfied with our CI chain and we want to improve it. Right now it does wonderful things but is very unstable. What are we doing right now:

    • Build on the app with different flavours on push
    • Run unit tests on push
    • Build release apps daily and upload it to firebase app distribution for the testers
    • Build release apps every two weeks on sprint end and upload it to google play alpha
    • Promote to google play beta and production with different rollout percentages
    • Create screenshots for three device sizes in multiple languages on demand and daily as a test run
    • Test the release build upload daily

    Tools we are using:

    • GitLab CI configured via yaml
    • GitLab CI runner running on dedicated Mac Minis
    • Android Emulators
    • fastlane for screenshots and google play
    • multiple python scripts for copy and data manipulation tasks

    All in all this saves us tons of time and is a godsend. What frustates us, is that the system is pretty fragile and breaks on a regular basis. Reasons for this are often the runners or bugs and breaking changes with fastlane updates. Some of the latest issues:

    • Security checks after update to Mac OS catalina went unnoticed for a while since the MacMinis dont have monitors
    • fastlane update with breaking changes for a new google play api
    • incompatible fastlane versions due to multiple runners running on the macs. since they are used by three different teams

    We are looking for solutions which would prevent some of these issues. Well a breaking update will always mean that we have to adapt. but we want to be in control when we update and dont have to be forced by a different team which decides to update versions without telling us.

    So far these ideas came to mind:

    • 1 machine equals 1 runner. dont share machines with different teams.
    • test if we can switch to virtual machines. We switched to macs for the android emulator but there is now a headlesss mode.
    • Docker. I experimented and could build our app inside a docker environment (mingc/android-build-box). But the build time did triple. Is this normal? Is docker an option for us?
    • Travis CI. I dont know nothing about this. a colleague said it would take away the burden to maintain the servers since this would be done for us.

    I hope to get some input how you are doing CI stuff these days and how stable your build chains are.

    Cheers!

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

    Android Emulator API 29 Image unstable / UI Freezes

    Posted: 23 Jan 2020 02:02 AM PST

    When running an app for longer than 5-20 minutes on a emulator device running a non-google-api x86-64 API 29 image, the app ui just freezes up while the activity / UI thread still runs in the background.

    To recreate make an empty android project, create a layout with a single textview and write a activity with a value animator which updates the textview contents with the current playtime.

    Let this run for 5-20 minutes while the activity is in the foreground and the app ui will freeze up while the activity / UI thread is still running in the background.

    Am i crazy or is anyone else also experiencing this strange behaviour?

    On images below API 29 this bug does not seem to happen.

    EDIT: After thorough testing this seems to only happen when running the app with the profiler on the specified emulator image, which indicates some memory leak or something in the profiler code of the API 29 image. Running the app without the profiler locally on the emulator seems to not result in the above stated behaviour.

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

    WorkManager 2.3.0 stable is now available !

    Posted: 22 Jan 2020 10:16 AM PST

    Here is the release notes.

    Key Features

    • Support for Worker progress.
    • Support for foreground Services.
    • Lot's of lint rules to enforce correctness in usage of WorkManager APIs.
    submitted by /u/tikurahul
    [link] [comments]

    Projects where there is no back or home button

    Posted: 23 Jan 2020 07:35 AM PST

    So I'm about to start working on a project thats a tablet in a kiosk (no back or home button), the android part talks to some embedded software in a chip somewhere in the hardware system.

    Does anybody have experience working on projects like these, any common headaches or advice?

    any discussion on it is welcome

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

    Best way to keep variable values across lifecycle of app?

    Posted: 23 Jan 2020 03:44 AM PST

    I'm trying to build an alarm clock app, I've got a Service running that continuously checks for whether or not it's time to ring an alarm, but I'm stuck on keeping the alarms that I've set between instances of the app.

    Whenever I load up the app all of the alarms I've set have been cleared.

    Would it be possible to use shared preferences (set in the onDestroy() method of my Service and retrieved in the onCreate of my main Activity) or would a sqlite db be a better option (not sure on how to implement this one)?

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

    Google I/O 2020 Puzzle

    Posted: 23 Jan 2020 07:28 AM PST

    Android launcher icon support for different languages

    Posted: 23 Jan 2020 06:43 AM PST

    To developers that have marketed and used ads to promote your app or game through social media, how long did you host the ads? 2 weeks? 1 month?

    Posted: 22 Jan 2020 04:20 PM PST

    I am releasing a game in a couple of months for mobile, and have commercials filmed. Curious to how long a typical ad cycle would be. I have 4 different ads and was thinking to feature each ad for one week over the course of a month to diversify. So pretty much one ad a week. Primarily platform we are interested in is Instagram as it tends to be a goldmine for hyper-casual.

    Thanks in advance - anything helps at this point.

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

    Can google play console disable delete my google account too?

    Posted: 23 Jan 2020 02:03 AM PST

    I have two suspended app in my play console and two other apps that are still available in the playstore. Will google delete my entire google account and gmail if my play console is disabled? Currently the play console account which I am using is also my primary google account and it is bugging me. Thank you

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

    How can I specify ad type in placements in Appodeal

    Posted: 23 Jan 2020 05:15 AM PST

    I'm trying to integrate Appodeal but I found the dashboard UI quite different from other ad networks.

    1. In Admob or Facebook Audeience network I usually have to choose if a placement is interstitial, banner or rewarded video when I create them.

    I don't see such an option in the Appodeal's placement dashboard.

    1. When I add FAN as network in appodeal, do I map line items to placements ?

    Thanks

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

    Android developer contract job in Germany

    Posted: 23 Jan 2020 04:26 AM PST

    I am planning/considering to move and live in Germany (Berlin or Munich undecided at the moment) for maybe 3-4 months maybe longer.

    Are there contract jobs available? And what would be the best way for me to find them?

    I am also considering applying for full time positions however I would feel guilty only working at a place for 3-4 months only to have them search for a replacement.

    Any advice would be greatly appreciated.

    Thank you!

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

    Speed up your Android Dynamic Features flow testing

    Posted: 23 Jan 2020 12:03 AM PST

    muxing second audio to video in .mp4

    Posted: 23 Jan 2020 03:17 AM PST

    So i was following this code which is very simple to follow and i successfully demuxed audio from video and video from audio. But now i want to mux another audio to an already present MP4 with audio and video. I tried

    Audioextractor.genVideoUsingMuxer(video2,originalVideo,-1,-1,true,false); But the problem is it is wiping the previously present originalVideo and just making MP4 file without ant video. How to use this to add another audio without wiping whatever was present before.

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

    Newbie dev: Catch any event on any part of the app

    Posted: 23 Jan 2020 03:11 AM PST

    I'm trying to show a message on screen if the device is left running without any input for a few minutes. I've created a service, with a timer running in it. I would like to be able to catch any input event (keypress, screen touch) on any part of the screen. That way, I can reset the timer whenever an action is made.

    Thank you

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

    Does anyone have problem like this with Googleplay IAP before? It seems the payment method in Philippines keeps getting declined, I have tried credit card on my side and it works.

    Posted: 23 Jan 2020 01:01 AM PST

    When to use Lifecycle Owner and Observer, and When to use LiveData and ViewModel

    Posted: 23 Jan 2020 12:03 AM PST

    Hey guys, I'm wondering what are the use cases of each combo and when should I use them when architecting my app?

    Is it possible to use them both?

    Thanks in advance.

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

    Android Studio 7.3 will be great ��

    Posted: 22 Jan 2020 11:26 AM PST

    How easy would it be for a beginner to modify a Play Store app apk?

    Posted: 23 Jan 2020 02:21 AM PST

    There is an app called Cold Turkey that blocks everything on your phone between 1 minute and 1 hour. I would like to modify it so that I can block my phone for longer than one hour. I have some basic programming experience (currently taking Programming 2 (object-oriented)).

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

    Demux audio and video from.mp4

    Posted: 22 Jan 2020 10:27 PM PST

    What's the best way to demux/ extract audio and video from mp4 file in android studio.

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

    Can I get a downloadable invoice from my app's income? (IAPs and Ads)

    Posted: 22 Jan 2020 12:58 PM PST

    Hi,

    Title.

    I have an app, it has a revenue. My accountant would like to see if there is any invoice which I got from Google about the income.

    I have income from IAPs, and revenue from AdMob.

    Thanks in advance.

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

    No comments:

    Post a Comment