• Breaking News

    Saturday, December 25, 2021

    Android Dev - App Feedback Thread - December 24, 2021

    Android Dev - App Feedback Thread - December 24, 2021


    App Feedback Thread - December 24, 2021

    Posted: 24 Dec 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]

    Feedback on my Junior Android Interview

    Posted: 24 Dec 2021 10:17 PM PST

    I thought I will write what actually happened in my android interview after asking what it would be like here.

    The first round was a bunch of technical questions.

    The first few questions were just about object oriented programming. What it means, and stuff like what does inheritance mean. He then went onto ask me about android specific questions, Stuff like what does activity mean and what is the life cycle of an activity. I did get some personal questions asked like why I wanted to join the company as well. We did not go over the technical test and I was not given any feedback on it. I knew some questions and I did not know others. I did not really give textbook answers but instead tried to relate the questions as much as I could to projects I have done in the past. The interviewer was really nice and could probably tell I was really nervous.

    The second round was with two people and was to see if I was a cultural fit for the company.

    They just asked about my background and they talked more about the company itself. We then went on to talk about games I liked.

    After a few hours I got a call from the recruiter saying I got the job and should get a contract sent through soon.

    Overall the experience was really pleasant I am super exited about the new opportunity and just want to thank this community on the advice I was given initially on it. I cant believe I am about to become an actual android developer :)

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

    Why do people confuses async await with multithreading and how does it work in different language?

    Posted: 25 Dec 2021 05:45 AM PST

    Before I ask my questions here is a little bit of my background. I mostly do mobile app development. Currently working with React native and flutter. Previously worked with Native Android with kotlin.

    I am trying to learn web development but still considering myself a noob.

    Consider a scenario. You have four methods. Method A, Method B, Method C and Method B. Method B has a network call to an api. You are calling Method B from Method A and waiting for result from Method A. Method D has some kind of huge mathematical calculation and you're calling Method D from Method C. Consider Method and function as same in this scenario and I will be using them interchangeable.

    In Javascript land (Web development)

    1. If I am calling Method A. I will use async await to get result from Method B and as Method B is doing an api call. Suppose I am using fetch or axios to do the api call. As Javascript being single threaded language does fetch or axios do network call on the main thread itself. I think it does and if it does why does he don't cause janky UI in web development while we are waiting for the result. Why does the app still runs 60fps if network call is done on main thread. Or may be it does cause to yank a little but the network call happens so fast it is not noticeable to human eyes given how mobile data and wifi has improved a lot in recent years. Forget about web workers. I have not seen people using web workers for network call. You may use it but don't consider for this scenario.
    2. If I am calling Method D which in calls Method C. I will again use async await to get result from Method C. Again the mathematical calculation is done on main thread and in this case it does causes janky UI if the mathematical calculation is huge. I know web workers would be useful to do such kind of large calculations but why it does not cause same kind of Junk in first case.

    In React Native land

    1. In Android there is a rule that if you do network call on main thread, the OS will crash your app. But if I am calling Method B which does api call using fetch or axios isn't that done on main thread itself. Why does it does Android OS does not cause the app to crash or Application not responding error.

    2. Also there is no UI jank when I call method B if network call is done on main thread which is I still don't understand?

    In Flutter land

    1. Same as that of React Native, Dart is single threaded. I know there is something called isolates which allows to do operations on different thread I guess. But most flutters developers do http call on main thread itself. Why does Android OS not throw an error if network call is done on main thread in flutter.

    2. Again no UI janky when I call method B if network call is done on main thread.

    In Native Android with kotlin land

    1. If you're calling Method B you will be using Retrofit or Volley which internally does api call on different thread and send the result on main thread so there is no jank which I understand. But suppose if I call method C. I can use Default Dispatcher of Coroutine and then get the result on Main thread. So in this case the async await is truly Multithreaded but I don't understand how async await in web development , React native or Flutter is multithreaded. And if async await is not multithreaded in web development , React native or Flutter why doesn't it cause janky UI if network call but causes janky UI huge mathematical calculation.

    In Native iOS with swift

    1. I am not a iOS developer so I could be little wrong on my understanding so do correct me in this case. Recently Apple introduced async await in swift. All developers kept saying how this will make multi threading easy which I don't understand. It will definitely make our code clean but suppose you'r calling Method B you will use NSURlSession or Alamofire which does network call in background thread as far as I know as we as developers don't have to worry much about it. But suppose you're calling method D which does mathematical calculation and you want to use async await, you will still have to use Grand Central Dispatch so that your main thread does not rank the UI and cause the frame to drop in case of large mathematical calculation. So how does async await solves multithreading in this case. I think it only makes our code clean and nothing else and we still have to do large running operations on separate thread.

    Game Development land

    If anyone else has used the Godot game engine or Unity and how it works on different platforms like Web , Mobile and PS, I would be interested to know.

    I know there are different concepts like concurrency and parallelism and languages like golang with goroutines make uses of multi core CPUS to make multithreading fast. My knowledge on this is extremely weak and I have watched few of Rob Pike's video on this and couldn't understand anything .If concurrency and parallelism is somehow related to the above questions I asked do highlight them as well.

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

    GitHub - DevsOnFlutter/flutter_shortcuts: Flutter plugin for creating static & dynamic app shortcuts on the home screen.

    Posted: 25 Dec 2021 06:58 AM PST

    looking to get back into android development. haven't done much the last few years

    Posted: 25 Dec 2021 02:56 AM PST

    Ive been away from android dev for a few years due to some personal health issues unfortunately. Id really like to get back into it. I was wondering if you can tell me what the major changes to the platform have been the last 2 or so years and what would be the major things I would need to catch up on dev wise. Cheers and Merry christmas to all of you!

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

    Making a game with Jetpack Compose

    Posted: 24 Dec 2021 09:04 AM PST

    Google camera

    Posted: 25 Dec 2021 04:52 AM PST

    Is there Google camera available in Infinix Hot 11 s

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

    Keyboard layouts

    Posted: 25 Dec 2021 12:48 AM PST

    Hi. I have recently started my career path as a Business Analyst and working on an app that would be for Android and iOS natively.

    While writing requirements and exploring possibilities of both OS I came across this article iOS Keyboard Layouts (Types). For different flows of onboarding I want to use different keyboard types to eliminate unnecessary errors (i.e., enabling keyboard without emoji in input fields that require only ASCII characters).

    As for Android, I can't find such material. I believe the solution to this is simple and I'm just googling wrong, but please help me find such a material for Android.

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

    My first blog post on medium : Android Themes vs Styles For Absolute Beginners

    Posted: 24 Dec 2021 07:06 AM PST

    Hi Dear Members. I wrote my very first blog post on medium which states the difference between Android Themes vs Styles For Absolute Beginners. Please share your thoughts, will continue to write on these topics :) https://medium.com/@parvbhardwaj/android-themes-vs-styles-for-absolute-beginners-3795f6c42f1a

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

    ugh am i missing something how do i make edges in designing tap and android emulator smooth ???

    Posted: 24 Dec 2021 09:01 PM PST

    I've been programming in android studio for past 6 months and one thing i still can't figure out how do i make edges smooth in designing tab and emulator , it's such an eyesore .

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

    Which is the proper way to manage state in Jetpack Compose?

    Posted: 24 Dec 2021 04:35 AM PST

    Take look at this example:

    @Composable fun Example() { val keywordState = remember { mutableStateOf("") } FuncA( keyword = keywordState.value, onKeywordChange = { keywordState.value = it } ) FuncB(keywordState = keywordState) } @Composable fun FuncA( keyword: String, onKeywordChange: (String) -> Unit, ) { TextField( text = keyword, onValueChange = { onKeywordChange(it) } ) } @Composable fun FuncB( keywordState: State<String>, ) { TextField( text = keywordState.value, onValueChange = { keywordState.value = it } ) } 

    I know that state hoisting like FuncA is the recommended way, but when hoisting a single state like above (not doing anything besides setting one value in the parent composable) i found it a bit complicated. So i like using FuncB instead, but is it a good way to do?

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

    How to get data from multiple activities to main activity in android java?

    Posted: 24 Dec 2021 11:03 PM PST

    Getting started in android development !

    Posted: 24 Dec 2021 06:42 PM PST

    Hay I'm new to android development

    I'm new to programming in general all my experience

    was some rust console applications but

    I wanna get into android development game development specifically

    I downloaded android studio felt kinda of overwhelming

    should I learn Kotlin or what ? is there is something like a roadmap

    to understand what should I learn and do I have to use android studio

    I like code editors because there are simple and minimal

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

    Has anyone had this AS keymap problem?

    Posted: 24 Dec 2021 03:36 AM PST

    Hello, when I use the keymap cmd + B(Go to Declaration or Usages), it will show a mask in my window and cannot be removed likes the attached image. Has anyone known how can I fix this problem?

    AS: Arctic Fox | 2020.3.1 Patch 4; Kotlin plugin: 203-1.6.0-release-798-AS7717.8; Android Gradle Plugin: 3.5.4; Gradle: 6.1.1; Gradle JDK: version 11.0.10; NDK: from local.properties: (not specified), latest from SDK: 21.0.6113669; LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: 3.19.1

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

    Applovin SDK 10.3.5 is showing integration error in debugger

    Posted: 24 Dec 2021 07:20 AM PST

    The error is com.google.android.gms.permission.AD_ID permission not added.

    However it is indeed added in my project and applovin sdk 10.3.4 does not show that error.

    Anyone seeing the same?

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

    Difference between "Active Devices" number and "Installs/Uninstalls" equation

    Posted: 24 Dec 2021 06:45 AM PST

    So my first app launched a few months back and it's doing a little bit fine for a semi no marketing strategy.

    As any developer I'm viewing my installs and uninstalls number and subtracting them from each other and it gives a number different from the Active devices number

    Am I understanding it wrong or what? Which is more accurate

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

    The common red-flag in all Android hiring scams:

    Posted: 24 Dec 2021 01:06 PM PST

    They ask you about location requests and then want you to do a test project about location.

    Reason: location is the only thing these people understand and can talk about from whole Android platform

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

    Would it be possible to get the list of user subscriptions (all aps included) from inside third party app?

    Posted: 24 Dec 2021 01:40 AM PST

    Some more info : I'm developping a system app that can launch google play. I wanted to be able to show the subscriptions on one of the pages.

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

    No comments:

    Post a Comment