• Breaking News

    [Android][timeline][#f39c12]

    Monday, October 29, 2018

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 29 Oct 2018 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 - October 29, 2018

    Posted: 29 Oct 2018 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, 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]

    Kotlin 1.3 stable released!

    Posted: 29 Oct 2018 08:02 AM PDT

    Kotlin 1.3 Released with Coroutines, Kotlin/Native Beta, and more

    Posted: 29 Oct 2018 08:34 AM PDT

    Navigation 1.0.0-alpha07 is out now

    Posted: 29 Oct 2018 02:56 PM PDT

    "Learning Java by Building Android Games" among other valuable titles that you might enjoy

    Posted: 29 Oct 2018 01:52 PM PDT

    Humble Bundle released a pack on Java and related topics you should take a look on.

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

    How do I use Retrofit 2.0 with repository pattern

    Posted: 29 Oct 2018 07:02 AM PDT

    I am a total android nooby. I've only did this for over one month. For a project in school we have to make a project that uses a custom webserver.

    I've been searching for 2 weeks on how to use Retrofit 2.0 with the repository pattern. I have a class DataManager where I want to group all my data that I get from my webservice. I'm still stuck on how to implement this.

    Found somewhere that I could use loaders, but it's still not completely clear how to use this together with retrofit.

    I hope anybody can help me further or give some kind of quick example on how to help me out.

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

    My App Suddenly Disappeared From the Search Results

    Posted: 28 Oct 2018 11:08 PM PDT

    My App has been the first in the search results when I searched for it in the Google Play store since it was launched (3 months ago), and now it doesn't appear at all. I have tried to search from different devices and search for different keywords but nothing, it's like it doesn't exist.

    It seems like the app is still published as usual and that its page in the store still exists, but I just can't reach it from the search results. I didn't receive any email regarding this issue from Google.

    Does it make sense in any way? Should I contact Google?

    EDIT: I was relieved to see that I'm not the only one. As for my App, the issue was fixed. It appears again in the search results (for now).

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

    Looking for help with "singleTask" and resuming my app from background via icon tap

    Posted: 29 Oct 2018 03:28 PM PDT

    At my current job I've inherited a large codebase with many quirks.

    One of the most annoying quirks is that backgrounding the app and then tapping the app icon will cause it to restart (resuming the app from recents doesn't cause this to happen.) This is very poor UX especially if the user is in the middle of filling out some information.

    I've learned that the app's SplashActivity uses launchMode="singleTask" in order to support Branch.io links (see documentation.) Removing the launchMode fixes the issue of resuming the app but is required by Branch so that's not an option (unless there's some workaround I'm unaware of.)

    With my limited knowledge of launchMode (currently reading up so I can understand better) I can think of two approaches to solving this issue:

    1. Convert my activities to fragments hosted in one activity with launchMode="singleTask". Since this activity will stay around (as opposed to our current splash activity which we finish) the app should resume as expected without the user losing their position. I'm fairly sure this would solve the issue but would be a rather large lift in terms of amount of work.
    2. Create a new Activity with no UI which handles the branch links and resumes other activities. I'm unclear on how I would resume other activities in this case. I might have to make them all "singleTask" (bad idea?) so they're brought to the top of the backstack when I try to start them from this new Activity. Alternately maybe I could make this new activity shuffle itself down the backstack allowing the previous activity (the one the user left the app from) to come to the front (I'm not really sure if this could be done but it sounds hacky.)

    I hope there is a much better solution as I'm not too keen on either of these options. Any input is greatly appreciated!

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

    All talks from Droidcon London are available here

    Posted: 29 Oct 2018 12:57 AM PDT

    Authentication with AWS Amplify and Android: Integrating Biometrics

    Posted: 29 Oct 2018 03:08 PM PDT

    Is it possible to log in on Netflix via cookieson android?

    Posted: 29 Oct 2018 03:55 PM PDT

    Hey guys,

    Long story short: me and my gf broke up and I'm still left with her netflix on my laptop. I don't know the password and I don't have an access to her email, but I'm logged in on Chrome and everything is working great.

    Is it possible to use my cookies from Chrome (NetflixId and SecureNetflixId) to log in on my android phone app? Copying these two cookies onto another PC works great (EditThisCookie extension for Chrome) but I'm not sure how to get it working on the android Netflix app.

    Any ideas? I would just need to change values of those to cookies. Is that possible?

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

    How many times do you have to invalidate cache and restart Android Studio?

    Posted: 29 Oct 2018 03:47 PM PDT

    I'm up to about 3 times a day. I'm running Android Studio 3.2 Canary 14.

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

    Requirements for Play Store address

    Posted: 29 Oct 2018 03:37 PM PDT

    If anyone knows more than me because google is pretty ambiguous and then just randomly removes you later, what's the requirements for the address field on the play store? I know it can't be a PO box, but does a business mailbox I can rent work? For example, I can rent a business mailbox that has a completely normal street address, and is a physical mailbox, no box number, etc.

    I'd also like to rant on how requiring people to compromise their personal security to be on the play store is completely unacceptable.

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

    Will updating to a more recent gradle plugin and build tool have any effect to an app runtime-wise?

    Posted: 29 Oct 2018 03:22 PM PDT

    So I'm dealing right now with a bit outdated codebase that still uses Build Tools 25.0.0 and Android Gradle Plugin 2.3.3 and I'd want to update them so I can use lambdas without Retrolambda and potentially even use Kotlin. Will update them cause a runtime-wise different behavior to the app at all? One of the dependencies of the app that I'm worried is the google-services that still runs on 3.0.0, though I wouldn't be updating them, just the Build Tools and Android Gradle Plugin.

    Also, the app is a bit like an embedded one since it's only meant to run on a customized tablet, having Jellybean for its OS.

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

    Google Play Store seems to have removed my app from their search

    Posted: 28 Oct 2018 11:10 PM PDT

    A few months ago I finished an app and published it on Google play. It would show up on searches and as of this month has about 200 downloads and a good rating.

    And now today, I wanted to access the play store listing by searching for the app, and it won't even show up under any search results at all. Typing in the exact name of the app didn't bring it up under any results (unlike earlier this week).

    Has anyone experienced this? Is it an anomaly? If I access it by package name, it's there, but I want users to be able to stumble upon it by the search feature.

    Any help would be greatly appreciated

    Edit: When I search for my name, my other app is the first result, but the app I'm referring to in this post is missing.

    Edit: after talking with google console customer care and sleeping on it, the issue seems to be resolved

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

    What books/tutorials would you recommend using to become a Junior Dev?

    Posted: 29 Oct 2018 02:46 PM PDT

    I have a short background in web development, but I want to get into Android. While I do have a little experience with app development, I want to be competent before applying to jobs.

    What would you expect a Junior Dev to know on day one of the job, and what would be a good way to learn it?

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

    Single test codebase, execution on device or JVM

    Posted: 29 Oct 2018 02:45 PM PDT

    I'm making some experiments about this test approach during some months, and now, with the release of Robolectric 4.0 beta 2 and Espresso 3.1.0 (alongside another Google testing libraries), I've got a successful sample project up and running - https://github.com/rafaeltoledo/android-testing

    On my machine (a Macbook Pro with i5 and 8Gb RAM), I've got the following results: - gradle clean testDebug - 27s - gradle clean connectedCheck - 3m27s

    The tests running on the device are using Android Test Orchestrator to make them more reliable. Code coverage is also working pretty well. My plan for the next iterations is to convert it to Kotline and to add more complex test cases, including mocking, and custom Espresso matchers and actions to check how they behave in this environment.

    Any feedback or suggestions will be welcome here! (including contributions to the repo)

    P.S.: I'm waiting for some news about Project Nitrogen that I think will aggregate a lot to this setup, making it easier to set up and more reliable to run

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

    Android TDD with Kotlin - Heather Downing

    Posted: 28 Oct 2018 04:36 PM PDT

    Android will die ?

    Posted: 29 Oct 2018 01:58 PM PDT

    Procedural generation in android using java

    Posted: 29 Oct 2018 08:00 AM PDT

    Can anyone point me where to get started with the concept of graphics/whatever procedural generation in Android using Java? Thanks in advance.

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

    [DEV]Space Step: Heroes of the Earth

    Posted: 29 Oct 2018 01:03 PM PDT

    [DEV]Space Step: Heroes of the Earth

    Protect Earth from alien invaders and become the hero of the galaxy!

    Download now

    Welcome to the Alliance! Orcs are already in orbit of the Moon, and in the far corners of the galaxy the long-forgotten enemy is preparing to attack. And it's all on your shoulders, soldier! The space is waiting! The destiny of the Earth is in your hands!

    The war in space has much to offer:

    • The story of the galactic war, which will make you cry and laugh!
    • Combat ships from the best engineers of the galaxy, which you can upgrade!
    • The battles that will temper you - become the best pilot in the Alliance!
    • Improve statistics and get awards personally from the commander!
    • Modern old school graphics, which will give the most pleasure and adrenaline from the battle!
    • All this for the best music, which is loved all over the Milky Way!

    The Earth is waiting for its heroes! The Earth is waiting for you!

    Welcome to the galactic war, soldier!

    FIGHT!!!

    https://i.redd.it/rcx26rojk6v11.png

    https://i.redd.it/zn8w11rjk6v11.png

    https://i.redd.it/z8h24eqjk6v11.png

    https://i.redd.it/ctgptdpjk6v11.png

    https://i.redd.it/60w3lmpjk6v11.png

    https://i.redd.it/f5d2edpjk6v11.png

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

    Multiplatform Server-driven rendering at scale - how do you go about this?

    Posted: 29 Oct 2018 04:12 AM PDT

    To those using any kind of server-driven rendering solution:

    1) How do you keep all 3 platforms (web, android, ios) in sync?

    2) How do you ensure features are getting delivered on time on all platforms, and development of one platform does not break others?

    3) How much code can you share?

    4) Is any of this opensource?

    5) How do you maintain backwards compatibility?

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

    My Game's Stats 18 days after Launch

    Posted: 29 Oct 2018 12:55 PM PDT

    Hello r/androiddev! I was trying to find posts of other users' game launch stats, and stumbled upon quite a few in this subreddit, so I figured I'll add mine!

    It's been 2.5 weeks since I published my 2nd game Idle Skilling on Google Play (the first one was a platformer that got <5,000 installs over 2 years). I've used a combination of pseudo-grassroots marketing in a niche community (idle gamers on the old flash site Kongregate), as well as Google's Universal App Campaign for user acquisition. I think the biggest thing left in marketing right now would be if I hit the jackpot and get featured on Indie Corner, or if some Android News sites pick up on the game.

    Here are the stats for the 18 days that Idle Skilling has been live for:


    DOWNLOADS AND RATING

    Active/Total installs: 4,301 / 9,188

    Rating on Google Play: 4.6 (436)

    Users gained through Ads: 5,500 Users gained organically: 3,600


    REVENUE AND ADS

    Average cost/user through ads: $0.20

    Percent of users who buy IAP: ~2-4% (still early, so little shaky on what the precise numbers are)

    Average Revenue per paying user: ~$8.00

    Average Revenue per install: $0.20


    INSTALLS BY COUNTRY

    Installs by major countries: USA -- 35% Philippines -- 11.3% (ad mistake) Germany -- 8.21% United Kingdom -- 6.5% Canada -- 5.6%

    Most of the revenue comes from US, with UK and Canada being the next biggest spenders.


    Feel free to ask any questions, I'll try to answer them.

    Also I have a question myself. I have done everything I could think of in terms of SEO -- title is Idle Skilling -- Incremental RPG Adventure, description has the word "Idle" in it, Long description has the word "idle" in it a lot. Despite this, the SEO is absolutely terrible for the game. If you search "Idle killing", it isn't in the top 100 results. If you search "Idle Game", it isn't in the top 100 results. If you search "Idle", its like #50, but the #49 game is an idle game with 100 installs, and 2 rating. Could anyone take a look at the play store page, and let me know what I am doing wrong? I would have thought almost 10k downloads and ~$2k revenue would be enough to beat out a game with two ratings, but apparently not haha ;)

    Thanks for reading, and I'll be around later to answer questions and everything!

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

    Simplifying UI States with Kotlin Sealed Classes and DataBinding

    Posted: 29 Oct 2018 08:21 AM PDT

    Consequences of not hanling rotation properly. Would ViewModel help?

    Posted: 29 Oct 2018 02:54 PM PDT

    Google Analytics for Firebase Advertising IDs Compliance with COPPA.

    Posted: 29 Oct 2018 07:09 AM PDT

    Hello.

    I have a mobile application I am building which uses third-party services such as Google Firebase (Analytics, Crashlytics, and AdMob).

    My Ad Requests to AdMob are already tagged for child directed treatment so that Mobile Ad IDs are not used for interest based advertising. However, Google Analytics for Firebase collects Ad IDs for the purposes of attaining demographics, interests, and location data.

    Is this still permitted for an application that should opt-in for the Designed For Families (Mixed-Audience) Program as well as the Child's Online Privacy Protection Act?

    Thank you.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel