• Breaking News

    Wednesday, October 21, 2020

    Android Dev - The US government has filed antitrust charges against Google

    Android Dev - The US government has filed antitrust charges against Google


    The US government has filed antitrust charges against Google

    Posted: 20 Oct 2020 09:40 PM PDT

    Check out my new pal :)

    Posted: 21 Oct 2020 01:08 AM PDT

    Android 11 and storage strategies

    Posted: 21 Oct 2020 04:54 AM PDT

    With Android 11 and it's compulsory restrictions on storage, I was trying to read the documents Google has released as guidance. However the roadmap seems weak at best - even though some flexibility seems to have been shown - on use of fopen() in native code etc.

    But these words are just an indication - there is no overtly obvious guarantee things will behave as the Google webpages seem to suggest. That is, it depends on interpretation and essentially every developer will have to do their own testing of the hazy API changes to establish what the reality of the changes is. And even that could change - roadmap has been fluid - which for something as basic as storage injects uncertainty.

    For now, one path we are exploring is to use "maxSdkVersion" set to 29 in build.gradle, so that apps are not downloaded by Android 11 users.

    And then use the requestLegacyExternalStorage flag set to true in AndroidManifest.xml to allow continuation of old behavior for Android 10 (API 29) at least, and set targetSdkVersion to 29 in build.gradle.

    The reason for limiting use to below Android 11 is because Android 11 changes behavior dramatically.

    Some of the transition suggests Google is giving is for developers to move the directory that the app saves audio recording etc to one of the "shared storage" places - which I assume means saving to Music. This will supposedly allow those files to be readable by File Manager etc and such apps.

    There is also an indication that requestLegacyExternalStorage set to true has some effect in Android 11 as well - allows for transitioning from old to new Music folder etc.

    But I havent seen actual working code provided by Google which accomplishes all these tasks - if the same research/testing/behavior is going to be done by thousands of developers, it makes sense for Google to shoulder some of that effort and provide pre-tested methods to do this stuff reliably. Otherwise there will be a lot repetition of effort.

    Another thing I am not too comfortable in gauging is just how popular Android 11 will become.

    I am half anticipating some resistance as some of the reduction in features and breaking down of compatibility between apps starts becoming known to users. Previously they have taken Google's word for it that everything is better on Android 11 - but when they use it the reality will become apparent.

    Anecdotally you do hear of users saying "I am never going to update to Android 11", but how prevalent is that - will it mean just addressing below Android 11 market could be a viable gameplan for developers.

    Because we have little interest in spending the effort to update many of our more complex apps to comply with an android roadmap that is unclear whether it will change.

    So are there any guesses how popular Android 11 is expected to get ?

    In one of the Google medium posts they say use of SAF will not be restricted. If the new iteration of SAF only limits by preventing writing to top folder - how is this preventing malware.

    Wouldnt the whole exercise have been simpler if Google had just stopped the old APIs from working on top level folder.

    Why all this complicated mess ?

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

    �� Quickly distribute your app with Firebase App Distribution using GitHub Actions + Fastlane �� | by Shreyas Patil | Firebase Developers | Oct, 2020

    Posted: 21 Oct 2020 02:38 AM PDT

    Developer tips and guides: Common policy violations and how you can avoid them

    Posted: 21 Oct 2020 12:38 AM PDT

    kotlin-android-extensions plugin will be deprecated by the next Kotlin release

    Posted: 20 Oct 2020 10:11 AM PDT

    As you can see from this ticket: https://youtrack.jetbrains.com/issue/KT-42121

    So you should stop using kotlinx.android.synthetic if you haven't already and switch to View Binding. The Parcelize feature will be moved into a separate plugin.

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

    ServerSocket on android?

    Posted: 21 Oct 2020 04:18 AM PDT

    Can i host Server on android OS(I am doing it on Emui but it same API so nevermind ) ?

    If so do i have to(and how to) port forwarded port on phone?

    Or does it follow Ruter ?

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

    AppCompat 1.2 Lint Checks - AppCompatResources or ContextCompat or ResourcesCompat

    Posted: 21 Oct 2020 03:59 AM PDT

    Android Studio 4.2 Canary 14 available

    Posted: 20 Oct 2020 10:04 AM PDT

    Event streaming API dilemma

    Posted: 20 Oct 2020 08:23 PM PDT

    Hey,

    I'm building an app based on the lichess.org API. This API includes some streaming type GET methods.

    I'm using retrofit2 for my network calls and RxJava for my async stuff. My problem is that those streaming methods can return different JSON objects with specific fields. I saw the in retrofit doc that I can build a custom converter, but I can't figure out how can I stream those different type objects on the same RxJava stream ?

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

    Looking for Contribute to Open Source or any mobile Application

    Posted: 20 Oct 2020 11:55 PM PDT

    I have been working in app development, to be precise on Xamarin Native and Xamarin.forms for 2 years. I am currently also learning Java and Android Studio. If anyone has any Open source project or any project to work in a group, please let me know. I already have a full-time job, but I want to gain more experience in Android Studio, Java. I will try to contribute on Weekends. I am not looking to earn money, but want the experience working with experienced developers and I will give my best.

    Thanks in Advance!!

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

    New gradle version (4.1.0): no longer returning any ressource fields

    Posted: 20 Oct 2020 10:45 AM PDT

    Title update: I don't mean gradle version, I mean gradle plugin version.

    To get all drawables in an android app (using Kotlin) I call `R.drawable::class.java.fields`.

    Since yesterday it worked perfectly fine but as I updated

    classpath "com.android.tools.build:gradle:4.0.2" to

    classpath "com.android.tools.build:gradle:4.1.0"

    it just returns an empty array (so no fields / drawables are found).

    Is there a known bug with new gradle version?

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

    Is it possible to access app data saved on the Pixel 3?

    Posted: 20 Oct 2020 08:13 PM PDT

    I want to download some data from an app that I use on my Pixel 3 so I can analyze the data. Is this possible? I'm sure if the app saves data on my device or on a server.

    Is there a way to access app data on the Pixel 3?

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

    New gradle broke my custom lint

    Posted: 20 Oct 2020 12:54 PM PDT

    Did anyone face the issue with custom lint with the latest updates ?

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

    Android 4.1 Indexing forever

    Posted: 20 Oct 2020 10:16 AM PDT

    I just upgraded to Android Studio 4.1, and was shocked to see it indexing considerably longer than usual. I looked closer and saw it was indexing files outside of my project repo. Anyone else seeing this and any workarounds?

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

    Machine learning library for comic panel detection

    Posted: 20 Oct 2020 09:54 AM PDT

    "our support team can refund you the 25$ registration fee" meanwhile Apple takes 100$/y and doesn't give a **** about their devs. I would post this into r/mAndroidDev if it wasn't so sad...

    Posted: 20 Oct 2020 03:50 PM PDT

    What to expect from Android-related HackerRank challenge

    Posted: 20 Oct 2020 09:56 AM PDT

    I have a HackerRank coding challenge coming up for an Android position with a 90 minute time limit. I'm just wondering if anyone has had any experience with Android on HackerRank as I can't seem to find any samples.

    Does the IDE work properly? Will there be Gradle issues? Can I use Kotlin?

    Any stories of personal experiences would be nice!

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

    Force immediate update to my app on my managed devices?

    Posted: 20 Oct 2020 09:53 AM PDT

    I'm looking for a way to push immediate updates for my Android app to 100+ tablets remotely, as immediately as possible.

    What are the best MDM / enterprise app centers that can do this? It seems like Microsoft InTune relies on Managed Google Play, which still does a 24-hour update check. That's too long sometimes.

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

    I don't think we should use chrome custom tabs for launching external content

    Posted: 20 Oct 2020 09:48 AM PDT

    I posted this over on /r/Android, but I guess it's more of a dev knowledge area so I'll mention it here.

    I think Chrome custom tabs are a bad UX.

    Why? Because we often open web content to read later. When I say we, I mean me, but I know from the number of people that have 100 open tabs that this is not uncommon.

    Custom tabs presume you are going to leave the native app, read the content, then return to the native app. 90% of the time that is not my UX, my UX is to open the link, leave it open in my current tabs, then immediately return to the native app.

    Take Twitter for example. As I scroll, I pop open links, then keep scrolling. Then a bit later on in the day I read them. But with custom tabs, that requires 3 tabs for every link.

    1. Tap the link in Twitter
    2. Tap the kebab icon in the custom tabs view
    3. Hit 'open with chrome'

    Now it's in my open tabs and I can hit back in the native app to keep doom-scrolling (woohoo!). It'd be much better for me if it was just one tap to launch the link in my default browser.

    I know there are perf reasons for why custom tabs are useful, but I think much of the time, that's the wrong trade-off. It would make more sense if I was opening time-sensitive content. But that's not the majority use case.

    This is my single biggest gripe with the modern mobile UX. Is anyone with me on this or am I weird?

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

    No comments:

    Post a Comment