• Breaking News

    [Android][timeline][#f39c12]

    Friday, January 8, 2021

    Weekly Anything Goes Thread - January 08, 2021 Android Dev

    Weekly Anything Goes Thread - January 08, 2021 Android Dev


    Weekly Anything Goes Thread - January 08, 2021

    Posted: 08 Jan 2021 06:00 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]

    Positive reviews of my app keep getting removed. Google support is getting ridiculous

    Posted: 08 Jan 2021 06:52 AM PST

    So, positive reviews I get for my (only) app on Google Play Store keep getting removed for no apparent reason. They are legit reviews: I didn't pay for them, I didn't make a review exchange with other apps.

    On January 1 my app was temporarily free: MANY of the reviews I got on that day have been removed shortly afterwards. I've read that could happen when there's a spike in the number of reviews (thanks Google mod algorithm, making my sale almost pointless!). But that is just an example, some of the reviews of these very last days and some I received in November and December got removed as well.

    So I contacted Google Play Console support: chat is still closed (uhm...), so I sent an email using their form, also providing some IDs of the removed reviews.

    At first they replied that I couldn't see all the reviews since they're filtered based on language/country. But of course that applies to the Google Play Store public listing ("hl=xx"), not to the Play Console, where, if I use the link I receive via email when I get a new user review, I even get a review not found error.

    Then, they asked me to provide the exact time when the now-removed reviews were written (that was easy thanks to the notification emails I kept) and when they were removed, approximately, so that they could check if they violated their policy.

    Today, I got another reply: "The comments you reported were reviewed and found to be compliant with our Comment Posting Policy. [...] We aren't able to remove reviews simply because they are negative or rude. Going forward, please feel free to report any user comments that violate our comment posting policy and our team will be happy to investigate."

    LOL what? This is getting ridiculous. They replied as if I asked to remove reviews. Funny thing, the reviews I've "reported" are REMOVED, that is the problem. And they also said they are compliant with their comment policy.

    TL;DR: positive reviews of my paid app keep getting removed for no apparent reason; Google support doesn't (want to) understand what I'm saying but confirmed the removed reviews are "OK".

    Is anyone having the same problem and found a solution? Any suggestions? Thank you very much!

    -M.

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

    FTC Blame ‘Harmful Monetization practices’ on Apple and Google

    Posted: 08 Jan 2021 02:58 PM PST

    Android Startup Tip: Don’t Use Kotlin Coroutines

    Posted: 08 Jan 2021 06:22 AM PST

    Nathanael explains why using coroutines during a startup is not always a good idea.

    https://medium.com/specto/android-startup-tip-dont-use-kotlin-coroutines-a7b3f7176fe5

    via https://androidboss.com

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

    A Movie listing app using TheMovieDb Api and Jetpack Compose

    Posted: 08 Jan 2021 12:44 AM PST

    A Movie listing app using TheMovieDb Api and Jetpack Compose

    I've created a Github project to play with the latest Jetpack Compose features.

    Later that I tried to present this project to my colleagues. Big thanks to their help and support.

    Here is the final state of the project:

    https://github.com/yasinkacmaz/jetflix

    https://i.redd.it/yvgv5xrsm2a61.gif

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

    What is your favorite Android QA testing tool?

    Posted: 08 Jan 2021 07:38 AM PST

    I'm planning to evaluate several testing tools out there. I'm looking for something that integrates with our CI/CD pipeline, specifically Bitbucket Pipelines. I'm open to both open source and paid options. Hopefully, something that can test both Android and iOS.

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

    Hey guys, in the end it was really hard to finish my game, but you inspired me not to stop, thank you!

    Posted: 08 Jan 2021 11:01 AM PST

    Is Anyone Able to Mock Their Hilt injected Viewmodel

    Posted: 08 Jan 2021 06:37 AM PST

    Assisted factories of Hilt has been a nightmare for me and I don't how can I inject my mock viewmodel in my test cases now which is absolutely essential in my app. Haven't found any response in regards to this. Let me know if you have an idea that might help the Android community. https://stackoverflow.com/questions/65624352/android-mocking-the-viewmodel-injected-by-hilt

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

    Will Google/Android review test my app with live or sandbox payments?

    Posted: 08 Jan 2021 01:13 PM PST

    I'm releasing my first app that is subscription based and about to submit to Google Play production track. Does anyone know if Google App Review tests using the live or sandbox/test IAP environment?

    The main reason I'm asking is I'm filling out my testing instructions under the 'App Access' section, and I'm not sure if I need to supply a login Google Play account with working payment details (which I'd rather avoid giving to an unknown tester if possible).

    I know that Apple uses their IAP Sanbox environment while in review using their own accounts, but I'd like to know if this is also true for Google/Android?

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

    recieve intent data from something unlisted in getExtra

    Posted: 08 Jan 2021 04:18 PM PST

    So I have an array of Pairs <String,Int> in Kotlin. I know how to use intents. But I am wondering how can I use getExtra to recieve an array of Pairs. Because their is no standard getArrayExtra() method it always have to be Stringarray, or intArray etc.

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

    Is there a better way to use View.OnClickListener in a fragment?

    Posted: 08 Jan 2021 02:50 PM PST

    class ViewFragment : Fragment(R.layout.activity_fragment), View.OnClickListener 

    I always run into issues using this implementation in practice, mainly in the form of its required onClick() function and the XML never being able to resolve it. The onClick() is really convenient, though, because I don't have to set up a listener for every clickable view, but sometimes it still crashes.

    Any thoughts or better methods?

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

    Android TV: Possible to control subwoofer volume via ADB?

    Posted: 08 Jan 2021 02:29 PM PST

    I have a JBL Link Bar that runs Android TV with a wireless subwoofer. I'm interested in controlling the volume of the subwoofer from Home Assistant. Is there an ADB command to control peripheral device volume or a process for information gathering that I could use to determine if a command was available?

    The subwoofer volume is available in the settings. Would be great if I could use Home Assistant to send an ADB command that controlled it.

    Have done a little information gathering without success:

    $ adb -s 10.0.1.52 shell media list-sessions Sessions: ***Error listing sessions*** 
    submitted by /u/Jcconnell
    [link] [comments]

    i need a place to start learning XML

    Posted: 08 Jan 2021 01:56 PM PST

    what resource should i use to learn XML specifically for android app development?

    i have been looking at a lot of courses that offer general xml tutorials like W3schools and all that but i only want to know stuff relevant for Android studioim

    i am a new developer and currently a student seeking to expand my skills on android platforms

    are there courses that teach you all you need to know about xml while building android apps? Thanks!

    submitted by /u/Historical-Piglet-24
    [link] [comments]

    Display cutout problem

    Posted: 08 Jan 2021 09:18 AM PST

    I'm facing a problem. I'm using LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES to display content in the notch cutout. The first child of ther activity is a fragment that displays a Google Maps map.

    The thing is the activity's background is shown in the notch area but the map fragment does not. How do I make it fit there ?

    After reading about the short edges attribute I found out that it doesns't let all the content be rendered in the cutout area.

    Is there any other way?

    My code:

    activity_main.xml:

    <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout_fullscreen" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#4CAF50" android:theme="@style/Theme.Theme android:fitsSystemWindows="true" tools:context=".MainActivity">

    <fragment xmlns:android="http://schemas.android.com/apk/res/android" xmlns:map="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/map" android:name="com.google.android.gms.maps.SupportMapFragment" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MapsActivity" /> 

    MainActivity.kt: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { attr.layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES }

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

    Feedback on Compose Image Loading with Glide and Flow

    Posted: 08 Jan 2021 06:12 AM PST

    So.. I'm learning Compose and want to load images over the network with the following requirements.

    • Image should load over the network and cached
    • While the image is loading, a separate smaller thumbnail (possibly by dimensions, but mainly by bytes) should be displayed, also loaded from network and cached
    • Thumbnail should have a soft blur applied
    • Thumbnail should be scaled up so when the real image is ready the UI doesn't jump around
    • Image should update if the urls changed

    I made this wrapper to do this adapted from Leland Richardson's gist shared on this sub some time back.

    I'm quite new to Compose, and not that experienced with Android so I appreciate if some of you can have a look and tell me if I miss something.

    Here's my code

    I also used StateFlow since the image need to change from nothing to thumbnail to real image. Not sure if this is the right use case for it.

    Also if the image composable goes out of composition, I don't know how to tell Glide to cancel any pending loads .etc. Original code from Leland had glide.removeListener(listener) but this method is removed from Glide?

    Feedback appreciated 😊

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

    Choices i have for a free chat bot api/library?

    Posted: 07 Jan 2021 10:16 PM PST

    I need to implement a simple chat bot in an android app. So far i've found Smart Reply (Firebase) and DialogFlow from Google. Problem with Dialogflow is that it's free only up to a certain limit, so if you've heard about any other choices, please let me know!

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

    Ad mediation: impression differences

    Posted: 08 Jan 2021 05:44 AM PST

    Hello everyone,

    I just got my very first app / game out on beta testing. Admob worked great for a while for my few beta users but eventually ran dry on ad inventory.

    I added facebook audience network to mediation and am getting good fill rates from them, but there seems to be a quite stark difference in reporting. Admob will say I get 5 new impressions from facebook audience network but facebook audience network says I get 1?

    Anyone have any experience working with them?

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

    What should be a good background image for a RecyclerView?

    Posted: 08 Jan 2021 09:21 AM PST

    This is an inane opinion question that might be downvoted and deserves to be. But please read.

    I'm looking for a background image for my RecyclerView that's not just generic black or white. Something that gives it the Material Design feel. Maybe like this: https://www.zedge.net/wallpaper/538f064d-d32b-4c59-ab7d-f7b95bdfe8f5 but without the copyright protection.

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

    Starting moile development. Flutter or Android ?

    Posted: 08 Jan 2021 04:30 AM PST

    I am a 3rd grade CSE student. I want to be experienced with mobile app development. I know Java well but I have never experienced with mobile app development. I want to make choice between Java(or Kotlin) and Flutter. Dart language is not a problem. If I start with Flutter, would it confuse me about mobile development concepts. For now, I don't have a specific project idea I just want to start from somewhere. The question is which one would be better to start?

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

    Android Accessibility Talkback and Arabic Language Support

    Posted: 07 Jan 2021 11:43 PM PST

    Hi Everyone,

    I have been developing an app that supports the Arabic language and while I am trying to include Android Accessibility Support for the app, it seems that there is no built-in support for Talkback for apps in the Arabic language.

    How can we support the Accessibility features like Talkback when there is no built-in support on Android? and What are the other alternatives as a developer we should provide to the blind users?

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

    How long are new apps from new developers taking to be reviewed in Google Play?

    Posted: 08 Jan 2021 05:09 AM PST

    Hello all. I'm started Android development very recently using Flutter. Three days ago I published my first app, a very simple one to display song lyrics, with a newly crated developer account. It says in the console it usually can take up to 7 days to review but because of Covid it can take longer. So I wanted to know if others have published apps recently and how long it took for it to be reviewed and uploaded, so I have a better idea of what to expect. It's not even the production version yet, it's still for a closed test.

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

    React Native dev needs help with stylizing Android spinner

    Posted: 08 Jan 2021 04:08 AM PST

    Hello, I am having trouble customizing the amount of items shown by the android spinner as it is overlapping with my video component. I have tried editing the XML but to no avail!

    Here is my code

    <style name="spinnerStyle"> <item name="android:height">30dp</item> </style> <style name="SpinnerItem"> <item name="android:height">30dp</item> </style> 
    submitted by /u/Dextersgrownupbeard
    [link] [comments]

    Is androidx security library ready for production use?

    Posted: 08 Jan 2021 03:04 AM PST

    I have a use case to use encrypted shared preferences for storing data in a secure manner. I was considering using EncryptedSharedPreferences class from androidx.security.crypto:1.0.0-rc03 in my application. I wanted to know if the security library is ready to be used in production, or anyone who have used in their product and what is the experience.

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

    Where should I store videos for streaming

    Posted: 08 Jan 2021 02:42 AM PST

    I am planning to build an app that plays videos listed. I have 5000+ videos with me. Videos are of short duration and of small size (<3Mb). Currently, videos are stored on Google Drive. I have searched and found that videos in Google drive cant be streamed in App. I have a few doubts.

    1. Whether Google play policy allows playing videos from Google drive?
    2. What is the best way to store videos for this task?
    3. What are the possibilities for video storage and playing for this task (Not looking to upload in Youtube)
    submitted by /u/usertux
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel