Quantcast
Jump to content


Recommended Posts

Posted

2020-09-16-01-banner.jpg

En este video del Programa para desarrolladores de Samsung, aprenda cómo integrar el SDK de compras en la aplicación (IAP) de Samsung en sus juegos de Unity.

Puede obtener más información en https://developer.samsung.com/iap

El proceso general para publicar su juego, cuando incluye pagos y microtransacciones por medio del Samsung IAP SDK es el siguiente:
Proceso de Publicación

1- Registro en el Portal

Para crear su cuenta y publicar en la Galaxy Store puede ir a http://seller.samsungapps.com

Haga clic en la esquina superior para crear su cuenta. Si ya tiene una cuenta de Samsung, puede ingresar con ella.
Haga Clic Aquí

2- Solicitar el Status de Vendedor

Una vez que haya creado su cuenta en el portal de desarrollo, puede solicitar su estatus de vendedor haciendo clic en el botón indicado en la imagen. Esto es necesario para poder vender diferentes artículos desde su aplicación.
Solicitar Status de vendedor

3- Registrar su Aplicación/Juego

Para ver todo el detalle de cómo registrar su aplicación en el portal de ventas, puede ver el video que se encuentra en https://youtu.be/fil7DmD1v3g

En general, se le va a solicitar que ingrese la información de su juego, como el nombre, descripción e imágenes promocionales.

4- Registro de los Artículos en Venta
Cuando su cuenta ha sido aprobada como una cuenta de vendedores, podrá tener acceso a la sección de “In App Purchase”.

Registrar los artículos a vender

Aquí podrá registrar los diferentes artículos que va a vender, como vidas ilimitadas, poderes especiales, u opciones de personalización para los personajes de su juego.

En el video podrá ver un poco más de detalle de cómo registrar cada uno de los artículos.

Plugin para Unity

Para poder usar el kit de desarrollo de la Samsung IAP, debe seguir los siguientes pasos:

1- Descargar desde https://developer.samsung.com/iap/samsung-iap-unity-plugin.html
2- Instalar el Plugin

  • a. En Unity haga clic en Assets -> Import Package -> Custom Package
    Adicionando el plugin en Unity

3- Arrastrar el Script en un objeto del juego

  • a. Este puede ser cualquier objeto de la UI, o como se ve en el video, un personaje de su juego.

