Quantcast
Jump to content

Samsung thinks its new app will make you want to ditch your iPhone


BGR
 Share

Recommended Posts

Samsung iTest

Switching from one smartphone platform to another is not a decision that anyone takes lightly, which explains why the top vendors go to such lengths to convince consumers to at least consider making a change. The latest attempt from Samsung is admittedly one of the more clever stabs we’ve ever seen, as the Galaxy maker released a web app this week that allows iPhone owners to emulate Android as it would appear on a Galaxy phone.

If you visit Samsung’s iTest website on your computer, you will see a QR code that you can scan with your iPhone’s camera app. You can also just visit iTest.nz on your iPhone, but either way, you’ll need to load the site in Safari in order to move forward. Once the site is open in Safari on your phone, you will be instructed to tap the center icon at the bottom of the screen, scroll down, and tap Add to Home Screen. You can name the web app whatever you want, and the icon will then pop up next to all of your other apps. Tap on it to “sample the other side.”

Today's Top Deal

Crazy Amazon deal gets you Sylvania color LED smart light bulbs for only $7 each!

Crazy Amazon deal gets you Sylvania color LED smart light bulbs for only $7 each!

Price: $27.99
You Save: $7.00 (20%)
Buy Now

Once you open the app, your iPhone will immediately turn into a semi-functional Galaxy smartphone running Samsung’s One UI overlay for Android. The home screen looks just like it would on a new Galaxy S21, complete with all of the pre-installed Samsung apps that ship with Galaxy devices, such as the Galaxy Store, Galaxy Themes, Samsung Health, and the Game Launcher. While you explore the simulated phone, you will receive occasional texts and calls to give you tips on using the app and to make the experience feel more authentic.

You can open most of the apps within the simulation, though some are more interactive than others. For example, if you open the Galaxy Themes app, you can actually pick from a number of themes and apply them to the home screen. In the Galaxy Store, you can’t actually download any new apps, but you can click on the icons for featured games like Pokemon Go and Garena Free Fire to watch a short preview video.

My favorite shot across the bow is in the Game Launcher, where you can see that Galaxy owners have access to both Fortnite and Xbox Game Pass — two apps that are currently inaccessible on iOS. In fact, Apple has made it clear that Microsoft’s Xbox Game Pass will never be allowed in the App Store as it exists today.

Whether or not you have any interest in switching from iPhone to Android, iTest is a neat toy and a fun way to waste a few minutes on a cloudy Friday. And who knows — maybe you’ll be so intrigued by the Android experience that you will consider taking a look at whatever Samsung has to offer next.

Today's Top Deal

Amazon shoppers are obsessed with this nonstick frying pan – today it’s only $14!

Amazon shoppers are obsessed with this nonstick frying pan – today it’s only $14!

Price: $13.99
You Save: $3.00 (18%)
Buy Now

View the full article

