• Breaking News

    Thursday, July 22, 2021

    Android Dev - Star Trek Easter Egg in doc of Build.VERSION_CODES.Q

    Android Dev - Star Trek Easter Egg in doc of Build.VERSION_CODES.Q


    Star Trek Easter Egg in doc of Build.VERSION_CODES.Q

    Posted: 22 Jul 2021 04:49 AM PDT

    LiveData vs SharedFlow and StateFlow in MVVM and MVI Architecture

    Posted: 22 Jul 2021 12:19 AM PDT

    Here is my article about LiveData vs SharedFlow and StateFlow in MVVM and MVI Architecture:

    https://proandroiddev.com/livedata-vs-sharedflow-and-stateflow-in-mvvm-and-mvi-architecture-57aad108816d

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

    Top dev blogs to read in 2021

    Posted: 22 Jul 2021 07:38 AM PDT

    Who do so many developers not understand what a country restriction does in the play store?

    Posted: 22 Jul 2021 06:16 AM PDT

    This is a problem that I encounter so often I am baffled. The goal of this post is to start a discussion and hopefully get at least a few people to avoid the same mistakes. Also I need a small rant!

    As a person living in the UK but holder of a US originated google account, I have to download many apps from dodgy apk stores because the app store prevents me from using them. These are apps that don't require UK residence, and in fact in one blatant example, I was prevented from downloading a naturalization guide. It's not random small companies either - the My McDonald's app for example, fair enough that not many people are travelling right now but why would you want to restrict a tourist from using your app to locate your stores and buy food?

    I haven't published an app recently so maybe the option to restrict by country is misleading? Either way what everyone should understand when they say restrict to country it's not about where it functions, it means unless a person is FROM that country they can't even download it.

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

    Google Play Console reviews - translate answers automatically

    Posted: 22 Jul 2021 05:14 AM PDT

    Hi there,

    I am wondering how other developers deal with answering to reviews from Google Play in different languages? It is already great that Google automatically translates the reviews on the Google Play Console. However, when answering to them in another language then my mother tongue, I have to separately translate it first with Google Translate and copy paste it into the console, which is a pain in the long term.

    How do you deal with it? Might there be a third-party service for it? Or do you think it is a feature we should try to persuade Google to add to the console?

    I imagine translating answers automatically within the console will be a great help for developers and will likely even increase the respond rate of foreign language reviews on Google Play 😊

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

    Will opting into app signing immediately break my existing CircleCi builds that use the keystore?

    Posted: 22 Jul 2021 08:31 AM PDT

    My company app needs to update to app bundling, but I need to make sure it still supports the keystore for some time while I figure the new CI flow.

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

    Android Studio Bumblebee Canary 4 available

    Posted: 21 Jul 2021 03:58 PM PDT

    Electron to React Native?

    Posted: 22 Jul 2021 06:52 AM PDT

    Currently have an electron app as a wrapper for a React, Express, and Realm js application.

    What was your experience in going from desktop to mobile with a full stack js apps.

    It seems like going with React Native is the most popular opinion.

    Are there any other viable options that would build into an iOS/android app that I'm unaware of?

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

    Fun Fact

    Posted: 22 Jul 2021 03:16 AM PDT

    Samsung had the opportunity to acquire Android in 2004, but the company felt the OS lacked the potential.

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

    Retrieve & display data from local database based on user input

    Posted: 22 Jul 2021 01:11 AM PDT

    Hello everyone,

    I am totally new to Android app development and I would like to clarify whether what I want to achieve is possible and, if that is the case, which is the best way to achieve it.

    I want to create an app that runs on Android smartphones and lets the user specify two alloys by text input, retrieves the composition of these alloys from an appropriate database stored locally in the smartphone and displays it in table form for the user to see.

    Well, what do you think?

    Thank you for your time!

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

    Debugging Flutter app from a Raspberry Pi - Device not detected

    Posted: 22 Jul 2021 12:10 AM PDT

    Hey Reddit

    I'm creating an ultra portable app development setup with a Raspberry Pi 4 8GB. Since Android Studio is not compatible with ARM I have installed VS Code and installing the Android SDK manually. Here's what I have so far:

    • Installed Ubuntu to the Raspberry Pi
    • Installed Flutter 2.4 using snap
    • Installed Chromium and pointed CHROME_EXECUTABLE to it in .bashrc
    • Installed VS Code with Dart and Flutter plugins
    • Installed the Android SDK using apt install android-sdk
    • Installed the Android Command Line Tools from here and added them to my PATH
    • Installed platform-tools, platforms;android-28 and build-tools;28.0.3 using sdkmanager --install
    • Agreed to Android licenses using flutter doctor --android-licenses

    However when I plug my phone in (previously used for debugging with my laptop running Android Studio), flutter devices doesn't detect it, it only shows Chrome as a device. In VS Code when I go to debug, I therefore only get Chrome as an option, which incidentally does work fine for web debugging. My phone has "USB debugging is on" on the handset.

    A few things I noticed are:

    • Despite installing the command line tools, they are completely ommited from flutter doctor (see output below). As far as I can tell they are installed but I am not sure if I need to add something to my .bashrc?

    • If I enter which adb into terminal I get /usr/bin/adb rather than /usr/lib/android-sdk/platform-tools/adb. Both seem to work and this is the output of adb devices:

    • I tried setting up an emulator but emulator isn't available as a package from sdkmanager and VS Code says avdmanager is missing from the Android SDK when try to create one through there. I didn't pursue this since I expect that would be a bit heavy for the pi anyway so rather debug on my actual device. I just presume that the emulator doesn't supprt ARM or something.

    List of devices attached 6369e875 device

    Here is the output of flutter doctor -v

    [✓] Flutter (Channel master, 2.4.0-5.0.pre.122, on Ubuntu 21.04 5.11.0-1012-raspi, locale en_GB.UTF-8) • Flutter version 2.4.0-5.0.pre.122 at /home/user/snap/flutter/common/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5acf7e98f1 (17 hours ago), 2021-07-20 19:58:58 -0700 • Engine revision 9b270621e4 • Dart version 2.14.0 (build 2.14.0-338.0.dev) [✓] Chrome - develop for the web • CHROME_EXECUTABLE = /snap/bin/chromium [✓] VS Code (version 1.58.2) • VS Code at /usr/share/code • Flutter extension version 3.24.0 [✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Chromium 91.0.4472.164 snap • No issues found!

    I'm two days into this already and I've learned a lot but I'm reaching the point now where I'm a little stuck so any help is greatly appriciated and hopefully what I've done so far can help someone in the future

    To be clear my problem is that my device doesn't appear in flutter devices and I can't debug with it in VS Code. Any ideas?

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

    Has any one worked with Animating the IME when Edittext's are inside NestedScrollView?

    Posted: 21 Jul 2021 11:45 PM PDT

    Tried using the ime animations from this sample.

    It works when used without the scroll container but when using the TranslateDeferringInsetsAnimationCallback inside scroll view the animations works in a weird way(Scrolls up and then scrolls down).

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

    some basic questions about dangerous topic - google policy

    Posted: 21 Jul 2021 01:56 PM PDT

    i need to understand some of google policies, since i have gotten slapped by them recently by an app suspension, i guess i have to be less cocky and try to understand their words better.

    can you help me understand this:

    https://support.google.com/googleplay/android-developer/answer/9888379#zippy=%2Cexamples-of-common-violations

    here are the examples i found puzzeling:

    Apps and app listings on Google Play must not provide any means to activate or access functionality that violate these terms, such as linking to a non-compliant APK hosted outside Google Play.

    and this:

    Apps or third party code (e.g., SDKs) that download executable code, such as dex files or native code, from a source other than Google Play.

    here is an example:

    1. the app Telegram links (inside it's app) into the Telegram website.
    2. Telegram website have links to download android apps that doesn't follow policy. (android app that self-update itself)
    3. so therefore - Telegram violets google policy. right ?

    i know i am wrong (because Telegram is not removed) but i don't understand why.

    another example:
    a browser that download apk that doesn't apply to google play policy,why it's ok to do so ? after all, the download of this apk needs the code of the browser in order to downloaded successuly into the device.
    so google might require all browsers to put extra checks to make sure all apk are following policy... or demand that they will block all apk download from browser...

    it seems like there is a lot of grey area here. and i am not sure how to handle this.

    also: is there something like a google play lawyer to specialist ? someone i can consult with and know that if he says my app is ok for google policy, than my app is ok ?

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

    Alternatives to push notifications?

    Posted: 21 Jul 2021 05:33 PM PDT

    I'm working on an app that I need to make it as obvious to the user as possible that they have an alert. Besides standard push notifications are there other ways to make the user aware that doesn't require extra permissions? I'm thinking similar to the Facebook messenger chat bubbles.

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

    I wrote my first article today.Please be kind to me and leave a like/comment.it Will really make my day. Thanks in advance.

    Posted: 21 Jul 2021 01:51 PM PDT

    No comments:

    Post a Comment