• Breaking News

    Monday, July 6, 2020

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

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


    Weekly "who's hiring" thread!

    Posted: 06 Jul 2020 05:45 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 - July 06, 2020

    Posted: 06 Jul 2020 03:57 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]

    Optimize the build speed for your Android project

    Posted: 06 Jul 2020 02:40 AM PDT

    Why are simple things sometimes so complex [mini rant]

    Posted: 06 Jul 2020 05:39 AM PDT

    So I have a spinner (drop-down select, the naming of this thing is another rant) and I have a blue background and want to change the text colour to white, sounds simple, right?

    to do that I have to create TWO layout resources (one for selected item and one for dropdown) and in code declare an adapter which needs the item array (cause the reference in XML is not enough), context, and the resource for the style of the selected item. then on a separate line I have to declare a separate resource for the items in the drop-down menu.

    I JUST WANTED TO CHANGE THE TEXT COLOUR!!!!! why do does this need two extra XML files and 3 lines of code!? it sometimes feels like a lot of the android API is specifically made to have as many files in a project as possible

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

    Payment declined for ~ 70% of in-app purchases

    Posted: 06 Jul 2020 04:25 AM PDT

    I have an Android app with about 300k installs with in-app purchases (one time and recurring).

    I have one issue though, about 60-70% of the orders are being marked as "Payment declined".

    When I click on the declined orders I see "There was an issue charging the customer's payment method" and "This order could not be completed and was canceled".

    They're not coming from a specific country/user, and 70% decline rate is very high.

    I'd appreciate any help regarding this issue.

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

    How to design creative apps? [practitioners' inputs!]

    Posted: 06 Jul 2020 01:39 AM PDT

    Hi everyone!

    For our research on fostering creativity in app design, we are looking for mobile app designers (18+ y.o.), with any level of experience, who are willing to participate in our study via short questionnaire (10-15 minutes).

    You can participate here: https://survey.uu.nl/jfe/form/SV_eMdNbBVZUabmohD

    Your help will be much appreciated and it would help us a lot with our research! We will be happy to keep your posted on the results and to share our tools. Also, feel free to comment on this post!

    Thanks!

    Fabiano Dalpiaz and Ilse van 't Hul
    Utrecht University, NL

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

    Building a multi-module project

    Posted: 06 Jul 2020 12:29 AM PDT

    Hi guys, sorry to be posting this here but couldn't find an answer for this anywhere:

    What I have:

    1. a multi-module project that works fine.
    2. Project is stored in Git and each sub-module has it's own repository.
    3. No problems with references or anything like that, again - functionally it works just fine.

    The "problem":

    My team and I work on the project by opening all the modules in the same Android Studio window, we see all the module in the same tree and we can open each one just fine (noted here since that might be related, IDK). If we change a file/class/asset/something in one of the submodules, and then want to run the application with the new change, we have to "rebuild" instead of "build" which takes extra time and doesn't happen automatically like regular "build" which occurs before each run.

    If we "build" the specific sub-module that was changed, the change isn't recognised when we run the app.

    Is that normal? did we miss something in the configuration? Is there a way to make the project build all the submodules with the "build" command instead of the "rebuild"? Is it not supposed to? Any input would be appreciated :)

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

    Course for experienced developers

    Posted: 06 Jul 2020 06:27 AM PDT

    Hi, I am looking for an Android with Kotlin course for experienced developers. I have been in the field for 10 years and I am not wasting 60 hours listening to how to declare a variable. Do you know of any good courses? Couldn't find any by just googling.

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

    How to do a splashscreen the right way?

    Posted: 05 Jul 2020 10:13 AM PDT

    I've seen countless videos where people are saying to make a splash screen occur for a set amount of time. I know this is wrong, yet I can't find any resources to do a splash screen the right way, any help?

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

    Open source TV shows tracker Showly 2.0. Feedback and suggestions are welcome.

    Posted: 06 Jul 2020 08:29 AM PDT

    https://github.com/michaldrabik/Showly-2.0

    https://play.google.com/store/apps/details?id=com.michaldrabik.showly2

    I have released it some time ago as a continuation of my previous hobby project. Comments regarding code and usage are welcome. Thanks

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

    When is Gambling License necessary?

    Posted: 06 Jul 2020 08:21 AM PDT

    Hello, I want to make Android game with blackjack which is Gambling game but I am not planning to deal with real money, just fictional in-game currency, Do I still need gambling license for that and If so, how much does it probably cost(just approximately)?

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

    How to best debug bluetooth connectivity?

    Posted: 06 Jul 2020 02:46 AM PDT

    Hey guys, I started a new job as android dev, and the app Im working on utilises BLE and iBeacon to connect to a small device. It usually works pretty well, but some users are reporting connectivity issues, constant disconnects and reconnects, cannot connect at all, etc.

    I cannot replicate these issues on my own test devices, even if they are the same models being reported. My experience with BLE is pretty low, so I'd love some resources on how best to work with it on android. Any suggestions?

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

    Can you reuse the same privacy policy

    Posted: 06 Jul 2020 02:48 AM PDT

    if both games are the same in terms of data collection and everything else do you need a new one for each game?

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

    Which ViewGroup are the best to hold only one child?

    Posted: 06 Jul 2020 02:43 AM PDT

    Usually I'd pick LinearLayout for this, but is there any better option? Only needed for wrapping the view for UI stuff. Thanks!

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

    What do you use for long running tasks since Loaders and AsyncTask have been deprecated ?

    Posted: 06 Jul 2020 01:55 AM PDT

    Hello, Loaders and AsyncTask were really easy to use and helpful classes for long running operations like performing network http requests, but since they are deprecated, I couldn't find an alternative. I know that I may use LiveData + ViewModel as Google suggests but they are not doing tasks in a separate thread, so what can we use besides them? RxJava? or sth else?

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

    How to update single item while using paging 3 with network only ?

    Posted: 06 Jul 2020 01:32 AM PDT

    I wanna do something like updating the item's favorite state in UI after I updated the server with new state just for a single item of the list.
    but the current paging library won't allow it.
    The only solution for now is to use with database and update the db.
    but there should be a solution for network only usecase too.

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

    Understanding How and Why: The MVI Android Architecture | Eric Decanini

    Posted: 06 Jul 2020 02:05 AM PDT

    Attention app developers: Android is no longer second fiddle | Developer Tech News

    Posted: 06 Jul 2020 02:05 AM PDT

    GitHub - BMI Calculator app using ViewModel, LiveData, Navigation Component, Room, Data Binding, Koin

    Posted: 05 Jul 2020 02:38 AM PDT

    GitHub - BMI Calculator app using ViewModel, LiveData, Navigation Component, Room, Data Binding, Koin

    Hi fellow Developers,

    I made a simple application which uses the libraries and design patterns what I mentioned in the title.

    I would like to ask you to tell me what do you think about my solution.

    You can find the source code here: GitHub repo

    Thank you :)

    https://preview.redd.it/onwld5ule0951.jpg?width=1080&format=pjpg&auto=webp&s=c43d33475faff704feec358cbeec4d14c22c649c

    Inspire Coding

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

    No comments:

    Post a Comment