• Breaking News

    Thursday, October 29, 2020

    Android Dev - Netflix Android and iOS Studio Apps — now powered by Kotlin Multiplatform

    Android Dev - Netflix Android and iOS Studio Apps — now powered by Kotlin Multiplatform


    Netflix Android and iOS Studio Apps — now powered by Kotlin Multiplatform

    Posted: 28 Oct 2020 06:17 PM PDT

    How do I fill the whole popup menu?, don't want the white in the square.

    Posted: 29 Oct 2020 02:34 AM PDT

    How can I unit test my view utils functions?

    Posted: 29 Oct 2020 02:30 AM PDT

    I gathered quite a few utils functions in a library, using kotlin extension functions to simplify common operations when Android framework API was too cumbersome. Like in this very simple example:

    val View.contentWidth: Int get() = width - paddingLeft - paddingRight 

    I would like to add unit tests to this library but have no idea how to test this. I'm new to unit tests and already read a lot of documentation on how to getting started but feel a bit lost about it at the moment and trying to search directly for a solution yielded no result.

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

    How much and why is accessibility in Android Apps important for you? What problems do you find in implementing the accessibility guidelines?

    Posted: 29 Oct 2020 05:57 AM PDT

    Released integration between the Navigation component and Jetpack Compose as androidx.navigation:navigation-compose:1.0.0-alpha01

    Posted: 28 Oct 2020 11:15 AM PDT

    Android Studio reformatting my code

    Posted: 29 Oct 2020 07:39 AM PDT

    Hi,

    I've been having this problem with Android Studio where it will reformat my code. For example (and the example that bothers me the most) is it separates function call arguments into multiple lines. I don't want this. I want it just leave everything exactly how I formatted it when I wrote it. I find this especially annoying for something like a simple Toast message. In my mind it should just be a single line, but it always gets auto-formatted to 3 or 4 lines. I've looked though some of the formatting settings in android studio for kotlin and I just can't seem to find the right settings.

    Does anyone know what settings I need to change to Android Studio stops reformatting my code? I want it to leave it exactly as I wrote it.

    Thanks

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

    Navigating with Deep Links

    Posted: 29 Oct 2020 07:26 AM PDT

    Twitter like feed

    Posted: 29 Oct 2020 06:34 AM PDT

    How to accomplish feed item like twitter where user gets to see not only the like counts but also if he has liked that post or not. The heart is red if he has liked the post.

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

    What kind of data type column you use in SQLite, to store LocalDate?

    Posted: 29 Oct 2020 06:31 AM PDT

    Currently, we need to store holidays information in SQLite.

    We prefer to use LocalDate in our application code.

    As, Christmas always happen on 2020-12-25 doesn't matter the user is from United Kingdom, or from Thailand.

    In SQLite side, we tend not to store it in INTEGER timestamp, as that requires correct timezone information.

    So far, we choose to store it in TEXT.

    public class LocalDateConverter { // 2020-12-25 // 2019-11-08 private static final ThreadLocal<DateTimeFormatter> threadLocal = ThreadLocal.withInitial(() -> { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd", Locale.US); return formatter; }); @TypeConverter public static String toString(LocalDate localDate) { return threadLocal.get().format(localDate); } @TypeConverter public static LocalDate toLocalDate(String string) { return LocalDate.parse(string, threadLocal.get()); } } 

    I was wondering, is that a good approach?

    Is there a better data type in SQLite to store LocalDate using Android Room?

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

    Which is the security process behind Android Apk signature key and the playstore ?

    Posted: 29 Oct 2020 06:16 AM PDT

    Hi :)

    When we decide to create our app we create a keystore, we decide the keystore password, the keyAlias and the keyPassword and after that we call assembleRelease.

    We go to the play console and we upload our fantastic apk.

    But in which way google checks the apk is signed with the correct signature key ? Which is the checks ?

    Which is the role of the keystore ?

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

    NotyKT is a complete Kotlin-stack application built with Ktor (REST API Backend) + Android

    Posted: 29 Oct 2020 05:56 AM PDT

    Other ways to Debloat Android device

    Posted: 29 Oct 2020 05:21 AM PDT

    Hello all of you. I have a realme U1. In order to deboat your Android device, you might go with ADB, but its not working for me, I tried a lot of different ways, but everytime it says" Because an app is obscuring permission request, settings can't verify your response and i want to debloat it. So, i want to ask if i can debloat my device with termux? Thank you so much in advance for any help whether it's for adb or termux.

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

    Understanding the internals of LeakCanary Memory Leak Library.

    Posted: 28 Oct 2020 12:03 PM PDT

    AppOpenAdManager - Android Library

    Posted: 29 Oct 2020 02:59 AM PDT

    AppOpenAdManager is just a simple wrapper to handle the new AppOpenAd Format by AdMob (Google).\ If you look at the tutorial, you'll see the detailed guide to create a Helper Class to manage AppOpenAd.

    The wrapper should have been included in the core Ads SDK itself for a direct use-case & a maybe separate support for customisations, but it wasn't.\ So I ended up creating the library! All that boilerplate, now wrapped to a Single line of Code for the developer.

    As always, the library is written in Kotlin ❤️ :\ https://github.com/ItzNotABug/AppOpenAdManager

    Note:\ The library is just a helper to get you started with AppOpenAd quickly & you don't intend to make major changes..

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

    Is it possible to use SQLite if the Android app is making request to the server database?

    Posted: 29 Oct 2020 02:37 AM PDT

    Styling System Bars

    Posted: 29 Oct 2020 12:34 AM PDT

    ismaeldivita/change-tracker-plugin - A gradle plugin to run your verification tasks only on modules affected by the latest changes

    Posted: 28 Oct 2020 03:09 PM PDT

    Beginner publishing on google appstore

    Posted: 28 Oct 2020 10:59 PM PDT

    So I'm a beginner who has an app ready for publishing on google play store. But before that, I got a couple of questions.

    1.Paying for the google play console fee, I read that they don't accept prepaid cards anymore. What are the payment methods they accept?

    2.If I turn on the ads in my app or made it paid, where do my earnings go?

    1. How do I cash out that earning?

    Sorry. Total beginner here.

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

    Is Java 8 desugaring feature stable enough for java.time

    Posted: 28 Oct 2020 10:46 PM PDT

    All the while, I am using https://github.com/JakeWharton/ThreeTenABP so that we can have java.time feature in older platform.

    We plan to abandon the good old ThreeTenABP, and rely on Java 8 desugaring feature, especially for java.time feature.

    I was wondering, have anyone of you done the migration before? Do you encounter any bugs after migrating?

    Thanks.

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

    Is the Android app review process taking really long for others as well?

    Posted: 28 Oct 2020 03:01 PM PDT

    I submitted an Android app build for a public beta. 3 days later, it is still in the process of being reviewed. While our iOS version got reviewed by Apple within 6 hours. Are other developers also experiencing these late wait times?

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

    Biometric not detected in Samsung galaxy M01 device with Android Q?

    Posted: 28 Oct 2020 09:39 PM PDT

    PIN option on notifications scroll down bar for Andriod

    Posted: 28 Oct 2020 09:31 PM PDT

    Quick post here.

    I was just thought that, wouldn't it be a good idea to have the ability to "pin" certain notifications. In other words. If there's was a text from one person that was alot more important than the rest of your texts, and other notifications in the scroll down bar. Then you'd "pin" the notification. Which would. Keep that one individual text notification bubble. Pinned to the top of the scroll bar in a separate section for pinned notification. All making its icon on the mini notification bar (on the top of the phone where battery, time 4g ect is.) making its icon a special color customizable by the user, for example, bright green on pinned notifications comepared to plain white or whatever your theme shows.. Also, cleaning your notifications would not clear the pinned notifications. And neither does swiping left on pinned notifications. The only way to do this is to tap "clear pinned notifications" tab and then press confirm so the andriod knows your sure. Or unpin the individual notification.

    I hope the post was coherent. I'll be honest I'm just an high-school student who has this idea earlier in the day. But I hope someone can use you. And Dev. If you do use it. Do me a favor.. Just like call out something to do with a Llama. I have a Llama afro so if I see a Llama Easter egg next andriod update I'll know what's up.

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

    Making the jump from web to native

    Posted: 28 Oct 2020 06:21 PM PDT

    So I've been a web developer for eight years now, mostly backend, but I do react and angular stuff, I also know Java and have a fair understanding of Kotlin. I'm trying to learn native Android, but it's complicated to get started.

    First thing I noticed is that aside from the android docs, most of the code examples and topics I find on the internet are a few years old. That makes me question if using Android Studio is what everyone does or is it actually dead and I'm wasting my time.

    What tools and paradigms do Android developers use? Do you code in Android Studio and use all of it's tools, layouts, views, xml and practices; or is there another universe of tooling and techniques I don't know about?

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

    No comments:

    Post a Comment