• Breaking News

    Monday, December 2, 2019

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

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


    Weekly "who's hiring" thread!

    Posted: 02 Dec 2019 04:44 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]

    Weekly Questions Thread - December 02, 2019

    Posted: 02 Dec 2019 02:56 AM PST

    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]

    Do you use a Baseactivity on your Android app? This podcast episode from Fragmented is for you.

    Posted: 02 Dec 2019 06:05 AM PST

    How to Promote an App on the App Store and Google Play

    Posted: 01 Dec 2019 10:33 PM PST

    Suspending over Views

    Posted: 02 Dec 2019 12:37 AM PST

    Android Studio 4.0 Desugar - will it support CompletableFuture

    Posted: 01 Dec 2019 10:24 PM PST

    I'm interested in CompletableFuture particularly but In the docs only the following APIs are listed:

    • Sequential streams (java.util.stream)
    • A subset of java.time
    • java.util.function
    • Recent additions to java.util.{Map,Collection,Comparator}
    • Optionals (java.util.Optional, java.util.OptionalInt and java.util.OptionalDouble) and some other new classes useful with the above APIs
    • Some additions to java.util.concurrent.atomic (new methods on AtomicInteger, AtomicLong and AtomicReference)
    • ConcurrentHashMap (with bug fixes for Android 5.0)
    submitted by /u/BacillusBulgaricus
    [link] [comments]

    App not indexed by Google Play

    Posted: 01 Dec 2019 10:02 PM PST

    Yet another change in Google Play search algorithm? My app published 3 weeks ago with about 1k downloads (all from ads) does not appear in google play search even with the exact name and developer name. My other apps used to get indexed within a week or so earlier but the recent apps are not showing up. Not even a single keyword. What's going on?

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

    Apps using TensorFlow Lite?

    Posted: 02 Dec 2019 06:01 AM PST

    How can I check which apps are using the Firebase ML Kit? I need to write a paper on this kit and its usage (along with other ML kits for mobile) but I can't seem to find any apps that use these.

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

    Are service locators in Android actually simple?

    Posted: 02 Dec 2019 12:07 AM PST

    What are your thoughts on in app Rate Dialog where if user gives less than X stars they are not taken to PlayStore but shown Feedback Dialog?

    Posted: 02 Dec 2019 08:16 AM PST

    From user perspective, is this a good practice?
    I tried implementing smart-app-rate but this library lacks customization features and some click listeners, and writing the code myself would take quiet some time to test and implement so, what do you think about those?

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

    Does anyone know about latest Android MAC Address randomization? I have a question (not dev question).

    Posted: 02 Dec 2019 07:13 AM PST

    I see thats a new feature in Android, and I read that my MAC address is randomized even after establishing a wifi connection now, not only when scanning for wifi like in previous Android.

    I read that however, once a connection is established, the MAC address ill be randomized once and it will be that same everytime you connect to the network.

    So My question is:

    1. Was my statement true?
    2. If I "Forget" network and reconnect, will a new MAC address be created?
    3. If I use employers "Guest" network, which does not require me to sign in, in the past, they would be able to see a MAC address. and match it with a MAC address of a device that has used the "Emplloyee" network which requires youto sign in, so they can actually know who's connected to the Guest network in some cases. Is that true?
    4. With MAC randomization, they would not be able to match the MAC address of my device on the Guest network with my same device on the Employee network (in which i am signed in) so they wouldnt be able to tell who i am, is this correct?
    submitted by /u/LibertyState
    [link] [comments]

    Reactive data flow in Revolut Android app

    Posted: 02 Dec 2019 06:54 AM PST

    I don't understand Kotlin's TODO function

    Posted: 02 Dec 2019 03:06 AM PST

    I see Kotlin introduce a new TODO function to replace the //TODO comments but I don't understand why it was implemented this way.

    When I write a TODO somewhere, it's because this part of the code should be rewritten, or do nothing at all at the moment, or use raw data instead of data loaded from the db/api ... more generally, it's to flag a chunk of code that is ok to be written and run for the moment but will need to be improved later.

    I don't see any scenario where the app should just crash when reaching this chunk of code, so why does Kotlin's TODO function throw a NotImplementedError ? I would be way happier with a warning message printed in red in the console. Is there any way to "override" this TODO method's behavior ?

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

    [CommonsWare] Scoped Storage Stories: Problems with SAF

    Posted: 01 Dec 2019 11:27 AM PST

    Is there a reason apps like yik yak all shut down? Is it viable to bring back something similar to it from a dev standpoint?

    Posted: 01 Dec 2019 08:23 AM PST

    Do I need insurance?

    Posted: 01 Dec 2019 09:09 PM PST

    I'm hoping to release my first Android app in the next month or so. I'm just a lone developer, no business/self-employment status or anything.

    My app handles personal data and involves people meeting up in real life. I do have a privacy policy and terms of usage, but I'm just concerned that if something bad happens and someone decides to sue me then I might have personal financial liability for legal costs, which I really don't want to have to worry about.

    Any advice from people who have released their own apps and faced similar questions? Do you get some kind of insurance, or just not worry about it?

    Thanks!

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

    Launch Activity stack ordering problem when launching application from Android app installer and vs Home screen.

    Posted: 01 Dec 2019 08:16 PM PST

    Launch Activity stack ordering problem when launching application from Android app installer and vs Home screen.

    Hey Android Devs,This is a known problem and how would you solve this? This is happening with Android Dev Summit apps and slack application too.Details are here: https://stackoverflow.com/questions/6356467/activity-stack-ordering-problem-when-launching-application-from-android-app-inst

    (copied the below steps from a SO post)

    What is happening:

    (This refers to an application that has not set any launchMode settings and so is using the defaults)

    1. You launch an app from the Market or from the Installer. This launches the root/main activity of the application with the FLAG_ACTIVITY_NEW_TASK flag and no categories. Right now the applications stack is [ A ]
    2. Then you proceed to the next activity in the application. Now the stack in this task is [ A > B ]
    3. Then you press the home key and then relaunch the same application by pressing it's icon from either the home screen or the app tray.
    4. What is expected at this point is that activity B will show, since that is where you left off. However A is shown and the tasks stack is [ A > B > A ] This second instance of A is launched with the following flags: FLAG_ACTIVITY_NEW_TASK, FLAG_ACTIVITY_RESET_IF_NEEDED, and FLAG_ACTIVITY_BROUGHT_TO_FRONT. It also has the android.intent.category.LAUNCHER category.

    At this point, if you hit the back key, it will return you to B, as it was when you left it.

    Know Google Issues:https://issuetracker.google.com/issues/36941942https://issuetracker.google.com/issues/36907463https://issuetracker.google.com/issues/64108432 (Latest one)Any suggestions how to handle it correctly, there are multiple solutions are available online but do you think this should be fixed by Android OS not by application developer. How other apps handle this situation?

    a problem with slack application.

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

    Organizing IOT devices in Mosquitto service

    Posted: 02 Dec 2019 03:47 AM PST

    Hello,

    Creating IOT device based on ESP8266 and connecting to Mosquitto service. Planning to use many devices in production. Device will send simple text information and subscriber on Android phone will receive notification. Thinking about Cloudmqtt as service provider.

    What is the best way to organize my devices in Mosquitto server? Should I create new user for each device or same user for all devices, but different subscriptions?

    What is the best way to register my device in Mosquitto server? Can I somehow organize device registration from Android application?

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

    Best strategies to avoid invalid ad clicks

    Posted: 01 Dec 2019 01:24 PM PST

    Anyone doing anything about invalid/fake clicks? Not only accidental clicks but also and especially people attacking you on purpose with fake clicks.

    So maybe things like, only allowing clicks once every x minutes or something? I haven't found a thread with the best strategies to avoid invalid clicks/getting banned, maybe we could make a list with techniques for everyone to use.

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

    Trying to mod Stadia app, after building & signing the apk, Google Auth within the app gets broken

    Posted: 02 Dec 2019 06:42 AM PST

    I'm modding it to enable native gameplay within the app on non Pixel devices.

    Here you got an where apk where I just edited a lib to make it compatible with Huawei P30 ELE-L09: https://www.dropbox.com/s/3p6daoezk4gvual/Stadia_app_with_modded_lib_for_Huawei_P30_ELE-L09.apk?dl=0The app gets installed and can be executed, but now the sign-in my google account within the app is broken, so I can't start to play

    I believe it's a signature issue but no clue about how to fix it. Help would be greatly appreciated

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

    How to synchronize the top and bottom recycler views like in deliveroo app?

    Posted: 01 Dec 2019 05:03 PM PST

    https://reddit.com/link/e4r39k/video/z4bvjee6c4241/player

    Notice how the top horizontal recycler view which holds the category names is only shown when the first category in the vertical recycler view moves under it.

    After that whenever a new vertical category is scrolled under the horizontal recycler view its corresponding item gets highlighted.

    Clicking on one of the categories in the top scrolls to the corresponding category in the vertical one.

    How to achieve such synchronization?

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

    Best way to assemble images into video?

    Posted: 01 Dec 2019 03:15 PM PST

    Hey, I'm looking to create a video, such as the mp4 format, by assembling packs of images. What's the easiest way to do that? Thanks!

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

    Want to develop lunch buddy mobile app

    Posted: 02 Dec 2019 12:26 AM PST

    Hi All,

    I am looking for developers to build mobile app for lunch buddy. I need few function first to get business buying .Please reac me on [reachmastinder@gmail.com](mailto:reachmastinder@gmail.com) for details. Best in class salary , apple laptop and mobile will be provided to those who are able to make it.

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

    Re-ordering Views in the same parent

    Posted: 01 Dec 2019 07:39 PM PST

    I want to re-order a view without remove it and re adding it back, because user can notice a split millisecond on the process. Any other way to do this? Thank you

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

    WorkManger Android, duration of task > 10 minutes

    Posted: 01 Dec 2019 01:19 PM PST

    All background work is given a maximum of ten minutes to finish its execution. After this time has expired, the worker will be signaled to stop.

    https://developer.android.com/reference/androidx/work/WorkManager

    what if I need to download a file that takes more than 10 minutes and the app is in the background?

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

    How do I go about acquiring a license for my app if it's not on the play store?

    Posted: 01 Dec 2019 03:30 PM PST

    I am a high-schooler and I'm competing in the Mobile Application Development category for FBLA, and one of the requirements is that the "app should state its licensing and terms of use." But they also don't require the app to be published to the Play Store, so would I just state that it has no license or is there some type of license I could acquire even though it isn't on the Play Store?

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

    No comments:

    Post a Comment