• Breaking News

    Monday, October 26, 2020

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

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


    Weekly "who's hiring" thread!

    Posted: 26 Oct 2020 05:44 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 - October 26, 2020

    Posted: 26 Oct 2020 03:56 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]

    Android 11 scoped storage - MediaStore can create sub-directories, delete - but are rename-file/move-file instantaneous as before ?

    Posted: 26 Oct 2020 01:50 AM PDT

    The first video in the references below has a good (non-Google) overview of the issues with MediaStore for Android 11 - and how some apps are having to use a mixture of SAF and MediaStore to cobble things together.

    In this video they suggest keeping your files in your own folder - this way you avoid the 128 persistent permissions issue, as all the files within that folder get permission (if you have permission for that one folder).

    Still some issues with System Picker - as varies by manufacturer.

    They also resolve one question I had - whether one can create a folder within Music and other "shared storage" areas.

    They mention you can delete as well.

    We have had experience with MediaStore from some years ago - when it was really kludgy - sometimes a file would appear in MediaStore, sometimes not.

    Perhaps it has improved by now.

    Questions:

    • how easy is it to move a file from your own folder (within Music etc.) - and move it to a further sub-folder there. Is that instantaneous (as it used to be earlier when both source and destination were on internal storage) ?

    • when the Android 11 FAQ by Google on medium - https://medium.com/androiddevelopers/android-11-storage-faq-78cefea52b7c - Android 11 storage FAQ - suggests that fopen() can be used now - does that mean you can programmatically deal with file paths strings, adding on a suffix to point to a sub-folder (as you used to do before) ? That is, can one extract a file path from a Uri that MediaStore returns ? And then add on a sub-folder to the file path string and use that with fopen() ?


    References:

    https://www.youtube.com/watch?v=32Jox0itYKI Android 11 #1: Deep Dive into Scoped Storage & Privacy Android Academy Global July 7, 2020

    rough transcript:

    2:19:30 minute mark

    128 persistent URIs ..

    when ask for 129 will have issue ..

    2:21:00 minute mark

    suggest keep documents inside own folder

    (so means can do sub-folder etc. !?)

    can hold permission to directory .. which easier ..

    can create directory

    can delete files

    2:25:00 minute mark

    migration ..

    2:28:00 minute mark

    major problems with SAF

    system picker provided by manufacturer ..

    problems with cloud based providers

    FileProvider for sharing with other apps ..

    they had issues with files ..

    migrated to MediaStore .. still have issues ..

    so still requesting legacy storage ..

    barrier is getting less ..

    also using SAF .. still using legacy storage sometimes (!?)

    1:09:00 - users not found user-friendly

    so had to use legacy ..


    https://medium.com/androiddevelopers/android-11-storage-faq-78cefea52b7c Android 11 storage FAQ

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

    Firebase Crashlytics Integration With Github

    Posted: 26 Oct 2020 06:03 AM PDT

    Good day guys,

    Hope you are safe and in good health.

    Can anyone here guild this fellow android developer on how to integrate firebase Crashlytics with Github.

    The idea is if there's any major crash on app, it should automatically get issued on our github repository.

    Thank you.

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

    Can't start rollout of an app due to app permissions error

    Posted: 25 Oct 2020 06:51 PM PDT

    I'm rolling out a new version of an app but for the first time needed to submit a declaration regarding the location permissions I'm requesting.

    I've submitted my declaration (as "no, I'm not accessing location in the background") and the page shows a green tick with a "Submitted" label, but my "Review and release" page is still showing it as an error, and the "Start rollout to production" button is disabled.

    I thought the review process was supposed to start by clicking "Start rollout to production"? Or is Google still reviewing the declaration, even though this release is still only a draft? It's been like this since last Friday.

    https://imgur.com/a/hyuRkbb

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

    application publication deadline

    Posted: 26 Oct 2020 08:00 AM PDT

    Hello guys!

    About 2 years ago I published my apps / versions and it took a few hours. Today I need to make an app available, but it seems that the deadline has changed. Has anyone recently published any apps? What was the period of analysis?

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

    In-App subscription

    Posted: 26 Oct 2020 09:06 AM PDT

    Am I allowed to add subscription to the users as "Donation" feature. So, users will not get extra benefits, but rather, if they want, they can subscribe and support my work. App would still be the same for both subscribed and non-subscribed users.

    Is this allowed?

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

    Android Always On Display api

    Posted: 26 Oct 2020 01:26 AM PDT

    Hi, how can I create an AOD app?(using android studio) Anyone know about an android AOD api guide or something?

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

    Android Studio 4.1 now has a SQL database viewer.

    Posted: 26 Oct 2020 05:03 AM PDT

    How do you browse your Android app databases? do you really have to copy the files back and forth?

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

    Live Template for timber with tag in Java

    Posted: 26 Oct 2020 08:46 AM PDT

    Abbreviation:

    logk 

    Description: Timber method name and its arguments

    Note: Assume you make Constants.java class and set public static final String TAG = "<YOUR TAG>"

    for example :

    public class Constants {public static final String TAG = "MyApp";}

    Template text:

    timber.log.Timber.tag(Constants.TAG).d($content$); 

    Edit Variables:

    Name : content

    Expression :

    groovyScript("def params = _2.collect {it + ' = [\" + ' + it + ' + \"]'}.join(', '); return '\"' + _1 + '() called' + (params.empty ? '' : ' with: ' + params) + '\"'", methodName(), methodParameters()) 

    Skip if defined : Checked

    ------------------------------------------------------------------------------------------------------------------------------------------------

    Another Expression to Include Class Name :

    groovyScript("def params = _2.collect {it + ' = [\" + ' + it + ' + \"]'}.join(', '); return '\"'+ _3 + ': '+ _1 + '() called' + (params.empty ? '' : ' with: ' + params) + '\"'", methodName(), methodParameters(), className())

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

    What is READ_EXTERNAL_STORAGE permission needed for?

    Posted: 26 Oct 2020 03:04 AM PDT

    I noticed that an app is able to access any audio file on a device without having been granted the READ_EXTERNAL_STORAGE permission.

    I checked the official Android documentation and it's written in poor English:

    https://developer.android.com/reference/android/Manifest.permission#READ_EXTERNAL_STORAGE

    I was under the assumption that "External Storage" in Android is any storage that is not specific to your app. Am I wrong in that? Perhaps this permission is only needed to access sd cards?

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

    My Play Console says I have a message but nothing is in the inbox. What if this is an app suspension? This is a very bad bug to have.

    Posted: 26 Oct 2020 12:43 AM PDT

    [DEV] Just launched my second diet app. It helps you lose weight every week

    Posted: 26 Oct 2020 07:53 AM PDT

    4 years ago I launched a diet app on Android that got me, the developer, these results: Before and After, in addition to working out as well of course. It is a calorie counter that focuses on losing weight over a week and updates your nutrition targets to keep you on track to lose 1 pound every week. That app has had some success on Android, so I wanted to launch it on iOS as well. Since I had to build the app from scratch for iOS anyway, I decided to build a new app using a cross platform solution (Flutter) instead. This worked out great, 99% of the code is the same between the Android and iOS releases.

    It's called Autopilot Diet and the key differences between this calorie counter app and the others are:

    • It focuses on your week as a whole. So if you over eat one day you can gradually make it up during the remainder of your week and still lose weight.

    • Your calorie targets are automatically updated at the end of every week based on what you ate, your activity and the weight you lost so that you don't plateau and continue losing weight.

    • You only need to weigh in once a week. The body does a lot of weird things over the course of a week, water retention, bloating, etc that can make you unmotivated if you step on the scale everyday, but if you look at your weight trends over the same day at the same time every week you will be a lot happier which will keep you motivated.

    • You can search for foods right from the home screen. As soon as you open the app you can start searching for food that you ate to log it. This sounds basic but is lacking from the major competition.

    • You can take a 24 hour diet assessment where you log what you normally eat, then your targets for your first week are based on that assessment. This provides a very accurate and realistic method for starting a diet.

    I just launched it on Google Play and would be happy to respond to your feedback and any questions in the comments below, thanks.

    tl:dr

    Launched my second calorie counter app that auto adjusts your calorie targets every week based on what you ate, your activity and the weight you lost so you don't plateau and continue losing weight. You can download it for free on Google Play

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

    Phone going on Reboot cycle.

    Posted: 25 Oct 2020 07:57 PM PDT

    Phone in reboot cycle and it's 4 year old phone.

    Any help form this short log between reboots - on what is casuing it to reboot often.

    1/4 CPU gone bad?

    https://filebin.net/j9astmfteeo1umew/last_kernel-1026-065243.log?t=1mo4ab3u

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

    apps supporting the full screen size/shape of the pixel 4 and 5

    Posted: 25 Oct 2020 10:33 AM PDT

    apps supporting the full screen size/shape of the pixel 4 and 5

    hi

    what do app developers need to do to fully support the screen size/shape of the pixel 5 (and partially the pixel 4)?

    i have a pixel 5 (and previously the pixel 4), and some, but not all, apps support using all of the screen, however some apps don't use the very bottom part, and others don't support both the bottom and the top?

    this is very jarring when an app ends up with a black section at the top and bottom of the screen.
    it's even worse when apps that play video don't support it. prime example being the plex app. i play a video, in landscape mode, and you end up with a black section on the left.

    see examples of two apps that have either one or both the "issues".

    https://preview.redd.it/k1g8magw0av51.jpg?width=1080&format=pjpg&auto=webp&s=595cedc86540298c7ea2f779a7a46b5fe4318d12

    https://preview.redd.it/1ahrepov0av51.jpg?width=1080&format=pjpg&auto=webp&s=0cffccb4a26e6ddc3af9eaf97289b68556c9ef4d

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

    Android VideoView Tutorial with Example Project in Android Studio

    Posted: 25 Oct 2020 10:30 AM PDT

    Does one promo code redemption mean one app install?

    Posted: 25 Oct 2020 08:28 AM PDT

    I have a paid app and I distributed 100 promo codes to download the app for free. When all the promo codes are redeemed does it mean that my app will have 100 installs?

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

    Resume ideas for CS student to get internship or work as junior developer

    Posted: 25 Oct 2020 11:03 AM PDT

    Hello, first of all sorry, I know that there is subreddit for resumes. But I wanted get ideas from android developers. Anyway, rn I'm 3rd year software engineering student. I'm currently "working" as intern for my university but I'm not really happy with it plus I fell like it doesn't sound as serious as working for a company. I put 2 of my personal project on my resume. I thought adding university project would be bad idea , since my university is project based , I mean in order to pass you have to do projects on almost every subject and we have deadlines so the code is really messy and buggy to meet deadlines. And I also think of adding that I consulted other students about assingments , how to do some things etc. But since I have no proof, I didn't add.

    So basically, I know that my resume sucks and doesn't stand out. My personal projects not really usefull. I have no star on github(Idk how important it is for companies). Plus I already have HUGE disadvantage to work or be an intern on different countries since nobody would hire intern that isn't citizen.

    So here is my resume . I want to get internship for summer or get junior job in best case.

    I want to know what should I add to my resume?

    What kind of project would be cool to put on resume?

    What should I remove from my resume?

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

    No comments:

    Post a Comment