• Breaking News

    Monday, March 9, 2020

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

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


    Weekly "who's hiring" thread!

    Posted: 09 Mar 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 - March 09, 2020

    Posted: 09 Mar 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]

    3 million downloads Google’s App developer account has been terminated

    Posted: 09 Mar 2020 02:59 AM PDT

    Ways To Make Money As An Android App Developer?

    Posted: 09 Mar 2020 05:34 AM PDT

    Hi,

    I'm interested in android app development. My main ideas are to make some casual games like Angry Birds or Bubbleball.

    But I don't want to work for someone (either getting a 9-5 or freelancing). I want to make a living totally independently.

    My making a living, even $500 a month would be enough but I also want to have a chance of making it big.

    So what are the different ways to make money as an android app developer?

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

    Reverse Tethering for Android from Genymobile

    Posted: 09 Mar 2020 02:40 AM PDT

    TIL How to use FragmentStateAdapter with ViewPager2 with Dynamic Fragments

    Posted: 09 Mar 2020 03:30 AM PDT

    If you have a ViewPager that Dynamically adds, removes or updates Fragments you NEED to override getItemId) and containsItem) to avoid bugs where you change the data and fragment wouldn't change or have a wrong state.

    extra info: we're using ViewPager2 to do a step like registration and changing the registration flow based on api errors

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

    A collection of Jetpack Compose examples/tutorials and demos.

    Posted: 08 Mar 2020 11:41 AM PDT

    Can't link android app using Google-Login to Backend server

    Posted: 09 Mar 2020 08:09 AM PDT

    So my group is working on a project where we have to take Google API Login and store it within a database for a working application. Everything I've looked up refers to just login information in general, and it doesn't seem to work when I try integrating it with my Google Login activity. Any resources or help you guys could provide on how to accomplish this?

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

    How avoid the click transfer between brother views?

    Posted: 09 Mar 2020 07:59 AM PDT

    I have three layout layers and over the blue one, two views (EditText and a simply view), so let's put some context:

    - When I set on click listener only to yellow layer and touch inside the blue one for example, the click is listened only in the yellow layer, the click is transfer. ClickTransferBetweenChilds

    - When I set on Click listener in all layers the click listener is triggered when I touch anywhere inside each layer. ClickNotTransferWhenSetClickListener

    This is the default android behavior and I call this layer stack, parent-child views, there's the following schema:

    Yellow - is parent of -> Red - is parent of -> Blue.

    Now focus on the blue layer, over the blue layer are super posed two elements, the EditText and the View, the EditText is over the View, and initially with the default android behavior when I touch the upper left side, the keyboard is called (because the EditText is below) but I want to avoid this behavior. Please call it brother propagation.

    I make a simply solution please refer to line 71 Gist in MainActivity.java, but we can't implement in production because I can only touch the Layout things (the yellow one - Parent - at possible).

    TL/DR: I want to avoid this behavior ClickTransferBetweenBrothers how to avoid transfer click between brothers **keeping** the click transfer between parent-child views.

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

    Creating Your First Android App with Kotlin

    Posted: 09 Mar 2020 07:10 AM PDT

    [Kotlin] [Github] Random Cat Photo

    Posted: 09 Mar 2020 06:33 AM PDT

    Error on Android Studio project: * daemon not running; starting now at tcp:5037 * daemon started successfully

    Posted: 09 Mar 2020 06:04 AM PDT

    Hii everyone, I got those errors when I start a new project or bolt one on android studio (3.6.1) * daemon not running; starting now at tcp:5037 * daemon started successfully

    Its happened with 3.5.3 to...

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

    Android Accessibility — Where to start?

    Posted: 09 Mar 2020 04:49 AM PDT

    Do we still need LeakCanary now that Android Studio 3.6 has "Memory Leak Detection"?

    Posted: 08 Mar 2020 02:15 PM PDT

    Looking to grab onto something when creating your first app? Here is a free source code!

    Posted: 08 Mar 2020 12:39 PM PDT

    Like most developers, I use my own projects as a sandbox for exploring new stuff.I would like to open source my app, which has more than 50.000 downloads.It does use generic abstractions of architecture components, Room, Koin, LiveData, Fragments, Kotlin Coroutines, AndroidX and more. Hopefully it might be a helpful material for new devs. Source code can be found here: https://github.com/edgar-zigis/Paleontologas

    (Say thanks by starring repository :)))

    submitted by /u/biomatic-1992
    [link] [comments]

    Nonprofit FOSS Food Delivery and Local Shopping Platform

    Posted: 09 Mar 2020 01:19 AM PDT

    This is an open-source android project. That aims to help local vendors and local economy.

    People who like this project are welcome to Join us and be the part of our community. Lets unite and help our Local Economy.

    Please checkout

    Github Link : https://github.com/NearbyShops/Nearby-Shops-Android-app

    Website : https://nearbyshops.org/home.html

    It is our humble request !

    This project is for the benefit of people like you and me ... we may have flaws but we can overcome them ... please dont be over critical and discourage people from participation.

    In this time of corporate monopoly where big corporations are making billions ... unless we help each other we can never obtain true freedom.

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

    How to enable KVM Technology in Android devices ?

    Posted: 09 Mar 2020 01:09 AM PDT

    I searched a lot for how to activate KVM technology on Android devices, but I am not sure how successful the methods available on the Internet.

    It was mentioned in the internet that some scripts must be added to the deconfig file which is KVM and VIRTUALIZATION technology.

    Frankly, I am not an expert in modifying and dealing with the Android kernel, and I am not sure which file is to be modified because each device differs in its own way.

    I have a LG G4 device and I found it by chance I had two options KVM and VIRTUALIZATION they were activated in the deconfig file but when I try to access a file '/dev/kvm', it does not give me permission to access it, I tried that via Termux and Limbo emulator.

    How to check KVM is enabled ?

    Do you need root permission ?

    How you know which file is required to modify ?

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

    Facebook Audience Network always fails quality checks

    Posted: 09 Mar 2020 12:28 AM PDT

    I tried Facebook Audience Network in my app and after few days it is failing quality checks I contacted their team but they just send the same link on which they have described how to improve banner ad quality. I already read that article thousands of time and our app follow each and every rule written on that page.
    Their team always gives a copy/paste response and will never tell you the exact reason of failing quality checks. And yes they told me to move the banner at the top of the app. I can't show banner at the top it will completely ruin the user experience.
    My app already has an Admob banner at the bottom but never faced a problem.

    So my question is: How you guys handle this problem to pass their quality checks.

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

    Troublshooting Android Emulator: "Emulator: Process finished with exit code 1"

    Posted: 08 Mar 2020 11:32 PM PDT

    This policy needs to stop. Google Play Store Removes AnTuTu Apps for Alleged Cheetah Mobile Links

    Posted: 09 Mar 2020 02:37 AM PDT

    Help regarding implementing MVVM from a boilerplate

    Posted: 08 Mar 2020 04:24 PM PDT

    Hey, fellow android devs! I am starting a new android project using android-showcase by igorwojda. It has all the features which I want to learn.

    The project seems huge and I don't seem to figure out the entrypoints to replicating the project in my own project. It's failing everytime I do it.

    There seems to be no blog posts about it too.

    So, can you guys please point out how do I try to replicate this project?

    Tl;dr - Huge project so don't know how to replicate to my own

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

    Use RecyclerView in a navigation drawer that has a menu items group

    Posted: 08 Mar 2020 03:38 PM PDT

    I have a navigation drawer that's inflated by a menu that contains two groups.<group android:checkableBehavior="single"><itemandroid:id="@+id/account"android:icon="@drawable/ic_account"android:title="@string/my_account" /><itemandroid:id="@+id/markets"android:icon="@drawable/ic_store"android:title="@string/my_markets" /><itemandroid:id="@+id/wish_list"android:icon="@drawable/ic_favorite"android:title="@string/my_wishList" /></group><item android:title="@string/communicate"><menu><itemandroid:id="@+id/feedback"android:icon="@drawable/ic_thumb"android:title="@string/leave_feedback" /><itemandroid:id="@+id/rate"android:icon="@drawable/ic_rate_us"android:title="@string/rate_us" /><itemandroid:id="@+id/log_out"android:icon="@drawable/ic_log_out"android:title="@string/log_out"/></menu></item>

    I wanna add a RecyclerView between the groups. how can I implement that! should I erase this menu and convert all the items into recycler view!even tho these groups have static items. that won't change but the adapter will contain items that might vary in number.
    moreover; the item within the RecyclerView is clickable. once clicked. a drop list will be shown, also RecyclerView, however I found out that its better to use List view that has ExpandableListView .

    so what's the easiest way to implement this!

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

    Notification reminder.

    Posted: 08 Mar 2020 01:17 PM PDT

    I have a project in college wherein I have to make an android app. My app requires a notification pop up at a certain time to remind the user of the task. I searched a lot on Stackoverflow and YouTube but all of the methods used were deprecated. Can anyone please help? Thanks.

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

    Waking app on specific beacon discovery

    Posted: 08 Mar 2020 10:57 AM PDT

    Hello all. Im trying to wake my application when the device enters a region of beacons with a specific UUID.

    So far I tried using the native BluetoothAdapter.getBluetoothLeScanner, providing a PendingIntent to launch a Broadcast reciever.

    I also tried RxBleClient which is an amazing library which does work when doing a regular discovery.

    I tried AltBeacon lib which is also a very thorough and brilliant lib.

    But all failed. They can all scan for beacons regularly but when trying to basically, register and let the device scan while in the bg. The broadcast never gets triggered.

    I also tried all 3 while using a foreground service. That did not help either. Ill also mention this is all done on Android 8. I went over the code in both libs and they both eventually use the same function call from the native bluetoothadapter. So Im assuming if that fails, everything else will fail too. Ill also mention that when supplying the startScan function with a CallBack instead of a PendingIntent, the callback is constantly triggered for all scanned BT devices. If I add a ScanFilter to filter for my UUID only, it fails. What am I missing?

    Btw, when I implemented this in Ios, it worked flawlessly. The app is awoken as If I used a Geofence enter/exit trigger.

    Why wont this work in Android?? Any thoughts?

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

    No comments:

    Post a Comment