• Learn
    • Code Lab
    • Foldables and Large Screens
    • One UI Beta
  • Develop
    • Mobile/Wearable
    • Galaxy GameDev
    • Galaxy Themes
    • Galaxy Watch
    • Health
    • Samsung Blockchain
    • Samsung DeX
    • Samsung IAP
    • Samsung Internet
    • Samsung Pay
    • Samsung Wallet
    • View All
      • Galaxy AR Emoji
      • Galaxy Accessory
      • Galaxy Edge
      • Galaxy Z
      • Galaxy Performance
      • Galaxy FM Radio
      • Galaxy S Pen Remote
      • Galaxy Sensor Extension
      • PENUP
      • Samsung Automation
      • Samsung Neural
      • Samsung TEEGRIS
      • Samsung eSE SDK
      • Galaxy Watch for Tizen
      • Watch Face Studio
      • One UI Watch for Tizen
      • Galaxy Watch Studio Converter
      • Samsung IAP for Galaxy Watch (Tizen)
    • Visual Display
    • Smart TV
    • Smart Hospitality Display
    • Smart Signage
    • Digital Appliance
    • Family Hub
    • Platform
    • Bixby
    • Knox
    • SmartThings
    • Tizen.NET
  • Design
    • Design System
    • One UI
    • One UI Watch
    • Smart TV
  • Distribute
    • Galaxy Store
    • TV Seller Office
    • Galaxy Store Games
    • Instant Plays
  • Support
    • Developer Support
    • Remote Test Lab
    • Samsung Android USB Driver
    • Galaxy Emulator Skin
  • Connect
    • Blog
    • News
    • Forums
    • Events
    • Samsung Developer Conference
    • SDC23
    • SDC22
    • SDC21
    • SDC19 and Previous Events
  • Sign In
Top Global Search Form
Recommendation
  • Blog
  • Code Lab
  • Foldable and Large Screen Optimization
  • Forums
  • Galaxy Emulator Skin
  • Galaxy GameDev
  • Health
  • Remote Test Lab
  • SDC22
  • Watch Face Studio
