• Breaking News

    Sunday, January 23, 2022

    Android Dev - Android NFC App capabilities? What can and can't you do with the NFC API's?

    Android Dev - Android NFC App capabilities? What can and can't you do with the NFC API's?


    Android NFC App capabilities? What can and can't you do with the NFC API's?

    Posted: 23 Jan 2022 03:25 AM PST

    Is it possible to make an app broadcast an NFC event that contains a URL to be opened by User B tapping their device to the phone of User A using the aforementioned app?

    (Like card payments or London TFL public transport phone tapping to enter and exit)

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

    I'm building a helpful system to get direct feedback from users who download your apps

    Posted: 23 Jan 2022 01:15 AM PST

    I'm building a more helpful system to easily get and manage feedbacks directly from users who download your apps. I'm taking a survey to find more ways this solution can be truly helpful. Would you pls help take a look ?

    https://docs.google.com/forms/d/e/1FAIpQLSeM107R12kZJPrFcKHL7Rem7qldGeY4RPugQepOnn956vs9Cw/viewform

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

    Navigating in Compose: Criteria

    Posted: 22 Jan 2022 01:36 PM PST

    My fragment's onViewCreated is not being called on up navigation or back press when returning to previous fragments in the back stack when using NavHostFragment

    Posted: 22 Jan 2022 09:39 PM PST

    Is this the expected behavior? If I navigate back using an action it works perfectly. All my live data observers are dead and don't get reattached.

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

    Is it a good idea to load all Ads in an Application class?

    Posted: 22 Jan 2022 10:03 PM PST

    public class Admob extends Application { @Override public void onCreate() { super.onCreate(); MobileAds.initialize(this, new OnInitializationCompleteListener() { @Override public void onInitializationComplete(InitializationStatus initializationStatus) { } }); }} 

    I've been using this separate class that extends Application to initialize my Admob. and despite of that. i noticed that my Ads are taking long time to show after calling them because they were loading all over everytime.

    So i thought it might be a good a idea to load (load not initialize!) all the those Ads (Inters, reward vids, banner... etc) and have them always ready in the same class that i use for initialization.

    If the answer is No. what is the alternative solution to solve this delay problem?

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

    how to hide "project name bar"?

    Posted: 23 Jan 2022 04:15 AM PST

    Tiles - Cards, barcode and QR

    Posted: 23 Jan 2022 03:34 AM PST

    Tiles - Cards, barcode and QR

    First of all, I would like to introduce myself: I'm an R&D Software designer at work and Android developer in my spare time. Passionate about computers, technology and user interfaces in material design.

    I've already published a new app on Play Store and for this reason I need testers in order to have some feedbacks.

    The app is called Tiles and is available into the Play Store at this link: https://play.google.com/store/apps/details?id=com.francescopennella.tiles

    Description: With Tiles you can scan all your loyalty cards, product or gift card barcodes and QR codes (including the Green Pass), so that you can always carry them with you on your smartphone. All just a click away on your smartphone!

    Features: Scan your loyalty cards, barcodes or QR codes in order to create your tiles. Search through the tiles to find what you need. Show the barcode or QR code in full screen mode, so it can be scanned easily.

    Carry your cards, barcodes or QR codes always with you!

    Thanks to everyone who will participate!

    https://preview.redd.it/r0uxfknkbfd81.png?width=3252&format=png&auto=webp&s=3dbbc500811f08855d2290b6d78ccd5357d6b453

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

    User keyboards not limited to numbers anymore

    Posted: 22 Jan 2022 07:37 PM PST

    Recently I'm getting a decent amount of crashes from parsing errors when expecting numbers from edittexts. I've had the edittexts set to android:inputType="number" for years now and not had any issues until recently. I suspect it might have to do with a recent update where I started targeting version 31. It seems to be happening on at least Android version 10, 11, and 12, and across non-google devices (eg Samsung and Huawei).

    Has anyone else been experiencing this and/or have tips to help this. I know I could strip all potential characters out of any text before parsing, but it would be nice for the user to not have the option to enter the text either.

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

    Issues with screen functionality with "appear on top" app open after latest Android update

    Posted: 22 Jan 2022 08:42 PM PST

    I am using an application that allows for a screen over lay while I'm still able to use the phone screen for normal use. However, ever since the latest Android update, if I have the application and overlay on my screen the screen is unresponsive unless I'm interacting with the overlay only.

    Is there a setting a can adjust so that I ahev multi touch functionality back for the overlay and standard touch screen functionality at the same time?

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

    Correlating Jetpack Compose Side Effects

    Posted: 22 Jan 2022 04:34 PM PST

    Besides grinding leetcode how do you study for Android interviews?

    Posted: 22 Jan 2022 11:23 AM PST

    What framework (if any) would you recommend for this "simple" data entry app?

    Posted: 22 Jan 2022 03:41 PM PST

    App description

    At its core, this will be a data entry app in portrait mode:

    • Create/view/edit lists of "items"
      • Each item is comprised of various properties (strings and numbers)
      • Drag to re-order items in the list
    • View a grid (like a small "worksheet" or spreadsheet) where tapping on one of the squares on the grid will prompt you to tap on a preset choice to insert into it (e.g. "1", "20", "50", "100")
    • Organize data into a string (e.g. CSV) and natively "share" (e.g. via any email client)
    • Must support old devices (especially tablets running Android 5.0)

    What the app does NOT need (and will never need)

    • Access to any external server/Internet
    • Fancy animations, location services, camera access, etc.

    My current situation

    I have several years of beginner-level experience across various programming languages (C#, Python, etc.) and rudimentary knowledge of UI development (Unity cross-platform games).

    I'm trying to figure out what my best 1-2 options are approaching this project. I've read a little bit about Flutter and Jetpack Compose, but at first glance they seem to be way over my head, or otherwise overkill for this app.

    For now, I'm slightly biased toward just vanilla Android Studio, heavily utilizing existing patterns/libraries (re-orderable lists, date/time picker, number/text picker, confirmation modals, etc.), perhaps via Material.

    Is there anything else I should be aware of before diving in? Any other recommendations or tips?

    Thanks!

    submitted by /u/Top-Elk-8126
    [link] [comments]

    Jetpack compose bottom navigation

    Posted: 22 Jan 2022 11:52 AM PST

    The official example to create bottom navigation shows the need of sealed class, list of screen and such(link to official example).

    Why not just toggle between screens with BottomNavigationItem onClick without navhost?

    for example

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

    RXJava and synchronization

    Posted: 22 Jan 2022 01:32 PM PST

    i'm trying to read in the rxjava docs but i can't find the answer -

    does it make sense that if i have a class with a behaviorSubject field, calling this field's onNext will suspend any other threads that are trying to call the same object's getValue method?

    example:

    `object a {

    var obj = BehaviorSubject.create() @Synchronized fun set(value: Int) { obj.onNext(value) } @Synchronized fun get(): Any? { obj.getValue() } 

    }`

    trying to figure out why calling set prevents other threads in my code from calling get (waiting for lock)

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

    Can’t move in Recover Mode?!

    Posted: 22 Jan 2022 07:18 PM PST

    Hello!

    I have an iiyama TV (43" (109,22cm) iiyama ProLite LH4370UHB-B1) with android 9.0 pie (TV OS) installed. Something went wrong and the TV is now booting on every reboot automatically in Recover Mode. The problem is I cannot move inside the recovery mode. I cannot go up and down either I cannot select something. There is only one Power button on the TV, I was sure that this button must be for selecting, but no, doesn't work either, also a USB keyboard connected on the USB port of the TV won't let me select or move. Anyone an idea? Thank you!!

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

    No comments:

    Post a Comment