• Breaking News

    Saturday, January 2, 2021

    Android Dev - App Feedback Thread - January 02, 2021

    Android Dev - App Feedback Thread - January 02, 2021


    App Feedback Thread - January 02, 2021

    Posted: 02 Jan 2021 06:00 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 a top level comment
    • must make an effort to respond to questions and feedback from commenters
    • app 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.

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

    Using Java for Android app development in 2021

    Posted: 01 Jan 2021 09:51 PM PST

    Is it okay to learn Android app development in Java instead of Kotlin? Are both the languages supported equally by Google? Will it be advisable to keep on using Java in the foreseeable future?

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

    The Great 2021 /r/AndroidDev User Survey

    Posted: 02 Jan 2021 07:29 AM PST

    Hey all, happy new year!

    As discussed at the end of 2020, the 2nd step of the subreddit improvement plan is getting feedback from YOU, the actual users!

    I've created a survey to get your thoughts on every rule, as well as more general feedback. Every question is optional, but I'd really appreciate it if you could answer as many as possible.


    A few notes:

    • All responses are public, so don't reveal anything personal!
    • The survey will run for at least a couple of weeks, or until it receives a few hundred responses.
    • A summary post with conclusions will be posted a week or two after the survey closes.
    • The more responses the better, so feel free to pass it on to colleagues / friends.

    Here's the link, one more time:

    https://docs.google.com/forms/d/e/1FAIpQLSd-X4mnfHL0scPmHG4-6yXQYPYI9sMAAtQRu89sZYtLhXFVRA/viewform?usp=sf_link

    Thanks! :)

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

    Horizontal Calendar Paging

    Posted: 02 Jan 2021 07:45 AM PST

    Horizontal Calendar Paging

    #WeekendLearnings

    A Simple horizontal date selector build using u/Android Paging 3 and RecycleView.

    https://reddit.com/link/kozlic/video/nu3nufwkwx861/player

    The sample app allows you to scroll up to 100 years. 😃

    https://github.com/burhanrashid52/HorizontalCalendarPaging

    u/AndroidDev #MADSkills #AndroidJetpack #AndroidDev

    Thanks to Florina Muntenescu for the Paging 3 video.

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

    Failed the Google AAD Cert exam. What next?

    Posted: 01 Jan 2021 02:45 PM PST

    Self-explanatory, went through it the first time and it was pretty rough. Major hit to my self-confidence as a self-taught student.

    I'm majorly concerned with, since I was unable to complete the exam, whether or not I could actually perform in a junior role for android development. Or, rather, is the AAD exam an accurate depiction of a day-in-the-life of an android dev? My only goal is getting work as a dev and not so much building the next great app or necessarily taking the exam again.

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

    Custom voice commands

    Posted: 02 Jan 2021 05:38 AM PST

    Hi everyone!

    I want to add a couple of voice commands to my app that controls garage doors via bluetooth, so it can be used more comfortably while getting home or getting in the car.

    So far I've only found the new integration with Google assistant, launched 3 months ago and that now only supports English (but I need Spanish).

    Is there no other way to achieve this? I'm finding hard to believe that after all these years with voice commands there's nothing else.

    Thanks!

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

    Which pattern with Jetpack Compose?

    Posted: 02 Jan 2021 08:32 AM PST

    Anyone knows a weight scale with android sdk?

    Posted: 02 Jan 2021 08:09 AM PST

    Hi I wanna try to develop an app that connects to a weight scale over bluetooth (or wifi) but I can't find any brand that offers an open sdk for their scales.

    Has any of you tried to do something similar? If you could share some examples of scales I'd really appreciate it

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

    Retained Instance Library

    Posted: 02 Jan 2021 06:41 AM PST

    Hey, all!

    Few months ago I created a small library to "retain instances" on Android without needing to directly inherit from Android's ViewModel. Now, I added support to Compose UI and Navigation, apart from Activities & Fragments.

    My main motivation is to use it in KMP projects where I do create my VMs as a KMP and I simple use the "retain" method to create the instance connected to the UI LifecycleOwner. The library also keep in mind the current Ambient while retrieving defaultArgs and which ViewModelStoreOwner and SavedStateRegistryOwner it will use to be retained.

    I only use it in 3 side projects but it has been useful for me so far and any feedback would be very welcomed about the general idea or implementation details. Better alternatives or an official way of doing it in Compose is also welcomed!

    Here is the library source code: https://github.com/marcellogalhardo/retained

    A simple usage from one of my side projects:

    import dev.marcellogalhardo.retained.compose.retain // Android Module. @Composable fun BackpackEditView() { val viewModel = retain { // this: RetainedContext val position = retainedHandle.get<Int>("position")!! BackpackEditViewModel(position, retainedScope) } BackpackEditView(viewModel) } // KMP Shared Module. class BackpackEditViewModel( itemPosition: Int, scope: CoroutineScope, // ... ) 

    Thanks a lot in advance!

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

    Published a Xamarin Forms app. Looking to trade honest feedback with another developer.

    Posted: 01 Jan 2021 08:38 PM PST

    Hey, I reviewed the rules twice so I hope this follows the guidelines, but anyway, I recently published a Xamarin Forms app. The design/UI/workflow, etc. was all done as a solo side project. I am looking to get in contact with some other developers to help get some quality feedback. I'd like to offer to do the same for another dev too. Let me know if you're interested.

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

    Noob Question about Cloud DB

    Posted: 02 Jan 2021 04:32 AM PST

    Hi Guys,

    Making an app at the moment trying to teach myself android studio, but I cannot find a good video on how to connect to AZURE db. my code seems fine its just the connection to azure does not work. Any advice appreciated such as a link to a guide. thanks :)

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

    Best Practice on Staging and Production

    Posted: 02 Jan 2021 02:53 AM PST

    This might not be an Android specific question but asking here anyway. I'm currently doing back end(working mainly on APIs) for a couple of front end devs and I have both Staging and Production base URLs. Ideally, I would make the Production base URLs secret but for some reason I have to give this to the front end devs as well. In this scenario, is there a way for me to protect the Production database from malicious devs running evil code(e.g., if this was a social media project, doing an infinite loop of commenting to a post, etc.)?

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

    How can I use viewbinding in a method within a fragment in Kotlin (I'm a beginner)

    Posted: 01 Jan 2021 02:19 PM PST

    Hello everyone.I have a question and hope someone can may help me.

    I have a fragment and in this fragment I have an method. Now, i now i can bind within the onViewCreated, but how can I do it in a method?

    I have:

    TestFragment.tk

    class TestFragment : Fragment(R.layout.fragment_test) { // Scoped to the lifecycle of the fragment's view (between onCreateView and onDestroyView) private var fragmentTestBinding: FragmentTestBinding? = null override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) val binding = FragmentTestBinding.bind(view) fragmentTestBinding = binding //Here I'm able to bind my view binding.textView1 binding.button1 //But when I try it in an method it does not work for me... testFun() } private fun testFun() { //Binding here is not possible, it does not offer me nor textView1 nor button1 binding.textView1 //This is an error binding.button1 //This is an error //Also normal findViewById does not work var textView: TextView = view.findViewById(R.id.textView1) var button: Button = view.findViewById(R.id.button1) } override fun onDestroyView() { fragmentTestBinding = null super.onDestroyView() } 

    So, what I am doing wrong or misunderstanding? I tried to check under https://developer.android.com/topic/libraries/view-binding but I can't find anything that helps me.

    Thank you very much and wish you a happy new 2021

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

    Android Studio constantly freezing/crashing on an M1 Macbook Air

    Posted: 01 Jan 2021 09:00 AM PST

    I am owning a Macbook Air (M1) since a few weeks and Android Studio is freezing/crashing constantly on it. Anyone else experiences such issues with the M1 cpu/architecture?

    Maybe some of you have suggestions how to fix this issue?

    I tried to use the recently released M1 version of IntelliJ IDEA but unfortunately i can not compile the app there due to a gradle incompatibility error. 🙄

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

    Help execing a "Native Lib" that's actually an executable

    Posted: 01 Jan 2021 06:21 PM PST

    Hi!

    I'm trying to do something horrible. Several horrible things, really.

    1. I want to launch an external Process
    2. That process exposes a web service
    3. For very good reasons, Android doesn't want you to do this, so you can't execute things in writeable areas like assets/ ...so I'm putting my executable in /jniLibs and naming it libipfs.so

    According to Stack Overflow and Google Support, this is the "right" way to do this if you have to do it at all.

    Buuut... It's not working. When I open the APK, I can see there's a root-level directory named 'libs' that contains my executable(s). But when I load '/data/apps/<package>/lib' from within the app, the directory is empty.

    Code where I try to exec the executable: https://github.com/swordsmanluke/bailiwick/blob/master/app/src/main/java/com/perfectlunacy/bailiwick/ipfs/IpfsClient.kt

    Android Test that validates whether the files are present: https://github.com/swordsmanluke/bailiwick/blob/master/app/src/androidTest/java/com/perfectlunacy/bailiwick/FindingExecutablesAndroidTest.kt

    build.gradle: https://github.com/swordsmanluke/bailiwick/blob/master/app/build.gradle

    Thank you!

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

    What app would you want to exist but it doesn't?

    Posted: 02 Jan 2021 02:11 AM PST

    Just out of curiosity if you had the ability to have an app that does something that you need but this app doesn't exist yet what would it be?

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

    What Should A Junior Focus On?

    Posted: 01 Jan 2021 12:10 PM PST

    There's a meme that comes through this sub every now and then saying all you need to be a successful Android Dev is Google and therapy, which seems to hold more truth than I first gave it credit for. That being said, I'd really love some guidance on what is useful for a Junior building apps while looking for work. I'm at a point where I recognize the code I'm looking at, but God forbid I actually try to implement anything in a project I didn't build from scratch myself (like with Google's AAD Certification, hoo boy).

    I know the holy trifecta (or so I'm told) is OkHTTP, Dagger+Hilt, and RetroFit but I suppose any input would be great.

    Thanks.

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

    Question #216 about the Google Associate Android Developer Cert

    Posted: 01 Jan 2021 11:17 AM PST

    TL;DR - Is it worth my time if I have no industry experience? I hear a lot of harsh responses towards it and needed some clarification.

    For more detail, I've been on/off studying for the exam and I think it looks like a useful experience, on the surface. I'd like to have that little bit of experience going forward in the field and the chance to have 'Google' on my resume feels like it would, at least, be a conversation starter. But then I read stuff like this about it:

    This certificate is more or less a thinly-veiled ad campaign to promote Android development among high school drop outs to create a cheap labour pool that can be hired for peanuts to do sweatshop coding.

    I hear it's faulty, a marketing ploy, an inaccurate example of regular android dev work. Once, I even recall reading (or being told, not sure) that having the cert would actually harm one's chances of getting work. At the price point of $150 knowing if it's actually as bad as some claim would be helpful.

    Happy New Year.

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

    About Jetpack Compose

    Posted: 01 Jan 2021 10:13 AM PST

    If jetpack Compose is going to be the future of the android then should I keep learning Jetpack Components or not?Is it worth my time to learn jetpack libraries instead of direclty jump to learn jetpack compose?

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

    No comments:

    Post a Comment