Upgrade to Pro — share decks privately, control downloads, hide ads and more …

7 Tips for Wear OS Apps Development

7 Tips for Wear OS Apps Development

This is a slide, "7 Tips for Wear OS Apps Development" on Shibuya.apk 44.
#shibuya_apk #wearos #androiddev #androidjp

Kenichi Kambara

September 01, 2023
Tweet

More Decks by Kenichi Kambara

Other Decks in Technology

Transcript

  1. 2 About me Kenichi Kambara (X:@korodroid) •Mobile App Development •Speeches

    (e.g. 15 Int’l Confs.) •Writings (e.g. 8 Dev Books) •Principal Evangelist at NTT TechnoCross •[Private] iplatform.org
  2.  Wear OS 
 (androidx.wear.*) Mobile 
 (androidx.*) androidx.wear.compose:compose-material androidx.compose.foundation:foundation

    androidx.wear.compose:compose-foundation androidx.compose.material:material androidx.navigation:navigation-compose androidx.compose.foundation:foundation ref: https://developer.android.com/training/wearables/compose Material androidx.wear.compose:compose-navigation Navigation Foundation Tips1: Differences UI & UX
  3. Scaffold for Wear OS apps  @Composable fun ContactListScreenV2() {

    val listState = rememberScalingLazyListState() Scaffold( timeText = { if (!listState.isScrollInProgress) { TimeText() } }, vignette = { Vignette( vignettePosition = VignettePosition.TopAndBottom ) }, positionIndicator = { PositionIndicator( scalingLazyListState = listState, ) } ) { ScalingLazyColumn(state = listState) { // … }
  4. Live Edit in real time  Live Edit to update

    composable in real time [Android Studio: Giraffe]
  5.  Please let me know if you have any requests

    such as technical speeches, technical writings and so on. Facebook:http://fb.com/kanbara.kenichi X:@korodroid LinkedIn:http://www.linkedin.com/in/korodroid Thank you so much