• Breaking News

    Friday, May 6, 2022

    Android Dev - Getting started with MotionLayout in Compose

    Android Dev - Getting started with MotionLayout in Compose


    Getting started with MotionLayout in Compose

    Posted: 06 May 2022 04:20 AM PDT

    Single Application Always-On Android Screen?

    Posted: 06 May 2022 12:36 PM PDT

    Hi, say if I want to use a single android app on a screen and isolated from other apps, like an old Kindle ereader, do you know what screen can I buy to program one? And how to program it?

    An example of this: can be like the security camera app on my phone. Most notifications are from the sun chaning the shadows. It is annoying but I don' t want to turn it off entirely. I want to program a screen that only feature that app. Thanks beforehand.

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

    Google Play and Personal Developer Account

    Posted: 06 May 2022 12:20 PM PDT

    Hey all, new to Android dev and looking towards listing my game on the app store. Just for some information on monetization as this is likely an important factor, the app will be free with some ads.

    With this, I signed up for a Google Developer Account, paid the $25 fee and provided my info. When logging into the dashboard, it states I must verify my account. The first steps to this are to provide my business information...which does not exist as this is more of a hobby.

    Exact notes from the page:

    You'll need an ID to verify it's really you

    • Driver's License
    • State ID
    • U.S. Passport or Passport Card
    • Green Card

    A document for the organization

    • A letter or notice issued or stamped by the IRS, such as CP 575 that confirms your Employer Identification Number (EIN)
    • A copy of the organization's Form 8871, 8872, or 990 from the IRS website
    • A state-issued certificate of business registration or incorporation
    • Your organization's most recent SEC filing, including Form 10-K, 10-Q, or 8-K
    • A business credit report from Experian, Equifax, TransUnion, or Dun & Bradstreet

    Anyone have any experience with this and if I may have setup something incorrectly, or if this is a true requirement for even unpaid apps?

    The fees for my state would exceed $800/yr for maintenance and $1k initial setup, which seems crazy for something I don't expect to make much. I do want to get things out there to see how they're received before stepping into such a big commitment but beyond git/dropboxing it, not sure there's another way.

    Thanks!

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

    4 reasons Jetpack Compose is better than XML

    Posted: 06 May 2022 11:47 AM PDT

    Is there a tool that scrapes and compiles custom roms?

    Posted: 06 May 2022 03:17 PM PDT

    I'm looking for a tool ( and if non exist then I'll write one) which compiles list of all official custom roms from tops roms like lineageOS, havicOS, .. etc by device code name. Does anyone have an interest in this / know of a tool that already does this ?

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

    eBay gets a 4.7 Google Play rating with tablet optimizations

    Posted: 05 May 2022 06:01 PM PDT

    How are OAuth2 authentication calls made in production?

    Posted: 06 May 2022 07:17 AM PDT

    I made a REST API in Spring, using Spring Security and JWT tokens. When a user makes a "/authenticate" call, I provide him a JWT token that he can use for further authenticated calls.

    I would make this call from a Retrofit client, and store the temporary JWT inside a variable or preference.

    How would I approach safely authenticating to my API in a serious application? Would this work differently?

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

    help reading volume level and displaying it on screen

    Posted: 06 May 2022 10:50 AM PDT

    Following this guide, I found how to start MediaRecorder object and stop it. I have connected them to a button so I can start and and stop recording on demand.

     public double getAmplitude() { if (mRecorder != null) return mRecorder.getMaxAmplitude(); else return 0; } 

    This line of code gets the loudness of the user microphone. But I'm not sure how I would update a text instance so that it always updates the number every half a second or so

    submitted by /u/throwaway-302391SD
    [link] [comments]

    Should we use double bang (!!) for Android Fragment ViewBinding?

    Posted: 05 May 2022 09:47 PM PDT

    In the Android Fragment binding guide, there's an example of

    private var _binding: ResultProfileBinding? = null
    // This property is only valid between onCreateView and
    // onDestroyView.
    private val binding get() = _binding!!

    Since I learned Kotlin, I learned the use of !! is highly unrecommended. Instead, it is recommended we should use requiredNotNull or checkNotNull as we can use a clearer message as per share in the article below.

    https://czerwinski.it/2018/11/30/the-case-against-double-exclamation-operator.html

    What do you think about the below? Should we just follow the Google guide or not?

    private val binding get() = _binding!!

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

    Not just Android, but Flutter What's next? StateManagement

    Posted: 06 May 2022 02:07 PM PDT

    Android GPay integration sheet

    Posted: 06 May 2022 03:19 AM PDT

    Android GPay integration sheet

    Hi guys I'm using the Google Pay Activity template in Android Studio and after running the project I noticed that the UI being shown when I click to pay displays a different bottom sheet for different devices/Android version.

    I'm using the following version:

    implementation 'com.google.android.gms:play-services-wallet:19.1.0'

    As you can see in the images attached one device displays a UI with a button Continue and the other one displays Pay. The Wallet library method being called is:

    AutoResolveHelper.resolveTask(task, activity, requestCode)

    Are there any to control which UI to display?

    https://preview.redd.it/1z9lvnta0ux81.png?width=441&format=png&auto=webp&s=a5096dc85709ca2583c9aa05c5fbc575c01007f6

    https://preview.redd.it/0fv9x4rb0ux81.png?width=419&format=png&auto=webp&s=4795d953464921d4469c4eeba763755e17d216d8

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

    Migrating to ViewPager2 with RecyclerView as main item

    Posted: 06 May 2022 02:00 AM PDT

    Hi. Previously, my implementation of ViewPager is I have 2 fragments and it each of them has ListView as the main content. Migrating to ViewPager2 will force me to drop these 2 fragments and make an "item". My problem is, in the adapter, I have to pass an ArrayList that should contain an ArrayList as well so that when it gets inflated, I should initialize the RecyclerView in the onBindViewHolder.

    Is this the best way to do this?

    Thanks.

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

    Kotlin or Android

    Posted: 06 May 2022 09:08 AM PDT

    Hello everyone, I almost finished my master's degree and I found a job as a programmer developer but once I will start working my goal is to do leetcode, master Java even better and do the Kotlin or Android course that is Paid on the Google's website in order to get the certification and after one year of work I would like to apply for a job at Google since I would have all the skills necessary in order to develop good software for the company and the people around the world.

    The question is the following:

    I went on Google's website for developers and I saw that they have a course for Android Java and one for Kotlin but they have just one exam that can be done in Android Java or Kotlin, what would be the best for me to take as the course before the exam, Kotlin or Android?

    Asking because I heard a lot of people that Kotlin is better and I should focus on that instead of Android Java.

    Can anyone give me a hint on what I should do in order to maximise my knowledge and future proof my knowledge?

    Thank you in advance to everyone that helped me to take the decision.

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

    Do I have to use Firestore for FCM Push Notifications?

    Posted: 06 May 2022 01:11 AM PDT

    Do I have to use Firestore for FCM Push Notifications?

    I'm working on a device with Arduino that sends data to my Firebase Realtime Database. How do I send a push notification when a new data is added? Every tutorial out there just shows data change. I just don't know where to start.

    Here is a sample of my database.

    https://preview.redd.it/hs3e5mz2dtx81.png?width=231&format=png&auto=webp&s=e0f3e8ef1b11206bebdeee0d3d17da924dc51290

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

    Dmesg Pixel 3a Android 8

    Posted: 06 May 2022 12:04 AM PDT

    Once opened the shell with adb shell and obtained the root privilege, i run command dmesg in Pixel 3a emulator with Android 8. Why don't i see any kind of message related to alsa or audio?

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

    Kotlin or Dart?

    Posted: 06 May 2022 02:39 AM PDT

    Hi fellow devs,

    I've been developing apps for Android using Java for a year now... But now I'm considering to learn either Kotlin or Flutter development mainly to reduce development time. Which one is more appropriate to go with?

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

    AdMob open bidding low match rate

    Posted: 05 May 2022 04:28 PM PDT

    AdMob open bidding low match rate

    Since I implemented open bidding in admob, I never saw a good match rate... is this normal?

    These results are from the last 7 days...

    https://preview.redd.it/z39b2bsxrqx81.png?width=1426&format=png&auto=webp&s=1111491002b1c833d224354f5d51d9e79029dffb

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

    Good Insightful Resource (Book/ Video/ Course) for Android Development?

    Posted: 05 May 2022 03:18 PM PDT

    Is there a good book or course on Android Development that explain, among the basics, the reason why things are done the way they are? I have read and seen tutorials, but most of them only say "write this and you'll get this functionality" or "you have to do this to get this functionality", etc.

    For example, why would I need an adapter when using RecyclerView and why do I have to write the code the way it is "supposed" to be written?

    Thanks!

    submitted by /u/DL-Z_ftw
    [link] [comments]

    Top 5 Android Developer Interview Tips

    Posted: 06 May 2022 12:11 AM PDT

    No comments:

    Post a Comment