• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, February 2, 2022

    Open-source Chinese keyboard: Stroke Input Method (筆畫輸入法) Android Dev

    Open-source Chinese keyboard: Stroke Input Method (筆畫輸入法) Android Dev


    Open-source Chinese keyboard: Stroke Input Method (筆畫輸入法)

    Posted: 02 Feb 2022 05:47 AM PST

    This is my first ever Android project. It is a recreation of the minimalist Chinese input method found on Nokia dumbphones, where you input characters by typing stroke sequences on a digit pad (e.g. 天 is ㇐㇐㇒㇔ or 1134). I was unsatisfied by existing Android implementations being closed-source, lacking many characters, and/or having inconsistent stroke sequences.

    I don't know very much about programming (self-taught). I hope my code isn't too awful; I'm a recent deserter from academia, and during that time I saw much horrendous code (and produced my share of it). This is my first project where I expect other people to be reading the code besides me.

    My main concern is I load the entire stroke data set into memory when the input method service is instantiated. This takes a long time on lower-end devices (1.2 seconds on my cheap phone with ~1.3 GB RAM). Any suggestions?

    Feedback welcome and appreciated.

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

    Composable that return textStyle / Modifier

    Posted: 02 Feb 2022 11:52 AM PST

    Is it cool to return Modifiers or text styles from composable functions?

    It will hurt performance or something?

    Composable
    fun Txts(): TextStyle {
    return TextStyle(
    fontSize = 12.sp
    )
    }

    Text("abc",style=abc())

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

    What laptop to use?

    Posted: 02 Feb 2022 11:00 AM PST

    Hi y'all,

    I just landed an Android gig and they're asking me which laptop I'd want to use. Do you guys have any suggestions?

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

    An iOS developer and new to Android here. In iOS when you long tap an item you should show a drop down menu with actions, and in Android you should show the actions in the top app bar, so what is the correct way to update the top app bar when you long tap an item? I’m using Jetpack Compose.

    Posted: 02 Feb 2022 08:01 AM PST

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel