• Breaking News

    Wednesday, October 14, 2020

    Android Dev - Create moving windows that stay on top of other apps on Android

    Android Dev - Create moving windows that stay on top of other apps on Android


    Create moving windows that stay on top of other apps on Android

    Posted: 14 Oct 2020 05:39 AM PDT

    How to display your Android project dependency graph in your README file

    Posted: 14 Oct 2020 06:49 AM PDT

    Anyone using Nav component with Compose

    Posted: 13 Oct 2020 07:38 PM PDT

    How was your experience? What are the cons in current state?

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

    Ride-sharing App: Features and how to build it

    Posted: 14 Oct 2020 06:46 AM PDT

    ConstraintLayout issues in v 2.0.2

    Posted: 14 Oct 2020 06:12 AM PDT

    Is it just me or is anyone else's <include> xml ViewDataBinding with <data> variables is not displaying inside ConstraintLayout after updating to v 2.0.2.

    Also Android Studio is not reading the children id's of this same <include> which I guess might have something to do with it not displaying, but this has nothing to do with ConstraintLayout, rather with the IDE latest update.

    After reversing back to previous version of constraintLayout, the IDE is still not able to read the children of the <include> xml but it compiles without problem nonetheless, and the view is able to be drawn again.

    https://issuetracker.google.com/issues/170720908

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

    Ideal way to store favourites/bookmarked records in Database

    Posted: 14 Oct 2020 05:02 AM PDT

    Hey guys,

    Calling all the database enthusiasts for help.

    What should be the ideal strategy to store the favourites/bookmarked records..

    Let's consider I have Employe table (Id, name, salary), if user selects emp101 as favourite Should that be stored as record in Favourites table (storing id of the emp) or we should have a column in emp table it self.

    Which strategy is good to get all employees who are marked as fav or not using single query.

    submitted by /u/Code-Friendly
    [link] [comments]

    Being android dev for 6+ years, what's next?

    Posted: 14 Oct 2020 12:32 AM PDT

    Hi,

    In the past 6 years that I worked as a software engineer, most of the time ( 80% ) I've put my hands on Android and discovered what a tight and nice relation I have with this ecosystem. In the past 6 months with the COVID-19 pandemic, I started work on my personal projects in kotlin, release 4 apps in total, and discovering new things that could be done in Android. Of course, Android is a continuous learning curve, you cannot stop now for 12 months and after 12 months expect things wouldn't evolve, we all know that is not true.

    For the further months, I am determined to learn something new, the first two things that came to my mind are iOS or Unity. The question I have is, which one of these two do you recommend? Is one easier to learn than the other one? I have a premium plural sight subscription from my company I work for so if you know any good plural sight material that I can watch, I would love to hear more.

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

    How to perform Android development for two companies?

    Posted: 14 Oct 2020 03:45 AM PDT

    I have my own startup, under which I would like to publish Android apps and additionally I would like to publish applications on behalf of another company, as a freelancer. Can I (and how can I) have two Google Android accounts? Should I create two business gmails? Or can I create everything from my personal gmail?

    Googled information is controversal. Most often people ask abount account ban, which is not interesting to me

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

    What can I realistically expect to be asked in a job interview for an Entry Level Android Developer position?

    Posted: 13 Oct 2020 10:08 AM PDT

    Hi all,

    Basically, the title says it all. I find it frustrating reading through interview questions on the internet because I feel like most of them seem to assume you're applying to FAANG (or similar) companies for some senior role. This frustrates me because I end up feeling inadequate and unprepared reading things like, "You're going to have to do 7 interviews consisting of phone/in-person/whiteboarding/pair programming" or "I went to X interviews and only got asked these complex algo questions, nothing Android specific".

    For some context I'm a recently graduated CS major from the US without any professional SDev job experience. I've only been doing Android Dev for a little over a year with an app on the Play Store and some smaller personal projects, but I feel like I have a solid grasp on almost everything needed to make an Android app (except for more complex libraries like RxJava). My main issue is with algorithmic questions. I cannot for the life of me get good at them even as I spend hours on LeetCode or HackerRank. I can answer simple questions but when things get complex, I struggle to grasp them, which makes me concerned for job interviews where algo questions seem to be favored instead of job specific questions, like Android Development, which I can answer.

    So basically, my question is what interview process can I reasonably be expected to go through being new for an entry level Android dev position? What type of questions would I be asked? Could I expect interviewers to "go easy on me" in a sense because it's an entry level position? I would really appreciate answers from entry level Android Devs who've gone through this process or interviewers who've led the process. I would also appreciate any online resources that accurately describe the Entry level process. Thanks!

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

    Android Emulator Hypervisor Driver for AMD Processors

    Posted: 14 Oct 2020 07:13 AM PDT

    I am setting up android studio on my laptop which has an AMD processor. I have enabled virtualization, hyper-v is not on windows 10 Home. But downloading the Android Emulator Hypervisor Driver for AMD Processors package in sdk tools keeps failing. I have followed all instructions on https://androidstudio.googleblog.com/2019/10/android-emulator-hypervisor-driver-for.html

    I have a problem here:

    • Open a Windows command console with administrator privileges.
    • Go to $ANDROID_SDK_ROOT\extras\google\Android_Emulator_Hypervisor_Driver.
    • Run silent_install.bat. Make sure you see the desired output from the installer: STATE: 4 RUNNING

    First of all I don't seem to have the environment variable $ANDROID_SDK_ROOT but I located the path in explorer "C:\Users\pmcke\AppData\Local\Android\Sdk\extras\google" but the folder "Android_Emulator_Hypervisor_Driver" does not exist so I can't run silent_install.bat as it also does not exist.

    I would really appreciate help with this. Lockdown means I can't get to my desktop.

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

    Has anyone developed a 120fps video recorder?

    Posted: 14 Oct 2020 06:13 AM PDT

    My phone is capable of video up to 480fps. But this is only in slowmo mode and doesn't record audio. Has anyone developed an app that will record 120fps video with audio too?

    My TV is 120hz so it would be cool to be able to watch 120hz video on that with full audio.

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

    Do I need still PowerManager.WakeLock?

    Posted: 14 Oct 2020 06:07 AM PDT

    Hi,

    I was using AlarmManager for scheduled network connections in background and I was using PowerManager.WakeLock before connect internet to wake up device. I changed it to WorkManager. Do I need still PowerManager.WakeLock to wake up device before connect to internet?

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

    Testing tools for Kotlin. Quick recap in 2020 on my blog.

    Posted: 14 Oct 2020 05:35 AM PDT

    Hey!
    Are you up to date with testing tools in Kotlin?
    I wrote a quick recap from my Android perspective:
    https://www.thecodeside.com/2020/10/13/testing-tools-for-kotlin-quick-recap-in-2020/

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

    Help with making battery widget (noob here)

    Posted: 14 Oct 2020 05:23 AM PDT

    It has been a while that I was making an app but I got stuck a lot at the core function so I stopped working on it for months.

    Now, I can't find clear and direct information on how to do this anywhere else, so I hope I get help here.

    All I need in order to finish is simply setup the simple function (in my mind at least) of "battery pecentage (number%) = this_image.png", like "10% = show 10.png, 20% = show 20.png" etc.

    I hope to get assistance here on how to make this work. Thanks.

    submitted by /u/Mighty-Pirate
    [link] [comments]

    Database(sqllite)

    Posted: 14 Oct 2020 12:58 AM PDT

    I want to implement Database in my android application and I am thinking of implementing sqllite database

    I am using sqllite for college project

    Is it okay to use sqllite in 2020 for android?

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

    Filling the Niche.

    Posted: 14 Oct 2020 07:04 AM PDT

    Hey everyone,

    Me and my best friend are fresh graduates and are looking to make our first game, we are looking to make a simple game that fills a niche on the mobile platform.

    We are looking to make a sort of addicting cash cow in order for us to gain the capitol we need to create the games we really want to make which will be horror themed in general since its both our favourite genre

    Could you help us find a niche that needs filling? We are struggling to come up with a novel idea (which we have) that isnt too complex (which we haven't) for our us n00bs.

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

    Multi page apps

    Posted: 14 Oct 2020 02:33 AM PDT

    I am relatively new to mobile apps, so sorry if this is a simple question. I have made an xamarian andoid app with just a couple buttons and text. I figured out how to do a couple things with googling, but I can't find any up to date info on how to create a multi page app. Multi page as in, I tap a button, and it shows a different screen, and I can go back from that screen. I found I can force going to a screen by straight just copying the display command on the main app, and redoing the command with the new screens page. However, I can't go back from that new page doing the same thing. Is this even possible in xamarian, or should I give up the couple hours in this app and use something else? If I use something else, what should I use?

    For reference, I have been programming almost a decade now, know several languages, and have done the MIT dragging mobile app. It's not like this should be particularly difficult to do, I am just not finding anything that works. The app is on GitHub if I need to share the code.

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

    Diffrence between SharedPreferences and OutputStream?

    Posted: 14 Oct 2020 02:31 AM PDT

    Hello, I'm studying an app developer course where we right now learn Android Studio. I have some experience with Android development since before and every time I would wanna save data I used OutPutStream to save a string. However in this course we are learn to use SharedPreferences. I tried to google the different uses for these but nothing came up. Anyone knows if OutputStream has any use or should you use SharedPreferences all the time?

    Thank you.

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

    Is it possible for an android app on one phone to be shared between the app on other phones? If so, how?

    Posted: 13 Oct 2020 06:12 PM PDT

    For example, someone changes something and the change is shared on all other devices

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

    App standby bucket does not acknowledge user interaction

    Posted: 14 Oct 2020 01:14 AM PDT

    I have a VOIP application which uses HIGH priority push notifications each time a call is performed. The push notification is message notification since I want to handle interaction myself. When I receive push I start a foreground service which starts listening to SIP communications which then opens up a custom call screen (activity) to which user interacts. For android P I have ACTION_MANAGE_OVERLAY_PERMISSION so that I can always open the call screen even from a service.

    What I believe happens is that standby bucket does not detect user interaction with this flow since my high priority messages get throttled. From FCM diagnostics I can see that push notification comes to the phone but is then not broadcasted to the app itself.

    I am also able to replicate this without a problem when putting phone in this state:

    ./adb shell dumpsys battery unplug ./adb shell am set-inactive package.name.com true ./adb shell dumpsys deviceidle force-idle 

    How can I make sure that the opened activity counts as user interaction or if this is not possible how to change the flow so that it would work but still open custom call screen activity?

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

    Query nested maps in Firestore

    Posted: 13 Oct 2020 11:31 PM PDT

    I'm working on a vocabulary app where the users can search for a conjugated verb form and the app results a list containg the infinitives of that forms.

    I have a Firestore document for each verb containing all verb forms but to search for a specific form I use a list of every form in the realtime database because I did not find any way to query the nested maps for the specific verb form.

    Firestore document structure and collection of every single form in Realtime Database for querying:
    https://imgur.com/a/IctFbsm

    Is that kind of querying in Firestore possible?
    Thanks for your help!

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

    Introduction to Semantics in Jetpack Compose

    Posted: 13 Oct 2020 08:41 AM PDT

    Accessing an Android app secret from GitHub Actions using Gradle (featured in Android Weekly!)

    Posted: 13 Oct 2020 11:56 AM PDT

    Well that's a nice new feature! I was tired of having unused directories in my home directory.

    Posted: 14 Oct 2020 02:03 AM PDT

    No comments:

    Post a Comment