• Breaking News

    Monday, December 7, 2020

    Android Dev - Weekly Who's Hiring Thread - December 07, 2020

    Android Dev - Weekly Who's Hiring Thread - December 07, 2020


    Weekly Who's Hiring Thread - December 07, 2020

    Posted: 07 Dec 2020 06:00 AM PST

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Android Jetpack Compose made Flappy Bird

    Posted: 07 Dec 2020 03:56 AM PST

    Overview of various animation libraries

    Posted: 07 Dec 2020 04:33 AM PST

    Should I Drop $1K in advertising?

    Posted: 07 Dec 2020 05:31 AM PST

    Overall my CTR and retention rate is quite high I tried using mobile action to brainstorm some keywords They haven't been really effective

    My game is currently rated at 4.8 5K installs (400 devices)

    Seems people are happy with the game but I can't ignite the organic downloads snowball

    Any suggestions?

    submitted by /u/No-Establishment4313
    [link] [comments]

    Building a Distributed Android Remote Testing Platform - An Attempt to Make Real GUI Testing Affordable & Comprehensive

    Posted: 07 Dec 2020 01:40 AM PST

    Espresso Testing with Hilt and MockWebServer

    Posted: 07 Dec 2020 07:00 AM PST

    Connecting to a Bluetooth A2DP Device from Android

    Posted: 06 Dec 2020 09:10 PM PST

    [D] Style Transfer in Android Applications with Fritz AI

    Posted: 07 Dec 2020 06:50 AM PST

    Neural style transfer is a technique used to generate images in the style of another image. A deeper dive into the theory of style transfer can found here. In this piece, we shall focus on applying style transfer in Android applications using Fritz AI.

    https://heartbeat.fritz.ai/style-transfer-in-android-applications-with-fritz-ai-9c8985b0915

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

    How to add dynamically a layout or elements from a layout to another layout?

    Posted: 07 Dec 2020 01:34 AM PST

    I have seen aps where a layout has only one button that says for example "Add step". When the button is pressed, some EditTexts, TextViews, Spinners, etc. appear for completing some data, as well as another button saying "Add step".

    My question is how is this done?

    If my question is not clear, then please let me know so I can give more details.

    Thank you!

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

    Updating very old versions of firebase

    Posted: 07 Dec 2020 05:19 AM PST

    I'm a junior dev, got assigned to a very old project that was adapted to android in 2014-2015.

    I need to update some versions of firebase in gradle file(like crashlytics) in order to firebase keep working.

    The actual version of firebase crashlytics in the app is 11.0.4, what's the chance that something in the app breaks if i update it to the 17.0.0 version? That's required by firebase in order to keep processing newer crash reports.

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

    Deploying private apps to API managed devices

    Posted: 07 Dec 2020 05:14 AM PST

    I'm deploying a private app to a collection of single use devices and I have a question about the Android Management API vs the Admin console. Am I right that they are not used in conjunction with each other? I like the API because of the QR code provisioning, and these devices don't need to be provisioned with a user account, however it would seem that the only way to deploy an app to managed devices using the API is through the play store. Is this correct?

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

    Creating an App "Sitemap" / Screen map in an automated way

    Posted: 07 Dec 2020 02:56 AM PST

    Hi,

    With big/complex apps it's very hard to get an overview about the app. (# screens and how they are connected)
    Creating a map of all screens with Mockups by designers will result always in outdated data.

    So I was wondering if there is sth out there that would traverse an app (e.g. with robots) and build up a kind of a navigation map. Basically screens (names or better screenshots) and connect them to a map.
    (Google Test lab is already doing screenshots with robots)

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

    Besides AIDE is there any other apps to create android apks?

    Posted: 07 Dec 2020 01:34 AM PST

    I know AIDE you can write code and create apk files. I was looking for something similar but with a mix of drag and drop editor and code editor. My 2 PC are down and while my business is up slot of people lost work so it's slow. I don't have money fix my PC's and want to develop on the device. I prefer a mix rather than straight code because of time constraints. I am guessing any good solution is a paid app which is fine by me.

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

    Is anyone else not able to pinch to zoom in Android studio 4.1?

    Posted: 07 Dec 2020 06:21 AM PST

    After upgrading to Android Studio 4.1 I noticed that the pinch to zoom functionality no longer worked.
    As of Android Studio 4.0.1 I could pinch to zoom on my computer to zoom into the text in the editor tabs where the code I'm working on is.

    Searches for this issue on Google yield results for multi-touch on Android phones.

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

    Best architecture for soft phone?

    Posted: 06 Dec 2020 07:31 PM PST

    Following rule 2 I would like to discuss what the best design would be for a softphone. I am using Avaya's Android SDK so I really only need to worry about the user interface experience. Call handling is done by Avaya.

    My soft phone has the following requirements:

    1. Should be able to recieve calls even if the application is currently closed.
    2. Handle multiple calls at the same time.
    3. Let the user do other stuff (like browsing the internet) during an active call.

    I have accomplished all of that with the following design:

    1. Run a sticky foreground service that handles any incoming calls
    2. Create a notification for each active call. The user can navigate trough calls by clicking on the notification. Even if the application is closed and deleted from recent apps the call still runs (and the notification is still shown) in the background. This lets users do other stuff while being on a call.
    3. To store the current state of every call and allow navigation between them I have done the following:
      1. Create a CallWrapper that keeps a reference to the call and keeps track of its state (time, mute, hold, speaker, etc...). All modifications to the call (like putting it on hold) are requested trough this interface. If you are familiar with React, this CallWrapper is the "single source of truth" for the state of a call, at least that is where the idea came from.
      2. Use the Singleton pattern to have a class in charge of managing all calls. It really is just a singleton with a dictionary that stores all current calls (stores their call wrapper).
      3. When the user clicks on the notification a CurrentCallActivity is called with a new intent that contains the ID for the call. This activity is single instance only so I have overwritten its onNewIntent method to update the UI accordingly for every call. All info is gathered from the Singleton mentioned in point 2.

    My application works, however I am wondering if this is the best way to do it. I personally like to see calls as really a foreground service and unlink them from the UI as much as possible. I think I have achieved this by using my Singleton call manager to store and handle all calls without any binding to a UI.

    My only worry is that it feels sketchy. I would expect that closing my app and deleting it from recent apps would release all resources, however the calls still keep running and my singleton is still alive which is exactly what I want but I never asked for.

    Thoughts?

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

    Google Associate Android Developer Certification?

    Posted: 06 Dec 2020 02:30 PM PST

    I'm sure many here have at least heard of it, if not completed it and got the little Android funko pop thing in the mail, but has anyone here completed the 2020 Kotlin version of the test? Much of the recommended documentation to study for the exam is still in Java and, while that's not necessarily a problem, it's still hindering my study. The Snackbar documentation is deprecated, for pete's sake.

    Does anyone have insight into the 2020 test? What is might contain or what I should prepare for? I'm concerned about Google distributing the test while their study guide is either inconsistent or just out of date.

    Thanks in advance.

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

    I published my first Android library that mimics Instagram's Poll and other small UI Features. Toast / Roast my code.

    Posted: 07 Dec 2020 08:09 AM PST

    Android System Design Interview Prep

    Posted: 07 Dec 2020 07:49 AM PST

    Hey, I'm planning to interview in 2021. As I ramp up, I want to get better at system design for Android. I found this article, https://medium.com/@lokeshcodes/cracking-the-facebook-android-engineer-interview-4dd1b356da86

    It was pretty helpful. Are there more sources like this? Most system design interview prep isn't mobile-specific. How does everyone here prepare for this portion?

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

    App Bundles with Firebase app distribution

    Posted: 07 Dec 2020 03:09 AM PST

    so currently we are exporting APK to the play store and we are using Firebase app distribution for our testing track but now we want to start using App bundles instead of APK but the issue here that Firebase app distribution does not support App bundles, I thought of deploying an apk for the testing track and then publish an App bundle for play store release, but I think there is a risk here since the app bundle is not tested and may contain undiscoverable issue, our options is to migrate the testing track to the internal app sharing in the play console, so I'm wondering if you guys faced this issue before and what are the options for this problem.

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

    App pro and normal version

    Posted: 07 Dec 2020 12:26 AM PST

    How to create normal and pro version of app? What could be the easier solution.

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

    How to read a text file in Android C#

    Posted: 07 Dec 2020 05:36 AM PST

    I wrote a code for reading a text file and setting a textview.Text value from my file each time I run my app and writing a new Bitcoin private key to my text file only the first time I run my app.

    It writes the Bitcoin private key the first time I run my app but it doesn't read my file each time I run my app.

    I want it to read the file and set textview.Text value the same as the file content.

    btn.Text = "New Wallet"; btn.Click += (sender, e) => { // Perform action on click

     //string _fileName = Path.Combine(, "bitcoinwallets.phoenixbtcwallet"); string rootPath = Android.App.Application.Context.GetExternalFilesDir(null).ToString(); var filePathDir = Path.Combine(rootPath, "PhoenixWallet/"); if (!File.Exists(filePathDir)) { Directory.CreateDirectory(filePathDir); } bitcoinPrivateKeysFile= filePathDir+"bitcoinwallets.phoenixbtcwallet"; string bitcoinprivateKeyItem; if(File.Exists( bitcoinPrivateKeysFile)) { StreamReader sr = File.OpenText(bitcoinPrivateKeysFile); while (!sr.EndOfStream ){ bitcoinprivateKeyItem=sr.ReadLine(); bitcoinprivKeys.Add(bitcoinprivateKeyItem); } bitcoinWalletAddressTextView.Text=sr.ReadToEnd(); //Console.WriteLine("File Exists"); sr.Close(); } else { Key bitcoinKey = new Key(); BitcoinSecret bitcoinsecret = new BitcoinSecret(bitcoinKey,network); StreamWriter sw; sw= File.CreateText(bitcoinPrivateKeysFile); sw.WriteLine(bitcoinsecret.PrivateKey.GetWif(network)); //bitcoinprivKeys.Add(bitcoinsecret.PrivateKey.GetWif(network).ToString()); //Console.WriteLine("File Does not Exist"); bitcoinprivateKeyItem= bitcoinsecret.PrivateKey.GetWif(network).ToString(); bitcoinWalletAddressTextView.Text=bitcoinprivateKeyItem.ToString(); sw.Close(); } 

    };

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

    Android Studio hangs when exiting (MacOS)

    Posted: 06 Dec 2020 12:42 PM PST

    90% of the times when I want to exit Android Studio, the app hangs and I need to force close. This happens on every later versions I tested, up to Arctic Fox Canary 2.

    Is there a fix for this problem? I've seen some posts suggesting that it is related to ADB.

    I'm not using any custom plugin.

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

    How to install android studio on external ssd in mac book pro?

    Posted: 06 Dec 2020 08:40 PM PST

    I recently purchased samsung T7 touch 512GB SSD for my macbook pro 2019. I want to install all emulator & android sdk into my external ssd. Can you guys help me out ? I am running out of space in my internal memory.

    I want the detailed steps since I am new into transferring file from internal memory to external. pLease help me out with the steps.

    submitted by /u/Downtown-Tomorrow
    [link] [comments]

    Does rewarded ads video of admob really pay for impressions? or only if someone click on the ad

    Posted: 06 Dec 2020 10:25 PM PST

    No comments:

    Post a Comment