• Breaking News

    Friday, January 8, 2021

    Android Dev - Weekly Anything Goes Thread - January 08, 2021

    Android Dev - Weekly Anything Goes Thread - January 08, 2021


    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]

    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]

    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]

    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]

    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]

    [Infographic] Build and test an app in 5 days using Design Sprints

    Posted: 07 Jan 2021 01:41 PM PST

    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]

    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]

    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]

    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]

    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]

    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]

    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 can be streamed in App. I have fa ew 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]

    Bluetooth can't find speakers

    Posted: 07 Jan 2021 08:04 PM PST

    Has anyone had the experience yet of bluetooth finding everything except bluetooth speakers (jbl, soundcore)?

    Any opinions about resolving this matter would be greatly appreciated.

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

    Choosing a new language to learn

    Posted: 07 Jan 2021 11:50 PM PST

    Hey everyone! I want to improve my mobile development skills with some hobby apps (for beginning nothing special, only like a few views with images and text, etc.. but later more advanced) Which programming language is currently at the top? I have been using Android Studio with Java, and I didn't really like it, especially not responsive design, I just couldn't figure out how should properly work... I have been also using Xamarin for some industrial apps (app UI doesn't really matter as long as it works), but it will be soon EOL so it is probably better to avoid it, I guess?

    What is your suggestion? I hear flutter is becoming more and more popular? What about Kotlin or React native?

    submitted by /u/harambe1999-2016
    [link] [comments]

    Parsing One Time Password

    Posted: 07 Jan 2021 11:42 PM PST

    Hi,

    Asking out of curiosity. The android messenger (in stock android) is able to parse through all your smses and extract just the one time password automatically. Android notifications now directly show "Copy <one time password>" option which can be used to copy the one time password without opening the SMS.

    My question is, how do you think they are doing that? Initially, I thought they were using the "SMS Retriever API", but it can't be. With SMS Retriever API, the responsibility of parsing an sms is on the app. And since the sms is meant for that app, it is easy to use regular expressions.

    But android messenger can do this for sms coming for multiple services (your banks, your social media" etc. How difficult of a problem is this? Do you think they use some form of machine learning? Or is there a simple regex that I am missing?

    Thanks.

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

    What will be the biggest software development trends in 2021? Take the new Developer Economics survey, answer a few questions about dev tools, platforms, technologies for a chance to win cool prizes!

    Posted: 07 Jan 2021 11:40 PM PST

    Is it more trouble than it's worth to design a brand new font for your app?

    Posted: 07 Jan 2021 12:14 PM PST

    I paid a graphic designer to make the logo for my app and it turned out spectacular. He even designed his own font for my app's name beneath the logo, and I was thinking of hiring him to create a full font for my app. I'd use this for regular app stuff (menu labels, settings, etc.) but also for the group chatting between users. If I go down this road, what sort of problems would I have? Do people do this commonly in the industry or is it better to pick an existing, free font that they like?

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

    Basic question about testing an app in the Google Play Console

    Posted: 07 Jan 2021 07:30 PM PST

    Hi,

    I'm currently developing an app for Android. I'm trying to implement in-app purchases, for which I needed to set up the app in the Google Play Console, upload an app bundle and add some purchasable products. The app is under development and is not supposed to be tested or seen by anyone at this time - the only reason I set it up in the Console for now was to implement in-app purchases. I published it to the Internal Testing track, but the status in the Console is saying "In Review"? I don't want Google to review it or for anyone to see it. Is it possible to have my app in the Console for development purposes without it being reviewed or anything?

    Thank you.

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

    Is it possible to make a smart glass using android, if so what are the thing I should take into consideration?

    Posted: 07 Jan 2021 09:53 PM PST

    I am considering to making an os for smartglass with my friends as a project. I dont know where to start with the software side of things , is it possible to do this using AOSP ?

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

    Changing textview when pressed on listview

    Posted: 07 Jan 2021 09:30 PM PST

    I'm a newbie trying to make a basic app. I have a list view and a corresponing adapter. Let's say we have textView1 in each list Item. I want to when they click the list item a pop up will appear where they can enter a number, then textView1 of the corressponing listItem will change to that number. I've been trying to search online but I am using Koltin and almost all solutions are in java and I do not really know how to write this question.

    I already know the onclick command for listView. The only problem I have is I do not know how to determine which List Item is pressed and how to specificially change that Item's textfield

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

    Google Play subscriptions - single user with multiple devices, potential of abuse

    Posted: 07 Jan 2021 09:56 AM PST

    As everyone else I have to update my existing apps to use Google Play's billing system till September 30, or they will be removed.

    Let's suppose that I have a business app and that a user needs to purchase a yearly subscription in order to unlock the full version. If I understood correctly, once the user buys the subscription he will have access to the unlocked app on all devices that are registered with his account.

    What stops a company from purchasing a single subscription and running the unlocked app on hundreds of devices that are registered with the company's account?

    If I understood correctly, limiting the subscription to a single device would be a policy violation.

    Am I missing something? Has anyone faced this problem? Any suggestions on how to avoid it?

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

    No comments:

    Post a Comment