• Breaking News

    Monday, April 27, 2020

    Android Dev - Weekly "who's hiring" thread!

    Android Dev - Weekly "who's hiring" thread!


    Weekly "who's hiring" thread!

    Posted: 27 Apr 2020 05:45 AM PDT

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

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

    Weekly Questions Thread - April 27, 2020

    Posted: 27 Apr 2020 03:57 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

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

    6,000 free Android CI minutes / month on Bitrise right now - COVID 19 support

    Posted: 27 Apr 2020 12:14 AM PDT

    Building Android from source

    Posted: 27 Apr 2020 04:44 AM PDT

    Hi everyone! I would like to start building Android ROMs. I have read about it, however I have a few questions. Please bear with me as I'm still a beginner and would like to learn something new during lockdown.

    1) Can I build an Android 10 ROM for a 7 year old Xperia SP(which is the device I have lying around)?

    2)I have a slow internet connection, around 10 Mbps. I have read that Android source is around 120 GB. Is it possible to download the source part by part everyday? Just like you can pause download through a download manager, is it possible even on my machine running Kali Linux?

    3) Can you suggest some good tutorials to learn from? Currently, I know C, C++, Python and a bit of Java and have experience in using the command line.

    4) My machine specs are: Intel Core i5-4440, 16GB RAM, 500GB HDD(dedicated to Linux). Will this be okay to build a ROM in a reasonable amount of time?

    I'm sorry if this is the wrong subreddit, but can anyone please point to the right one if this is wrong?

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

    Encryption on Android with Jetpack Security

    Posted: 27 Apr 2020 02:22 AM PDT

    Are there plans for supporting java versions beyond JDK 8 for android development?

    Posted: 27 Apr 2020 05:38 AM PDT

    Neon Cars Drifting - New Hyper Casual Game

    Posted: 27 Apr 2020 07:44 AM PDT

    https://play.google.com/store/apps/details?id=com.neoncars.drifting&hl=en

    Hello to everyone
    I want to develop and grow a simple game.
    I plan to grow slowly by updating constantly.
    Online multiplayer game, obstacles, maps, in-game car shop, in-game features etc. I want to add these things.
    Is this game worth developing?
    Thank you in advance for your comments.

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

    Is Android Studio very difficult to learn or am I doing something wrong?

    Posted: 26 Apr 2020 04:20 PM PDT

    I'm still a beginner in java. But I am able to create useful java programs and I really enjoy it. I recently wanted to port these programs to android and I'm finding it really hard.Something as simple as displaying a list seems very complicated.Does it get easier? Are there any tips I need to know or good tutorials/courses I should follow?

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

    Memory, Keys, and Secrets

    Posted: 27 Apr 2020 06:45 AM PDT

    I'm reading up more on Android memory management and thinking about potential risks to an app I am working on. I have the Secure Enclave working, but how can I ensure whatever data I am outputting (in this case a recovery secret a user needs) is not remaining in memory? I see that I can "recommend" a garbage collection, and the different generations of memory, but I see no way to clear this specifically from RAM after it's displayed. Could I just overwrite that value after it's displayed?

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

    Android 11 update schedule - Road map

    Posted: 27 Apr 2020 06:18 AM PDT

    Learning from Zero

    Posted: 27 Apr 2020 05:23 AM PDT

    Hello there, So I have no real experience in programming or coding at all, just finished some intro level courses(cs 50, C intro). However, I find app development very interesting and want to get Into business.my only option is self learning I can't afford to pay much for now,but I am willing to put effort and time into it. Should I start by Java then Android studio? Or should I learn using a program that doesn't require coding as (app inventor/React native or unity for games)? Are both equal in job opportunities (as a freelancer) or which is better?

    Sorry if my English is annoying.I'd really appreciate any help.

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

    How do I start with Android again?

    Posted: 26 Apr 2020 10:51 PM PDT

    So i did learn Android Development with Java about a year ago. But I have no idea about architecture and Kotlin etc. I shifted to Flutter for some projects and I really love Flutter, but I wanted to start building native apps again just for the experience. Where should I start with? I'm quite overwhelmed at seeing all the new things such as Jetpack Compose etc.

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

    How to share data between two fragments? Having trouble with the MVVM architecture

    Posted: 26 Apr 2020 08:53 PM PDT

    Currently I have two fragments, one that shows the weather for a place and another that let's you select a point in a map and redirects you to the other fragment showing the weather for that point.

    What I want to achieve is to have by default the user's location and give the option to the user by going to the map of selecting any other place. So I would like to:
    - Get lat/lng via GPS and then "upload" it to somewhere that would share those values between this fragment and the map fragment (The activity maybe?)
    - If a point in the map is selected update those values- Both fragments can read at any time, only map fragment can update

    I believe I can do this sketchily adding getters/setters to my activity and then in the fragments cast the activity to my particular activity. But this just seems bad. What would be the correct way to do it?

    What I have now:
    - MainActivity (connects both fragments through a bottom navigation bar)
    - ForecastFragment (Shows the weather for lat/lng)
    - ForecastViewModel
    - MapFragment
    - MapViewModel
    - WeatherRepository
    - WeatherAPI (through RetroFit updates values)
    I'm using dagger and kotlin.

    Thanks!!

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

    How to keep a Service always running?

    Posted: 27 Apr 2020 03:37 AM PDT

    Start Sticky doesn't work in api 26.

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

    Sample using Store, Workflow and ComposeUI

    Posted: 26 Apr 2020 04:55 PM PDT

    Android studio add templates on Ubuntu

    Posted: 27 Apr 2020 03:15 AM PDT

    I've found this template
    https://github.com/benoitletondor/Android-Studio-MVP-template
    How can I add this template on Ubuntu?
    I've found the folder here "/snap/android-studio/current/android-studio/plugins/android/lib/templates/activities" but couldn't paste folders into that.

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

    Thinking of getting an Associate Android Developer Certification? is it worth it? Kotlin or Java

    Posted: 26 Apr 2020 06:02 PM PDT

    Hi, I am junior android developer, i worked at a start up for about 10 months in 2019. currently stopped working for my higher studies, i will be graduating by the end of this year. i plan to get back in the field of full stack android development / web development. i am currently in my summer break and thinking of getting AAD certification. is it worth it? should i get it in kotlin? or Java? i know kotlin, and have worked with it but i can say i am more comfortable with java. but i also think i can pick up kotlin as well in time. please could you suggest me in right direction ?

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

    Possible to build an app to know the proximity of nearby phones ?

    Posted: 27 Apr 2020 02:33 AM PDT

    hi, is there a possibility to build an app in Android to know the proximity of opposite user's phone without installing an app in their phone or turning on BT/WIFI in the opposite user phone ? Just the proximity. No content pulling or taking their location data etc., Like if we switch on the app in our phone, it will just show a scanner to show the proximity of phones available in 5 to 8 ft radius.

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

    Post safely In an uncertain Android world

    Posted: 27 Apr 2020 01:30 AM PDT

    Navigation drawer not working on a fragments?

    Posted: 27 Apr 2020 12:16 AM PDT

    For my application I used a navigation drawer, it's working fine on home activity but when I navigate to a fragment then try to use navigation drawer no item is selected.

    submitted by /u/22yu73
    [link] [comments]

    Best Linear Algebra Library for Android

    Posted: 27 Apr 2020 12:10 AM PDT

    Hello all,

    I was working on an Android app that requires some linear algebra with matrices. The matrices will be somewhat medium-sized as they are not too small or too big. I was originally using jBlas because of the benchmarks I have seen online but after visiting multiple forums, they have all said that jBlas would be nowhere near as fast as what the benchmarks originally state. I have also heard about the Snapdragon Math Library to help improve the speed but I have not heard too much about it. From the general community, what linear-algebra libraries do you recommend that will be the fastest to use on Android? All help is greatly appreciated!

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

    Another issue tracker purge

    Posted: 26 Apr 2020 10:27 AM PDT

    In the past days there's been a massive purge of reported bugs on the Google/Android issue tracker, marking tens of thousands as "Status: Won't Fix (Obsolete)", just like a few years back. See: https://issuetracker.google.com/issues?q=status:obsolete

    My first post was censored, i don't understand why, as this could be useful information for reporters hoping for bugs to get fixed. Now they should re-submit, but it's probably not worth the effort since it will go ignored, and purged in a few years anyway. Sad.

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

    Why is onStartCommand usually accompanied with a Foreground Service as apposed to onCreate?

    Posted: 26 Apr 2020 12:49 PM PDT

    I'l try to keep this simple.

    Within the onStartCommand, I created notification a notification (with a channel), startForeground, and return "START_NOT_STICKY".

    I start and stop the service fairly frequently, and I don't want the notification to keep showing every time, I tried moving the notification to the onCreate, as well as the startForeground, and it worked.

    My question is, why do I need, or what do I need with the onStartCommand? the Return?

    Thank you.

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

    Courier Locker v1.1.0 update (Android)

    Posted: 27 Apr 2020 12:30 AM PDT

    Link Social Accounts

    Posted: 26 Apr 2020 04:56 PM PDT

    Is it possible to link Facebook and Google accounts through Firebase? The docs suggest it's possible, but I'm having trouble implementing it.

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

    Getting to Grips with View Binding (Android Studio 3.6)

    Posted: 27 Apr 2020 01:49 AM PDT

    No comments:

    Post a Comment