• Breaking News

    Friday, December 6, 2019

    Android Dev - Weekly "anything goes" thread!

    Android Dev - Weekly "anything goes" thread!


    Weekly "anything goes" thread!

    Posted: 06 Dec 2019 04:41 AM PST

    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]

    FX File Explorer removed from the Play Store for “deceptively” advertising…a free theme [XDAdevelopers]

    Posted: 06 Dec 2019 12:30 AM PST

    https://www.xda-developers.com/fx-file-explorer-removed-from-play-store-deceptive-advertising/

    I take this article as my starting point to write about what I have learned about this violation. I hope that it will be useful to new developers and help them to have a few less problems.

    Add your direct and indirect experience in comments and correct me where I'm wrong.

    1. You can't add (by default) an intent to your app that opens the Play store app and displays the page of any other app. It doesn't matter if the other app is yours and/or free.
    2. If you want to add an intent to your app that opens the Play store app and displays the page of any other app:
    • You must clearly indicate that it is advertising. The graphic element that triggers the intent must be in a frame where the word "Advertisement" is written.
    • You must indicate in the description of your application to Developer console that the app displays advertisements and fill in all other information necessary for apps that display advertisements.
    • You should not use the Play store icon on your application under any circumstances.

    EDIT_1

    It is not very clear what you can do and what you cannot do about promoting your own application from another of your applications.

    From this link (https://play.google.com/intl/en-gb/about/developer-content-policy-print/) (search "Buttons or ads that promote your other") is not clear what is allowed. I can't find another official page dealing with this point. For this reason, I leave the original suggestion that is based on my experience and knowledge; let me know if you have a link that explains more and better this point.

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

    What is happening with Google Play search

    Posted: 06 Dec 2019 04:58 AM PST

    In past few weeks most of my apps cannot be found via search on Google Play. Before they were top results now they are just gone. People can find them only via link. Even writing my developer name shows only about 10 of my apps where before they showed all (around 100). Why this is happening? No indexing? Even when I click on my developer name and click on all apps they don't show all. It shows most of them but still a few are left out. Very strange!

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

    WorkManager: use foreground service for executing long running tasks

    Posted: 06 Dec 2019 04:34 AM PST

    What to Expect in Kotlin 1.4 and Beyond

    Posted: 05 Dec 2019 03:22 PM PST

    CameraX *Breaking Changes*: 1.0.0-alpha07

    Posted: 06 Dec 2019 12:08 AM PST

    Android App crushes When try to put data to a document of a data collection in Firebase Firestore.

    Posted: 06 Dec 2019 07:31 AM PST

    Android App crushes When try to put data to a document of a data collection in Firebase Firestore.

    When I try to put data (press the button) the app crushes and show me these error. I tried many way but nothing is null.

    Every value I need has no error but the app crushes whenever It tries to insert data. I was trying to send data from a user to another user by getting his ID. But the app crushes. Did I do something wrong?

    firebase_data_insert_crushes_android_app

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

    Are adaptive icons a thing?

    Posted: 06 Dec 2019 07:08 AM PST

    I saw that my app on an android 9 Go had white borders so I prepared adaptive icons for it.

    Today I got a new testing phone, a Samsung A40, thinking I would see the adaptive icons properly in action, and they were nowhere to be found.

    Are adaptive icons actually used? Do you guys use them?

    submitted by /u/_-MjW-_
    [link] [comments]

    Android Studio 3.5.3 available

    Posted: 05 Dec 2019 01:34 PM PST

    File showing on Android device not showing on PC

    Posted: 06 Dec 2019 06:04 AM PST

    I'm developing an Android application where some data is exported in a json file written in the Download folder. My objective is to get this file from a computer (when the device is USB connected). When my json file is on the device, it's not showing on the computer.

    So I tested some cases manually and I don't understand what's happening. When I create a test.json file on the device from the computer file explorer menu, I can see it on the device. If I make a copy of this file on the device, I can't rename it and it's not showing on the computer. I tried to create a folder on the device and put the copied file in it. The folder is present on the computer but it's empty.

    If I make the same manipulations with a txt file, all the files are visible on the computer file explorer.

    It looks like I can't see on the computer the json files I created on the Android device (I'm using Android 7). How to see all of the Android device files on the computer file explorer when the device is USB connected?

    I'm asking here because I can't find an answer and I'm totally blocked in my work. Please tell me where I can seek help if this isn't the right subreddit. I was wondering maybe some of you encountered the same problem and know what to do in this situation.

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

    How can we create a View's coroutinesScope?

    Posted: 05 Dec 2019 08:14 PM PST

    I have a custom view where I intent to use coroutines. How do I approach creating a coroutineScope for the View's lifecycle that should handle cancellation. I couldn't find any documentation regarding this. Any help is appreciated.

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

    AndroidX update : 4 Dec 2019

    Posted: 05 Dec 2019 12:04 PM PST

    Looking for library to implement a vertical segmented progress bar, with scale and labeling

    Posted: 06 Dec 2019 03:06 AM PST

    Looking for library to implement a vertical segmented progress bar, with scale and labeling

    Hi!

    I'm looking for a library to implement the following design in Android (and iOS):

    Vertical progress bar with colored segments and scale

    It is important to have

    • segments with different colors
    • scale of numbers on top or below the bar
    • a labeled pointer of the current progress
    • (optionally, it's also okay if the label can be written inside the bar itself)

    I have already looked at many many chart libraries, like AnyChart, Highcharts, MPAndroidChart, but those libs are mainly for charts and none of them has such exact functionality.

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

    new update has rendered my phone useless pixel 3a

    Posted: 06 Dec 2019 06:42 AM PST

    Does android have stable kernel interface for proprietary drivers?

    Posted: 05 Dec 2019 10:17 PM PST

    Ever since the project Treble was released, vendor implementation has been separated from android framework. The only way to make android kernel interact with vendor drivers is if android kernel has support for in-kernel Application Binary Interface (ABI).

    I've found some references on how Google monitors in-kernel ABI changes but they are not referring to its implementation. Linux kernel don't use stable kernel interface for good reasons but unlike android kernel, Linux kernel has in-kernel open source modules.

    How android provides kernel interface for driver support?

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

    Character Avatar App: How To Make?

    Posted: 05 Dec 2019 10:17 PM PST

    I want to try and make the same type of app that Bookwalker made with their "Talk To Megumin" app.

    The app is where you can interact and talk with animated character. You can tap on them to trigger responses and each individual body part is animated as well.

    I come from a background of enterprise/consumer apps. However, I assume that this would require more of an OpenGL/rendering type app/game.

    I am trying to figure out where to start but none of the sample codes I can find on Github really addresses any of these needs. If anyone could help me start in the right direction, that would be much appreciated.

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

    What are some good resources out there to learn android development, the developer's guide has been challenging to read and understand.

    Posted: 05 Dec 2019 10:06 PM PST

    I had a hard time figuring out how to slightly move a logo icon to the left on an actionbar, because the android developer guide was so vague, it took hours of research and egg hunting. Are there any books out there that can teach me basics and fundamentals pretty well? And I can use as a better reference?

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

    Android Game SDK

    Posted: 05 Dec 2019 05:47 PM PST

    Are google API's less developer-friendly in 2019 than in 2005?

    Posted: 05 Dec 2019 08:43 PM PST

    In 2005, new google API's like maps were completely free to developers. We could write freeware for them without an account and a pricing plan... Just pick up notepad, write a program, that's it.

    These days, the new google API's require a few hours of study regarding pricing plan options, API backends, accounts, and we can't make freeware for the user ecosystem, to try out new ideas... We also have cloud rental costs to pass on to app instances, so we have to make rental apps, which is another barrier.

    Am I being negative and uninformed? Doesn't it make more sense for google to give a new API technology away for free 10 years to leverage community creativity for their platforms?

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

    Hello everyone, I have done tutorial on API calls using Fast Networking. I have put much effort into this video. Feedbacks are welcomed.

    Posted: 05 Dec 2019 07:17 PM PST

    What does red/green bar indicate, in store listing A/B testing?

    Posted: 05 Dec 2019 06:27 PM PST

    I have been using store listing A/B testing quite intensively, to figure out the most optimum screenshots.

    https://i.imgur.com/KMwXwnD.png

    Does anyone have any idea what does the horizontal red/ green bar mean?

    For instance, under "black font" variation, there are -10.9% red and 11.8% green.

    Do you have idea, how I should interpret those data?

    Thanks.

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

    Advice? Making a Hex app using imageViews and vector drawables. Is this doable?

    Posted: 05 Dec 2019 06:23 PM PST

    No comments:

    Post a Comment