• Breaking News

    Monday, January 4, 2021

    Android Dev - Weekly Who's Hiring Thread - January 04, 2021

    Android Dev - Weekly Who's Hiring Thread - January 04, 2021


    Weekly Who's Hiring Thread - January 04, 2021

    Posted: 04 Jan 2021 06:00 AM PST

    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]

    I'm Creating A Free And Open Source Android Assistant

    Posted: 03 Jan 2021 08:57 PM PST

    I've been working on my own assistant application framework for some time now, and I am coming up to a point where it is functional for an alpha release. There aren't really any other FOSS assistants on the market other than Mycroft, and I noticed that there is no development happening on Saiy/Utter!.

    I've been developing it heavily using a Unix mentality which is meant to reduce the mental overhead when it comes to creating skills or new/replacement modules. I paid a lot of attention to the development of the framework so that individual components can be developed or replaced independently, allowing it to be more of a platform than a standalone application. This should also allow it to be easier to dive into individual parts of the application.

    There is still a lot to go in terms of making it useful out of the box, but it's almost all there in back end, and I think I'm finishing up the concrete features and flags that it needs to operate with skills and modules that other users develop.

    As it is right now, it does offline speech recognition using Vosk STT, and intent matching/entity extraction using the Stanford Core NLP library. I have it set up with a mock Calendar Skill to test its matching and finalize how I want it to interface with complex tasks. Currently it *WILL NOT COMPILE OR WORK* since I am still working out bugs on the alpha. When I am ready to release an actual alpha I'll branch the code, and I'll post/host nightlys somewhere (maybe also put it on F-Droid and Google Play).

    I intend to interface it with Termux/Tasker, Google Assistant, Alexa, and Mycroft, as well as at a chatbot feature, but those are all secondary to the task of a stable working assistant/platform. I encourage feedback and questions about how it works and how it could be hacked on to do other things, so that I can write documentation that is as transparent and understandable as possible. Hopefully the code is a bit self documenting as well. I strive for readability over cunning.

    Here's the link: https://github.com/Tadashi-Hikari/Sapphire-Assistant-Framework

    Let me know what you think

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

    Google Admob/Adsense December payment delayed for 2 weeks already. Is anyone else having this issue?

    Posted: 04 Jan 2021 06:14 AM PST

    Dec 21, 2020 - Automatic payment pending: Western Union

    Usually, I get the payment on 21-22. Previous payments had no issue, for years, including November 2020, October 2020, etc...

    Location: Europe

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

    Building complex screens in a RecyclerView with Epoxy

    Posted: 04 Jan 2021 06:08 AM PST

    Need some clarification about the billing system

    Posted: 04 Jan 2021 01:22 AM PST

    Hello there I am developing an app with a paid service in a company. I am the only android developer on board and apparently no one is concerned as I am about how we handle billing.

    In our case user must first create demo account which must be activated by a person (not me) in our company. The app doesn't have any purchase option it only show "Contact" dialog if demo quota is fulfilled. Then if users decide to purchase our service they contact with us or we contact with them. And all transaction is happening outside the app.

    What should be done here? Continue as it is or implement in-app billing?

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

    [Disucssion] Detekt: Standalone(incl. IntelliJ Plugin) VS together with Android lint?

    Posted: 04 Jan 2021 04:05 AM PST

    Hello

    I've never used Detekt in production, I've been using standard Android lint + ktlint. Now I want to migrate my project to Detekt including CI/CD pipeline. It looks pretty decent. So before I proceed I'm curious what do you guys usually do, use android lint and detekt together in AS or just detekt + IntelliJ plugin (disabling standard linter)?

    and also in addition to this. The project is modular and is there any way to combine reports for multi-module builds as one? This is the common headache with those linters. As I checked it in 2018 it was not possible, I googled it now and could not find anything special. I apply the same config for all submodules from the root Gradle project but it generates a single report for each module.

    Thanks

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

    2020 (A year in review)

    Posted: 04 Jan 2021 08:38 AM PST

    Package level size Comparision/Difference of APKs (ApkSize-Analyzer) [Tool] [Release Update]

    Posted: 04 Jan 2021 03:26 AM PST

    Package level size Comparision/Difference of APKs (ApkSize-Analyzer) [Tool] [Release Update]

    Hi,

    So today I released the beta 2 of ApkSize-Analyzer .

    This command-line tool helps to analyse APK and generate multiple reports which can be used to analyse size issues. The beta-2 includes the capability to compare 2 apks and see precisely the differences are along with the capability to compare size differences in java packages.

    Compare Report for two Sample Apks

    This makes it easier to share size changes and take better decisions.

    Try here: https://github.com/amank22/ApkSize-Analyzer

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

    how to get Build.getSerial with a kiosk app in an MDM?

    Posted: 04 Jan 2021 03:20 AM PST

    I developed an app that relies hard on the serial number of the device.

    The app is not published on the playstore and I own all of the devices that run this app.

    Build.getSerial() worked up until Android 10 was fixed in December, now the serial can't be retrieved and a new permission (READ_PRIVILEGED_PHONE_STATE) is required. I can't require this permission unless the app is a device owner. Apparently, my app can't be device owner since the app is wrapped inside another app launched by the MDM. Using Samsung knox atm. Anyone with experience about this?

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

    Any tips on getting reviews?

    Posted: 04 Jan 2021 05:20 AM PST

    My app has almost 100 users but I have not received any reviews on the play store yet. I already have something in the app where I prompt the user after they have had an account for 5 days. I ask them if they are enjoying the app and to leave feedback in a review. They have 3 options in the prompt: leave a review (implemented with the review API), remind them later ( ask again in 5 days), or stop asking (no more prompts ever). But so far, no reviews. Does anybody have a review strategy that has worked well for them?

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

    Android 11 very slow file access performance.

    Posted: 03 Jan 2021 08:10 AM PST

    Has anyone else noticed very slow file access performance on Android 11?

    I noticed this on my Pixel 2 device after upgrading to Android 11, opening and accessing files seems to become noticeably slower.

    I wasn't sure if it was just me or my device having issues, but I have now had two emails from users of my app complaining about this issue after upgrading to Android 11.

    I am pretty sure its Googles new layer they have put in right down at the OS level in order to support Scoped Storage, it has now made ALL file operations much slower..

    Edit 2:

    As mentioned below, it seems on Android 11 ALL file access to external storage goes through SAF, even when targeting API 29 and using standard file access functions. This is a change from Android 10. This explains the difference in speed.

    Setup:

    • Target API = 29
    • <android:requestLegacyExternalStorage = true>
    • Using File/fopen etc
    • Accessing external storage (Eg /sdcard/MyGames/)

    TESTS

    Just tested by downgrading my Pixel 2 to Android 10 and timing the loading of a game, then upgrading to 11 and doing the same test.

    1:

    Android 10 = 1.2 seconds

    Android 11 = 10 seconds

    2 (loads extra files):

    Android 10 = 11 seconds

    Android 11 = 62 seconds

    It is over 6 times slower to load on Android 11

    From the logs I can see a section which loads 17 files, this takes 20ms on Android 10, on Android 11 it is taking 2000ms.

    No idea if related but the performance difference I see would causes issues like this: https://support.google.com/pixelphone/thread/70091441?hl=en

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

    What should I write about?

    Posted: 04 Jan 2021 04:00 AM PST

    Disclaimer: This discussion won't be interesting for you if you are not active on Medium.

    I have started writing on Medium recently. My first article was on null-checking in Kotlin with ?.let. When I decided to submit it to one of the publications, I was told that topic is extensively covered. Pretty fair. I also posted on a few different places to get feedback and I couldn't say I received enough. What interests me is that how do you guys get feedback from readers? What helps you choose topics that is most helpful/interesting for the community?

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

    How to promote your app with almost no budget?

    Posted: 03 Jan 2021 02:35 PM PST

    I made an app for learning the parts of a microscope, but im a broke college student how do i get more downloads?

    submitted by /u/godlike-dawn
    [link] [comments]

    Launch full screen WebView from ADB?

    Posted: 03 Jan 2021 03:58 PM PST

    Is it possible to launch a website in full screen mode from ADB?

    These are the options which I've tried so far:

    Using the action.VIEW intent

    adb shell am start -a android.intent.action.VIEW -d "url"

    This works but it is not what I am looking for. The website is not full screen and does not provide any easy way to close it from ADB afterwards.

    Using the com.android.htmlviewer

    adb shell am start -n com.android.htmlviewer/.HTMLViewerActivity -d "url"

    This option seems the most promising since it opens in a standalone window and is easy to close from ADB. However, I couldn't get it to work as the ERR_CAHCE_MISS error kept coming up. Copying over a HTML file containing an iframe using adb push and trying to view it showed the same error.

    Using Chrome's WebappManager

    adb shell am start -n com.android.chrome/.webapps.WebappManager.ACTION_START_WEBAPP "url"

    A user on Stack Overflow says that Chrome has a WebappLauncherActivity which is used by page shortcuts and renders a website in fullscreen. When trying to do this, I got an Activity class does not exist error from ADB.

    Using Android System WebView

    adb shell am start -n com.google.android.webview/.MainActivity -d "url"

    This also gave me an Activity class does not exist error. I tried this just to see what would happen, I am unsure if WebView has any fullscreen web activities.

    Hiding status and navigation bar

    adb shell settings put global policy_control immersive.full=*

    This hides the status and navigation bar, it might come in useful combined with another command.

    I would really appreciate is someone could share their thought on whether doing something like this is possible.

    Thank you!

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

    Attributions in an App

    Posted: 04 Jan 2021 01:18 AM PST

    I'm trying to make an educational app, and some of the images I am thinking of using require attribution. Right now I'm creating a screen where I list all the attributions, but I'm curious what more experienced developers do. Where do you put attributions if you need to do it?

    submitted by /u/Test-Normal
    [link] [comments]

    I'm building a pc mainly for android development, do I need graphics card?

    Posted: 03 Jan 2021 11:05 PM PST

    Hey guys,

    So I'm planning to build a pc for my work. I want it to be really fast and efficient so thinking things like 32gb of ram and a 10th gen i9 cpu. Since these are very expensive on their own, I want to skip the graphics card and just use the integrated graphics with the cpu.

    This pc is mainly for android development, and maybe a mac vm for ios dev.

    So my question is, will the lack of gpu affect performance in these fields in anyway. Does android studio, emuluators, or any other tool depend on gpu and not cpu.

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

    7 of the hottest mobile app development trends of 2021. Do you even agree with this?

    Posted: 04 Jan 2021 01:24 AM PST

    8GB or 16GB memory M1 Mac Mini for Android Studio & Flutter development?

    Posted: 03 Jan 2021 10:59 AM PST

    ConnectivityLifeData for API 16 - API 30

    Posted: 03 Jan 2021 12:54 PM PST

    I made this super lightweight library to enable Android Developers handle network changes across API 16 to 30.

    https://github.com/mbobiosio/ConnectivityLiveData

    Please star if you find it useful. Contributions are welcome.

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

    Coilifier (Glide with syntactic sugar of Coil)

    Posted: 03 Jan 2021 01:54 PM PST

    Automated Android malware research (GPL-3.0)

    Posted: 03 Jan 2021 01:28 PM PST

    MAD-Pure (Mass APKs Download - Pure) is a tool that downloads list of APKs (file) from APKPure and analyze them using androguard and pwntools: https://github.com/SecTheTech/MAD-Pure/

    Current profile malware:
    - ActionSpy
    - WolfRAT
    - Anubis

    submitted by /u/s3c-7ech
    [link] [comments]

    Android equivalent of iOS' SpriteKit

    Posted: 03 Jan 2021 12:06 PM PST

    I have a background in iOS development and was using Apple's SpriteKit as a framework for 2D board games. Switching to Android (Kotlin), what would be the equivalent? It seems that there is no natively supported 2d game engine (backed by Google), is there?

    I was looking into libgdx but struggled to embed a game into a fragment (not the entire screen/activity). I'm now wondering if I should work on that a bit more or if there's a better way? Cross-platform is not a requirement, pure Android would be enough.

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

    No comments:

    Post a Comment