• Breaking News

    Monday, September 21, 2020

    Android Dev - Weekly "who's hiring" thread!

    Android Dev - Weekly "who's hiring" thread!


    Weekly "who's hiring" thread!

    Posted: 21 Sep 2020 05:44 AM PDT

    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]

    Weekly Questions Thread - September 21, 2020

    Posted: 21 Sep 2020 03:56 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    Android 11 Lifecycle Changes?

    Posted: 21 Sep 2020 01:51 AM PDT

    Have there been any noticeable lifecycle changes on Android 11 that anyone has noticed?

    My app works fine on pre-Android 11 OSes but on my Pixel 4 is crashing out everytime with the error:

    E/AndroidRuntime: FATAL EXCEPTION: main

    java.lang.IllegalStateException: Fragment host has been destroyed

    Is there anything under the hood that anyone else has noticed to just affect their app on Android 11?

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

    Safe Dot - iOS 14 feature for Android

    Posted: 21 Sep 2020 05:33 AM PDT

    Yes, The app that brings you IOS 14 feature of showing you an indication when a third party apps or services use your device camera or microphone.

    I tryed to recreate that for android. Currently, it shows a green (cam) & orange (mic) dot on the top right or left corner of your screen when an app uses your camera or microphone.

    Available on Google Play Store (Open Beta Testing) https://play.google.com/store/apps/details?id=com.aravi.dot

    If you use a samsung device and want to download a Samsung optimised version : https://galaxy.store/dotsafe

    Future plans :

    • Log of usage by apps
    • Notification alert
    • more...

    Feel free to report bugs or suggestions in the comments.

    Peace ✌️

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

    How to create a layout to display Images in a Grid like LinkedIn or facebook does in their Main Feed page? also want to know about a way to overlay a text view with a number in the last picture.

    Posted: 21 Sep 2020 05:02 AM PDT

    Understanding the internals of Glide Image Loading Library - Analyzing the Source Code

    Posted: 20 Sep 2020 11:03 AM PDT

    File Encryption on Android with Jetpack Security

    Posted: 20 Sep 2020 10:28 PM PDT

    Are there any free for commercial use alternatives to spotify's API that is used for playing full songs?

    Posted: 21 Sep 2020 07:04 AM PDT

    Changes to RemoteViews for Android 11

    Posted: 21 Sep 2020 02:16 AM PDT

    Has there been any changes to RemoteView in Android 11. In my existing apps for displaying larger images on notification, which works fine on <=Android 10 devices, earlier I was seeing an error printed that 'Removed too large RemoteViews'. But this has now been switched to a warning 'RemoteViews too large on this might be stripped in a future release'.
    Are any of these changes documented for Android 11.

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

    Discover what are the hidden forces that shape our digital decisions by peering into behavioral science.

    Posted: 21 Sep 2020 05:57 AM PDT

    Running Go Code on iOS and Android

    Posted: 20 Sep 2020 01:03 PM PDT

    JetMessenger: Facebook Messenger clone with Jetpack Compose (because why not)

    Posted: 20 Sep 2020 08:24 AM PDT

    What are the best practices to fork an open source Android app ?

    Posted: 21 Sep 2020 01:26 AM PDT

    To not have conflicts with source files if there is an update etc... Is it possible to overwrite a feature or design by adding code that don't touch the source files ?
    I looked at differents repo like Lawnchair for example and they have inside the project of launcher 3 their own folder with their source files, is this a good practice ?

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

    Building R8 from source

    Posted: 20 Sep 2020 12:23 PM PDT

    Has anyone tried building R8 from source? It doesn't look like R8 comes available as a standalone binary in the Android build tools (like D8 does) so I was trying to build it directly from the source and use it like so.

    The README states to build via the following command: tools/gradle.py d8 r8 However, the script breaks with this log. Not quite sure what I'm doing wrong here.

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

    Multi-Module App Instrumentation Test Approach

    Posted: 20 Sep 2020 03:44 PM PDT

    Nowadays, i have been working on a multi-module application and i have lots of questions. One of them is how to test intent of triggered activity. I wonder your opinions.

    We have an application which have these modules;

    Core Module

    App

    2 Feature : Onboarding, Login

    App implements all of them. All of feature modules implement core module and there is no communication between feature modules. Also, we can create navigation module for communication features which create an intent with reflection. I think everything seems okey so far.

    Let's consider our case;

    -When user see onboarding page, can click a button which redirect to Login with parameters.

    in Onboarding module, we can write an instrumentation test and we can detect intent of triggered. I was thinking like this way but i was wrong because LoginActivity class is not included in Onboarding Module so navigation module wouldn't create an intent to redirection to user.

    So i have an idea to solve this problem. We can collect all of instrumentation tests of feature modules to App with same package id so we can access to LoginActivity when we test onboarding module.

    Is it a correct way? What do you think ?

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

    Bug in play console security alerts for old APKs from the gingerbread to lollipop era affecting current versions?

    Posted: 20 Sep 2020 11:20 AM PDT

    So I released my app back in 2011 in the Gingerbread days. Since then I've made several releases, dropping support for older versions of android as time went on. This is what my list of retained APKs looks like in my release dashboard:

    Version 44 - API Level 23+ Target API 29 Released 2020 (This is my current version)

    Version 21 - API Level 15+ Target API 21 Released in 2014

    Version 16 - API Level 15+ Target API 19 Released in 2014

    Version 12 - API Level 8+ Target API 17 Released in 2013

    Most of my users are using my latest version, 44, which numbers in the many many thousands. The combined number of active users with the old versions, is less than 50. This is also a free app.

    A few months ago Google warned me that I was using an older implementation of the crypto libraries in the latest version and they would suspend my app if I don't address it. I fixed it, submitted the update, and the alert in the dashboard disappeared.

    Then a few weeks ago I got a message that my app has been removed from the store due to "software that contains security vulnerabilities and violates our Malicious Behavior policy." And they advise me to "Fix all of the security vulnerabilities listed in your Play Console that have past deadlines."

    I look at the alerts section of my play console and see only one warning:

    https://imgur.com/a/zFbc1A7

    So this is all sorts of messed up. The alert was created July 18th of 2020, but the alert is telling me to fix it by December 28th of 2019, last year. And not just that, it's complaining about APK versions that are 6+ years old, while my current APK version is fine. And rather than just deactivate the APK versions that the alert is for, they suspend my whole app, including the current APK version which is compliant!

    I feel due to the long history of my app I'm stuck in some edge case that the google ban bot. Frankly I'd be fine if Google deactivated the old APKs that have the issue, and keep my app in the store with the current version. Why am I expected to release updates to lollipop era apps when support for them is long gone, and am punished for it despite the latest version of my app being compliant for marshmallow and above???

    I contacted google support using the form but have never gotten a response, and in the meantime I am getting emails everyday from users asking why my app disappeared from the store. Anyone have advice on what else I can do? Anyone experience something similar?

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

    Best approach for popup menu

    Posted: 20 Sep 2020 01:12 PM PDT

    Best approach for popup menu

    Want to create this popup style in Android. Should I use a regular popup menu or use a dialog fragment? The popup essentially has sub-menus. Unsure on best approach for this one

    https://i.redd.it/gn5eo0t11do51.gif

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

    My fellow Canadian developers, W-8BEN seems MIA

    Posted: 20 Sep 2020 01:06 PM PDT

    Greetings everyone.

    I'm trying to set up to publish my first app. I was informed by Google Pay Support that I have to submit a W-8BEN form. Online help states it would appear for filling out and to be submitted after editing the US tax info portion stating that I'm not a US resident.

    I've done this and have answered no to both questions. Are you a US citizen/resident? Do you own any equipment...? I get to state my full name as it appears on my tax return and then state my name to sign that info is accurate. When I submit this it takes me back to the main screen in my payments info settings tab.

    Does anyone know how to enable the W-8BEN form to come up?

    Thank you.

    submitted by /u/187Bear
    [link] [comments]

    Tips & Monetization

    Posted: 20 Sep 2020 02:41 PM PDT

    Say I wanted to release a free app, to help save money. I didn't want to show ads as they'll likely be encouraging users to spend money. But I want the option of having a tip jar.

    It's difficult as the cost from google or apple is about $100 plus 30% (for all transactions through the store), it forces me to use ads until the ads pay for the entry fee. After which point I want to remove the ads and replace them with a tip jar as I really would rather the app be popular and be talked about rather than make a living from it.

    I don't know of any way to implement a tip jar that takes minimal fees, iOS is 30% + taxes, so that's out. Paypal is 3% + 30 cents + taxes, so that's out as I need the option to give $0.02 as a tip and I would only get $0.01. Is my only option to receiving tips that low to process credit card data??

    If there's anything I stated that's incorrect, feel free to teach me as I've no clue how to go against the norm.

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

    Can you accurately (say with 0.1m tolerance) determine the distance between two nearby phones running the same app?

    Posted: 20 Sep 2020 09:40 AM PDT

    I'm looking to make an app where u can chat with people who are nearby you in reality. Have checked out Nearby and it seems like a good option however I don't know if it has the travel distance of the communication built-in.

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

    Android & iOS App Developer in Kuwait

    Posted: 21 Sep 2020 02:47 AM PDT

    Jetpack Compose looks awesome (Coming from web developer )

    Posted: 20 Sep 2020 11:45 AM PDT

    I have a lot of experience in web development and I been looking at learning Android developer, but I am convince that Jetpack Compose is definitely a good step in the right direction. Does anyone thinks this is one those libraries that Google will depreciate quickly and move on to something else?

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

    Lower ad eCPM since 13th September, anyone else?

    Posted: 20 Sep 2020 10:41 AM PDT

    Big drop in eCPM from 12 to 13th Sept that has never recovered, anyone else share same data?

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

    No comments:

    Post a Comment