• Breaking News

    Saturday, September 25, 2021

    Android Dev - Lost in translation. How do I get style/typography names from my designer who uses XD?

    Android Dev - Lost in translation. How do I get style/typography names from my designer who uses XD?


    Lost in translation. How do I get style/typography names from my designer who uses XD?

    Posted: 25 Sep 2021 03:44 AM PDT

    So we have a problem which we cannot solve right now and I think it is because we don't know the possibilities of our tools.

    Our designer has a design system in XD with different typographies, colors with names, elements like buttons etc.

    She builds a design and creates an Adobe XD link for us developers. But we can only see the raw values what the elements have. Like textsite, font, thickness, color values etc.

    We won't see that the text is the same typography as the screen we built last week so we should create a style for that.

    We don't see that the button is the same we have in other parts of the app so we should create a style for that.

    We have to look for this manually, although our designer has these informations in XD but they dont get exported.

    Is there a way to solve this? Can Zeplin do this? What do you use to communicate styles and themes with your designers?

    Thanks!

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

    How to unit test Room AutoMigrations?

    Posted: 25 Sep 2021 01:01 AM PDT

    I'm using the new AutoMigrations in Room 2.4.0 . But I don't know how to unit test them. I need a Migration to pass to runMigrationsAndValidate but the implementation is auto-generated and I can't access it

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

    Starting to realize, how much damaging is Google dominance over Android platform to users, developers and even phone manufacturers.

    Posted: 24 Sep 2021 02:10 PM PDT

    When I started with android development few months back I was so naive about relationship Android(Google) and developers. My initial view was something like Lets build stuff together, untill we are not intentionaly bad actors, we are free to create and build.

    Now I am realizing how mych Google hijacked original (opensource smatphone OS) idea to create massive monopoly to serve their bussines plan.

    1. We developers are bound by many strict Google rulez designed to.maximize Google profit on our expense.

    a)you can be terminated anytime without option of appeal or entity of arbiter

    b) rules can be / and are changed even retrospectively

    c) even such features as in app donations are considered illegal because G cant have a cut from it

    1. There is active resistance from G to have independent app marketplace

    3) phone manufacturers are paid and influenced by G to limit our options and force us to use G services

    4) Whole Android community is acting as huge data provider to G feeding them with data about lives and actions of every user.

    To me looks like we are only "allowed" to participate under premise that we will help G earn.more $$ and to build their empire bigger and stronger.

    Really interested to hear your opinions on this. Take care

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

    I created this project to learn MVVM with Clean Arch (and to try out new tech). Can someone take a look & give me feedback? Any big mistake while following the clean-arch?

    Posted: 25 Sep 2021 02:23 AM PDT

    USB Debugging RSA Fingerprint authentication box disappear without selecting any of the option

    Posted: 25 Sep 2021 05:06 AM PDT

    Hey Devs,

    I recently tried to setup a Flutter App Development Environment in Android Studio Emulator as of till now I was using a physical device due to my low specs laptop but now i've upgraded it so I'm thinking to setup a proper flutter dev env . But as I tried to setup the env everything works fine but I'm not able to Allow USB Debugging RSA Fingerprint for the Laptop

    The Main problem is whenever the popup appears but as soon as possible I'm trying to allow it but then it suddenly disappears.

    I didn't found any solution googling on the web.

    I don't know how to show you all the problem as I recorded it but don't know how to show you all that

    BTW I tried using adb kill-server adb start-server to make that popup appear again but then also the result remains the same

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

    My publishing is getting rejected time after time because my app reads sms, even though this is core feature.

    Posted: 25 Sep 2021 12:28 AM PDT

    So I created my first app, and trying to publish it to google play. internal testing is fine, but when I try to create open testing track, I keep getting rejected. I tried with different use cases, and a tried to explain it in the appeal form when you are redirected in the rejection mail. any other suggestions how to pass the phase so I can start open testing?

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

    Launch Response Time

    Posted: 24 Sep 2021 03:47 PM PDT

    Logcat/ADB question: can I determine a reason why my phone's display is constantly waking up?

    Posted: 24 Sep 2021 02:33 PM PDT

    Logcat/ADB question: can I determine a reason why my phone's display is constantly waking up?

    Hi,

    Quick intro: Today my Pixel 3 screen starts spontaneously waking up, especially while charging. It wakes up a couple of times in a minute on average while charging (both wired and wireless, different chargers), after disconnecting the charger, the phone wakes up several additional times in a couple of minutes and then wakes up several times in an hour. Maybe, some power-saving mechanism suppress wakeups.

    The phone is Pixel 3 with the most recent updates (Septermber 2021 update), Android 11.

    I've turned off display wakeup on notifications, double-tap, and phone lifting but it does not help, so I decided to install ADB and according to logs, it looks like some application does this, but I don't see which one. Could anyone give me a direction for further digging, please?

    I'm a desktop software developer, so I haven't managed to get more details yes.

    Here is a typical part of logcat logs during wakeup:

    adb logcat *:V > c:\users\victor\desktop\phone_v.log ... 18 seconds of silence ... 09-24 23:49:24.900 1532 4596 I PowerManagerService: Waking up from Asleep (uid=10253, reason=WAKE_REASON_APPLICATION, details=WakeLocker)... 09-24 23:49:24.912 2050 2070 D KeyguardViewMediator: onStartedWakingUp, seq = 442 09-24 23:49:24.912 2050 2070 D KeyguardViewMediator: notifyStartedWakingUp 09-24 23:49:24.913 2050 2050 D KeyguardViewMediator: handleNotifyWakingUp 09-24 23:49:24.918 1532 1624 I DisplayPowerController: Blocking screen on until initial contents have been drawn. 09-24 23:49:24.919 2050 2070 D KeyguardViewMediator: notifyScreenOn 09-24 23:49:24.922 1023 1023 V ContextHubHal: sendMessageToHub 09-24 23:49:24.924 1035 1111 D CHRE : @ 21537.401: Parsed nanoapp message from host: app ID 0x476f6f676c00100e, endpoint 0x1, msgType 202, payload size 5 09-24 23:49:24.925 2050 2050 D StatusBar: disable<e i a s b h R c s > disable2<q i n > 09-24 23:49:24.927 2050 2050 D StatusBar: disable<e i a s b h R c s > disable2<q i n > 09-24 23:49:24.928 2050 2050 D KeyguardViewMediator: handleNotifyScreenTurningOn 09-24 23:49:24.931 1035 1035 I sensors-hal: batch_physical_sensor:285, android.sensor.light/51, period=250000000, max_latency=0 09-24 23:49:24.931 1035 1035 I sensors-hal: batch_physical_sensor:296, android.sensor.light/51, period=250000000, max_latency=0 request completed 09-24 23:49:24.931 1035 1035 I sensors-hal: activate_physical_sensor:220, android.sensor.light/51 en=1 09-24 23:49:24.932 1035 1035 I sensors-hal: get_qmi_debug_flag:233, support_qmi_debug : false 09-24 23:49:24.932 1035 1035 I sensors-hal: activate_physical_sensor:233, android.sensor.light/51 en=1 completed 09-24 23:49:24.933 1532 1624 V DisplayPowerController: Brightness [0.08849338] reason changing to: 'manual', previous reason: 'screen_off'. 09-24 23:49:24.936 1035 1111 I ASH : @ 21537.411: tmd2725: Enabling sensor 0 09-24 23:49:24.937 1035 10218 I sensors-hal: handle_indication_realtime:451, SCHED_FIFO(10) for qmi_cbk 09-24 23:49:24.938 707 707 D SurfaceFlinger: Setting power mode 2 on display 0 09-24 23:49:24.938 1532 1592 I DisplayManagerService: Display device changed state: "Встроенный экран", ON 09-24 23:49:24.938 709 732 I SDM : DisplayBase::SetDisplayState: Set state = 1, display 0 09-24 23:49:24.939 1532 1592 I InputManager-JNI: Viewport [0] to add: local:0, isActive: true 09-24 23:49:24.939 1035 1111 I VSC : @ 21537.417: [BINNED_BRIGHTNESS] Created instance at 0xb20649b8 09-24 23:49:24.939 1035 1111 D VSC : @ 21537.417: [Binned Brightness] Request ambient_light, interval 250.0 ms, latency 0.0 ms 09-24 23:49:24.940 1532 1914 I InputReader: Reconfiguring input devices, changes=DISPLAY_INFO | 09-24 23:49:24.940 1532 1914 I InputReader: Device reconfigured: id=4, name='fts', size 1080x2160, orientation 0, mode 1, display id 0 09-24 23:49:24.940 1035 1111 D VSC : @ 21537.418: [Binned Brightness] Request proximity, interval 200.0 ms, latency 0.0 ms 09-24 23:49:24.942 1035 1111 I ASH : @ 21537.419: tmd2725: Calibrating POFFSET 09-24 23:49:24.962 1035 1111 I ASH : @ 21537.439: tmd2725: POFFSET 02 09-24 23:49:24.972 2289 2289 D GRIL-S : [1054]> UPDATE_DEVICE_STATE DeviceState: Usb:1, Wifi: 1, Wifi AP: 0, Earpiece: 0, Bluetooth: 1, Wireless charging: 0, Screen: 1, Camera: 0, 0, 0, 0, Motion: 1, Bluetooth tethering: 0, Voice: 0, Wifi 2.4G: 0, Radio: 1, Bluetooth connected: 0, Bluetooth media: 0 09-24 23:49:24.972 1532 4524 W ActivityManager: Background start not allowed: service Intent { act=Orca.PERSISTENT_KICK_SKIP_PING cmp=com.facebook.katana/com.facebook.mqttlite.MqttService (has extras) } to com.facebook.katana/com.facebook.mqttlite.MqttService from pid=18092 uid=10216 pkg=com.facebook.katana startFg?=false 09-24 23:49:24.976 2289 3158 D GRIL-S : [1054]< UPDATE_DEVICE_STATE 

    Display settings

    Thanks in advance!

    UPD: Tried grepping PID for wakeup messages, it looks like these are system processes:

    blueline:/ $ ps -A | grep -E "1532|707" system 707 1 11075216 14472 0 0 S surfaceflinger system 1532 1002 17158952 368788 0 0 S system_server 

    submitted by /u/having-four-eyes
    [link] [comments]

    Which backend framework?

    Posted: 24 Sep 2021 01:29 PM PDT

    I'm learning android app development with Kotlin.Same time i want to learn a backend framework.Which framework do you think I should learn? Thank you,have a nice day.

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

    No comments:

    Post a Comment