Link to comment
Share on other sites



  • 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...
 Share

  • Similar Topics

    • By STF News
      Samsung Electronics announced today that the Samsung Gaming Hub1 is now rolling out to all 2022 Samsung Smart TVs bringing the best game streaming content and game playing experiences with no additional hardware or downloads needed. Announced during CES 2022, Samsung Gaming Hub is an all-in-one game streaming discovery platform where players can discover and play games they love from partners such as Xbox, NVIDIA GeForce NOW, Google Stadia, Utomik, and, coming soon, Amazon Luna. The Samsung Gaming Hub brings better, faster and more convenient access to all things gaming within Samsung TVs, including the 2022 Neo QLED 8K, Neo QLED 4K, QLEDs and 2022 Smart Monitor Series, bridging Samsung’s expertise in hardware and software for an optimal gaming experience.
       

       
      “The Samsung Gaming Hub combines Samsung’s leadership in streaming technology with our experience in creating the industry’s most cutting-edge hardware, removing the barriers to entry so people can just play,” said Won-Jin Lee, President and Head of the Service Business Team at Samsung Electronics. “With expanding partnerships across leading game streaming services and expert curated recommendations, players will be able to easily browse and discover games from the widest selection available, regardless of platform.”
       
       
      Where Gaming Comes Together
      Powered by Tizen, Samsung Gaming Hub allows players to instantly access the games they love from industry-leading partners such as Xbox, NVIDIA GeForce NOW, Google Stadia, Utomik, and coming soon, Amazon Luna in addition to their gaming consoles and PC, all in one convenient place.2 Players can use their favorite accessories, such as Bluetooth headsets and controllers with the Samsung Gaming Hub without the need to purchase new hardware — making it easier to access games than ever before. Additionally, users will be able to see expertly curated recommendations based on the latest and most popular games.
       

       
      The Samsung Gaming Hub also seamlessly integrates music and streaming services to provide access to more entertainment options during gameplay, with easy connection to Twitch, YouTube and Spotify directly on the Gaming Hub experience menu. Players can get the latest gaming news, watch tutorials, play their favorite music and podcasts and view trailers from the most anticipated games all from the new and convenient Gaming Hub.
       
       
      Streaming Innovation Meets Incredible Processor and Picture Quality
      Players can also look forward to an amazing gaming experience thanks to advanced motion enhancements and latency reducing technology across Samsung’s 2022 Smart TV lineup and 2022 Smart Monitor Series. Samsung’s latest lineups introduce faster decoding and optimized buffer control technology which reduces the input lag by more than an average of 30 percent compared to the previous models.
       

       
      Additionally, Samsung’s latest AI upscaling technology optimizes game graphics, providing incredible 4K and 8K resolution with high color accuracy and sharpness.
       
      For more details, visit the Samsung Gaming Hub page.
       
       
      1 Gaming Hub is available in the following countries/regions: US, Canada, UK, Germany, France, Spain, Italy, Korea and Brazil.
      2 Service availability for partners may vary by region; Amazon Luna will be available in select regions later this year.
      View the full article
    • By STF News
      TRON is a well-known, blockchain-based, and decentralized platform that aims to create a global decentralized digital content system. By using blockchain technology, TRON has established a network between content creators and consumers, which eliminates the need for a middleman between these two parties.
      Because TRON is an account-based blockchain system, a transaction in TRON is executed by an account and every transaction needs to pass the consensus process, which is known as DPoS. In this process, some witnesses are selected according to a vote to verify the transaction. Any token holder can vote to select these witnesses.
      The Samsung Blockchain Platform (SBP) SDK provides an opportunity for Android developers to develop applications that can interact with Ethereum and TRON blockchain platforms. The SBP SDK supports coin transactions as well as smart contracts and tokens like TRC-10, TRC-20, and so on.
      This blog describes the process of sending TRX (the base coin of the TRON platform) using the SBP SDK, with a sample application. For an example of sending Ether (the base coin of the Ethereum platform), see Send Ether with Samsung Blockchain Platform SDK.
      Prerequisites
      For developing a sample application that can perform TRX transactions, the following actions must be performed before the transaction takes place.
      Initialize the object Connect to a hardware wallet Get accounts Each of these actions of the application has been implemented with a corresponding button so that the results of each action can be more visible and clearly illustrated.

      Initialize the object
      To use the APIs of the SDK in an Android project, an object of the SDK is required. To create the object, follow the steps below.
      Create a new Android project and integrate the SBP SDK with the application. All dependencies need to be mentioned in the build.gradle file. To complete this step follow these instructions. After completing the synchronization of build.gradle with the file system, the project is ready for creating an instance of the Sblockchain class. Relevant source code can be found here. Connect to a hardware wallet
      A hardware wallet is a storage device with the facility of authentication for securely storing the public-private key pair. There are several hardware wallets in the market, and Samsung provides a hardware wallet integrated with select Samsung mobile devices, known as the Samsung Blockchain Keystore.
      SBP provides an interface to connect hardware wallets. Alongside the Samsung Blockchain Keystore, SBP currently supports Ledger Nano X and Ledger Nano S. Connect your application with a hardware wallet using the following code.
      In this article, the Samsung Blockchain Keystore has been used as the hardware wallet. While running the sample application on your device, please ensure you meet the device restrictions of the Samsung Blockchain Keystore. You can also change the hardware wallet type and test the same application with other supported hardware wallets.
      Get accounts
      An account is an important protocol of TRON. It functions as a gateway to interact with the TRON blockchain. Your TRX balance, token balance, bandwidth, energy, and so on are all attached to your account. TRX balance can be sent from one account to another. Moreover, an account can issue a smart contract. TRON accounts also provide the facility to vote for super representatives. To learn more about super representatives and voting, see the TRON documentation.
      Every account consists of a private and public key pair. An account remains deactivated until a TRX or token transaction is performed. Creating an account consumes frozen bandwidth points. If none are available, then the action burns 0.1 TRX instead. If you want to know more about the underlying algorithm and the process of creating an account, see the TRON account documentation.
      The SBP SDK allows you to create a new account or restore existing accounts from the TRON network. Restoring and creating accounts are network operations. For more information, see the account management guide for the SBP SDK. It discusses generating, restoring and fetching accounts using the SDK.
      If you have no TRX in your account, you can get some by purchasing from the sites listed here or get test TRX.
      TRX Transaction
      Let's send TRX from your account to another account. The SBP SDK provides an API called sendTransaction to perform a transaction between two accounts. This API needs four parameters.
      wallet: A connected hardware wallet. fromAccount: The sender’s TRON account. toAddress: Where you want to transfer your TRX to, taking the address as a string. value: How much TRX you want to transfer. Input unit is SUN (1 TRX= 10^6 SUN). The CoinService class called TronService provides the sendTransaction API for transactions on the TRON platform. In addition, a Remote Procedure Call (RPC) is required to communicate with the TRON node. We are going to use TronGrid for this purpose, which allows developers to access a TRON client that is running on the cloud instead of creating one. You can learn more about the TronGrid here.
      Before completing the example transaction, some terminology related to transactions, like bandwidth and energy, are discussed.
      NetworkType networkType = TronNetworkType.SHASTA; CoinType coinType = CoinType.TRX; //Shasta rpc String rpc = "https://api.shasta.trongrid.io"; // creating coinNetworkInfo CoinNetworkInfo mCoinNetworkInfo = new CoinNetworkInfo(coinType, networkType, rpc); //Creating CoinService CoinService mCoinService = CoinServiceFactory.getCoinService(getApplicationContext(), mCoinNetworkInfo); //Creating TronService TronService tronService = (TronService) mCoinService; Fetch TRX balance
      TRX is the primary currency of TRON. It can be used to obtain Bandwidth, Energy, or Power. The SBP SDK provides the getBalance API for fetching the balance of an account.
      public void onClickGetBalance(View view) { mCoinService = CoinServiceFactory.getCoinService(getApplicationContext(), mCoinNetworkInfo); TextView trxAmountTextView = findViewById(R.id.amount_tron); mCoinService.getBalance(mFirstAccount).setCallback(new ListenableFutureTask.Callback<BigInteger>() { @Override public void onSuccess(BigInteger bigInteger) { convertedAmount = TronUtils.convertSunToTrx(bigInteger); Log.i(LOG_TAG, "Balance has fetched successfully."); Log.i(LOG_TAG, "Balance is:" + convertedAmount.toString()); runOnUiThread(() -> { accountInfoButton.setEnabled(true); trxAmountTextView.setText(convertedAmount.toString()); } ); } @Override public void onFailure(@NotNull ExecutionException e) { Log.e(LOG_TAG, "Fetching balance is failed."); Log.e(LOG_TAG, "" + e.getMessage()); } @Override public void onCancelled(@NotNull InterruptedException e) { Log.e(LOG_TAG, "Fetching balance is canceled."); } }); } Fetch bandwidth and energy
      TRON implements some new and interesting features named freeze, bandwidth, and energy. You can freeze some of your TRX balance to gain bandwidth and energy. For every frozen TRX, the user receives 1 TRON power which is needed to cast a vote on super representatives. After freezing some of your TRX, it is not possible to use these TRX until they are unfrozen.
      Bandwidth is used as a fee for TRX transactions. Energy is needed to execute smart contracts. The SBP SDK only provides an API to get a frozen balance amount. You can freeze TRX and gain bandwidth and energy using Tronscan. Tronscan is a blockchain explorer, which allows anyone to explore addresses, transactions, and tokens in the TRON blockchain.
      The SBP SDK provides the getAccountInfo API for fetching bandwidth, energy and power (frozen balance) information. The input parameter is the account address of the sender. In the sample application, after pressing the Account Info button, the asynchronous task returns this information, which is set on a text view in the UI.
      public void OnClickAccountInfo(View view) { tronService = (TronService) mCoinService; try { tronService.getAccountInfo(mFirstAccount.getAddress()).setCallback(new ListenableFutureTask.Callback<TronAccountInfo>() { @Override public void onSuccess(TronAccountInfo tronAccountInfo) { Log.i(LOG_TAG, "Account info is fetched successfully."); Log.i(LOG_TAG, "BandWidth is:" + tronAccountInfo.getBandwidth()); Log.i(LOG_TAG, "Power is:" + tronAccountInfo.getFrozenBalance()); runOnUiThread(() -> { sendButton.setEnabled(true); bandWidthTextView.setText(tronAccountInfo.getBandwidth().toString()); powerTextView.setText(tronAccountInfo.getFrozenBalance().toString()); } ); } @Override public void onFailure(@NotNull ExecutionException e) { Log.e(LOG_TAG, "Fetching account info is failed."); Log.e(LOG_TAG, "" + e.getMessage()); } @Override public void onCancelled(@NotNull InterruptedException e) { Log.e(LOG_TAG, "Fetching account info is canceled."); } }); } catch (Exception e) { Log.e(LOG_TAG, "Error in fetching account info: " + e); } } After fetching bandwidth and energy, we can check them on the sample application UI.

      Transfer TRX
      Now we have all the parameters needed for sending TRX. The sendTransaction API is used to transfer TRX to the recipient. If the transaction is successful, the onSuccess() callback returns the transaction hash.
      Every transaction in the TRON blockchain can be found in Tronscan.
      public void onClickSend(View view) { if (toAddress.isEmpty() || amount.isEmpty()) { Toast.makeText(getApplicationContext(), "Fill ToAddress and Amount Field", Toast.LENGTH_SHORT).show(); } else if(!tronService.isValidAddress(toAddress)){ Toast.makeText(getApplicationContext(), "Invalid Address.", Toast.LENGTH_SHORT).show(); } else { BigDecimal sendAmount = new BigDecimal(amount); BigInteger convertedSendAmount = TronUtils.convertTrxToSun(sendAmount); try { tronService.sendTransaction(mHardwareWallet, (TronAccount) mFirstAccount, toAddress, convertedSendAmount).setCallback(new ListenableFutureTask.Callback<TransactionResult>() { @Override public void onSuccess(TransactionResult transactionResult) { Log.d(LOG_TAG, "Transaction Hash: " + transactionResult.getHash()); runOnUiThread(() -> Toast.makeText(getApplicationContext(), "Transaction Hash: " + transactionResult.getHash(), Toast.LENGTH_SHORT).show() ); } @Override public void onFailure(@NotNull ExecutionException e) { Log.e(LOG_TAG, "Transaction failed."); Log.e(LOG_TAG, "" + e.getMessage()); } @Override public void onCancelled(@NotNull InterruptedException e) { Log.e(LOG_TAG, "Transaction canceled."); } }); } catch (AvailabilityException e) { Log.e(LOG_TAG, "Error in sending: " + e); } } } Now that you can send TRX to another account, you can create your wallet application and implement a transfer function using the SBP SDK. Keep an eye on the Samsung Developers site for updates as the Samsung Blockchain keeps expanding support for new platforms.
      Additional Resources:
      Download the SBP SDK Transaction Sample App More Information on the SBP SDK Follow Up
      This 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 or by 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.
      View the full blog at its source
    • By STF News
      As more and more consumers gravitate towards streaming services, TVs are evolving into the device of choice for those who desire larger, higher-quality screens, more immersive gaming experiences and at-home exercise functionalities, among other features. These days, Smart TVs are particularly in the spotlight given that users can enjoy a whole array of different content on them with just an Internet connection.
       
      Samsung Electronics unveiled its first Samsung Smart TV in 2011. In 2015, the company introduced its Tizen OS and has continued making progress in this field with a view to provide users with differentiated services. But how exactly has Samsung adapted to recent changes in the way people are consuming content? What efforts have been made to advance Samsung Smart TVs into becoming better platforms? Samsung Newsroom spoke to Seline Sangsook Han, Vice President of Service Business Team, Visual Display Business at Samsung Electronics, to learn more.
       

       
       
      Q. Recently, a growing number of consumers have been putting more value on user experience instead of TV price or design when purchasing TVs. What is driving this change in purchase trends?
       
      In the past, a user’s media experience came just from watching the broadcast programs provided by their set-top box or TV tuner. Under these conditions, the resolution of the TV’s screen and the way it matched the space it was placed in was the top priority for those purchasing TVs.
       
      However nowadays, the way we consume media content is diversifying and the content itself is becoming richer and more varied. As such, users are now prioritizing their own unique experiences and considering how their devices fit into their own individual tastes and environments. On top of this, TVs are evolving into smart devices, meaning that the scope of their experience offering is expanding. All of these factors are driving the current change in trends.
       
       
      Q. Are industry insiders noting an experience-centric user trend?
       
      Samsung Electronics started to provide smart TVs in 2011 and emerged as the industry leader. However, back then, users were less involved with the smart TV trend and there were few partners active in the market. These days, smart TVs are becoming increasingly important, and Samsung’s Smart TV has become a pivotal partner. Trend analysis shows us that, today, people are enjoying binge-watching shows more than they are watching shows in real-time. According to our internal research, people are spending more time watching Over-the-top (OTT) content on Samsung Smart TVs than they are watching live content. U.S. users subscribe to an average of three OTT services, demonstrating that smart TV markets are on the rise globally.
       
       
      Q. How is the Samsung Smart TV adapting to these changing trends?
       
      Samsung is committed to keeping up with changing trends and the Samsung Smart TV has gone through extensive research for better user experiences. One of our top priorities has been figuring out how to provide users with the best possible experience of finding and enjoying the content they want to consume.
       
      Samsung offers a content forwarding discovery service called Universal Guide to help consumers make choices easily by recommending content tailored to individual user preferences. In addition, Samsung TV Plus is available for users to enjoy a variety of channels on – news, entertainment, movies, TV shows and more. This is a free TV service, with no strings attached.
       
      On top of this, users can also appreciate leading art works on their TV via the Art Store of lifestyle TV The Frame and enjoy indoor workouts through Samsung Health, a functionality that was released this year. These services particularly benefit those who have experienced unexpected changes in their day-to-day lives this year and are thus finding themselves staying at home more.
       

       
       
      Q. What does it take to make a great TV platform?
       
      Nobody can make a great platform while working alone. When we appreciate what an ecosystem means, a great platform can emerge.
       
      From the perspective of partners, high quality technologies and user convenience should be ensured. Furthermore, for the sake of a platform’s users, enriching and useful content and user convenience are essential features, as these factors are what drive an engaging user experience. Samsung, as a platform provider, needs to create a viable marketplace with which to build a mutually beneficial business model in order to drive continued investment and partner growth and ultimately improve user satisfaction. At the end of the day, relentless efforts driving strategies tailored to one’s platform is what can bear fruit.
       
       
      Q. What makes the Samsung Smart TV unique in terms of its platform?
       
      The Samsung Smart TV was created as a television device. Over the past 14 years, Samsung has been ranked number one in the TV industry, and during these years, Samsung has continued to build its leadership across the markets as well as cultivated a robust user base. As a service platform, the Samsung Smart TV was not a leader at all in the beginning. Thanks to Samsung’s market leadership and product offering as a TV manufacturer, we have been able to reach users around the world, and this user base helped the company attract partners. Considering that TVs are a home necessity and play a pivotal role in consumers’ media consumption, the Samsung Smart TV has an unbeatable position and capabilities in terms of product manufacturing and supply, user experience design and ecosystem operation based on its own platform.
       
      These days, fewer people are watching TV in programs real-time, but are still tending to consume other types of media content on their TVs. Many consumers choose bigger and higher quality TVs in order to enjoy more immersive watching experiences. Today, TVs are more than just viewing screens. TVs have seen their uses expanded into the fields of workout, productivity, entertainment and home Internet of Things (IoT). Samsung’s Smart TVs are becoming an integral part of their users’ daily lives, displaying the product’s boundless potential as a platform.
       
       
      Q. The 2018 Samsung Smart TV was presented as a device capable of supporting various activities, while the 2019 Samsung Smart TV was defined as a provider of customized services for any and all user preferences. How would you define the 2020 Samsung Smart TV?
       
      The 2020 Samsung Smart TV prioritizes delivering a next-generation screen experience to users. This year’s Samsung Smart TV enables users to harness new services, a range of partner applications and Samsung TV Plus in order to bring the content they want right in front of them easily and quickly. What defines the 2020 Samsung Smart TV is the facilitation of services like Bixby, Alexa and Google Assistant for easy access to such areas as art, fitness and gaming features across such applications as Samsung Health and Art Store.
       

       
       
      Q. Can you share one useful tip for Samsung Smart TV users?
       
      I prefer to pick the content I want to watch and enjoy it whenever I find it convenient to. I make good use of both Korean and international OTT services, as well as Samsung TV Plus, from Friday night through to the following morning and have developed my own TV guide packed full of exactly the content I want to enjoy. While streaming, I am also able to get my laundry done, as my Smart TV will let me know when my machine’s cycle is complete so that I don’t forget to take my laundry out of the machine.
       
      I also want to recommend the Art Store of The Frame, one of Samsung’s lifestyle TVs, as this lets you curate artworks that not only match your tastes, but also your mood or even the weather – a small luxury I very much appreciate in my home.
       
       
      Q. With the advancement of technologies, things we have previously only imagined are increasingly becoming a reality. Would you share how you think the Samsung Smart TV will evolve in the long term?
       
      The Smart TV I dream of is one with a constraint-free experience, whatever and whenever you want to do. This means a literally seamless experience when watching, playing or working with screens, controlling your devices and connecting to the world, for each and every consumer, regardless of their situation. I believe that this is the beauty of the technologies and innovations that Samsung can do better than any other.
       

      View the full article
    • By STF News
      Blockchain, an emerging technology, is a distributed database for storing and managing records of transactions. It has already created a huge impact in the financial sector.
      The transaction is the main feature in any blockchain-based system. In Ethereum, one of the better-known blockchain systems, every transaction is executed by either an account or a smart contract. When an account tries to execute a transaction, it creates one and publishes it in the Ethereum blockchain. Every transaction needs to pass the consensus process. Some nodes in the Ethereum blockchain, known as miners, validate and authenticate the transaction. “Gas” is an incentive that is paid out for executing transactions. On the Ethereum platform, gas is paid to miners for completing the consensus process.
      The Samsung Blockchain Platform SDK enables Android developers to develop applications that interact with the Etherum blockchain platform. In addition to transactions, the Samsung Blockchain Platform SDK also supports operations related to smart contracts and tokens.
      Through a sample application, this blog describes how to use the Samsung Blockchain Platform SDK to transfer Ether, which is the base coin for the Ethereum platform.
      Prerequisites
      Before the application can make a transaction, it must first perform the following actions in order:
      Initialize and create the instance Connect to the hardware wallet Get the account Let’s associate each of these actions with a button in our sample application.


      1. Initialize and create the instance
      In the Android project, integrate the Samsung Blockchain Platform SDK with the application and mention all the dependencies in build.gradle. Next, create an instance of the Sblockchain class.
      2. Connect to the hardware wallet
      The Samsung Blockchain Platform provides an interface to connect to hardware wallets, which are special devices that securely store private keys. Samsung mobile devices have an integrated hardware wallet, the Samsung Blockchain Keystore. Besides the Samsung Blockchain Keystore, the Samsung Blockchain Platform also supports USB-connected Ledger devices and BLE-connected Nano X devices.
      The sample application connects to the Samsung Blockchain Keystore hardware wallet. Before you run the sample application on your device, check that the device is supported. You can also modify the sample application and test it with other supported hardware wallets.
      3. Get the account
      An account is a gateway for interacting with the Ethereum blockchain. Each account consists of a private and public key pair, for which the shortened public key is the account address. Every initial action in the Ethereum blockchain must be initiated by an account.
      The Samsung Blockchain Platform SDK enables the user to create a new account or to restore their accounts from the Ethereum network. Account management features in the Samsung Blockchain Platform SDK include generating, restoring and fetching accounts. Because they are network operations, the create account and restore accounts operations must perform asynchronously.
      After creating a new account, the user must utilize the account to receive or send Ether before the Samsung Blockchain Platform SDK allows them to create another account.
      If you do not have any Ether to use with the sample application, you can use test Ether.

      Performing Ether Transactions
      The sendTransaction API of the Samsung Blockchain Platform SDK initiates a transaction between two accounts. It requires the following information in its parameters:
      wallet: connected hardware wallet fromAccount: sender’s Ethereum account address gasPrice: price of each gas unit, which defines how quickly someone wants to execute the transaction gasLimit: maximum number of gas units to spend on the transaction toAddress: recipient’s Ethereum account address value: amount of Ethereum to transfer, in wei (1 eth = 10^18 wei). nonce: transaction counter for the account. The CoinService class named EthereumService provides methods needed to create transactions on the Ethereum platform. For example, the getFeeInfo() and estimateGasLimit() methods can retrieve the values for use with the gasPrice and gasLimit parameters, respectively.
      To communicate with the Ethereum node, RPC is also needed. In the sample application, the Infura node is used to access the Ethereum blockchain. Learn about integrating the Infura API with the JSON RPC.
      CoinType coinType = CoinType.ETH; NetworkType networkType = (NetworkType) EthereumNetworkType.ROPSTEN; //might use your own rpc String rpc = "https://ropsten.infura.io/v3/71cf9f88c5b54962a394d80890e41d5b"; // creating coinNetworkInfo CoinNetworkInfo mCoinNetworkInfo = new CoinNetworkInfo(coinType, networkType, rpc); //Creating CoinService CoinService mCoinService = CoinServiceFactory.getCoinService (getApplicationContext(), mCoinNetworkInfo); //Creating EthereumService EthereumService ethereumService = (EthereumService) mCoinService; //Access TextView and EditTexts on UI private RadioGroup transactionSpeedGroup = findViewById(R.id.transaction_speed_radio_group); private TextView gasLimitText = findViewById(R.id.gas_limit_text_view); private EditText toAddressEditText = findViewById(R.id.to_address); private EditText sendAmountEditText = findViewById(R.id.send_amount); Retrieve the gas price
      Gas price retrieval is an asynchronous task. Use the getFeeInfo API to retrieve the gas price. The getFeeInfo API returns three gas prices which depend on the speed of the transaction: fast, normal, and slow.
      To give full control over the gas price for advanced users, you can also enable numerical price input.
      In the sample application, when the user selects Gas Price, an asynchronous task retrieves the three gas prices, and assigns them to radio buttons. The user can select the transaction speed they want based on the gas price.
      public void OnClickGasPrice(View view) { ethereumService = (EthereumService) mCoinService; ethereumService.getFeeInfo().setCallback(new ListenableFutureTask.Callback<EthereumFeeInfo>() { @Override public void onSuccess(EthereumFeeInfo ethereumFeeInfo) { convertedAmount = EthereumUtils.convertWeiToGwei(ethereumFeeInfo.getNormal()); Log.i(LOG_TAG, "Fee info is fetched successfully."); mEthereumFeeInfo = ethereumFeeInfo; runOnUiThread(() -> { gasLimitButton.setEnabled(true); Toast.makeText(getApplicationContext(), "Fee info is fetched successfully.", Toast.LENGTH_SHORT).show(); } ); } @Override public void onFailure(@NotNull ExecutionException e) { Log.e(LOG_TAG, "Fetching Fee info is failed."); Log.e(LOG_TAG, "" + e.getMessage()); } @Override public void onCancelled(@NotNull InterruptedException e) { Log.e(LOG_TAG, "Fetching Fee info is canceled."); } }); } Fetching the gas limit
      Fetching the gas limit is also an asynchronous task. Use the estimateGasLimit API to calculate the gas limit. The input parameters are the account addresses of the sender and the receiver, the amount of Ether (in wei units), and the data to be sent.
      The sample application sends only Ether, so the data field is null. When the user selects Gas Limit, the gas limit is determined and shown on the screen.
      public void onClickGasLimit(View view) { String toAddress = toAddressEditText.getText().toString(); String amount = sendAmountEditText.getText().toString(); if (toAddress.isEmpty() || amount.isEmpty()) { Toast.makeText(getApplicationContext(), "Fill Send Address and Amount Field", Toast.LENGTH_SHORT).show(); } else if(!ethereumService.isValidAddress(toAddress)){ Toast.makeText(getApplicationContext(), "Invalid Address.", Toast.LENGTH_SHORT).show(); } else { BigDecimal sendAmount = new BigDecimal(amount); BigInteger convertedSendAmount = EthereumUtils.convertEthToWei(sendAmount); ethereumService.estimateGasLimit((EthereumAccount) mFirstAccount, toAddress, convertedSendAmount, null).setCallback(new ListenableFutureTask.Callback<BigInteger>() { @Override public void onSuccess(BigInteger bigInteger) { mGasLimit = bigInteger; Log.i(LOG_TAG, "Gas limit is fetched successfully."); Log.i(LOG_TAG, "Gas limit is:" + bigInteger.toString()); runOnUiThread(() -> { sendButton.setEnabled(true); gasLimitText.setText(bigInteger.toString()); }); } @Override public void onFailure(@NotNull ExecutionException e) { Log.e(LOG_TAG, "Fetching Gas limit is failed."); Log.e(LOG_TAG, "" + e.getMessage()); } @Override public void onCancelled(@NotNull InterruptedException e) { Log.e(LOG_TAG, "Fetching Gas limit is canceled."); } }); } }
      Send the Ether
      All the parameter values needed to send the Ether are now known. Use the sendTransaction API to initiate the transaction.
      In the sample application, the value of the nonce parameter has not been set manually. By leaving the value null, the platform handles the nonce value itself. If the transaction is successful, the onSuccess() event handler returns the transaction hash.
      A record of every Ethereum transaction is viewable in Etherscan, a blockchain explorer. It allows anyone to explore addresses, transactions, and tokens in the Ethereum blockchain.
      public void onClickSend(View view) { String toAddress = toAddressEditText.getText().toString(); BigDecimal sendAmount = new BigDecimal(sendAmountEditText.getText().toString()); BigInteger convertedSendAmount = EthereumUtils.convertEthToWei(sendAmount); //Getting Gas Price int transactionSpeedID = transactionSpeedGroup.getCheckedRadioButtonId(); if (transactionSpeedID == -1) { Toast.makeText(getApplicationContext(), "Select a Transaction Speed.", Toast.LENGTH_SHORT).show(); } else { switch (transactionSpeedID) { case R.id.transaction_speed_slow: mGasPrice = mEthereumFeeInfo.getSlow(); Log.d(LOG_TAG, "GasPrice: " + mGasPrice); break; case R.id.transaction_speed_normal: mGasPrice = mEthereumFeeInfo.getNormal(); Log.d(LOG_TAG, "GasPrice: " + mGasPrice); break; case R.id.transaction_speed_fast: mGasPrice = mEthereumFeeInfo.getFast(); Log.d(LOG_TAG, "GasPrice: " + mGasPrice); break; } } if(transactionSpeedID != -1) { try { ethereumService.sendTransaction(mHardwareWallet, (EthereumAccount) mFirstAccount, mGasPrice , mGasLimit, toAddress, convertedSendAmount, null).setCallback(new ListenableFutureTask.Callback<TransactionResult>() { @Override public void onSuccess(TransactionResult transactionResult) { Log.d(LOG_TAG, "Transaction Hash: " + transactionResult.getHash()); runOnUiThread(() -> Toast.makeText(getApplicationContext(), "Transaction Hash: " + transactionResult.getHash(), Toast.LENGTH_SHORT).show() ); } @Override public void onFailure(@NotNull ExecutionException e) { Log.e(LOG_TAG, "Transaction failed."); Log.e(LOG_TAG, "" + e.getMessage()); } @Override public void onCancelled(@NotNull InterruptedException e) { Log.e(LOG_TAG, "Transaction canceled."); } }); } catch (AvailabilityException e) { Log.e(LOG_TAG, "Error in sending: " + e); } } } Conclusion
      This blog has demonstrated how you can send Ether to another account, an example of a feature you can implement in a wallet application using the Samsung Blockchain Platform SDK.
      Check the Samsung Developers site periodically for updates as Samsung Blockchain Platform SDK keeps expanding support for new platforms.
      Additional Resources:
      Samsung Blockchain Platform SDK Transaction Sample Application Samsung Blockchain Platform SDK documentation View the full blog at its source
    • By STF News
      TVs and mobile devices – while highly capable on their own – shine even brighter when they are brought together. For those used to consuming and sharing content on their phones, being able to watch videos on bigger screens, enjoy music with more vivid sound, and share photos seamlessly are exciting prospects. Particularly in outdoor environments where people come together socially, users can benefit greatly from being able to share their mobile content through the medium of their TVs.
       

       
      With the ‘Mobile View’1, 2 feature available in a range of its latest TV offerings, Samsung Electronics has made all of these use cases possible with just a touch, and without the need for additional connections. As we see the border between mobile and television platforms being removed, Newsroom looked into the ‘Tap View’, ‘Multi View’, ‘Music Wall’, ‘My Album’ and ‘Smart View’ features to find out just what the future of outdoor viewing looks like.
       

       
       
      ‘Tap View’ ­– A Mobile Screen as Big as Your TV
      In the past, trying to view a smartphone video on a bigger screen at home often required you to navigate a host of complicated settings and additional components. But now, Samsung has introduced the ‘Tap View’ feature, which allows you to enjoy mobile content on a large screen by simply tapping your smartphone on the edge of the TV. With Tap View, you can even enjoy content on a big screen without having to connect to Wi-Fi or data networks. To prevent devices from sustaining damage, you should not tap hard, but rather gently touch the top or side of the TV with your phone.
       

       
      For those who want not just a bigger screen but also bigger sound, the new ‘Tap Sound’ feature embedded in latest Samsung soundbars3 is the answer. By lightly tapping your smartphone on the soundbar, you can quickly and conveniently enjoy richer sound quality, making the feature perfect for environments such as outdoor parties with loved ones.
       
      To activate the Tap View and Tap Sound features, launch the SmartThings app on your smartphone and select the menu icon in the top left corner, where you can turn on Tap View and Tap Sound. From there, simply tap your smartphone on either the TV or the soundbar to enter a whole new world of sound.
       

       
       
      ‘Multi View’ – Powering Multi-Tasking With Two Screens on One TV
      According to a Samsung survey, 92% of respondents say they enjoy using other devices while they are watching TV, with most users doing things like consuming other content or browsing social media. Thus, the ‘Multi View’ feature was introduced to allow you to display your smartphone screen on your television, and then divide your TV display into multiple screens so that you can keep using the TV as well. This allows you to view all of your content on one screen, making it easier to divide your attention without missing anything.
       

       
      Users of the outdoor TV The Terrace will also find this feature useful for a range of reasons. Viewing real-time comments from your mobile while watching a sports match, being able to display kids’ programs at the same time as a movie and viewing strategy pages while playing video games on your TV are just some examples.
       
       
      ‘Music Wall’ – Ramp up the Excitement of Your Events
      What better way to enhance the sensory experience of listening to your favorite music than enjoying it visualized with vivid colors with the ‘Music Wall’ feature. When using Bluetooth to play music from your smartphone on your TV, this feature creates a visual spectrum that mirrors the ambiance of the music on your television screen.
       

       

       
      And the Music Wall feature is especially well-suited to outdoor environments. When listening to calming classical music, you will see a smooth, visualized motion that resembles flowing water on your TV screen, while playing exciting electronic music will create energetic visualized motions to enliven your experience. The Terrace delivers an average brightness of 2,000 nits (and a maximum brightness of 4,000 nits), which is three times brighter than that of regular TVs. For a broad range of genre and tempo types, users can create a host of music visualization combinations to complement a wide range of experiences.
       
       
      ‘My Album’ – Sharing Memories Through Photos
      Another feature available when using Mobile View is ‘My Album.’ With 2020 models of Samsung TVs, uploading and displaying photos on your TV has become quicker and easier. Whereas before displaying pictures on your television required you to access the SmartThings app and go through a series of steps, now pictures can be exported directly from the Gallery app. Simply select the pictures you want to see on your TV, press ‘Share’ and select ‘View pictures on TV,’ and watch your photos spring to life on your television before your eyes. For users with multiple TVs, a preferred television for viewing photos can be selected.
       

       
      In outdoor settings where people gather together and take group pictures, the auto gallery and slide show features make taking and displaying high-quality photos easier too. In cases where individual images have different aspect ratios, these features automatically adjust the photo layouts and play them in a series on your TV. The number of art filters has also been increased from three to a maximum of fifteen, allowing for a wider range of effects to ensure you find the one that best matches your shot.
       
       
      ‘Smart View’ – Connecting Your Smartphone and TV
      Another way to display a range of mobile content on your TV is through the use of ‘Smart View’. Samsung mobile devices can be wirelessly connected to Samsung smart TVs or Chromecast devices, allowing users to enjoy photos, videos, presentations, and games on their televisions.
       
      First, swipe down from the top of the smartphone screen twice to open the ‘Quick Setup’ panel. From there, press the Smart View icon to select the device you prefer to connect to and immediately enjoy mobile content on your television.
       

       
      Both inside and outside the home, The Terrace TV and innovative Mobile View are enabling people to enjoy a higher standard of content more conveniently. With The Terrace, your smartphone and outdoor television strike a high-performance partnership that will elevate you to higher levels of viewing.
       
       
      1 All of the ‘Mobile View’ features except for ‘Tap View’ are available on Android OS and iOS-based smartphones. The Tap View feature is only available on Samsung Galaxy smartphones.
      2 Only available from 2020 QLED TVs, Outdoor TV, select TU series and Lifestyle TVs
      3 HW-Q950T, HW-Q900T, HW-Q800T, HW-Q70T, HW-Q60T, HW-S60T, HW-S40T, HW-LST70T
       
      View the full article





×
×
  • Create New...