- How to Run Android Apps in Windows 10 [Updated]
- Apple AirPods 3
- How to connect your Android phone to Windows 10
- How to open and control Android apps in Windows:
- Как я тестировал Android-приложения с помощью Samsung Remote Test Lab
- Сначала о приложениях
- Немного о самом сервисе
- А теперь о тестировании
- Дополнительная интересная информация
- Продолжаем тестирование
- А теперь о втором приложении
- О дополнительном функционале
- А теперь, результаты
- Плюсы:
- Может не понравиться:
- Getting Started
- 1. System Requirements
- 2. Downloading Samsung SDKs
- Downloading SDKs from Samsung Developers:
- 3. Getting started with Android Studio
- Creating an Android Studio project
- Adding a Samsung library to Android Studio
- Running the App
- Running a sample app
How to Run Android Apps in Windows 10 [Updated]
Update 8/24/202o: After a few weeks in beta, the new Your App update is rolling out publicly for Windows 10, and it looks like Microsoft is extending the feature to include non-Samsung devices as well . This article has been updated to reflect those changes.
One of the coolest announcements Samsung displayed at its Unpacked 2020 event was new functionality coming to the Your Phone app on Windows 10 that will give you full control of your Android device on PC.
The Your Phone app already lets Android users view notifications, texts and files on their Windows 10 PC , but many Android devices can now run apps and mirror the device’s screen directly to your PC’s desktop. The list of compatible phones only includes Samsung devices at the moment , but Microsoft says further device support is rolling out and will continue expanding over time.
Android apps will behave like a native Windows application; they run in their own app windows and can be pinned to your Windows taskbar and Start menu. And since everything runs off your phone, you won’t need to install the apps on your PC. You can even mirror your device’s main screen in a separate window on your desktop while other apps are running.
The Best Pre-Order Deals for the Samsung Galaxy Note 20 Phones
Most pre-orders go live tonight for the new Samsung Galaxy Note 20 and Galaxy Note 20 Ultra…
Apple AirPods 3
A whole new look
Only select phones—like the Samsung Note 20 and Note 20 Ultra —will be able to run multiple apps simultaneously on desktop, but the other features will work on supported devices running Android 9 pie or higher and can be linked to Windows 10 via the Your Phone app.
How to connect your Android phone to Windows 10
The new Your App features entered beta in early August, but should now be available to users who have installed Windows 10 version 1809 or later. The exact availability of the feature will vary for all users, but here’s how to connect your Android phone to Windows 10 once you receive the update:
- Make sure your phone and PC are on and connected to the same wifi network.
- Install the Your Phone app on your Windows 10 PC ( Microsoft Store ).
- Run the app and sign in with your Microsoft account when prompted.
From here, things will work slightly differently based on your device’s OEM.
- For Samsung users: Swipe down on the screen to open the quick-access menu and tap the “Link to Windows” icon. Sign in with your Microsoft account again, then follow the on-screen instructions.
- For other Android devices: refer to this guide for connecting your Android phone to Windows 10 .
How to open and control Android apps in Windows:
Once your phone and PC are connected, the Your Phone app window should appear on your desktop. Here’s how to open your apps on desktop:
- Click the “Apps” shortcut from the left-hand menu to see a list of all applications installed on your device.
- Click an app from the list to run it on your PC (note: some apps may not have full keyboard/mouse support, and may have visual/audio display errors).
- You can also click “Open Phone’s Screen” to mirror the device’s screen in a separate window.
Once the app is open on your desktop, you can drag it around or swap to other programs, as with any other Windows 10 application window. To control the apps on desktop:
Источник
Как я тестировал Android-приложения с помощью Samsung Remote Test Lab
Меня зовут Игорь. В прошлом году, параллельно с учебой в 11 классе, я проходил обучение в “IT-Школе Samsung” на базе томского IT-Куба. В конце курса обучения я одержал победу во Всероссийском конкурсе компании Samsung по разработке мобильных приложений «IT Школа выбирает сильнейших!» и стал финалистом «Samsung Android Bootcamp».
В рамках этих мероприятий я разработал пару мобильных приложений и сейчас расскажу об опыте их тестирования с помощью сервиса Samsung Remote Test Lab, с которым я познакомился совсем недавно.
Samsung Remote Test Lab бесплатный сервис, который позволяет разработчикам тестировать приложения удаленно в виртуальном режиме на тысячах реальных устройств сотен моделей семейства Samsung Galaxy без приобретения оборудования.
За последние десять лет Samsung открыла лаборатории Remote Test Labs по всему миру, в том числе в Индии, Польше, Южной Корее и США. В 2021 году компания расширила программу, подключив к ней лаборатории в России, Великобритании, Бразилии, и Вьетнаме.
Сначала о приложениях
Первое – Elementary Launcher. Домашний экран для слабовидящих пользователей. Из-за специфичной функциональности приложения: замена домашнего экрана, взаимодействие с установленными пакетами приложений, работа с виджетами, контактами, их вызов и отправка смс, — приложение требует тестирования на большом количестве устройств, версий и оболочек Android.
Второе – Convеrta. Приложение, помогающее немым и глухим людям путем перевода текста в речь и речи в текст. Оно тоже работает с микрофоном устройства, с Text-To-Speech и Speech-To-Text сервисами, эта функциональность тоже нуждается в тестировании, потому что на устройствах разных производителей могут быть установлены разные синтезаторы речи.
Немного о самом сервисе
Ранее я тестировал приложения так:
Установка на свое устройство
Установка на эмуляторы разных устройств с разными версиями Android
Написание UI-тестов и их прогон через Firebase Test Lab
Рассылка сообщений друзьям и знакомым с просьбой протестировать приложение и последующее просматривание Crashlytics
Узнав про то, что Samsung Remote Test Lab позволяет запускать не просто Instrumented тесты, а дает удаленный доступ к реальному устройству, я сразу приступил к регистрации по ссылке.
Для работы в сервисе требуется Samsung Account, вход в который осуществляется в правом верхнем углу страницы.
После входа дается 20 кредитов для аренды устройств. Ежедневно, через Get Free Credits (появляется при наведении курсора мыши на баланс) можно получить еще 10 кредитов, которые эквивалентны пяти часам аренды любых устройств в выбранном регионе. Список моделей доступных устройств в каждом регионе отличается.
Я выберу Россию для лучшего качества соединения. В этом регионе доступны, в основном, флагманские устройства S и Z серии:
Из бюджетных доступна A серия:
Также можно протестировать приложение на Galaxy Watch устройствах:
Удивительно, но в Корее можно арендовать устройства на Tizen OS:
Процесс аренды устройства достаточно прост. Необходимо указать версию Android и время аренды. Ну и, конечно же, нажать кнопку Start.
После начала аренды откроется либо web-клиент, либо будет скачан .jnlp (Java Network Launching Protocol) файл с клиентом.
А теперь о тестировании
Для начала я запустил Elementary Launcher на Galaxy S21 Ultra и заметил, что ярлыки домашнего экрана недостаточно увеличены.
У первой иконки внезапно появились пустые места по бокам
Далее я перешел к тестированию на более простых устройствах, а именно Galaxy A31.
Доступ к нему, кстати, уже осуществлялся через .jnlp клиент.
По ходу тестирования ошибка с размером ярлыков повторилась, никаких других проблем не наблюдалось.
И закончил я тестирование на смартфоне Galaxy S9.
Во время тестирования заметил, что проблема с размером значков на этом устройстве отсутствует, но имеется недочет с отсутствием наблюдателя за изменениями базы данных. Приложение не дает перейти на следующий экран, несмотря на заполненность домашнего экрана хотя бы одним ярлыком.
Дополнительная интересная информация
Samsung Remote Test Lab позволяет разворачивать приложения на устройствах с beta-версией Android 12 даже в России, несмотря на то, что beta-сборки для этого региона не существует.
Продолжаем тестирование
Также я запускал Elementary Launcher на планшетах Galaxy Tab S7, Tab S7+ и foldable-устройствах: Galaxy Z Flip 3, Galaxy Z Fold 3.
Результаты тестирования на Galaxy Z Fold 3 показали, что у приложения наблюдается проблема с жизненным циклом. Экраны первой настройки пропадают при раскладывании/складывании устройства и переходе приложения на другой экран.
А теперь о втором приложении
При запуске приложения на Galaxy Z Flip 3 возникла проблема с позиционированием фона приложения из-за специфического соотношения сторон экрана.
Такая же ошибка наблюдается и на меньшем экране Galaxy Z Flip 3
И вскрылись мелкие недочеты из-за отсутствия атрибута ellipsize у текстовых полей.
На устройствах с привычным соотношением экрана таких проблем не наблюдалось.
Замечу, что было достаточно непривычно слышать синтезатор речи Samsung, когда ранее слышал только голос такового от Google.
О дополнительном функционале
При подключении к устройству клиент сразу предлагает установить предпочитаемый язык системы.
Foldable-устройства можно складывать, складывать наполовину и раскладывать.
А тут и ферму видно
Также можно перебрасывать текст между устройством и клиентом
Возможность записи и сохранения тестов.
Доступ к logcat.
Или полный adb-доступ.
Эмуляция S-Pen на поддерживаемых устройствах.
Демонстрация на Galaxy Note 20.
А теперь, результаты
Подводя итог, хочется сказать, что я жалею, что не узнал об этом сервисе ранее, потому что полный удаленный доступ – именно то, чего не хватало при использовании Google Firebase Test Lab с его возможностью запуска только заранее написанных тестов.
Плюсы:
Большой парк физических устройств: смартфоны, планшеты, часы
Широкий спектр разворачиваемых версий Android
Бесплатность и общедоступность
Дополнительный, упрощающий тестирование, функционал
Наличие отдельного дата-центра в России
Может не понравиться:
Отсутствие на данный момент возможности adb доступа через web-клиент
Источник
Getting Started
This guide teaches developers how to set up their workstations in order to use Samsung Mobile SDKs in their apps. It covers basic topics such as how to download and install the SDK.
This section covers:
- System Requirements.
- Downloading Samsung Mobile SDKs.
- Getting started with Android Studio.
1. System Requirements
To develop apps for Samsung mobile devices, you must first set up your Android development environment. If your development environment is already configured, you can skip this section.
- Verify that your development system meets the requirements specified by the Android System Requirements.
- Set up your Java environment:
To develop Android apps in Java, you need the following:
- Java Development Kit (JDK) — this provides the tools required to build a Java app.
- Java Runtime Environment (JRE) — this lets you run Java apps on your computer.
To set up these components: 1. Go to Java SE Downloads. 2. Click Java Download to display the download page for the latest version of JDK, which includes JRE. 3. Click the download package for your operating system: Windows, Mac OS X, or Linux. 4. Install the JDK package. For details about the installation, see the Java Platform Installation.
- Download Android Studio:
- Go to Android Studio.
- If the browser has detected your operating system, click Download Android Studio. Otherwise, click Download Options and select a different platform: Windows, Mac OS X, or Linux.
- Unzip and install the bundle. It includes essential components and the Studio IDE.
- Launch Android Studio.
- If you get a notice of Platform and Plugin Updates, click update to exit Studio and launch the SDK Manager. Then install the suggested packages.
2. Downloading Samsung SDKs
Downloading SDKs from Samsung Developers:
- Go to Mobile page
- Select the SDK you want to download
- Go to the Resources page for the SDK
- Click the download button
- Read the license agreement, select I agree to this SDK License Agreement and click Download
- Unzip the downloaded SDK to a folder of your choice. The SDKs typically provide the following folders
- Docs: Programming guides and API references
- Libs: Java and C libraries to use in your app
- Samples: Sample apps showing example source code
- Tools: Additional tools that may be needed to use the SDK
- Extras: Additional support resources
3. Getting started with Android Studio
This section describes how to create your first project in Android Studio and run an app.
Creating an Android Studio project
- Launch Android Studio.
- Create a new project by clicking File > New Project
- Fill out the fields:
- Application name: your app name
- Company domain: the qualifier for your app package name.
- Package name: this is the combination of the company domain and application name, which must be unique across all packages in the Android environment. Android generates this from the application name and company domain values.
- Project Location: the directory where your app is stored. You can use the default or specify another location, if desired.
- Click Next
- Select the type of device you want to target, for example, Phone and Tablet
- Select the Minimum SDK level you need to support the SDKs you’re using. In this example, select API 21. Click Next
- Use the default Empty Activity type and click Next. For more about activities, see Android Activities.
- Use the default Activity Name and Layout Name and click Finish For more about creating a project in Android Studio, see Creating Projects.
Adding a Samsung library to Android Studio
To use a Samsung SDK in your app, you add the library files that are bundled with the SDK to your Android Studio project.
- Open your project in Android Studio.
- Use a file browser to navigate to the folder containing the Samsung SDK
- Open the add-on SDK folder, then open:
- Docs > API Reference > index.html: to see what libraries and API methods are provided by the SDK
- Libs folder: to copy the libraries you want to use in your app
- In your Android Studio project, top-left drop-down menu, change the Android view to Project
- Right-click your app’s libs directory and select Paste
- In the Copy dialog, click OK to paste the copied files into your project
- The libraries now appear in your project under the libs folder
- Right-click the libraries and select Add As Library.
- Select the module to add the library to. If your app contains several modules, ensure that you add the library to the appropriate module. Click OK. Your project now includes the SDK you downloaded.
Running the App
Android Studio provides two ways to compile and test your app: — On an Android Virtual Device (AVD) — On a physical Samsung device To run your app:
- Plug your Samsung mobile device into your computer using a USB cable
- If you are using a Windows computer, go to Samsung Android USB Driver for Windows, then download and install the USB driver onto your computer
- Enable developer options on your device by going to Settings > About device > Software info and tapping Build number seven times. (Devices with Android 4.1 or older already have developer options displayed by default.)
- Turn on USB debugging by tapping Settings > Developer options > USB debugging
If My Knox is installed, USB debugging is grayed out; try using another device.
- In Android Studio, with your project open, click Run > Run ‘app’ (or press Shift + F10)
- Select the device you want run the app on, under either Connected Devices or Available Emulators
Running a sample app
The sample apps are in the Samples folder of the SDK you downloaded. To run a sample app:
- Open Android Studio
- In the top navigation menu, select File > Open
- Navigate to the sample app directory in the SDK you downloaded
- Click OK to import the file to your project
Источник