Una vez que haya incluido el Script, puede revisar la documentación (https://developer.samsung.com/iap/samsung-iap-unity-plugin.html) para ver en detalle cómo llamar la SDK desde el código de su juego, pero aquí tiene los conceptos básicos:

Modo de operación

Para que la Galaxy Store sepa si su juego está realizando pruebas, o si ya està en modo de producción, debe usar el método SetOperationMode.

SamsungIAP.Instance.SetOperationMode(OperationMode.OPERATION_MODE_TEST);

Los posibles valores para el parámetro son OperationMode.OPERATION_MODE_TEST, OperationMode.OPERATION_MODE_TEST_FAILURE, y OperationMode.OPERATION_MODE_PRODUCTION.

Solicitar información de los artículos disponibles en venta

Para saber qué artículos se pueden ofrecer desde el juego, debe invocar el método GetProductDetails.

SamsungIAP.Instance.GetProductDetails("com.mygame.product1, com.mygame.product2,com.mygame.product3", OnGetProductsDetails);

En este ejemplo se está solicitando la información de los productos 1, 2, y 3, ya que se está enviando los identificadores de esos productos, separados por comas.

SamsungIAP.Instance.GetProductDetails("", OnGetProductsDetails);

En este ejemplo se esta pidiendo la información de todos los productos disponibles, ya que no se está enviando ningún identificador de productos.

Iniciar un pago

Para poder empezar la compra de un producto se debe invocar el método StartPayment.

SamsungIAP.Instance.StartPayment("com.mygame.product1", "pass_through_value", OnPayment);

En este ejemplo se está iniciando la transacción para el “com.mygame.product1”.
Usted puede especificar el valor del segundo parámetro y utilizarlo para verificar el éxito de la compra.

Y por último se especifica el “callback”, que es el método que se va a invocar cuando se finalice la transacción, sin importar si esta fue exitosa o no.

Artículos Consumibles

Usted puede usar el método ConsumePurchasedItems para reaprovisionar productos consumibles. Así el jugador puede comprar energía en su juego cuantas veces quiera, por ejemplo.

El primer parámetro es el identificador de la compra del artículo.

SamsungIAP.Instance.ConsumePurchasedItems(purchase_id, OnConsume);

Y el segundo parámetro es el método OnConsume que se activa cuando el proceso ha terminado, y este contiene información sobre el artículo consumido y el procesamiento de llamadas a la API.

Consultar productos adquiridos anteriormente

Para obtener la lista de todos los productos que un jugador ha comprado, puede usar el método GetOwnedList.

SamsungIAP.Instance.GetOwnedList(ItemType.all, OnGetOwnedList);

El primer parámetro puede ser ItemType.all, ItemType.item, o ItemType.subscription.

Con ItemType.all el método devuelve todos los artículos no consumibles comprados, los artículos consumibles que no se han consumido y los artículos de suscripción con suscripciones activas.

Con ItemType.item el método devuelve todos los artículos no consumibles comprados y los artículos consumibles que no se han consumido.

Y por último, con ItemType.subscription el método devuelve todos los artículos de suscripción comprados con suscripciones activas.

El segundo parámetro, es el método que se activará cuando el proceso ha finalizado.

Para obtener más tutoriales, visite Samsung Developers. (http://developer.samsung.com/)

View the full blog at its source



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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
      Samsung Electronics and Logitech celebrate five years of partnership in video conferencing, combining their industry-leading solutions to enhance workplace collaboration and productivity. The integration of Samsung high-definition displays with Logitech’s video conferencing solutions creates immersive, connected experiences ready to meet the needs of today’s employees.
       
      ▲ Samsung Electronics’ high-definition displays integrated with Logitech’s conference cameras, webcams and audio systems enable seamless collaboration for hybrid teams.
       
      With the rise of flexible work environments, organizations require meeting spaces equipped with advanced video conferencing technology to enable seamless collaboration for distributed teams. Businesses can now leverage Samsung’s high-definition displays with Logitech’s conference cameras, webcams and audio systems to achieve crystal-clear video and sound, helping remote and in-person participants feel like they are in the same room. Samsung Interactive Displays also enable teams to connect, share ideas and whiteboard on a single screen. These meeting solutions make every participant feel equally engaged regardless of location.
       
      ▲ The Samsung Interactive Display is a powerhouse tool for team collaboration.
       
      “Samsung and Logitech products empower teams to work better together,” said Sukhmani Mohta, Chief Marketing Officer, Display Division, Samsung Electronics America. “With purpose-built solutions that integrate effortlessly into today’s workplaces, we’re helping organizations to reimagine collaboration, spark creativity and achieve greater productivity. We are shaping the future of work by fostering deeper connections and creating fulfilling experiences for teams.”
       
      ▲ Samsung and Logitech solutions support dynamic and flexible workspaces for today’s employees.
       
      Traditional workspaces are evolving into more dynamic and flexible environments. “Hot desking,” where employees can choose their workstation for a given day rather than having assigned desks, is supported by Samsung monitors that work seamlessly with Logi Dock Flex. This allows employees to quickly plug into any available desk and start working immediately. This streamlined experience minimizes technical challenges, reduces stress and promotes productivity in an adaptable workplace.
       
      “Our partnership with Samsung is founded on shared values such as drive for innovation and focus on customer needs,” said Sudeep Trivedi, Head of Alliances and Go-to-Market, Logitech. “We collaborate to address challenges and anticipate the evolving needs of almost every industry. We’re eager to continue driving innovation, anticipating and fulfilling the needs of our customers in the years ahead.”
       
      ▲ Samsung and Logitech remain committed to building sustainable design into every product and empowering organizations to manage their energy consumption.
       
      Samsung and Logitech also share a mutual commitment to building environmental sustainability into every product. Both companies have created solutions that automatically go into standby mode or turn off when not in use to help reduce energy consumption. Device management systems like Samsung SmartThings Pro offer remote control and monitoring of the performance and environmental impact of connected office technologies. Logitech’s ambitious climate strategy includes Design for Sustainability principles that have resulted in three out of four products using next-life, recycled plastics, 66% of products carbon labeled and 94% of the company’s electricity footprint coming from direct and indirect renewable electricity purchases.
       
      ▲ Samsung and Logitech help businesses to minimize technical challenges and promote productivity in adaptable workplaces.
       
      At the Logitech Experience Center in San Jose, California, businesses can view Samsung and Logitech’s joint solutions in a realistic work environment. The collaborative space, which serves as both a fully functioning office for Logitech employees and a showroom for customers, demonstrates how these innovations can unlock new possibilities for modern workplaces.
       
      To learn more about Samsung and Logitech’s immersive, integrated workplace solutions, read the full case study on their collaboration.
      View the full article
    • By Samsung Newsroom
      The future of displays is here! Earlier this month at ISE 2025, Samsung Electronics showed off its latest commercial display innovations. From the energy-efficient Samsung Color E-Paper and AI-powered Interactive Display to Transparent MICRO LED and HoloDisplay, the company captivated attendees with its expansive lineup of display solutions and their limitless applications.
       
      Check out the videos below for a closer look at how Samsung is transforming the industry in 2025.
       
       
      Samsung Color E-Paper: A Signage Solution Ready To Replace Traditional Posters in Storefronts
      Samsung Color E-Paper is a paper-thin, ultra-low power and lightweight display serves as an energy efficient alternative to traditional analog and paper-based promotional materials. This solution consumes near-zero power while displaying static images by leveraging ambient light to illuminate the content. A dedicated app and Samsung VXT makes it easy to manage.
       

       
       
       
      AI-Powered Interactive Display: A Smarter, more connected Screen for Classrooms
      The Samsung’s 2025 Interactive Display is redefining the classroom with AI-powered learning tools that make education smarter and more connected. From instant answers with Circle to Search to AI-generated lesson recaps and real-time transcriptions, students and educators get seamless AI support — right on the screen.
       

       
       
       
      2025 Hotel TV Lineup: An Entertainment Experience Tailored to Every Guest
      Samsung’s latest hospitality display solutions eliminate the need for  extra cables or a complicated setup. Guests can instantly stream content from their devices with AirPlay and Google Cast. With SmartThings Pro, they can enjoy seamless in-room control, while LYNK Cloud enables easy access to dining, concierge services and check-out — right from the TV.
       

       
       
       
      The Wall IWC: Uninterrupted Display for Command and Control in Mission-Critical Environments
      In mission-critical environments like command-and-control centers, every second counts. Incorporating Samsung’s MICRO LED technology, The Wall IWC ensures uninterrupted operation with seamless visuals and fast, modular maintenance — delivering clarity and reliability when it matters most.
       

       
       
       
      The Wall IVC: An Advanced Display Optimized for Content Creation in Corporate Broadcast Studios
      The Wall for Virtual Production (IVC model) is revolutionizing corporate broadcasting. At ISE 2025, Samsung unveiled the first-ever broadcasting bundle with ARRI and Realtime Department — designed for seamless workflows, stunning MICRO LED visuals and effortless content creation.
       

       
       
       
      Transparent MICRO LED and HoloDisplay: Cutting-Edge Display Solutions for Unforgettable Museum Exhibits
      These two futuristic solutions captivate and engage visitors in new ways. The Transparent MICRO LED can transform exhibits into seamless, bezel-less interactive experiences with 360-degree viewing experiences by showing content on the showcase. The HoloDisplay immerses viewers by projecting sharp and high-contrast floating 3-dimensional images.
       

       
       
      Samsung Electronics received a total of 12 awards, including five Best of Show awards at ISE 2025, demonstrating its industry dominance. While Samsung continues to push the boundaries for commercial display, the future is already here with its 2025 lineup. For more information, visit: http://smsng.co/B2Bsolutions.
       
       
      * Availability and features may vary by model and are subject to change without prior notice.
      View the full article
    • By Samsung Newsroom
      Samsung Electronics held its First Look 2025 event on January 5 in Las Vegas ahead of the opening of the CES 2025 exhibition. The company unveiled an array of innovative technologies and introduced Vision AI, a new path for AI screens and the display industry.
       
      At the event, Samsung showcased its latest lineup of ultra-large TVs including the 2025 Neo QLED 8K, the 85-inch Neo QLED 4K and the 83-inch OLED. Other highlights from the First Look 2025 showroom included The Premiere 5, an interactive display with triple laser technology designed for intuitive operation, and the MICRO LED Beauty Mirror, a display that analyzes users’ skin conditions to offer personalized beauty solutions.
       
      “TVs in the AI era will become life companions and provide new user experiences,” said SW Yong, President and Head of Video Display (VD) Business at Samsung Electronics, during his opening speech.
       
      Watch the video below to explore Samsung’s latest advancements in display technology at the First Look 2025.
       
       View the full article
    • By adem377
      Hello everyone, I hope you're doing well. I have Tizen TV 4 and 6 devices, and I would like to know how I can capture a screenshot within the Tizen system on these devices.
    • By Mahesh Gadhe
      <article>
              <div><img id="imageTag" src=""></div>
              <div><video id="videoTag" onended="onVideoEnded();" src=""></video></div>
              <!--<div id="YoutubePlayer" width="600" height="400" src="" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-top-navigation" style="z-index: 1;"></div>-->
              <div style="position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); z-index:999;">
              <div id="YoutubePlayer" style="width:600px; height:400px;"></div>
          </div>

          </article>
      As to play the youtube video we need to use the youtube iframe, we are facing challenge here. When the youtube video plays on the TV, we lose control over app and hence next video as per CMS does not play. Same happens vice versa i.e when a video from CMS starts playing we are not able to play youtube video if it is next in the list.





×
×
  • Create New...