Quantcast
Jump to content


Recommended Posts



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Similar Topics

    • By Samsung Newsroom
      We are pleased to announce the release of Tizen Studio version 6.0.
       
      This release includes new features to enhance developer experience on Visual Studio Extension for Tizen, Visual Studio Code Extension for Tizen and Tizen Studio IDE.
       
      Key features:
       
      VS Code
      Tizen activity bar, Device Monitoring and Welcome Page features have been added to enhance Tizen developer experience. TV Web development has been added along with the TV Web Simulator and Web Inspector features. SDK Installation Wizard is provided to easily setup Tizen SDK and Extensions. Unit Test, Code Coverage, ASAN, and LSAN Tools support has been added for Tizen Native Applications. Visual Studio (Windows)
      Added Unit Test and Code Coverage support for Tizen Native Applications. Added ASAN and LSAN tools support for Tizen Native Applications. Added context menu option named Install Tizen Application to install application directly on a target device.  
      Tizen Studio
      Added Tizen 9.0 profile and deprecated all Tizen profiles below 6.0. Tizen Issue Reporter added in SDK and Baseline tools. Tizen Studio and Tizen tools are now supported on Windows 11 OS.  
       
      For more information about the new features and bug fixes, check Release Notes.
       
      To download Tizen Studio, visit https://developer.tizen.org/development/tizen-studio/download.
      View the full article
    • By Samsung Newsroom
      In the dynamic landscape of mobile technology, the introduction of the Jetpack Compose toolkit has opened a lot of opportunities for developers to create beautiful, seamless applications using declarative UI. Using this new model of UI development, developers can create adaptable applications targeting a wide range of mobile devices.
      In this post, we learn how to integrate Android's new adaptive library into a pre-built compose application and leverage its APIs to create a dynamic user interface.
      Overview of the application
      Figure 1: Application UI on the Galaxy Z Flip5

      The example application is a simple list of mobile devices for sale. It is built using an ElevatedCard composable that is displayed by a LazyVerticalGrid composable. Each card is modeled after a data class named Mobile. Let’s take a look at the data class and composable functions below:
      /// Data class to hold Mobile data data class Mobile( @StringRes val name: Int, @DrawableRes val photoId: Int, val price: String ) /// MainActivity.kt class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContent { ComposeAppTheme { MyApp() } } } } @Composable fun MyApp(){ Surface( modifier = Modifier .fillMaxSize() .statusBarsPadding(), color = MaterialTheme.colorScheme.background ) { MobileGrid( modifier = Modifier.padding( start = 8.dp, top = 8.dp, end = 8.dp, ) ) } } @Composable fun MobileGrid(modifier: Modifier = Modifier){ LazyVerticalGrid( columns = GridCells.Fixed(2), verticalArrangement = Arrangement.spacedBy(8.dp), horizontalArrangement = Arrangement.spacedBy(8.dp), modifier = modifier ) { items(MobileDataSource.mobiles) { mobile -> MobileCard(mobile) } } } @Composable fun MobileCard(mobile: Mobile, modifier: Modifier=Modifier){ ElevatedCard() { Row { Image( painter = painterResource(id = mobile.photoId), contentDescription = null, modifier = modifier .size(width = 68.dp, height = 68.dp), contentScale = ContentScale.Crop ) Column( horizontalAlignment = Alignment.CenterHorizontally, verticalArrangement = Arrangement.Center ) { Text( text = stringResource(id = mobile.name), modifier = Modifier.padding( start = 16.dp, top = 16.dp, end = 16.dp, ), style = MaterialTheme.typography.labelLarge, ) Text( text = mobile.price, style = MaterialTheme.typography.labelSmall, ) } } } } As we’ve seen, the application UI looks good on the Samsung Galaxy Z Flip5. But how does it look on the Galaxy Z Fold5?
      Figure 2: Application UI on the Galaxy Z Fold5

      On the Galaxy Z Fold5, the cards are now very stretched and contain a lot of blank space. The unfolded state of foldable devices has a larger screen size and it is important to keep large screens in mind when developing your application. Otherwise, the application may look great on conventional mobile devices, but very off putting on larger devices such as tablets, foldables, and so on.
      Create an adaptive layout for your application
      The material-3 adaptive library provides some top-level functions that we can leverage to adapt our applications to different form factors. We will use the currentWindowAdaptiveInfo() function to retrieve the WindowSizeClass. The WindowSizeClass allows us to catch breakpoints in the viewport and change the application UI for different form factors. Follow the steps below to change the application's appearance depending on the screen size.
      Add the following dependencies to the app-level build.grade file ... implementation "androidx.compose.material3.adaptive:adaptive:1.0.0-beta04" ...
      Create a variable called windowSizeClass to store the WindowSizeClass from currentWindowAdaptiveInfo() in the MobileGrid() composable. It contains a member variable named widthSizeClass that is a type of WindowWidthSizeClass. The possible values of this class are Compact, Medium, and Expanded. We will use this value to change the layout of the application. Create a new variable named numberOfColumns to dynamically set the number of grid columns in the MobileGrid() composable depending on the width of the screen.fun MobileGrid(modifier: Modifier = Modifier){ val windowSizeClass = currentWindowAdaptiveInfo().windowSizeClass val numberOfColumns: Int = when(windowSizeClass.windowWidthSizeClass) { WindowWidthSizeClass.COMPACT -> 2 WindowWidthSizeClass.MEDIUM -> 3 else -> 4 } LazyVerticalGrid( modifier = modifier, columns = GridCells.Fixed(numberOfColumns), verticalArrangement = Arrangement.spacedBy(8.dp), horizontalArrangement = Arrangement.spacedBy(8.dp) ) { items(MobileDataSource.mobiles) { mobile -> MobileCard(mobile) } } } NoteTo learn more about the viewport breakpoints of WindowSizeClass, check out the official documentation by Android. That's all! Your application now has a seamless, responsive UI that changes based on the size of the screen it is being displayed on. Let's see what it looks like now on the Galaxy Z Fold5.
      Figure 3: Updated UI on the Galaxy Z Fold5

      Add support for pop-up view
      Android enables users to improve their efficiency by leveraging its multi-tasking features. More than half of foldable users use the split-screen, multi window, or pop-up modes daily, so it is imperative that modern applications integrate support for these viewing modes. Let's have a look at the UI in pop-up mode.
      Figure 4: UI on the Galaxy Z Fold5 - pop-up mode

      As you can see, the UI is completely broken in pop-up mode. The mode has a much smaller viewport width and height, so it'd be better to display just 1 column of tiles. We can do this by using the currentWindowSize() function from the adaptive library that uses the WindowMetrics class to calculate the width and height of the viewport. Create a variable named currentWindowWidthSize and retrieve the window width size using the function. If the viewport width is too low, less than 800 pixels in the example below, we can set the numberOfColumns variable to 1.
      @Composable fun MobileGrid(modifier: Modifier = Modifier){ val windowSizeClass = currentWindowAdaptiveInfo().windowSizeClass val currentWindowWidthSize = currentWindowSize().width val numberOfColumns: Int = when(windowSizeClass.windowWidthSizeClass) { WindowWidthSizeClass.COMPACT -> { if(currentWindowWidthSize < 800) 1 else 2 } WindowWidthSizeClass.MEDIUM -> 3 else -> 4 } LazyVerticalGrid( modifier = modifier, columns = GridCells.Fixed(numberOfColumns), verticalArrangement = Arrangement.spacedBy(8.dp), horizontalArrangement = Arrangement.spacedBy(8.dp) ) { items(MobileDataSource.mobiles) { mobile -> MobileCard(mobile) } } } Figure 5: Updated UI on the Galaxy Z Fold5 - pop-up mode

      Conclusion
      You have now successfully used the new material-3 adaptive library to change the layout of your application to support foldables and large screen devices in portrait, landscape, split-screen or pop-up modes. By leveraging Jetpack Compose and Android APIs, you can create a consistent and optimized user experience across various screen sizes and device types. If you are interested in developing adaptive applications in XML, check out the links in the section below.
      Related content
      Best Practices of App Development for Various Screen Sizes Foldables and Large Screens Develop a Widget For Flex Window Implement Flex Mode on a Video Player Galaxy Z Documentation View the full blog at its source
    • By Samsung Newsroom
      In an era where the art of cinema and professional equipment continue to evolve, Samsung Electronics is propelling this transformation through its contribution to establishing Culver Post. Nestled in the heart of Los Angeles, this state-of-the-art theatrical post-production studio is a recent addition to Amazon’s portfolio of production and entertainment businesses, further enhancing the area’s reputation as a hub for creativity and innovation.
       
      In partnership with industry pioneers 424 Post and Harbor, Samsung provided a 34-foot, 8K Samsung IWA LED and DCI-certified 4K Samsung Onyx LED displays to create a true cinema-style environment for theatrical color grading and immersive sound mixing. The groundbreaking studio environment not only signifies a leap into the future of cinematic production and consumption but also underscores the trust that experts place in Samsung’s technology.
       
       
      Culver Post: A Beacon of Innovation in Post-Production and HDR Cinematography
      ▲ Samsung Electronics provided a 34-foot, 8K Samsung IWA LED and DCI-certified 4K Samsung Onyx LED displays to Culver Post in partnership with 424 Post and Harbor
       
      Culver Post was created thanks to the visionary collaboration between renowned Los Angeles sound studio 424 Post and global post-production leader Harbor. This full-service post-production studio is expected to bring unmatched HDR and SDR mastering capabilities.
       
      Why were Samsung’s display technologies specifically chosen by 424 Post and Harbor, both leaders in their respective fields? The answer lies in Samsung’s commitment to innovation, quality and the immersive viewing experience.
       
      The Culver Post offers five stages for theatrical color grading and sound mixing, with the first stage outfitted with Samsung’s cutting-edge 34-foot, 8K IWA LED cinema display and the second stage with the DCI-certified 4K Onyx LED display. Each stage is complemented by Meyer Sound Ultra Reflex cinema sound systems featuring Dolby Atmos sound. Both stages can accommodate approximately 50 guests, which allows the post-production team to experience a true cinematic working environment for directors, cinematographers, editors, colorists and other professionals.
       
      ▲ Culver Post features a remarkable 34-foot 8K IWA cinema display for a true cinema-style environment for color grading and sound mixing
       
      The 8K IWA LED cinema display is ideal for both HDR and SDR color grading, while Onyx, the world’s first DCI-certified cinema LED display, is perfect for HDR color grading and mastering. These displays outperform standard digital cinema projection systems in terms of detail, contrast and brightness, positioning Culver Post at the forefront of cinematic technology and ensuring that the studio is future-proofed for upcoming advancements in post-production technology.
       
      “Samsung is committed to using innovative display technology to revolutionize the way that content is created and consumed,” said David Phelps, Head of the Display Division, Samsung Electronics America. “The new Culver Post post-production studio marks a tangible milestone in the future of cinema and post-production. Filmmakers and creators can now edit and experience video content as it would be seen and heard on the big screen to enable immersive storytelling that leaves a lasting impact on audiences.”
       
      ▲ Culver Post’s groundbreaking studio environment not only signifies a leap into the future of cinematic production and consumption but also underscores the trust that experts place in Samsung’s technology
       
       
      Superior Cinematic Displays to Optimize Post-Production Workflow
      The selection of Samsung’s technology for Culver Post reflects the displays’ superior capabilities for HDR post-production. Enhanced brightness, contrast and detail transform the color grading and mastering process, allowing creators to see their work as it will appear in realistic viewing environments. The theaters and their immersive cinema display also turn mastering into a communal creative experience, bringing the entire production team together for collaboration.
       
      ▲ Each theater offers a cinema-style viewing experience, with enough seating to host small groups for exclusive screenings and post-production sessions
       
      The collaboration with Culver Post is a testament to Samsung’s leadership in display technology and the company’s commitment to pushing the boundaries of cinematic experiences. By meeting the high standards of industry experts like 424 Post and Harbor, Samsung continues to raise the bar for post-production studios worldwide.
       
      For more information on Samsung’s state-of-the-art displays, please visit www.samsung.com.
       
       
      About 424 Post
      424 Post offers complete sound packaging for all types of content including theatrical, broadcast, streaming, commercials and audio podcasts. Packages cover design/edit/ADR/mix, technical & administrative support as well as all final deliverables. The company prides on client services, and the talented group of experienced professionals is ready to tailor projects in accordance with the customers’ needs and budget.
       
      About HARBOR
      HARBOR is a global company with operations in New York, Los Angeles and London. Relentlessly focused on talent, technical innovation and protection of artistic vision, HARBOR hones every detail throughout the moving image-making process: live-action, dailies, creative & offline editorial, design, visual effects, CG, sound & picture finishing.
      View the full article





×
×
  • Create New...