• Breaking News

    Wednesday, January 27, 2021

    Android Dev - Implementing Top Sheet component in Android | BottomSheet Behavior explained

    Android Dev - Implementing Top Sheet component in Android | BottomSheet Behavior explained


    Implementing Top Sheet component in Android | BottomSheet Behavior explained

    Posted: 27 Jan 2021 02:25 AM PST

    ProGuard Playground: A better way to write keep rules!

    Posted: 27 Jan 2021 08:00 AM PST

    ProGuard Playground: A better way to write keep rules!

    Hi all,

    writing ProGuard / R8 keep rules can be frustrating, mostly because iterating on them is slow. We've made this new tool available for everyone, similar to language playgrounds. It evaluates your rules and immediately and visually shows the impact on your APK/jar/...

    It's currently in beta so all feedback is more than welcome and can be shared here: https://community.guardsquare.com/t/proguard-playground-released/454

    (announcement: https://twitter.com/guardsquare/status/1354428953419800576 )

    Enjoy!

    https://playground.proguard.com

    https://i.redd.it/2yfi1pyvdwd61.gif

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

    Solving architectural problems in Bluetooth Low Energy mobile apps

    Posted: 27 Jan 2021 04:06 AM PST

    Tips for building a quality app with Firebase

    Posted: 27 Jan 2021 06:10 AM PST

    Call Audio Capture over Android.

    Posted: 27 Jan 2021 08:51 AM PST

    Hey,
    I was wondering if there's an API or any other make do method currently present in the SDK by which it is possible to capture audio of incoming and outgoing calls . I remember reading that this API was removed due to potential "legal problems", but couldn't find more info about this.

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

    Should I just ignore "This APK contains Java/Kotlin code, which might be obfuscated. We recommend you upload a deobfuscation file to make your crashes and ANRs easier to analyze and debug."?

    Posted: 26 Jan 2021 11:04 AM PST

    This warning comes up each time I'm uploading a new APK version. I'm working in Unity. Should I ignore it, or can it lead to a problem?

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

    How to think differently about Google Play ASO?

    Posted: 27 Jan 2021 06:50 AM PST

    New App Review using mocked data

    Posted: 27 Jan 2021 06:08 AM PST

    Hello everyone,

    Following up on what Apple has been doing for a while, Google have started asking for credentials to allow them to login and test the application being published.

    Depending on the app, this might involve having to create production accounts specifically for Google, something which the owner of the app might not be OK with (for instance, financial institutions).

    A way to get around this is to have the app use a non-production environment during the review process (for instance, if a specific login is used, use the test URL instead of the production one).

    What I was wondering if it would be possible to use mocked data entirely (for instance via a Mockwebserver) and if it's something which Google might pick up on and refuse the app? Does anyone here have any experience with this ?

    Thanks :)

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

    Is Etoro app native Android? If not, what is it build on?

    Posted: 27 Jan 2021 06:06 AM PST

    Is it possible to avoid tests for espresso and only run in Robolectric?

    Posted: 27 Jan 2021 02:19 AM PST

    Is there a way to annotate a test such that it can only run in robolectric and is ignored when run on Espresso

    submitted by /u/farees-hussain
    [link] [comments]

    Saving changes made in app after restarting it.

    Posted: 27 Jan 2021 05:27 AM PST

    So I'm making an app for controlling ESP32 wirelessly and every time I restart the app it goes back to original build state(any changes that user made aren't saved), any help on how to solve this?

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

    Internal Test Link Not Working

    Posted: 27 Jan 2021 05:19 AM PST

    Hi Guys,

    I have been waiting since last friday (5days now) for my internal test link to be working, but it isn't.

    I have read that it could take like 4 days since it was my first publish so I waited but on the 5th day I am starting to get worried.

    The link on mobile just keeps loading, and on browser it just says url not found.

    I have already contacted the support but still waiting..

    Anyone can help me with this?

    Maybe I did something wrong?

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

    Could it be that WHPX stopped working (on AMD) ?

    Posted: 27 Jan 2021 02:51 AM PST

    I need WSL2 and Docker in WSL2 enabled for my daily workflow. I also need to run Android emulators on Windows 10.

    This used to work without problems. Now my emulators won't start anymore, giving the following errors, when WSL2 is enabled.

    WHPX: Failed to get virtual processor registers, hr=c0350005 WHPX: Failed to emulate PortIO access with EmulatorReturnStatus: 64 WHPX: Failed to exec a virtual processor 
    submitted by /u/ad-on-is
    [link] [comments]

    Custom square crop with handlers inside the app

    Posted: 27 Jan 2021 02:50 AM PST

    Hi,

    I have a small project where I process some objects inside images. The app takes a photo from the camera or from the gallery and it shows it in a container. I am using Coil library for this step. I want to make a free 4-point handle crop (square) to crop the image on the object in the image. I have found some libraries on GitHub but they seem pretty old. For example, this one was updated in October 2018.

    Does anyone want to share an idea or some demo code of this being implemented or how can it be done?

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

    (╭☞⊗ε⊗)╭☞ NEW APP: ᑕᖇᑌᑎᑕᕼ ᑕᕼᗩT!

    Posted: 27 Jan 2021 04:53 AM PST

    I have made a new app called Crunch Chat. I have built the chat using HTML, SASS, jQuery and Node. I made the apps using ELectronJS and Android Studio (Java).

    Crunch is a super simple way to have fun, open and anonymous group chats with your friends.

    You can use the chat from anywhere. A desktop app is available for Windows and MacOS and a mobile app is available on Android. You can also access the chat from the web by following the link below:

    https://crunch-chat.herokuapp.com/

    You can download from the link below:

    https://alexhawking.itch.io/crunch-chat

    The source code for the app can be found below:

    https://github.com/Alex-Hawking/crunch-app

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

    [Free Webinar about Test Automation TODAY]

    Posted: 27 Jan 2021 12:41 AM PST

    Are you a tester? Want to simplify maintenance, team collaboration and get automatic Selenium & Appium reports in the cloud? This live webinar is just for you! Today, 27th Jan | 10:30 AM EST / 9 PM IST. Register here🤩✍️

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

    Looking for feedback on a project using Paging 3 with RemoteMediator and NetworkBoundResource

    Posted: 26 Jan 2021 10:10 AM PST

    Looking for feedback on a project using Paging 3 with RemoteMediator and NetworkBoundResource

    Hey, I'm looking for a code review on my project (link at the bottom). The focus of this project is offline caching with NeworkBoundResource and with Paging 3 + RemoteMediator. I tried to follow an MVVM architecture as described in the official Guide to App Architecture.

    If you want to try out the app you need a free API key from The Guardian and you have to put it as guardian_api_key="your_key" into gradle.properties.

    The project is a news app with 3 screens:

    The World fragment shows the 100 latest breaking news which are cached offline using NeworkBoundResource (with Flow) and Room. There is no pagination on this screen. The NeworkBoundResource refreshes every 5 minutes when the screen becomes active. I've set this timespan low for easier testing, normally this would be higher.

    The Search fragment is paginated using Paging 3 with RemoteMediator. All search queries get cached in Room and they will be displayed if the remote fetch fails (for example when there is no internet connection).

    The Bookmarks fragment is self-explaining. It should synchronize flawlessly between the other 2 fragments.

    If you want to help me find bugs please put emphasis on these things:

    -Search and refresh with and without airplane mode, does the RecyclerView show the correct state in every situation? Do earlier queries show up reliably if you search for a query again while offline?

    -When you search for a new query, the search results should not be visible until remote fetch either succeeded or failed. I did this on purpose because after refresh we scroll to the top and it would be confusing if the user was able to already start scrolling and then jumps back to the top after loading has finished.

    -Scroll very far and see if pagination causes any problems. Clicking on the bottom nav tab again should bring you back to the top no matter how far down you've scrolled.

    -Add and remove bookmarks on different screens, all RecyclerViews should keep their scrolling position.

    -Do you ever end up in weird/unexpected scrolling positions?

    -Try everything to break this project. The Search screen should be much more prone to bugs than the rest.

    Project link: https://github.com/codinginflow/MVVMNewsApp

    I'm thankful for any help!

    https://preview.redd.it/eoxch71gzpd61.png?width=383&format=png&auto=webp&s=c34938b12185d0477c45b77eb182b349d8cd4721

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

    Android Library for easing Media Selection to your apps with support for Images and Videos with a beautiful sample app.

    Posted: 26 Jan 2021 10:22 AM PST

    Android Library for easing Media Selection to your apps with support for Images and Videos with a beautiful sample app.

    Features

    • Written in Kotlin
    • Pick Multiple Images and Videos
    • Restrict User to Pick no of Images and Videos
    • Capture Images and Videos
    • Latest CameraX API

    https://github.com/akshaaatt/Media-Picker

    Make sure to star the project if you liked my contribution :)

    I've added a cool sample app which helps better understand the usage.

    Hope it helps you out!

    Sample App

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

    The Android 12 we want to see. (concept) - Pixel Phone Community

    Posted: 27 Jan 2021 03:14 AM PST

    How to Customize Android Snackbar

    Posted: 26 Jan 2021 02:05 PM PST

    What is Android Snackbar 💭 and how to customize it: action button, anchor, themes, and a custom view.
    Everything is covered in this guide! 👇
    https://vladsonkin.com/how-to-customize-android-snackbar/

    🌟 I also added an article rating after the post. It's just 1 click, check it out! But don't give me 1 star 😅

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

    How do you share code between different apps?

    Posted: 26 Jan 2021 03:11 PM PST

    Hello Android Devs,

    At my company, we will have multiple applications that will re-use code from the same library modules. For those of you in a similar situation, how do you manage this situation?

    • Do you have a Single Project with Multiple App Modules?
      • Our main app project right now is pretty big, and I worry that adding more application modules will make the project much slower when compiling and syncing.
    • Do you deploy the shared modules as AARs in a private Maven Repository?
      • I feel like this will make the project more difficult to debug, especially when library code needs to be changed.
    • Maybe you use another strategy that I have not considered?

    Thanks!

    View Poll

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

    Joe Birch's course – Hilt: Dependency Injection on Android

    Posted: 26 Jan 2021 11:04 AM PST

    Can TV App Repo Be Modded?

    Posted: 26 Jan 2021 03:22 PM PST

    With tv app repo you can create a apk that it visible on android tv, it can make two different apks for different tasks one for installing a shortcut to open a different apk for the purpose of making a visable banner for sideloaded apks the other function is that it can open a https link in a browser window from a shortcut/banner on the Home Screen! Is there a way to find a way to put these two functions together, I would like a to build a single apk that can open a linked apk and also send a https get request silently instead of opening a browser

    This is the version on tv app repo I've been trying to learn from https://github.com/ITVlab/TvAppRepo/releases/tag/1.1.4

    Can any body make me a template I could edit and build with android studio? I am VERY new to this and could do with some direction please

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

    Best book to learn android app development in Java + (Java vs Kotlin for a beginner?)

    Posted: 26 Jan 2021 04:03 PM PST

    Do you have any suggestions on which book would be the best choice for a beginner? I'm thinking "Android Studio 4.0/4.1 Development Essentials - Java Edition" or "Head First Android Development: A Brain-Friendly Guide".
    Also - after learning basics of Java language - wouldn't it be better for me to go and learn app development in Kotlin right off the bat? Or should I first learn Java in android app development as well, before switching to Kotlin (for better understanding?). I suppose Kotlin is widely used and learning it is crucial in android app development (but I might be wrong).

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

    No comments:

    Post a Comment