• Breaking News

    Saturday, January 4, 2020

    Android Dev - App Feedback Thread - January 04, 2020

    Android Dev - App Feedback Thread - January 04, 2020


    App Feedback Thread - January 04, 2020

    Posted: 04 Jan 2020 04:28 AM PST

    This thread is for getting feedback on your own apps.

    Developers:

    • must provide feedback for others
    • must include Play Store, GitHub, or BitBucket link
    • must make top level comment
    • must make effort to respond to questions and feedback from commenters
    • may be open or closed source

    Commenters:

    • must give constructive feedback in replies to top level comments
    • must not include links to other apps

    To cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.

    As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

    - Da Mods

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

    GitHub - lndmflngs/hat-view: Library that allow to put "hat" on TextView. Inspired by Telegram appbar title with Santa Claus hat ����

    Posted: 04 Jan 2020 03:40 AM PST

    How do some launcher apps import shortcuts and other settings from Nova Launcher?

    Posted: 04 Jan 2020 02:33 AM PST

    I've noticed that if you used Nova launcher, and you try out some launchers (such as Apex Launcher, Evie Launcher, ADW Launcher 2, and maybe others), they let you import various settings from Nova launcher, including the shortcuts to apps and even the widgets.

    How do they do it? How come it doesn't exist for other launchers? Are there other launchers that you can switch from, knowing that another launcher could import the data from?

    Is this a known API ?

    submitted by /u/AD-LB
    [link] [comments]

    Kotlinx Json vs Gson - a short article about Kotlin oriented cross-platform reflectionless serialization library from JetBrains.

    Posted: 03 Jan 2020 10:50 AM PST

    How can I show a group of pictures/videos that are contained within a certain folder within my app? Can I use Libraries/native galleries to do that? Implementing an own gallery within the app seems like reinventing the wheel.

    Posted: 04 Jan 2020 07:46 AM PST

    It should work in a similar way that you can see media within a WhatsApp chat, only less complex and preferably with as little own code as possible.

    I'm not doing a chat app btw, don't worry :D

    I just want to have pictures and videos, perhaps also with descriptions or titles and be able to scroll through them or be shown a chooser inside the app.

    Thanks.

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

    Help with Repository Pattern

    Posted: 04 Jan 2020 05:42 AM PST

    The app I'm currently working on has different behavior based on some device specs, e.g. Samsung, Motorola and Pixel shows different information and UI. Instead of storing all the assets in the application, we will save it on cloud and download it based on the user device.

    The main point in this case is that the endpoints with manufacturer-based information is unlikely to change its data frequently. For example, after defining the images and strings for Pixel 3A, the changes will be minimal or none.

    Based on those assumptions, we are investigating the following solutions:

    • Rest API, Cloud Message and Room

    The first solution is hosting a simple REST API with all the device information. When the application is first opened, it download all the specific data and stores in local database. After that, the local DB is the Single Source of Truth. The application will only reach the endpoint again if a push message is receive informing that new data is available.

    • Dynamic Delivery

    We already implemented a solution based on device-feature and it works. When installing the app, only the module with the right assets are installed. Unfortunately, once the company handles the Google Play deployment and are not very flexible, they are not willing to use it.

    What to you think about these solutions? Any suggestions?

    Thanks a lot for your help. 😊

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

    SSL certificate unknown

    Posted: 04 Jan 2020 05:13 AM PST

    Hello,

    Trying to create secure MQTT connection to Mosquitto server. I'm using CA.crt certificate to get secure connection with help of sample application.

    Mosquitto server reports with error:

    1578142589: OpenSSL Error: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown

    1578142589: OpenSSL Error: error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure

    I'm using same CA.crt certificate to connect from linux machine at it works fine:

    mosquitto_sub -h 192.168.1.8 -t s1/ss --cafile ca.crt -p 8883 -d -u c -P c -i dd

    What might be wrong with my connection and how to solve this problem.

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

    what’s the current best practice for implementing Android Room?

    Posted: 04 Jan 2020 04:58 AM PST

    I've never done any MVVM thing before, and I don't know what's the significance of using such a headache!

    Room is currently working fine for me without too much complications, but I'm using GlobalScope launch to get access the database, which is highly discouraged as I read here.

    I wanna do it in a better way and learn more about the subject (MVVM, lifecycles, LiveData, etc), can you provide some links that help with that?

    I'm hoping that implementing these will result in a better code.

    Thanks, appreciate the help!

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

    [Need advice] AdMob restricted ad serving due to curse words

    Posted: 04 Jan 2020 03:56 AM PST

    [Need advice] AdMob restricted ad serving due to curse words

    Hello, fellow Android devs,

    I need advice on what to do in such a situation:

    My app plays Russian phrases that are popular in a game called Counter Strike: Global Offensive. I have released 2 versions of an app, one that contains no bad words and another that is basically full of curse words both in English and in Russian (I call this 'rage' version). I had integrated AdMob interstitial ads into both of the apps and it was working fine. However, yesterday I have received a notification that ads were restricted in 'rage' version. The issue is "Adult: Sexual content":

    https://preview.redd.it/04ik6beg4r841.png?width=941&format=png&auto=webp&s=1868a1cd06b06123fa02ab21a8b6088e0cd08c13

    As I said, the app contains no visual sexual content, only written and spoken phrases, here are some examples (upon pressing the play button the phrase is said in Russian):

    Oh fuck - Блять

    Rush B whore bitch - Раш Б cука блять

    You make my dick hard with your performance - У меня встал от твоей игры

    This is how the app looks when you open it:

    Russian rage phrases for CS:GO

    Basically, these Ads are my only source of income from these apps. If I want to restore the AdMob serving to my app, what choices do I have?

    Will it be enough to blur curse words (whole or just one letter)? I don't want to lose user experience.

    Are there any alternatives to AdMob that does not have such restrictions?

    For those, who are interested, here are the links to these apps:

    mild version: https://play.google.com/store/apps/details?id=ether.paul.lt.russiansphrasesforcsgo

    rage version: https://play.google.com/store/apps/details?id=ether.paul.lt.russiansragephrasesforcsgo

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

    ML Kit face identification

    Posted: 04 Jan 2020 02:04 AM PST

    Hey everyone!

    I need to identify people with face detection in my app. I haven't been able to find such thing in ml docs.

    Is there any way to identify and compare different faces with ml kit?

    Like for example does ml provide an ID for each individual face?

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

    This is my first game. It would be really nice to have some feedback.

    Posted: 04 Jan 2020 05:40 AM PST

    Compile c source code with iconv

    Posted: 04 Jan 2020 01:23 AM PST

    I am trying to compile c source code with iconv for Android. But getting error to reinstall iconv.

    How to solve it ?

    submitted by /u/webdev-online
    [link] [comments]

    How to create a custom music database like in Poweramp (my goal is get rid of MediaStore)?

    Posted: 04 Jan 2020 01:02 AM PST

    Poweramp has its own databse with albums/tracks/artists. It detects file changes, links tracks with albums, with artists etc.

    I want stop using MediaStore because it is buggy and many users complains about their music not updated, not displaying and so on.

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

    Emulator 29.3.4 Canary

    Posted: 03 Jan 2020 06:03 PM PST

    Experienced web developer looking to dip his toes into Android development

    Posted: 03 Jan 2020 06:07 PM PST

    First off, thanks for the help in advance, and I know this has probably been asked a 1000 times in different ways and I have looked at some of the other posts including this one (https://www.reddit.com/r/androiddev/comments/dqv8s6/learning_android_dev/), but I don't know enough to know what I don't know, lol. So I thought I ask you all for help.

    I'm an experienced web dev and aws solutions architect but my only mobile exposure has been through pwas and a bit of React Native play. I have a few ideas I'd like to try to build and so I thought I'd try to learn some Android development.

    I have a million questions, but I thought I'd just start by asking if I should learn Kotlin (or java?) first and then dive into Android, or can I combine my language learning while diving into Android. I don't need an intro to coding or OO & functional techniques but have never worked in Kotlin (or java), so any recommendations on a learning path and resources would be greatly appreciated.

    Thanks again,

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

    GG Console - Why the number of active users lower than new users (three times)?

    Posted: 03 Jan 2020 06:56 PM PST

    Hi there, I'm the developer of a booking app call TripU. We just started to run user acquisition campaigns and racked up millions of downloads in five-month. However, through Google Console, I found some risk statics that the number of active users is to low compared to new acquisition users. For example, I started on Monday and have 1000 active users, on Tuesday I get 1000 new user acquisitions but new number of active users just be 1200. Assume our retention = 0, so at least I must have ~ 2000 active users huh?

    Active users in GG console mean "The number of users who have your app installed on at least one device that was active in the preceding 30 days" so I wonder that how can someone install my app without opening their device? It could there are some IDs installed my app on multiple devices. But it can't be too much like that.

    So my question is: did you ever see a similar trend for one of your apps? So many thanks, guys.

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

    Seeing which apps are used in a session

    Posted: 03 Jan 2020 05:15 PM PST

    Hi all, I am building an application for a research project, and I want to know if it is possible to keep track of which applications were used during each session. A session is defined as the time between screen unlock and lock.

    I know about the UsageStatsManager api but to my understanding it would not be able to show me data for intervals smaller than a day. I am trying to use native android apis as much as possible and to avoid 3rd party libraries, but if this can be solved with 3rd party libraries I would consider it. Maybe I'm completely misunderstanding how it works, as I've been looking at this for a couple of hours now.

    Another thing, if anyone knows, but does UsageStatsManager update the usage data right away, or is there a delay between me using an application for 10 minutes, and that respective information actually showing up when queried by the api?

    Thank you, any help is appreciated.

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

    Does anyone actually use the default Android emulator?

    Posted: 03 Jan 2020 11:50 PM PST

    I've been working on an app in Ionic, mostly in the browser. However, because I need some native features, I've recently been running on both physical devices and emulators, and holy hell: is the default Android emulator complete and utter janky garbage, or is it just me? I have 32 gigs, 8 cores and a fast SSD, and running a single instance essentially brings my desktop to a stall. I haven't seen something crash/lag/stall so much since Windows Me. Yes, I'm giving the thing multiple cores and have all the hardware acceleration on, and I'm using an x86 image.

    Do full time mobile devs, especially those doing native dev, all use a third party emulator, or just use physical devices from the get-go? If I had to run the stock emulator every day I'd go on a murder-rampage.

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

    Android dev here, what could I use to make a desktop app?

    Posted: 03 Jan 2020 12:50 PM PST

    Hello

    I am an Android developer with decent experience, both using java and kotlin, but now I want to make a desktop app. I use Linux, so that would be my target OS, but it also running on Windows and or Mac would be a nice plus.

    I don't want to run an Android app on my desktop in an emulator (don't know if there is a way to do that with good integration with the desktop, clipboard, that also doesn't swallow all my ram), instead I want to know what I could try that might be more familiar to an Android developer, like some java framework or something high level, not plain java... you get the idea... kotlin native seems too low level and not fully stable, but I don't know, you tell me...

    Thanks!

    EDIT: I rememberd about Ambox, haven't tried it (yet).

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

    Anyone come across a good real device testing farm which supports Samsung Galaxy S10 Android 10?

    Posted: 03 Jan 2020 08:53 AM PST

    These few days, I have been searching and testing around various real device testing farm, to look for device Samsung Galaxy S10 Android 10. So far, I am not able to find a good one.

    • https://kobiton.com/ - Their testing facility is great. But, they don't come with Samsung Galaxy S10 Android 10. Contact their customer support for few time. No respond at all. Bad!
    • https://www.browserstack.com/ - Their testing facility is great. But, they don't come with Samsung Galaxy S10 Android 10. Contact their customer support. According to them, they do not have ETA to support Samsung Galaxy S10 Android 10. Ok.
    • https://saucelabs.com/ - Their testing facility is slow. However, they come with Samsung Galaxy S10 Android 10. But, their testing facility lack of an important feature. While you are running your old version of app, you cannot upload and install a newer version of app. This is important, as we need to simulate DB migration code as well. Without this feature, such testing is useless for us.

    Have anyone come across a good real device testing farm which supports Samsung Galaxy S10 Android 10?

    Thanks.

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

    Suggest me a good paid online course on mobile security

    Posted: 03 Jan 2020 08:39 AM PST

    My company (outsourcing specialized in financial, payments, banking domains) is willing to sponsor me, so I think to take advantage of.

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

    No comments:

    Post a Comment