• Breaking News

    [Android][timeline][#f39c12]

    Friday, May 3, 2019

    Weekly "anything goes" thread! Android Dev

    Weekly "anything goes" thread! Android Dev


    Weekly "anything goes" thread!

    Posted: 03 May 2019 05:41 AM PDT

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

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

    All tutorial videos on raywenderlich.com are free until May 5th, includes Android and Kotlin

    Posted: 03 May 2019 05:12 AM PDT

    Material Components 1.1.0-alpha06 released - Dark Theme, exposed dropdown menu, badges, and more!

    Posted: 03 May 2019 01:19 PM PDT

    How to Service on Android — part 1

    Posted: 03 May 2019 06:21 AM PDT

    Help :: Play Store team keeps rejecting our AndroidTV app, and we are not sure why

    Posted: 03 May 2019 12:13 PM PDT

    Help :: Play Store team keeps rejecting our AndroidTV app, and we are not sure why

    I am seeking advice from anyone who was publishing AndroidTV apps on Play Store.

    We have a (still private Beta) AndroidTV app, and we are trying to publish on Play Store as a internal Alpha testing.

    The app is fully native (no web gimmicks, Leanback components only), and comprises of standard menu on left and 3 sections on right (using only BrowseSupportFragment, RowsFragment, DetailsSupportFragment).

    It has a single activity, and the app is for AndroidTV-only compatible devices.

    After publishing our first private APK, went and checked Device catalogue, and are seeing 118 supported AndroidTV devices.

    Then we've checked Store presence > Pricing & distribution > Distribute your app on Android TV, and awaited response form the Play store team.

    Surprisingly we were rejected.

    After 3 days forth and back, and 3 more updated versions, we've seen exactly the same response (attached) which:

    - No full-size banner

    - Missing DPad functionality

    For the record we have tested the app on different devices here - a Sony Andorid TV, Nvidia Shield, Arcadyan STB, Technicolor STB, and FireTV both stick and box.

    And we have the banner in drawable-xdpi (320x180 px), as well same banner in drawable-xxdpi (432 x 243px).

    And the banner is used in into the manifest > <application/> tag properly.

    And finally we see the banner and title as expected from the Play store team in any of Applications our AndroidTV boxes and tv.

    We are using only Leanback components, and navigation and click are as provided from these components.

    There is nothing custom or extra which may cause an issue.

    I went multiple times through all steps, and I think all is covered. But somehow we are still being rejected.

    Can someone explain what else includes this very generic response?

    Or any advice which may help us dealing with these problems?

    And if there is anyone from the Play store team here, can you help us solving this issue? It's going back and forth, and we are seeking to distribute our private Beta builds to our testers.

    Thanks,

    Dimitar G.

    https://i.redd.it/7mezghkwp1w21.png

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

    Running Fuchsia on the Android Emulator

    Posted: 03 May 2019 05:32 AM PDT

    Admob going crazy with policy violations lately - May 2019

    Posted: 03 May 2019 10:21 AM PDT

    After several years of 12 Android apps working fine with Google Admob, we have suddenly had 12 Admob policy violations this week, and Admob has disabled all of our banner and interstitial ads.

    Is Google on some sort of purge camping or what? Has anyone else seen this?

    Our banner ads have been disable due to "Dynamic Content" - what app does not have "dynamic content"??

    Our interstitial ads have been disabled due to "Placement" issues. It is a chat app, and we only open interstitial ads twice, once before they join a chatroom, and once when they leave. I don't see when else you could open such ads??

    Basically it seems like Google does not want any app to use Admob... must be nice to have so much money you can be so hostile to your publishers.

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

    Why are my total installs decreasing ?

    Posted: 03 May 2019 03:49 AM PDT

    Why are my total installs decreasing ?

    So this is a head-scratcher for me.

    For the past month one of my apps has more installs then uninstalls, Yet the total number on active devices decreases.

    Installs vs Uninstalls

    Installs vs \"Installs on active devices\"

    The google definition for "Installs on active devices" is
    "Number of Android devices that have been online at least once in the past 30 days that have your app installed."

    I have 1355 more installs in that period but 387 less total installs on active devices for a total delta of 1742 less in "Installs on active devices".

    That means that of my current installed user base about 15% has thrown their phone away in the past month ?

    Does anyone know what could explain these numbers or is there such a huge churn on android phones atm ?

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

    For my cake day, I'm resolving myself to learn to develop for Android. Reddit, what are some tips you have for me on starting out?

    Posted: 03 May 2019 03:11 PM PDT

    Huge delay in code completion in AS3.4

    Posted: 03 May 2019 03:03 AM PDT

    XML layout editor code completion is extremely slow and laggy on AS 3.4 https://imgur.com/a/BOfd4fa .It works fine in other projects except this one.I have tried a lot of things like- Remove/disable most plugins- Invalidate Caches/Restart- Clean build

    None of them have worked. My other projects don't have the same issue. This project uses androidX, lots of kotlin and it's a single module. I have tried different settings, tried comparing it to other projects and their settings. None of them have worked.

    Have any of you faced the same situation?

    Edit: This is how it is in my other project which is still using support v28 and very less Kotlin: https://imgur.com/a/zvbkOem

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

    50% decline in admob today

    Posted: 03 May 2019 09:58 AM PDT

    I was wondering if this is a fluke or if this may be related to yesterday's issues or If it is simply a slow day

    ... or if other people have similar declines in revenue today.

    At the same time, my AdSense is about 50% higher than the days before.

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

    passing objects between activities using retrofit

    Posted: 03 May 2019 01:40 PM PDT

    I'm having problem in passing object to another activity even though I'm using parcable in my object ... any idea where could be the problem?

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

    How to Install Android Q Beta

    Posted: 03 May 2019 01:15 PM PDT

    What are the best ways to store the recyclerView data?

    Posted: 03 May 2019 05:38 AM PDT

    What are the best ways to store the recyclerView data for an app which keeps adding new data upon scrolling down, basically an infinite feed? It contains a custom recyclerView which is a different class than the class that fetches data.

    The custom recyclerView keeps checking which item is currently visible and if that post is a video post, it replaces the thumbnail surface with exoplayer. I followed this tutorial for that.

    The problem is that not all posts will be video posts. So the way I approached this problem was, by, passing the dataset to the customRecyclerView and have it decide whether its a video post or not and then add or not add exoplayer respectively.

    Although in the tutorial the dataset is constant, mine is always adding new posts. So how do I make the fetchNewData class communicate with this CustomRecyclerView to give it the new data every time the app adds new data to the dataset.

    Currently, I have a class called dataModel, and the way I store the recyclerView data is I make an array of these dataModels and then just keep adding to it, but I soon realized that it won't be updating that to the list of dataModels I passed to the customRecyclerView upon creation.

    If you have any suggestion on how to tackle this problem or have a completely new approach on how to store the recyclerView data, please leave it in the comments.

    Thank you in advance.

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

    Is nesting a coroutine by adding multiple launch blocks frowned upon?

    Posted: 03 May 2019 09:11 AM PDT

    I am new to coroutines and was looking at ways of running code asynchronously inside them. I have seen people use async-await inside a coroutine to run blocking code on a separate thread. But what if I didn't need the blocking code to return a value, could I just use a nested launch { } block to run that code separately, or would that be a wrong approach?

    For example

    launch(Dispatchers.Default) { // blocking code 1 launch(Dispatchers.Default) { Thread.sleep(2000) } // blocking code 2 Thread.sleep(2000) } 

    Edit: Fixed code formatting

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

    Glide & Volley can't download my links on a few number of my users, how can I figure out what is the problem?!

    Posted: 03 May 2019 12:13 PM PDT

    I have published a wallpaper app recently and it works fine but the problem is that a low percentage of users can't even load the app.

    I use both Volley (to get the library json file) and Glide to load the images. Apparently none of then can access Internet on their devices for some reason.

    I have internet permission and even ads show up from adMob on their devices, but somehow my Glide and Volley can't access Internet.

    The only answer is that this has to be my host? I can't think of anything else but the thing is that the users who reported these bugs can open my hosts direct links (basically the ones loaded by Glide and Volley in the app).

    Any ideas why this might be happening? I haven't done any other online apps before

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

    Emulator 29.0.7 Canary

    Posted: 03 May 2019 08:09 AM PDT

    Detecting emulated device?

    Posted: 03 May 2019 05:31 AM PDT

    Hi there -

    Relatively new to android development and I'm looking for a way to detect whether or not someone is using my app through an emulated device. We've looked at a number of topics on stackoverflow regarding this topic and found some varying information that doesn't work in all or even most cases.

    Is there a unified way to handle emulation detection across the variety of emulation providers, like nox and bluestacks?

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

    Digital Ocean Spaces for social media app?

    Posted: 03 May 2019 03:28 AM PDT

    Do you guys ever used digital ocean storage(Spaces). I'm currently planning to use it for social media app. because its much much more cheaper than aws or google. So there will be a lot of upload operations also people will get data via URL. Are Digital ocean storages good for this porpouse?

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

    My country don't support Credit Cards, Can anyone help to create a Google Console Account for me ?

    Posted: 03 May 2019 08:21 AM PDT

    Action Bar - expected behaviour for Overflow Menu when switching tabs

    Posted: 03 May 2019 03:53 AM PDT

    Let's take a very common case. Your app has a bottom navigation bar which changes between your main screens/features. When you change between them, generally the title in the action bar also changes to provide feedback on the currently selected screen.

    My question: Should/Can the overflow menu options change based on the tab (screen) we're on?

    The closest design guides I found to answer my question are those:

    https://material.io/design/components/app-bars-top.html#contextual-action-bar

    Unless I'm mistaken, I think the answer is that we can have contextual actions but the overflow menu stays unchanged (but this is not really explicitly specified).

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

    Codeless Automated Testing for Mobile Apps

    Posted: 03 May 2019 06:58 AM PDT

    I enabled my CPU usage monitor and am noticing some weird things

    Posted: 03 May 2019 12:03 PM PDT

    Everytime the blue core is in high usage the phone is running slow, why is that and how can I fix it https://i.imgur.com/fYWmo7F.jpg My phone is a Moto x style. Another thing I found is that the phone should have 3gb of ram but it only has 2.5gb https://i.imgur.com/BhInimU.png

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel