• Breaking News

    Saturday, April 11, 2020

    Android Dev - App Feedback Thread - April 11, 2020

    Android Dev - App Feedback Thread - April 11, 2020


    App Feedback Thread - April 11, 2020

    Posted: 11 Apr 2020 05:29 AM PDT

    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]

    How do you build a professional UI?

    Posted: 11 Apr 2020 03:50 AM PDT

    I started teaching myself to code about 2-3 years ago and started with Android studio. I could almost get any answer I needed from tutorials or resources.

    Since I started I've begun countless projects but only finished a handful. And I've started to realise that it's because I can never make an app look as good as I like.

    Since the quarantine I've started a project I'm really invested in, but I still can't get the UI to look the way I want. With coding, it's like I know what I want to do and I just need to find out how. But with UI it's like I don't even know what I want to do.

    Does anyone know any good tutorials or learning resources on how to build polished UIs?

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

    How the SYSTEM_ALERT_WINDOW permission has been abused over the years by malware creators? I share an interesting history of how Chat Heads were born and what it caused for android developers and users and how Google / Facebook played their strange role in it?

    Posted: 11 Apr 2020 05:32 AM PDT

    Sr Developer - learn idiomatic programming?

    Posted: 10 Apr 2020 10:51 PM PDT

    sadly, i dont use kotlin professionaly at my job, it's just the way it is. the other day, i just began leetcoding as practice for kotlin, and solved LC-121 Buy and Sell Stocks. my solution was accepted, good, but when i saw the most voted solution, i had mixed feelings. i realized i just wrote a java code in kotlin.

    kotlin is not just functional programming and idiomatic syntax, it has a idiomatic programming flair to it. just look-up the solution for the aforementioned leetcode problem, and i hope you'll see what i am suggesting here. how do i learn to program idiomatically like that? books? online site? professionally? switch jobs? what happens when in a white-board interview i prefer to code in kotlin, but my solution is more java oriented than idiomatic programming?

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

    Feel free to join

    Posted: 11 Apr 2020 01:32 AM PDT

    How to reduce view binding boilerplate?

    Posted: 11 Apr 2020 03:53 AM PDT

    View binding is a new feature so I tried to use this but I can't use it in the base class, therefore, every activity or fragment I need to inflate layout and clean up all references in the fragment's onDestroyView(). How to reduce boilerplate? Thanks in advance

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

    Covid19 tracker widget

    Posted: 11 Apr 2020 01:44 AM PDT

    Learning widget during lockdown . Any code tips will be helpful.

    Widget one

    Widget two

    Github link

    submitted by /u/123vipulj
    [link] [comments]

    Android central controller?

    Posted: 11 Apr 2020 02:30 AM PDT

    What can map text to commands..I was looking for any software or service that enables the parts of a system to communicate and manage data. It is the software that handles communication between components and input/output, so developers can focus on the specific purpose of their application.

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

    Questions I have before I start building a complete app

    Posted: 11 Apr 2020 04:26 AM PDT

    So, I somewhat know android development and I've made a couple of apps.

    But these have never been published and to be very honest, they are quite messy not following any architecture or guidelines.

    So, that brings me here.. I have an app idea which I want to stick to till the end and publish it, and I have some questions..

    1. What architecture should I follow? I heard MVI is good, but I can't find a good resource to learn how to use it, I somewhat know MVVM.
    2. What type of layout is best for fitting the most amount of screens, ig constraint layout, but I could be wrong.
    3. What is a good website or app to track everything, like features, to-do, etc
    submitted by /u/Advait1306
    [link] [comments]

    When using cameraX do I still need to declare uses android.hardware.camera2 in Android Manifest

    Posted: 11 Apr 2020 07:56 AM PDT

    I looked at the official Codelabs for the cameraX and I noticed one thing in android manifest we only ask for camera permission and not camera2 feature. But cameraX is based on camera2, so shouldn't we ask for android.hardware.camera2 in the manifest.

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

    Prevent NFC app pop up when scanning tag

    Posted: 11 Apr 2020 04:10 AM PDT

    I'm developing a simple app that reads an NFC tag and just prints the contents out as a toast, but every time I scan the code I get a pop up for the built-in NFC application on my phone. Is there any way to disable this?

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

    Getting Black camera Preview in a lot of devices using CameraX Library

    Posted: 11 Apr 2020 07:32 AM PDT

    I just launched my app and a lot of my friends are telling me that they are seeing a black screen, I tested my app on my own device and some other devices from my family, I was under the impression that using CameraX will fix the black preview problem, but clearly on some RedMi devices and some other devices I am still getting this problem, Is there a solution to this Or is this a hardware problem

    For reference here is the link to my app: https://play.google.com/store/apps/details?id=theindusdeveloper.com.colorcamera

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

    Wait how does that work?

    Posted: 11 Apr 2020 07:29 AM PDT

    Why does my 900kb app takes too long to download from play store.

    Posted: 11 Apr 2020 07:28 AM PDT

    A lot of my friends are telling me that they are not able to download my app from play store, but my app is only 900kb, the app was originally 1.9Mb but the I turned the minifyingEnabled=true, after that it takes forever to download my app from the play store, which is counterproductive 900 kb should take shorter timer. Has anyone faced the same issue?

    For reference Here is the link to my app: https://play.google.com/store/apps/details?id=theindusdeveloper.com.colorcamera

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

    Create a locale for font's shake

    Posted: 11 Apr 2020 06:54 AM PDT

    Hello everyone,

    I would like to find a way to associate certain characters with some other characters. For example, when I type the character "e" the character "é" will be sent and when I type "a" this "à" will be sent etc.

    How can I do this?

    I have done this by creating a font but in reality, what I want to achieve is not accomplished with a font for 2 main reasons.

    1. The characters I want to inter-associate already exist in every font
    2. The receiver has to have the same font to get the same "look"

    Thank you all in advance for the ideas!

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

    Where I can purchase a template?

    Posted: 11 Apr 2020 05:43 AM PDT

    I there:
    Does somebody know where I can purchase a template for Android? (native code).

    Personally, I like to develop for Android (practically all my code is adapter/ list horizontal and vertical), but I'm having trouble with the layout (I am not comfy with my layout). Right now, I am working with Material, that it is a big step ahead of working with vanilla-xml-layout, and it's okay, but I wish to know if there is some more ready-made template.

    Thanks.

    ps: I don't want to hire anybody but I want to hear some recommendations.

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

    Model naming throughout your project layers

    Posted: 10 Apr 2020 03:14 PM PDT

    What names for models do you prefer in the data, domain, and presentation layers of a project?

    *Entity
    *DbModel
    *NetworkResponse
    *ApiObject
    *Domain
    *Presentation

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

    Planning a Complete Production App From Scratch

    Posted: 11 Apr 2020 05:19 AM PDT

    New Kotlin Recommended Books

    Posted: 10 Apr 2020 12:08 PM PDT

    Hello fellow devs, a while back I read Kotlin in Action and really enjoyed it and found use out of it.

    It's been a while since I've had a refresher and was wondering if there's any new books out there that include more in depth/ advanced topics relating to Coroutines/Flows/Channels and new features introduced in Kotlin 1.3+. I've been using Kotlin 100% for the past 4 years and I wanted to level up my language skills.

    I already reread a good portion of the Jetbrains site on Kotlin and also their sections on Coroutines/Flow.

    Thanks

    submitted by /u/marco-rs
    [link] [comments]

    Contact tracing API?

    Posted: 11 Apr 2020 01:38 AM PDT

    Now that Google announced contact tracing with Apple. Will they offer an API to access some of its data? I can already think of very useful apps that could use it.

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

    Resizing image based on only one side size respecting aspect ratio, glide or

    Posted: 11 Apr 2020 01:32 AM PDT

    Hi !

    I have started today to use Glide.My goal is:create a method that load an image from disk, resize it, save it on disk with some compression . This is my code:

     private fun glideImageConversion(inFile: File, outFile: File, outFormat: String, outCompression: Double, outWidth: Int, outHeight: Int, outColorMode: String){ val requestOption = RequestOptions() if(outWidth != 0 || outHeight != 0) { requestOption.override(outWidth,outHeight) .downsample(DownsampleStrategy.CENTER_INSIDE) }else{ requestOption.downsample(DownsampleStrategy.NONE) } requestOption.skipMemoryCache(true).diskCacheStrategy(DiskCacheStrategy.NONE) val withAlpha = outColorMode == "argb" || outColorMode == "agray" if(withAlpha){ requestOption.format(DecodeFormat.PREFER_ARGB_8888) }else{ requestOption.format(DecodeFormat.PREFER_RGB_565) } val futureTarget:FutureTarget<Bitmap> = Glide.with(application) .asBitmap() .load(inFile) .apply(requestOption) .submit() val bitmap: Bitmap = futureTarget.get() writeBitmapToFile(bitmap, outFile, Utility.getCompressFormat(outFormat), calculateCompressionFactor(outCompression)) // Do something with the Bitmap and then when you're done with it: Glide.with(application).clear(futureTarget); } 

    But I have some doubts:

    1- is there a way to resize the bitmap based on only width or heigth decided size and much important respecting the aspect ratio ? Currently I found only one method that suppose to set both width and height. But in the above code when only one between outWidth and outHeight are different from 0, i want to set only the length greater 0 and other side length should be free to change based on the aspect ratio.

    2- Because I have to repeat this process to different files, how can I optimize this process ? Glide automatically reuse bitmap ?

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

    Where are the options for Ads??

    Posted: 11 Apr 2020 12:39 AM PDT

    Setting up Sceneform SDK in 2020?

    Posted: 10 Apr 2020 06:16 PM PDT

    From what I understand, as of March 2020, the Scenform SDK is now open source, and is available on GitHub. But the documentation on Google Developers (https://developers.google.com/sceneform/develop/android-quickstart) is for the old one.

    What is the proper way to set up a Sceneform project in Android Studio in 2020? There always seems to be issues - whether it'd be gradle-related, problems with edit-configuration, etc. Android development is already tricky enough in general. How do I do this?

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

    No comments:

    Post a Comment