All Search Form
Recommendation
    Suggestion
      All Search Form
      Filter
      Filter
      Filter
      • ALL (100)
      • DOCS
      • SDK
      • API REFERENCE
      • CODE LAB
      • BLOG
      • NEWS/EVENTS
      • OTHERS
        api reference code lab blog news/events
      1. announcement | mobile

      blog

      Seller Portal 2022 Q1 Updates

      starting this year, we are announcing seller portal updates on a quarterly basis, presenting the most meaningful information about the changes made over the last 3 – 4 months. in this blog, we’ll discuss updates to managing your reviews and specifying devices when registering your android app. manage reviews many consumers rely on the overall rating of an app and written reviews to decide if they should install it. therefore, it’s important to constantly monitor and manage your customer ratings and reviews. keep in mind that the customers who try your app and take the time to leave a review are valuable because they show an interest in and support your app. when you regularly manage your reviews and respond quickly to negative reviews, you can attract potential customers and gain loyal followers. to get to the buyer comments section in seller portal, select assistance > buyer comments. filter reviews by default, reviews are sorted with the newest comments at the top. you can search and filter your reviews so that you can quickly find and respond to comments left by your customers. in addition to filtering your reviews by content id, app name, country/region, device, star rating, and time period, seller portal has added two new filters for status and keywords. also, the star rating filter has been improved. star rating – search for reviews in a range of ratings. for example, you can find all reviews that rate your app with three stars or fewer. user comment status – search for reviews based on your reply status. find reviews to which you have not yet replied (to see if you need to respond to them), reviews to which you have already replied, or reviews that have been modified after you have replied (to see if you need to update your response). review comments – search for reviews by keywords such as “bug” or “super.” select and reply while you can continue to reply individually to each review comment, you can now select one or more review comments to reply to (using the same response) and you can save frequently used responses to use at a later time. while it is better to personalize your response to each comment, sometimes it may be necessary to reply quickly to similar comments with the same response (for example, if a recently updated app has a problem, you can reply to any negative reviews with a message that a fix will be released soon). to reply to one or more review comments, select the checkbox next to all comments to which you want to reply and click select and reply (located above the table of comments, next to the green excel button). select the checkbox next to save this response to save your message for future use. learn how to increase the number of customer reviews for your app by adding a galaxy store review link. specify devices when registering your android app, you specify the devices on which your app runs (based on resolution or other criteria). we’ve made this task easier by allowing you to specify the devices after uploading your binary. additionally, compatible devices are automatically selected for you and you can filter devices based on device specifications such as type, resolution, android sdk version, chipset, gpu, ram and screen density. we hope that this will make it easier to select or exclude the devices on which your app runs. note that the exact specifications for each device are not displayed and these detailed specifications cannot be downloaded. depending on the filter, some older devices may not be found in a search. also, because specifications change, the list should be used as a reference only (you may need to select or unselect devices whose specifications have changed). additional resources on the samsung developers site the samsung developers site has many resources for developers looking to build for and integrate with samsung devices and services. stay in touch with the latest news by creating a free account and subscribing to our monthly newsletter. visit the marketing resources page for information on promoting and distributing your apps. finally, our developer forum is an excellent way to stay up-to-date on all things related to the galaxy ecosystem.

      https://developer.samsung.com/sdp/blog/en-us/2022/05/19/seller-portal-2022-q1-updates
      1. tutorials | galaxy watch, marketplace

      blog

      Easily Create Watch Face Assets for Google Play Store Listings

      for watch app developers, creating your store listing assets can be very time-consuming. with the new play store asset creator, we have made it quick and easy for you to export all of the required graphic assets. built just like the galaxy store asset creator, the new play store asset creator is offered to assist not just designers utilizing watch face studio, but anyone developing watch apps for galaxy watch on wear os powered by samsung. how does it work? the play store asset creator easily exports the assets you need to publish apps to google play store. to take advantage of the tool's special features, you must use photoshop version 16.0 (cc 2015) or later and have a basic understanding of photoshop. earlier versions can open the file, but functionality may be limited. this photoshop template uses multiple artboards and the generate image asset feature to greatly reduce your design time. as you work with the artboards, each asset is updated with your current artwork. these assets include the app icon shown in the play store directory, the feature graphic that appears at the top of your store listing, as well as the wear os screenshot, and product images known in play store as phone screenshots. this tool is a good starting point, but we encourage you to experiment with and customize your designs so they stand out from the competition. the images generated by the asset creator represent play store's requirements. to better convey the capabilities of your app experience, we recommend creating more assets than the minimum required. this can be done by adding additional artboards to the asset creator photoshop template file. learn how to use the asset creator because the play store asset creator works just like the galaxy store asset creator, you can check out the blog create eye-catching galaxy store listings with the watch asset creator, or the galaxy watch asset creator tutorial video for step-by-step instructions. more from google with recent changes to the requirements issued by google when publishing apps to play store, please refer to the following articles to learn about content guidelines and recommendations. add preview assets to showcase your app google play icon design specifications play store app requirements include: app icon 32-bit png (with alpha) dimensions: 512px by 512px maximum file size: 1024kb feature graphic jpeg or 24-bit png (no alpha) dimensions: 1024px by 500px wear os screenshots upload screenshots with a minimum size of 384 x 384 pixels, and with a 1:1 aspect ratio. provide screenshots showing only your app interface. screenshots must demonstrate the actual in-app or in-game experience, focusing on the core features and content so users can anticipate what the app or game experience will be like. don't frame your screenshots in a wear os hardware device. don't include additional text, graphics, or backgrounds in your wear os screenshots that are not a part of your app's interface. don't include transparent backgrounds or masking. phone screenshots jpeg or 24-bit png (no alpha) minimum dimension: 320px maximum dimension: 3840px the maximum dimension of your screenshot can't be more than twice as long as the minimum dimension. a minimum of four screenshots is required for both apps and games. visit the google play developers webpage to learn more about publishing apps to play store. be creative the play store asset creator is a great starting point to help speed up your watch face and app publishing process. as you get more comfortable with the tool, apply the same level of creativity to your marketing graphics as you do your watch face designs. download the play store asset creator to get started! download: play store asset creator (version 1.2) additional resources on the samsung developers site the samsung developers site has many resources for developers looking to build for and integrate with samsung devices and services. stay in touch with the latest news by creating a free account and subscribing to our monthly newsletter. visit the marketing resources page for information on promoting and distributing your apps. finally, our developer forum is an excellent way to stay up-to-date on all things related to the galaxy ecosystem.

      Tony Morelan

      https://developer.samsung.com/sdp/blog/en-us/2022/06/16/easily-create-watch-face-assets-for-google-play-store-listings
      1. tutorials | galaxy watch

      blog

      Connecting Galaxy Watch to Watch Face Studio over Wi-Fi

      watch face studio (wfs) is a powerful watch face design tool for wear os-based smartwatches that allows you to test watch faces within the tool. however, since most designers prefer testing their watch faces on real devices, wfs also provides the "run on device" feature that deploys watch face projects directly to real devices. the connectivity policies have changed in wear os 4. this article describes how to connect a galaxy watch running wear os powered by samsung (running wear os 4 or later) to wfs over wi-fi both through the wfs interface and through the command line interface. prerequisites prepare the galaxy watch for connecting to wfs over wi-fi: disable bluetooth on the watch. enable wi-fi on the watch and connect it to the same network as your computer. the wireless network can be through a router or a mobile hotspot.to connect to a wi-fi network, go to settings > connections > wi-fi, check that wi-fi is enabled, and select the network to join. figure 1: wi-fi enabled on watch if you have not already enabled developer mode on the watch, enable it.go to settings > about watch > software information and tap the software version item 5 times. figure 2: software version item you receive a toast notification when developer mode is enabled. the “developer options” menu item now can be found below “about watch” on the “settings” menu. figure 3: “developer options” item in “settings” menu enable adb debugging.in the “developer options” menu, toggle the adb debugging switch on. figure 4: adb debugging enabled enable wireless debugging.in the “developer options” menu, toggle the wireless debugging switch on. figure 5: wireless debugging enabled retrieve the connection ip address and port.when wireless debugging is enabled, a menu item appears with the watch’s ip address and port. make a note of this information, as it is needed to connect the watch to wfs. figure 6: connection ip address and port retrieve the pairing code, ip address, and port.in the “wireless debugging” menu, select pair new device and note the pairing code and port number. you need this information to pair the watch with your computer. figure 7: pairing information you are now ready to connect the watch to the computer over wi-fi. notes although the connection and pairing ip addresses are the same, the port numbers are different. the pairing code and port number can change each time you connect the watch to your computer. use the watch face studio ui to connect your watch to wfs for deploying and testing your watch face: in the top right corner of your project in watch face studio, click run on device figure 8: “run on device” in wfs in the “connected devices” dialog, to add a new device, click the + button. figure 9: adding a device enter the connection and pairing information that you retrieved from the galaxy watch into the appropriate fields. figure 10: connecting galaxy watch using wfs click ok.the watch is added to the list of connected devices and your project can be launched on the watch. figure 11: watch connected to wfs use the command line you can also connect the watch to your watch face studio on your computer through the android debug bridge (adb) command line tool. adb is integrated into wfs, so a separate installation is not needed. to pair and connect the watch and computer over wi-fi using adb shell commands: open the command prompt or terminal on your computer. noteif you are using a windows computer and have not set the adb path environment variable, you must open the command prompt from within the following folder: “<your wfs installation folder>\tools\window.” navigate to the folder in windows explorer, right-click the window, and select open powershell window here. to pair the watch and computer, run the following command with the pairing ip address and port that you retrieved from the watch: adb pair <ip address:port> when prompted, enter the wi-fi pairing code. to connect the watch, run the following command in the terminal with the connection ip address and port that you retrieved from the watch: adb connect <ip address:port> figure 12: pairing and connection through command line in your wfs project, click run on device.the watch is in the list of connected devices and your project can be launched on the watch. summary this article has described how you can pair and connect galaxy watch running wear os 4 or later to watch face studio on your computer wirelessly through wi-fi. after connecting your watch, you can deploy and test your wfs project on the watch. if you have questions about or need help with the information in this article, you can share your queries on the samsung developers forum. for more specialized support, you can contact us through developer support.

      Shamima Nasrin

      https://developer.samsung.com/sdp/blog/en-us/2023/11/14/connecting-galaxy-watch-to-watch-face-studio-over-wi-fi
      1. tutorials | game, mobile, marketplace

      blog

      Using the Samsung In-App Purchase SDK in your Unity Games

      in this article, you will learn how to integrate the samsung in-app purchase (iap) sdk in your unity games. you can also follow along on youtube. unity plugin for samsung iap in order to use the samsung iap sdk in your unity game, follow these steps: download the unity plugin for samsung iap install the plugin. in unity, click assets -> import package -> custom package drag the script onto a game object. this can be any ui object, or as seen in the video, a character from your game. once you have included the script, review the documentation to see in detail how to call the sdk from your game code. here are the basics: operation mode in order for galaxy store to know if your game is in testing or production mode, you must use the setoperationmode method. samsungiap.instance.setoperationmode(operationmode.operation_mode_test); the possible values for the parameter are operationmode.operation_mode_test, operationmode.operation_mode_test_failure, and operationmode.operation_mode_production. request information about the items available for sale to find out what items can be offered from the game, you must invoke the getproductsdetails method. samsungiap.instance.getproductsdetails("com.mygame.product1, com.mygame.product2,com.mygame.product3", ongetproductsdetails); in this example, the information for products 1, 2, and 3 is being requested, since the identifiers of those products are being sent, separated by commas. samsungiap.instance.getproductsdetails("", ongetproductsdetails); in this example, the information of all available products is being requested, since no product identifier is being sent. start a payment in order to start the purchase of a product, the startpayment method must be invoked. samsungiap.instance.startpayment("com.mygame.product1", "pass_through_value", onpayment); this example is starting the transaction for "com.mygame.product1". you can specify the value of the second parameter and use it to verify the success of the purchase. and finally, the callback is specified, which is the method that will be invoked when the transaction is completed, regardless of whether it was successful or not. consumable items you can use the consumepurchaseditems method to replenish consumable products. for example,the player could buy energy in your game as many times as he wants. the first parameter is the identifier of the purchase of the item. samsungiap.instance.consumepurchaseditems(purchase_id, onconsume); and the second parameter is the onconsume method that fires when the process has finished, and this contains information about the consumed item and the processing of api calls. query previously purchased items to get the list of all the products that a player has bought, you can use the getownedlist method. samsungiap.instance.getownedlist(itemtype.all, ongetownedlist); the first parameter can be itemtype.all, itemtype.item, or itemtype.subscription. with itemtype.all the method returns all non-consumable items previously purchased, consumable items that have not been consumed, and subscription items with active subscriptions. with itemtype.item the method returns all non-consumable items purchased and consumable items that have not been consumed. and finally, with itemtype.subscription the method returns all subscription items purchased with active subscriptions. the second parameter is the method that will be triggered when the process has finished. list your app and items for sale in galaxy store the process for selling your game in galaxy store, when it includes payments and microtransactions through the samsung iap sdk, is as follows: 1. seller portal registration to create your account and publish in galaxy store, go to http://seller.samsungapps.com click on the top corner to create your account. if you already have a samsung account, sign in with it. 2. request commercial status once you have created your account on the seller portal, request commerical seller status by clicking the button indicated in the image. this is necessary to be able to sell different items from your application. 3. app registration to see all the details of how to register your application in the seller portal, watch this video. you will be prompted to enter your game information, such as the name, description, and promotional images. 4. register in-app items when your account has been approved as a commerical seller account, you will be able to access the “in-app purchase” section. here you can register the different items you are going to sell, such as unlimited lives, special powers, or customization options for the characters in your game. in the video, you can see a little more detail on how to register each of the items. learn more about creating games with samsung and reaching its global audience: https://developer.samsung.com/galaxy-games you can connect with diego, a sr. developer evangelist, on twitter. have questions? post them in our forums.

      Diego Lizarazo Rivera

      https://developer.samsung.com/sdp/blog/en-us/2020/08/18/using-the-samsung-in-app-purchase-sdk-in-your-unity-games
      1. tutorials | design, mobile, foldable

      blog

      Foldable Adaptation Essentials: App Continuity and Multi-Window Handling

      app continuity and multi-window are key features of foldable smartphones. with app continuity, you can seamlessly go from the small screen to the large screen without the need to reopen the app that you were using. with multi-window, you can reply to an email in a pop-up window while using other apps and it is even easier to make dinner plans over text while checking your calendar. the large display is called the main display, while the inner small display is called the cover display. in this blog, we learn how to adapt these essential features in our app. figure 1: multi-window and pop-up window let us find out how much needs to be changed to take advantage of these features. app continuity moving an app between the two displays affects the size, density, and aspect ratio of the display it can use. moreover, your app data needs to be preserved during the transition to provide a seamless experience. this is what happens during the transition the activity is destroyed and recreated whenever the device is folded or unfolded. to implement this, app data needs to be stored and then used to restore the previous state. the app data can be stored in two ways. in this blog, we have stored the app data using the onsaveinstancestate() method of android. the other way is to use viewmodel which is shown in the blog how to update your apps for foldable displays. for our example, we have used an app, where we need to store the current score of two teams before the activity is destroyed so that we can restore the score when the activity is recreated after the screen transition (this sample app is provided at the end of this blog). we store the scores in a bundle inside onsaveinstancestate, using two key-value pairs. override fun onsaveinstancestate(outstate: bundle) { scoreview1 = findviewbyid(r.id.team1score) as textview scoreview2 = findviewbyid(r.id.team2score) as textview outstate.putstring("score1", tempscore1.tostring()) outstate.putstring("score2", tempscore2.tostring()) super.onsaveinstancestate(outstate) } we can check inside the oncreate function if the savedinstancestate is null. if it is null, then the activity has just been launched without a saved prior state. if it is not null, then we should retrieve the value from the savedinstancestate bundle and restore the value to the ui in order to provide an immersive experience to the users. if(savedinstancestate != null){ var text1: string? = savedinstancestate.getstring("score1") var text2: string? = savedinstancestate.getstring("score2") scoreview1?.text = text1 scoreview2?.text = text2 team1score = text1?.toint()!! team2score = text2?.toint()!! } demonstration app continuity figure 2: screen transition multi-window and multi-tasking another vital feature of foldable devices is multi-window. two or more apps can run in split-screen (multi-window) mode on the main display of foldable devices. users can create their own layouts with up to three app windows on the screen. pop-up view is another option, which lets you temporarily use another app without closing the current app, such as to quickly view a message while enjoying a movie. to implement these features, the developer needs to focus on responsive layout while designing their ui. to implement multi-window and enable multi-tasking, we need to use the following flags: screensize, smallestscreensize, and screenlayout. if you want to manually handle these changes in your app you must declare those flags values in the android:configchanges attributes. you can declare multiple configuration values in the attribute by separating them with a pipe (|) character. you can check out details for each value here. in addition, we need to set android:resizeableactivity as true, which allows the activity to be launched in split-screen and free-form (pop-up) modes. if the attribute is set to false, the activity does not support multi-window mode. <activity android:name=".mainactivity" android:configchanges="screensize|smallestscreensize|screenlayout" android:resizeableactivity="true"> demonstration multi-window figure 3: multi-window pop-up window figure 4: pop-up window sample app a sample app has been developed to illustrate how to implement app continuity and multi-window. in this app, a simple ui is designed to keep score of two teams playing a game. to adapt this app for foldable ui, some configurations have been changed by following the official guide. sample app - app continuity and multi-window (20.15mb) oct 18, 2021 conclusion foldable devices provide a richer experience than phones. to take advantage of the features of foldable devices, new form factors should be added to the app configuration. implementing app continuity enables users to enjoy uninterrupted experiences. and, with adjustable split-screen capabilities, users can enjoy up to three active windows simultaneously. if you have questions about developing for galaxy z devices, please visit our developer forums.

      Md. Iqbal Hossain

      https://developer.samsung.com/sdp/blog/en-us/2021/10/18/foldable-adaptation-essentials-app-continuity-and-multi-window-handling
      1. announcement | mobile

      blog

      Seller Portal 2022 Q2 Latest News

      the galaxy store seller portal team was very busy in q2, adding or updating many features including updates to samsung in-app purchase (iap) management, support for themes on the cover screen of new devices, restructuring of the help tab, and improving the readability of galaxy store statistics. more importantly, there have been announcements about changes to the requirements for android apps and themes. while notifications about these requirements were sent out directly, they are worth repeating here. requirement for android target api level starting august 24, 2022, android apps registered or updated in seller portal must set the targetsdkversion (or minsdkversion, in the event targetsdkversion is not specified) to android 8.0 (api level 26) or higher. android apps that are currently being sold in galaxy store are not affected by this requirement. however, it is recommended you update these apps in order to improve security, performance, privacy, and the overall user experience of your apps. more details are included in the seller portal notice. requirement for galaxy themes studio version starting august 1, 2022, all themes (new or currently for sale, including wallpapers, icons, and aods), must be exported from the latest version of galaxy themes studio and updated in galaxy store. any theme that is generated from galaxy themes studio version 9.2.01 or earlier cannot be distributed in galaxy store as they will have image display errors due to a change in the image solution policy. see the seller portal notice for more information, including tips on how to find the themes that need updating and how to export the apk from the latest version of galaxy themes studio. samsung iap management updates samsung iap is key to helping you make money from your apps. the following features have been added or updated: real-time item management – make changes to in-app items that are for sale in galaxy store and publish those changes without having to go through the seller portal review process. price template – set the same local price for different in-app items without having to manually update the local prices for each in-app item. update exchange rate – update the local prices of your in-app item or price template using the latest daily exchange rate. bulk upload items – four new fields have been added to the csv file: price template id, price exception (custom price and currency), phone bill (payment), and status. refer to this seller portal notice for additional information. themes with cover screen seller portal provides a new field and section to support themes that can be shown and used on new devices or screen types. help menu the faqs were reorganized to make it easier to find answers to common questions about seller portal and using seller portal. before you contact us, search the faqs to see if there is a solution to your problem. from seller portal, click help > contact us > faqs. click on the relevant topic in the left menu bar and scroll through the list on the right to search for your issue. if the left menu bar is not displayed, click on the green hamburger icon in the lower left corner to open it. galaxy store statistics the readability of the dashboard, tables, and charts have been improved. also, in the statistics menu, for certain metrics, you can toggle between displaying a pie chart or bar chart of the data. to view the bar chart, from seller portal, click statistics to open galaxy store statistics. select an app and click statistics from the left navigation bar. select a metric (only new downloads, sales, ratings volume, item purchases, item sales, and downloads by total devices show charts). select all countries or models from the filter, click ok, and click on its split-up tab. finally, click the show bar charts toggle (in the upper right corner) to on to display a bar chart. additional resources on the samsung developers site the samsung developers site has many resources for developers looking to build for and integrate with samsung devices and services. stay in touch with the latest news by creating a free account and subscribing to our monthly newsletter. visit the galaxy store games page for information about bringing your game to galaxy store and visit the marketing resources page for information about promoting and distributing your android apps. finally, our developer forum is an excellent way to stay up-to-date on all things related to the galaxy ecosystem.

      https://developer.samsung.com/sdp/blog/en-us/2022/08/11/seller-portal-2022-q2-latest-news
      1. tutorials | foldable, mobile

      blog

      Implementing Drag-and-Drop across Apps in Multi-Window Mode

      one advantage of the large display in the galaxy z fold series is the ability to split the screen and simultaneously use up to three apps. in multi-window mode, you can split the screen, having one window being the main focus and the other two windows being active but not focused. this means all three windows remain active, not just the largest one. you can therefore multitask in either landscape or portrait orientation, giving you even more flexibility. the drag-and-drop feature of android is one of the operations suitable for multi-window mode. the operation starts when the user makes a ui gesture on the application, such as a long press on a ui element, and the application recognizes it as a signal to start dragging data such as an image, video, plain text, url, and so on. a drag shadow becomes visible during this operation to show that the event is happening. when the user releases the shadow, the operation is ended. one example of the operation is dragging a video from the file explorer to a video player application in order to play the video. the official android guide provides a detailed article on how to implement drag-and-drop in your application. in this blog, we show how to implement the drag-and drop-feature between multiple applications. this means we need to implement the functionality in two test applications and will also demonstrate interaction with other applications such as a web browser. figure 1: multi-window mode so let’s see what is needed to take advantage of the multi-window mode and the drag-and-drop feature. implementation step 1 to ensure that your application works in multi-window mode, you need to add an attribute in its manifest’s <activity> element. if you set android:resizeableactivity to true, the activity can be launched in multi-window or in pop-up view, and can adapt to a different screen size. android:resizeableactivity= "true" note : unless you enable this attribute, the user is not able to open the application in multi-window mode. step 2 to be able to drag your desired view, add setonlongclicklistener to it, as shown below: textview1.setonlongclicklistener { v: view -> val item = clipdata.item(v.tag as charsequence) val mimetypes = arrayof(clipdescription.mimetype_text_plain) val data = clipdata(v.tag.tostring(), mimetypes, item) // instantiates the drag shadow builder val dragshadow = view.dragshadowbuilder(v) val flags = view.drag_flag_global // starts the drag v.startdrag(data // data to be dragged , dragshadow // drag shadow builder , v // local data about the drag and drop operation , flags ) return@setonlongclicklistener true } note : the drag_flag_global flag is required to enable drag-and-drop across applications. this means you can drop this view to another application only when the flag is set. step 3 in mainactivity.kt, register a drag event listener object by calling setondraglistener for each view of the application for which you want to enable dragging and dropping: textview1.setondraglistener(ondraglistenertv1) textview2.setondraglistener(ondraglistenertv2) textview3.setondraglistener(ondraglistenertv3) here, ondraglistenertv1, ondraglistenertv2, and ondraglistenertv3 are callback functions for textview1, textview2, and textview3, respectively. step 4 next, implement the callback functions. here, only the callback function for textview1 is shown. you first need to declare a variable to store the action type for the incoming event. val action: int = event.getaction() step 5 inside dragevent.action_drop, get the dragged item from clipdata and check its mime type. if the mime type is set to text/plain or text/html, get the text value from the item object and allow the drop operation. otherwise, simply show a toast message. val item: item = event.getclipdata().getitemat(0) var mtype = event.clipdescription.getmimetype(0) if(mtype == "text/plain" || mtype== "text/html"){ // gets the text data from the item. dragdata = item.text.tostring() } else{ toast.maketext(applicationcontext,"operation not allowed"+mtype,toast.length_long).show() return@ondraglistener true } note : in textview1, we allow any string to be dragged and dropped. but in textview2, only numbers are allowed and in textview3, only email addresses are allowed. necessary validations are added accordingly. demonstration figure 2: both dragapp and dropapp opened in multi-window mode along with a browser figure 3: selecting text from the browser figure 4: text dropped into dropapp from the browser figure 5: text "hello world!" dragged from dragapp to dropapp sample application a sample application has been developed to illustrate how to implement drag-and-drop between applications in multi-window mode. dragndropblog-multiwindow (1.23 mb) sep 27, 2022 conclusion foldable devices provide a richer experience than phones and to take advantage of their features, every new form factor should be added to the application configuration. the drag-and-drop feature can further enhance the application user experience. additional resources on the samsung developers site the samsung developers site has many resources for developers looking to build for and integrate with samsung devices and services. stay in touch with the latest news by creating a free account and subscribing to our monthly newsletter. visit the galaxy store games page for information on bringing your game to galaxy store and visit the marketing resources page for information on promoting and distributing your android apps. finally, our developer forum is an excellent way to stay up-to-date on all things related to the galaxy ecosystem.

      Md. Iqbal Hossain

      https://developer.samsung.com/sdp/blog/en-us/2022/09/27/implementing-drag-and-drop-across-apps-in-multi-window-mode
      1. featured | ai, mobile

      blog

      Accelerate Your Neural Network with the Samsung Neural SDK

      note: this article assumes that you have prior knowledge about machine learning. if you have any questions, please post them in the samsung neural forum. the development of machine learning has revolutionized the technology industry by bringing human-like decision making to compact devices. from health care to real estate, finance, and computer vision, machine learning has penetrated almost every field. today, many businesses deploy machine learning to gain a competitive edge for their products and services. one of the fastest-growing machine learning areas is deep neural networks (dnn), also known as artificial intelligence (ai), which is inspired by the neural interactions in the human brain. with the ai industry growing so quickly, it is not only difficult to be up-to-date with the latest innovations, but even more so to deploy those developments in your business or application. as ai technology paves its way into the mobile industry, one wonders: what can be achieved with the limited capacity of mobile embedded devices? how does one execute dnn models on mobile devices, and what are the implications of running a computationally intensive model on a low resource device? how does it affect the user experience? typically, a deep neural network is developed on a resource-rich gpu farm or server, where it is designed and then trained with a specific data set. this pre-trained dnn model is then ready to be deployed in an environment, such as a mobile device, to generate output. a pre-trained dnn model can easily be used to develop an ai-based application that brings completely unique user experiences to mobile devices. a variety of pre-trained models, such as inception, resnet, and mobilenet are available in the open source community. the samsung neural sdk is samsung’s in-house inference engine which efficiently executes a pre-trained dnn model on samsung mobile devices. it is a one-stop solution for all application and dnn model developers who want to develop ai-based applications for samsung mobile devices. to simplify the process of deploying applications that exploit neural network technology, the samsung neural sdk supports the leading dnn model formats, such as caffe, tensorflow, tflite, and onnx, while enabling you to select between the available compute units on the device, such as the cpu, gpu, or ai processor.1 the samsung neural sdk enables easy, efficient and secure execution of pre-trained dnn models on samsung mobile devices, irrespective of the constraints posed by hardware such as compute unit capability, memory configuration and power limitations. samsung neural stack features the samsung neural sdk provides simple apis that enable you to easily deploy on-device pre-trained or custom neural networks. the sdk is designed to accelerate the machine learning models in order to improve performance and optimize hardware utilization, balancing performance and latency with memory use and power consumption. the samsung neural sdk supports mixed precision formats (fp32/fp16 and int8), and provides a great variety of operations that enable you to experiment with different models and architectures to find what works best for your use case. it also employs industry-standard cryptographic encryption methods for neural network models, to protect your intellectual property. the samsung neural sdk includes complete api documentation for your ready reference. it describes all the optimization tools and supported operations, provides code examples, and more. sample benchmarking code included with the samsung neural sdk the accompanying sample benchmarking code helps you understand how to use the api methods and demonstrates the available features and configurations, such as selecting a compute unit and execution data type. the samsung neural sdk can be used in a wide range of applications that utilize deep neural networks and improves their performance on samsung mobile devices. it has already been applied to many use cases and we look forward to supporting your application idea. are you interested in using samsung neural sdk? visit samsung neural sdk to learn more about becoming a partner today. partners gain access to the sdk and technical content such as developer tips and sample code. if you have questions about the samsung neural sdk, email us at sdk.neural@samsung.com. [1] ai processors include neural processing units (npu) and digital signal processors (dsp). the samsung neural sdk currently supports only the caffe and tensorflow formats.

      Samsung Neural Team

      https://developer.samsung.com/sdp/blog/en-us/2020/04/09/accelerate-your-neural-network-with-the-samsung-neural-sdk
      1. success story | uiux, design, galaxy watch, marketplace

      blog

      Best of Galaxy Store Awards 2019 Winner: iGear Radio, Best Watch App

      we continue to celebrate the top performing apps in creativity, quality, design, and innovation who were winners of our best of galaxy store awards. next in our blog series, we feature igear radio, winner of best watch app for 2019. pavel slaby, developer of igearradio shares with us why he developed igear radio, what it takes to make a successful app, and some of the samung developer program resources that helped him during the development process. how did you get into developing watch apps? programming has been my hobby for many years. i downloaded tizen studio and found that my experience in developing different application formats (html, javascript, and css) is a great basis to get started. so i got into it. what inspired your idea for igear radio? i like to listen to the radio. i always have my watch on my hand, and i don't want to carry my mobile with me all the time when i want to play the radio. but unfortunately i didn't find any applications, so i programmed one. what is your process for developing a watch app? first, i did a good research to see if there was the same or similar application. then i created an application that i wanted to be functional. it must do exactly what i want. at this stage, it is constant testing and testing. finally, i focused on the final design and user-friendliness. when developing a watch app, what is the most important ux consideration in terms of design? the most important thing is to make an application that is simple to use, but includes all the features you want. it must not be too complicated, as users will not want to use it. the screen on the watch is small, so it is important to allow the user to quickly access a specific item. what is the biggest technical/design hurdle when designing a watch app? make an app that everyone would love. i was constantly watching user comments. first of all, i learned from the comments that were not very commendable. gradually, i improved the application based on how users felt working with it. can you tell us about igear radio and what made it so successful? people still like to listen to the radio. igear radio is an application that includes over 20,000 radio stations from over 170 countries. most importantly, you don't have to carry your phone with you. the application is completely independent of the phone. it is enough if the watch is connected to the internet via lte or wifi. you can connect headphones to your watch and take a walk, only carrying your watch, to listen to your favorite radio station. since winning the best of galaxy store award, you launched igear radio pro. what changes did you make with igear radio pro? i released the free version of igear radio so that users can experience the app and decide whether it is usable for them. at the same time, i released a paid version of igear radio pro, where users can choose from over 20,000 stations worldwide. they can also create their own favorite stations list at igearradio.com. my biggest focus with igear radio is to keep all streams live. where there specific samsung developer program resources or support you used during your app development process? using templates directly in tizen studio helped me a lot. the galaxy store badges are also great because i could put them on my site. i also used the developer forum several times, which helped me a lot in some situations. what is next for igear radio? i'm still trying to improve the app based on both my and my users' experiences. my goal is to make the application perfect in both technical and design aspects. what advice do you have for new developers looking to create a successful watch app business? if you have a really good idea, don't hesitate. try tizen studio, it's a great helper for developing watch applications. how has samsung helped your business? i very much welcome samsung to help me distribute my application. samsung has a great galaxy store portal for sellers, where you can view statistics from many angles. i must also mention the excellent cooperation in promoting my application. thanks to pavel for sharing his insights on watch app development and the importance of the user experience in creating a successful app. be sure to check out igear radio in the galaxy store. follow us on twitter at @samsung_dev for more developer interviews as well as tips for building games, apps, and more for the galaxy store. find out more about our best of galaxy store awards.

      https://developer.samsung.com/sdp/blog/en-us/2020/03/23/best-of-galaxy-store-awards-2019-winner-igear-radio-best-watch-app
      1. announcement | mobile

      blog

      Minimizing Risks When Distributing an App

      when you are about to launch a new or updated app, have you ever worried that you may need to make a last-minute change to fix an issue or adapt to a change in the market? worry no more! a new feature, staged rollout, has been added to seller portal that allows you to distribute your app gradually while monitoring user responses. now, when using staged rollout, if there is an unexpected issue with your app, you can quickly and easily pause the distribution of your app while you fix the problem. in the meantime, new customers are able to download the previous version of your app. the staged rollout option is initially set from the publication tab of your app and is available for android apps only. launch your app to a small group of users using staged rollout, you can target a small group of users who can download your app, allowing you to distribute your app in a more stable and controlled manner. the rollout rate, a number from 0 to 100, sets the percentage of users who will be able to download your app. these users are randomly selected and don’t know that your app is going through a staged rollout. if there is an issue with your app, fewer users are affected by the problem. as you start to see positive results, you can gradually increase the rollout rate, increasing the number of users who can download your app. if you set a rollout rate of 0%, your app is not published in galaxy store. if you set a rollout rate of 100%, your app is distributed normally (to all users who are eligible to download your app). launch your app in selected countries using staged rollout, you can choose the countries in which you distribute your app allowing you to control the availability of your app. for example, you may want to monitor how users in china react to your app before distributing it to the rest of asia. select apply staged rollout rates by country to display the regions and countries in which you can distribute your app. you can also set the rollout rate for selected countries. for countries that are not selected, the rollout rate set at the top of the staged rollout section is used. in the example above, unselected countries have a rollout rate of 0% (your app will not be published in galaxy store in those countries). after you are satisfied with the rollout in china, you can select additional countries in asia (and countries in other areas of the world) and then set a rollout rate for each country. if you want to roll out your app to all countries, select apply to all countries where the app is sold and set the rollout rate. or, if you want to distribute your app normally (to all users globally), you can disable staged rollout. pause staged rollout without staged rollout, if you find an issue with your app after distribution, you must suspend the app’s sale which removes it from galaxy store. when you suspend an app, new customers are not able to download the previous version of your app. depending on how long it takes for you to fix the issue, this can adversely affect your business. using staged rollout, you can pause the distribution. when you pause the distribution, new customers are able to download the previous version of your app from galaxy store. after pausing a staged rollout, you can resume the existing staged rollout or resume the staged rollout after updating your app. update staged rollout options after submitting your app for review, you can quickly access and update the staged rollout options from the app list. once your app is published and the staged rollout has started, you cannot decrease the rollout rate. we want your feedback! take a minute to tell us what you think about staged rollout by completing this short survey. you can also share your opinions about other features in seller portal and how we can continue to improve our services to you. additional resources on the samsung developers site the samsung developers site has many resources for developers looking to build for and integrate with samsung devices and services. stay in touch with the latest news by creating a free account and subscribing to our monthly newsletter. visit the marketing resources page for information on promoting and distributing your apps. finally, our developer forum is an excellent way to stay up-to-date on all things related to the galaxy ecosystem.

      https://developer.samsung.com/sdp/blog/en-us/2021/12/08/minimizing-risks-when-distributing-an-app
      No Search Results
      No Search results. Try using another keyword.
      • <<
      • <
      • 1
      • 2
      • 3
      • 4
      • 5
      • 6
      • 7
      • 8
      • 9
      • 10
      • >
      • >>
      Samsung Developers
      Samsung Developers
      Quick Link
      • Android USB Driver
      • Code Lab
      • Galaxy Emulator Skin
      • Foldables and Large Screens
      • One UI Beta
      • Remote Test Lab
      • Developer Support
      Family Site
      • Bixby
      • Knox
      • Samsung Pay
      • SmartThings
      • Tizen
      • Samsung Research
      • SamsungOpen Source
      • Samsung Dev Spain
      • Samsung Dev Brazil
      Legal
      • Terms
      • Privacy
      • Open Source License
      • Cookie Policy
      Social Communications
      • Facebook
      • Instagram
      • Twitter
      • YouTube
      • Buzzsprout
      • Rss
      • Linkedin
      • System Status
      • Site Map
      • System Status
      • Site Map
      • facebook
      • instagram
      • twitter
      • youtube
      • buzzsprout
      • rss
      • linkedin

      Copyright © 2023 SAMSUNG. All rights reserved.