• Breaking News

    Monday, October 25, 2021

    Android Dev - Weekly Who's Hiring Thread - October 25, 2021

    Android Dev - Weekly Who's Hiring Thread - October 25, 2021


    Weekly Who's Hiring Thread - October 25, 2021

    Posted: 25 Oct 2021 06:00 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]

    Compose for Wear OS: ScalingLazyColumn

    Posted: 25 Oct 2021 02:26 AM PDT

    Using 'TalkBack' in my apps title

    Posted: 25 Oct 2021 05:42 AM PDT

    Using 'TalkBack' in my apps title

    I made a testing tool for devs and QA's, to test accessibility strings. Texts that would be pronounced by TalkBack are shown as tooltips, without being burdened by the additional gestures or the constant talking after every tap.

    I want to publish it to the Play Store and I'm wondering if I could use the name TalkBack in any way. App name ideas are TalkBackTester and TooltipBack, clearly referencing Talkback.

    Talkback has this licence. Does that enable me to use its' name?

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

    submitted by /u/Serendipic-Engineer
    [link] [comments]

    Is it even possible to get an actual response in Google Play appeals?

    Posted: 25 Oct 2021 07:51 AM PDT

    Hi, I'm just wondering if any of you have ever passed the robot automated response stage.

    It's about the All Files Access permission, which is core to my app, so I appealed their rejection for that permission.

    I explained everything, and I get only robotic responses.

    At the end of each email, they write "Please let me know if you have any questions in the meantime.". Naturally I asked a question, and yet they do not answer it. They continually paste a bunch of useless rubbish that is of no help.

    The question I asked was:

    "Hello, you have told me the following: 'Specifically, the feature you identified does not require access to > device storage'. Can you please tell me how I can use Android.OS.FileObserver instances without access to device storage? These are used to monitor user-selected directories in public storage as a core feature of my app."

    Of course, I know that using FileObserver in public directories absolutely requires full storage access when targeting API 30, I just wanted Google to acknowledge that they are essentially telling me that I cannot update my app on Google Play unless I remove this core feature, so now that's my position.

    They paste some response along the lines of "As said previously ... the feature you identified does not require access to device storage ... please use other privacy friendly options .. system picker ... how to access media files from shared storage ... " (just to be clear, I have had this same response twice!)

    Useless stuff. No attempt at answering the question. I don't believe a human ever saw my appeal.

    The core feature of my app, as I explained to them, uses FileObserver instances to monitor directories so that they can be backed up, or synced, to other devices, automatically and in real-time. It matches a couple of the use cases on this page: https://support.google.com/googleplay/android-developer/answer/10467955

    Right now it looks like I have no choice but to abandon the Play Store version of the app. Luckily I am in a position to email each user to tell them that they will need to switch to the sideloaded version to receive future updates.

    It seems like Google just auto-rejects these things.

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

    Android studio won't show view attributes and not suggesting anything in xml editor

    Posted: 25 Oct 2021 01:39 AM PDT

    Android studio won't show view attributes and not suggesting anything in xml editor

    There's a lot of solution out there, not even one of them works for me. I was thinking whether i need to reinstall android studio or not. maybe anyone have some suggestions for me??

    The problem is :
    No suggestions in xml editor

    There's only suggestion from tabnine which is not comfortable enough

    The view attributes didn't show properly

    All Attributes of Relative Layout is just that. Which i believe shouldn't be just that

    There's a few of the attributes being unknown

    Well, the problem is there, even though there's some error here and there cause of that problems that have been stated, the apps still runnable.

    Any solution? :) your answer is appreciated

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

    android

    Posted: 25 Oct 2021 09:26 AM PDT

    How long time does it take for the disk to be overwritten on a phone have 128 gb memory ? and is copying one file copied several times with changing them names until the disk is full, valid for overwriting the old delted data after factory reset, or does the memory have to be filled with different files only?

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

    Is compose actually production ready?

    Posted: 24 Oct 2021 12:33 PM PDT

    So we're looking into compose and learning it, but the more we experiment with it, the more we think that it's still a bit early to use it for prod apps. Scrolling is not the best yet (i know they are working on improving it), the navigation support for compose is in alpha, BottomSheets are experimental. I'd assume there would be more.. so what do you think? Are you using it for prod? Are we far from that?

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

    Play console update rejected

    Posted: 25 Oct 2021 08:49 AM PDT

    I have got an icon pack on the play store which uses Arctic Manager to fetch icon requests from users. My updates are being rejected and I believe it complies with what is required. Have been getting in contact but don't seem to be getting an exact answer in regards to the issue.

    This is a link to my privacy policy, is there anything that majorly stands out which needs changing?

    https://thomasdemirgil1.blogspot.com/p/thomas-demirgil-android-apps-privacy.html

    Anyone else been facing this issue recently?

    Some info I was sent from Google

    'For example, we found that your app is uploading users' Installed Application information to https://arcticmanager.com without a prominent disclosure. Please re-examine your app and ensure to remove data collections. Otherwise, please add a prominent disclosure and valid privacy policy in both Play Developer Console and in app itself. '

    Any help would be appreciated

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

    Android app ownership transfer question!

    Posted: 25 Oct 2021 08:38 AM PDT

    Hello i want to sell one of my android app to potential customer . But i want to know how safe is it to transfer one of app to other owners . And they want to do transfer via Escrow website ( is it safe ? ). If any fellow dev have some similar experience please guide me. Thanks in advance.

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

    apps supporting the full screen size/shape of the pixel 4 and ;

    Posted: 25 Oct 2021 08:34 AM PDT

    hi what accomplish app developers need to do to fully support the screen size/shape of the pixel 5 (and partially the pixel 4)? i have a pixel 5 (and previously the pixel 4), and some, but not all, apps support using all of the screen, however some apps don't use the very bottom part, and others don't support both the bottom and the top? this is very jarring when an app ends up with a black section at the top and bottom of the screen. it's even worse when apps that play video don't support it. prime example being the plex app. i play a video, in landscape‍ mode, and you end up with a black section on the left. see examples of two apps that have either one or both the "issues". https://preview.redd.it/k1g8magw0av51.jpg?width=1080&format=pjpg&auto=webp&s=595cedc86540298c7ea2f779a7a46b5fe4318d12 https://preview.redd.it/1ahrepov0av51.jpg?width=1080&format=pjpg&auto=webp&s=0cffccb4a26e6ddc3af9eaf97289b68556c9ef4d

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

    Concerned about white spaces during android studio installation

    Posted: 25 Oct 2021 05:39 AM PDT

    Concerned about white spaces during android studio installation

    last time i installed android studio i was facing issues related to white space
    how do I avoid this? I'm reinstalling it now please tell me if I should go ahead with this! Thankyou.

    https://preview.redd.it/myfbvws0dlv71.png?width=1280&format=png&auto=webp&s=ab60e6f530f404c27ea5c7abd939cc216c9c9536

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

    My interview with GetYourGuide about how they allow you to discover more of what you love and book experiences all over the world using their Android app at Droidcon Berlin 2021.

    Posted: 25 Oct 2021 03:17 AM PDT

    Could encapsulating composable functions in classes be a good idea?

    Posted: 25 Oct 2021 01:53 AM PDT

    Hi everyone. I'm trying to create a kind of "form-bulder" with Compose, I've already done something similar with the old xml view system, and it was inspired by Django Forms. The things involved were a container view which holds all the methods for processing forms data, and various fields object (spinners, text, checkbox...) to be instantiated in the container.

    The main problem to me is the "functional" approach used in compose that forces to have various mutable states for every field, in my case I need at least states for:
    retrieve field data
    set field data (as in lot of cases, the standard "compose way" doesn't suit, like for spinners)
    set field state (for example highlighting a required field)
    and others depending on field type...
    While this seems to be the compose way to do it, to me it seems just a lot of confusion and not reusable code.

    I've come to a good solution (at least, it seems so...) with encapsulating composable function in classes to have an object approach in which the object holds everything needed to operate on the composable function, so in a form builder i can make something like fieldOne.collect() or fieldOne.getFilteredData(filterLambda). Plus all the goods coming from inheritance and generics...

    What I'm trying to understand is if this solution can be considered a good one or not, searching on the internet, no one is doing something similar (as the docs says, composable are declared as top level functions) and I'm worried that there's something I've not learned yet that can lead to problems/bugs...

    Does anyone has the knowdlege to give me some clarifications ?

    P.S. I know the "composition over inheritance" principle, and I'm currently using it for like every other part of the app, but in this case I didn't find a proper way to use it...

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

    Android device doesn't vibrate when the screen is locked

    Posted: 25 Oct 2021 01:37 AM PDT

    I'm developing a VOIP app and when receiving a call the app shows to the user an incoming call screen and the phone vibrate and rings ( if the phone is not in silent mode ).

    Everything seems to be going well as long as on some devices ( Samsung SM-A125F [ Android 11 ] was documented this issue ) when the device is locked and the screen is off the phone doesn't vibrate or ring, but just the incoming call screen is shown.

    Someone has some advice for this strange behavior, Thank you!

    THE CODE

    IncomingCallActivity.java

    windows flags

    ```

    getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON |

    WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD |

    WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED |

    WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON

    );

    ```

    vibrate and rings part

    ```

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {

    vibrator.vibrate(VibrationEffect.createWaveform(new long[]{0,

    1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000}, 0));

    } else {

    vibrator.vibrate(new long[]{0,

    1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,

    1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,

    1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000}, -1);

    }

    ```

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

    How can I automatically hide the Actionbar with Compose in immersive mode

    Posted: 25 Oct 2021 12:44 AM PDT

    Sorry if this is a bit specific question for this sub, I asked it on StackOverflow first a few days ago but got no right answer, and this is something I absolutely need for an app I'm working on.

    When using the classic view system and immersive mode is enabled, the actionbar is automatically hidden with the statusbar and navigation bar. When the user swipe from the top edge or bottom edge of the screen, all the 3 bars show up again for a few seconds.

    Jetpack Compose have its own actionbar, which does not have this behavior, how can I add it myself? How can I check if the statusbar/navigation bar is visible in immersive mode?

    I tried in my Activity to listen to a few listener of the decor view but found none that could help me to detect this visibility change:

    window.decorView.setOnSystemUiVisibilityChangeListener {} window.decorView.setOnTouchListener {} window.decorView.addOnLayoutChangeListener {} window.decorView.setOnFocusChangeListener {} window.decorView.setOnSystemUiVisibilityChangeListener {} 

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

    Android 12 Approximate Location Issue

    Posted: 25 Oct 2021 12:24 AM PDT

    Hey everyone,

    I've android.permission.ACCESS_FINE_LOCATION and android.permission.ACCESS_COARSE_LOCATION permissions declared in my app Manifest.xml and using FusedLocationProviderClient for getting user location. Everything worked fine unless I've updated to Android 12 (SP1A.210812.015). After that, if I grant only approximate location FusedLocationProviderClient mostly doesn't return any location, but sometimes it does.

    I use Google Pixel 4 for testing

    Does anyone face the same problem?

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

    Google Play Console not providing me an option to upload APKs?

    Posted: 24 Oct 2021 12:43 PM PDT

    When I follow tutorials on creating a release, it shows that developers are able to upload either .aab files or APK files. I want to upload an APK, but it will only allow me upload .aab files when creating a new release. Is there any particular reason it won't provide the option for me to upload APKs and not just app bundles?

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

    I found this article can I try this? Is this safe? Using This Source Code You Can Run Google Play Store On Windows 11

    Posted: 25 Oct 2021 12:50 AM PDT

    No comments:

    Post a Comment