Кирилл Данилов Samsung


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • 8 из 10 топAndroid устройств– производства Samsunghttp://www.localytics.com/blog/2013/android-has-new-top-device-samsung-maintains-dominance/
  • Decoupled existing technologies and put them in their own libraries, eliminating the “All or nothing” choice, and allowing for expansion in each one.Samsung Mobile SDK support ARM and x86 architecturesTo provide you with a more integrated development environment, Samsung has combined individual packages such as S Pen SDK and Samsung Chord SDK into a single Samsung Mobile SDK. Enjoy our various features and more powerful hardware while creating your applications.Samsung Mobile SDK consists of 10 independent packages; each with their respective features. You can import one or more packages into your application. For more information on each package, click the button below.
  • For the components that have both interface and implementation bundled, they are supported on devices running Android 4.1For the components that separate out the implementation have build it into the framework and require a firmware upgrade that runs Android 4.2ArchitectureSM SDK has a number of separate packages located at the top and bottom of the Android API. The package types are:Type 1: Implemented in the Android API; available for all Samsung devicesType 2: Implemented in the Android Framework; unavailable for some Samsung devices
  • Downloads will now be integrated into Eclipse, similar to how Android SDK Manager is now done.Will also be able to download from portalYou can download Samsung Mobile SDK with Samsung SDK Manager. You can use the Samsung Mobile SDK packages to develop your applications. For more information about individual package contents and about how to add a specific package to your development environment, see the programming guide for that package.For more detailed guidance on how to use the APIs provided by a package, see the sample code for that package.
  • Prior to this SDK release, there was no consistent way to tell if the technology was supported on any given device. Even across Samsung devices. For instance S Pen was only supported on the Note series of devices so if your app ran on a GS3 or GS4 it would fail. The sdk-v1.0.0.jar file contains an interface that’s implemented by every package. Each package tries to initialize itself inside an exception handler. If the call to initialize fails, that technology is not supported on that device. Let’s us support technologies on devices where it makes sense.LIGHTWAY SOLUTION
  • Samsung rolled out Chord SDK v1.0 in April this year, with the upcoming release of the Note III devices, Chord v1.5 will be packed under the Samsung Mobile SDK umbrella.So what is Chord? Chord is a powerful engine for enabling a reliable, peer-to-peer communication channels across connected devices, without the need of a server. Currently, Chord supports 3 different ways to establish the connection: WiFi, Mobile Hotspot or WiFi Direct. Once the devices are connected in a local network, we can divide them into multiple device groups, and Chord can used to manage multiple groups.This is about how Chord can help you hide all the networking details, so for people without networking knowledge, Chord can help to manage the device groups.On top of that, with the APIs provided in Chord, your app can initiate real-time data transfer across the grouped devices. To protect your content, data can be encrypted, and this is a new feature added to v1.5 Use Cases:EducationSince Chord is still new, I want to present some possible use cases to help you understand its capabilities.Chord will be ideal for use cases like classroom education. In a classroom, for example, the teacher can share the teaching material from her device to students’ devices in real-time. Teacher can also divide the students into smaller groups for practice and distribute different quiz questions to each group.Multi-player gamesThis is an example of a multi-player game. It’s a game where four players compete with each other.  They can play the game and share the game status with other players in real-time.Game ControlHere, we have an example of using a tablet as a game display and a phone as a controller.The motion event generated on the phone can be transferred to the tablet in real-time, so as to controls the game accordingly.Proximity based social networkingProximity based social networking is another interesting use case that can be built upon Chord. People in the same venue can exchange photos or messages easily.
  • What is Pen?Pen allows you to develop applications, such as S Note, that use handwritten input. Pen uses a pen, finger or other kinds of virtual pens for input and makes it feel like you are actually writing on a notepad. It also provides editing functions.Pen is based on a plug-in to support future enhancements and supports pen, object run-time, and recognition functions by default. Third parties can add additional features to create a powerful note writing tool.In a normal Android development environment, the addition of the Pen library and the arrangement of view increases the real-time response based on the writing speed and pressure. This makes it feel like you are writing on Samsung devices. You can select, move, group or adjust a picture or text for effective editing.Pen supports the following features: Advanced edit Plug-in S Pen Object Runtime RecognitionAdvanced EditPen uses a drawing engine based on Stroke and offers advanced edit functions such as selection, multiple selection, group/ungroup, move forward/backward, and zoom in/out. Pen also includes an optimized Lasso selection tool. You can develop applications with other approaches.Plug-inIn addition to the Pen default functions, you can develop and add more functions for use in your applications. Pen Plug-in : Various plug-ins for developers, such as brushes, color pens and more. Recognition Plug-in : Extensible recognition of text, formula, polygon and signature. Runtime Object Plug-in : various objects are supported for templates.RecognitionPen offers you a recognition function to convert objects written on the canvas to drawings. For example, you can draw a triangle and select it to have the system recognize it as an object consisting of lines. Alternatively, you can write a formula to convert the image into a digital format.You can use the text recognition function to check handwritten input and highlight the results. Text, shape, formula, and signature recognition engines are provided by default. The plug-in structure supports the addition of third party engines.RestrictionsPen has the following restrictions: Devices with Android 4.0 (Ice Cream Sandwich API level 14) or higher support Pen. Between minimum resolution of 480x800 and maximum resolution of 1600x2580 are supported. Some functions such as writing pressure or hover can be limited if Pen is not used.
  • What is Look?Look offers you specialized widgets for expanded functions for the Android View System. Look supports the following functions: -WritingBuddy -AirButton -SmartClip -PointerIconWritingBuddyWritingBuddy displays an editor to make hand-writing easier with S-Pen. When you bring your S-Pen near the target view, an input editor appears. You can then write on this editor. WritingBuddy recognizes hand writing as user input. This provides a faster input environment than the existing Soft keyboard. You can use this function to enter input on any view layouts and in EditText. For example, users can write text by using S-Pen on a screen such as Dialer/DatePicker.WritingBuddy reads recognized texts, numbers, and handwriting images.AirButtonAirButton is an expanded view for quick access to recent contents or menus. You can use S-Pen to view content, select menus or insert images for quick content access. AirButton shows you information from anywhere and anytime and it can perform additional operations when you bring your S-Pen near the target view and press the side button.AirButton uses S-Pen to show context appropriate contents for your application and to perform appropriate interaction based on user selections. You can configure gravity, direction, and display type for AirButton.SmartClipSmartClip allows you to capture and extract Metadata such as text and URLs and to crop screenshots using S-Pen. When you bring your S-Pen near the target view, press the side button, and select Pen Mode, you can draw on the screen to collect Metadata from the Android View. In addition to simple screen captures, you can also collect information from the contents displayed on the screen and any additional information provided by the application. The information can be converted into text. You can search the clipped contents or send the clipped texts to other applications. You can use the Pinboard application to view or manage clipped contents.Images and texts clipped by S-Pen are extracted from the screen. Internal information is not extracted if the application uses CustomView for screen configuration. The Look API allows you to provide additional information.For example, the URL or Deep Link provided for clipping from the application screen allows easier access to the URL or application.You can add Metatags directly to View or register a callback to add Metadata when the screen is clipped.PointerIconPointerIcon allows you to change it when you place S-Pen on View. For example, you can configure the selected color icon from the drawing application to indicate the current status.RestrictionsLook has the following restrictions:All Look API functions require S-Pen.These functions are only available on devices that support Look
  • Image Filter offers you various types of filters for processing your images and applying various effects. You can apply filters such as Sepia, Pastel, and Cartoon effects.You can use Image Filter to:choose from 33 filter effectsadjust filter levelsadjust the transparencyChoosing a Filter EffectImage Filter offers you 33 filter effects. You can adjust the level of the filter effect for some of these filters.The following table lists the filters with and without level adjustments: Filters with level adjustment, Filters with no level adjustment, Blur, Bright, Cartoonize, Color sketch, Colorize, Dark, Faded color, Mosaic, Pastel sketch, Pen sketch, Pencil color sketch, Pencil pastel sketch, Pencil sketch, Posterize, Sepia, Soft glow , Vivid, Blue wash, Classic, Down light, Fusain, Gray, Magic pen, Negative, Nostalgia, Oil paint, Old photo, Pop art, Retro, Sunshine, Vignette, Vintage, Yellow glowAdjusting Filter LevelsImage Filter offers you the following filter levels for filters with level adjustment:Very SmallSmallMediumLargeVery Large Adjusting TransparencyYou can adjust the level of transparency for an image by entering an Alpha value. The higher the Alpha value is, the less transparent the image. RestrictionsImage Filter has the following restrictions:Devices with Android 4.0 (Ice Cream Sandwich API level 14) or higher support Image Filter.
  • Multi window styles – no changeFreestyle mode (Cascading windows)Dual pane mode (Side-by-side)Separated out from S Pen as a separate jar fileCallback listeners for State changes (zone change, size change, mode change)Enter and exit windowDrag and drop listener removed (now use standard Android feature)
  • Visual View allows you to easily add various rich visual effects to your applicationIt supports more than 85 animation effectsApplications can specify geometry, scene environment parameters like lighting, projection method, rendering properties like blending, anti-aliasing, etc. (Extend what is available in Android Property Animation)Feature list-Based on OpenGL ES 2.0-Derived from the GLSurfaceView class-Visual View provides the following features:--Basic Animation--Key Frame Animation--Transition Animation--Sprite Animation--Animation Set Basic Animations-Animation Types--Rotation--Color--Texture--Scale-Animation Property--setDuration--setInterpolator--setRepeatCount--setOffset--setAutoReverseEnabledA key frame defines the starting and ending point of an object, such as a circle, as well as properties to apply during the animationAt a minimum you must set properties for the beginning (0.0f) and ending point (1.0f)Transition animation is scene-to-scene animation Over 40 transitionsEach frame of a sprite sheet is played in sequenceSupport for a combination of explicit animations to apply. For instance rotation and background color
  • Professional Audio allows you to create virtual instrument applications with Android. You can connect and share audio devices and synchronize low-latency shared devices.Professional Audio improves the environment in which virtual instruments are created by adding high-performance audio processing logic. You can use Professional Audio to create applications without background knowledge in hardware and high-performance drivers. You need not worry about connecting devices between applications. Using the provided modules and a USB MIDI driver, you can create virtual instrument applications with ease.Musical Instrument CreationProfessional Audio provides an API for creating professional instrument applications using an SDK and NDK.You can use the SDK to send MIDI notes, control audio/MIDI ports, access/use added plug-in information, and synchronize virtual instruments.You can use the NDK to create new sound modules and process high-speed audio signals.Professional Audio supports all the JACK Audio Connection Kit functions. A separate low-latency audio environment is required for its use.Plug-insYou can use the Professional Audio plug-ins to improve the framework functions. To create a piano application for example, you can use the piano provided by the synthesizer plug-in to send MIDI notes. You can create applications without expert knowledge in virtual instruments and audio signal processing.The Professional Audio package includes acoustic piano, steel guitar and standard drum kit plug-ins.A wave table synthesizer and a variety of effect plug-ins are available on the support website. PC EmulatorThe Professional Audio package provides a PC Emulator. You can use a variety of environment settings. There are performance limits connected with the simulated environment. The following screen shows the JamSimpleConnection application running on the PC Emulator.RestrictionsProfessional Audio has the following restrictions:Only devices with the Professional Audio Framework support Professional AudioFramework performance depends on device specificationsWhen Professional Audio operates in background mode, it may affect the performance of other applicationsTechnical infomations[ISSUE 3434]: Android Audio latency is too darn highhttps://code.google.com/p/android/issues/detail?id=3434Audio latency is the delay a signal passes through the system, from your app to sound.Professional Audio reduces the latency down to unnoticeable level. Developers writing a musical instrument app, which is supposed to be responsive, but developers can hear a noticeable delay between the time they hit a key and the time the app responds. For karaoke apps, real-time audio could not be achieved on Android platform, when recording with a headset on, user experiences lagging and choppy play, no synchronization between the recording and the music, while at the same time, the iPhone app works flawlessly. How is Professional Audio better than Google’s solution?Musical Instrument CreationAPI at both application and native layers for creating professional instrument applicationsSupport for most functions in the JACK Audio Connection KitJACK is a system for low-latency real-time processing of audio and MIDI signals. It allows multiple applications to be connected to an audio device and enables sharing between applications. You can place the client within the processor or on the JACK server. JACK can also perform diffused processing between networks (inter-network transmission is currently not supported by Professional Audio due to performance issues). JACK is compatible with a variety of operating systems including GNU/Linux, Solaris, FreeBSD, OS X and Windows.Plug-insPlug-ins for piano, guitar, drum etc.Professional Audio provides plug-ins for various musical instruments. You can use the piano provided by the synthesizer plug-in to create applications without expert knowledge in virtual instruments and audio signal processing.Supported platform:Requires Professional Audio Framework installed on device
  • What Is Media Control?Media Control allows you to share videos, music and photos between network devices. You can play media files stored on a network device or web server on another device. You can use playback control functions such as Pause, Resume, Seek and Stop for music and video files. You can use Media Control to: Play media files saved on your device on another device Search for media files on a DLNA media server and play them on another device Play media files saved on a web server on another devicePlaying Media Files from Another DeviceMedia Control allows you to play files saved on your device on another device. Playing Media Files from a DLNA Media ServerMedia Control allows you to search for and play files saved on a DLNA media server on another device.Playing Media Files from a Web ServerMedia Control allows you to play files saved on a web server on another device using URL data transfer. Media Control happens through a relay mode (relays through your device) or a redirection mode (sends directly to another device). RestrictionsMedia Control has the following restrictions: Devices with Android 4.0 (Ice Cream Sandwich API level 14) or higher DLNA-authenticated products
  • What Is Gesture?Gesture allows you to use events generated by hand movements in front of Samsung Smart devices in your application. This supplements device touch or motion events.The Gesture package provides the Hand feature for recognizing hand movements. HandHand uses data from the gesture sensor to the right of the device speaker to recognize hand movements.Hand indicates the direction (up/down/left/right) and angle the hand moved. When your application receives a Hand gesture event, you can play a song in the music player or view images in the gallery. You can move your hand right, left and right to receive calls without touching the screen. You can also move your hand up and down to scroll in the browser or e-mail without touching the screen.RestrictionsGesture has the following restrictions:Android 4.3 (Jelly Bean API level 18) or higher supports Gesture.Hand requires a Samsung Smart device with a gesture sensor. 
  • What Is Motion?Motion allows you to use motion and pedometer features in your Android applications by using motion information from the device.Motion processes the raw data from the sensor s that recognize the motion of your device and indicates the result. Motion provides you with the following features: Call Motion PedometerCall MotionCall Motion recognizes the motion of watching the device and bringing the device up to your ear. This motion results in a Direct Call. When you read a message on your device and bring the device up to your ear, the call motion event is triggered and Direct Call calls the phone number that sent the message.PedometerPedometer provides you with information such as the number of steps the user has taken, the status of current steps, the calories used, and the distance by using various sensors on the device. This function is used in SHealth’sWalkingMate. Pedometer calculates the calories, distance, and speed based on the height and weight of the user. Pedometer does not provide methods to configure the height and weight of the user. You can use the SHealth application to configure your height, weight, and gender. RestrictionsMotion has the following restrictions:Android 4.2 (Jelly Bean API level 17) or higher supports Motion.Call Motion requires a proximity sensor, an acceleration sensor, and a gyro sensor.Pedometer requires an acceleration sensor and a pressure sensor. It cannot recognize the number of up/down steps and the status of up/down steps without the pressure sensor. motion sensor?
  • Кирилл Данилов Samsung

    1. 1. Samsung Mobile SDK 1.0 Данилов Кирилл Старший специалист по руководству проектами мобильных платформ MSCR 11 октября 2013 © 2013
    2. 2. Доля устройств Samsung в экосистеме Android По данным http://opensignal.com/reports/fragmentation-2013/fragmentation-2013.pdf
    3. 3. Компоненты Samsung Mobile SDK Название Описание Пояснение Chord Общий доступ к контенту между несколькими устройствами через локальную сеть без участия сервера Обновлен Pen (S Pen 3.0) Новая архитектура Обновлен Image Filter Фильтры постобработки фото (более 30) Выделен из S Pen Multi Window Разделение экрана и свободно перемещаемое окно приложения Выделен из S Pen Look Улучшенные Pen UI функции, такие как Air Button, Writing Buddy и Smart clip Новый Visual View Раздельные визуальные эффекты, включая 3D анимацию Новый Professional Audio Высокопроизводительный аудио фреймворк с низкой задержкой Новый Gesture Функции распознавания жестов ладоней Новый Motion Функции движения и шагомер Новый Media Control Управление медиа через DLNA Выделен из AllShare Framework
    4. 4. Новая архитектура Интерфейс + Реализация Поддержка Android устройств с API 4.1 и выше Интерфейс Реализация Изменения требуют новой прошивки Android API Фреймворк Samsung Mobile SDK 1.0 Visual View Chord Pen Image Filter Look Multi Window Professional Audio Media Control Gesture Motion Look Multi Window Professional Audio Media Control Gesture Motion
    5. 5. Доступ к SDK • Интегрирован в Eclipse через Samsung SDK Manager или через портал разработчиков Легкое обновление Разрабочик Сервер с репозитарием SDK
    6. 6. Структура библиотек Samsung Mobile SDK • Новые API для проверки доступности и свойств функций
    7. 7. Пакет Chord • • • • • Надежное peer-to-peer соединение между устройствами без необходимости участия сервера Типы соединений: WiFi, Mobile hotspot, WiFi Direct Управление группами устройств в локальной сети Передача данных между группами устройств в реальном времени: текстовые сообщения, бинарные данные или файлы Зашифрованные каналы Control Группа 1 Группа 2 Многопользовательская игра Общий доступ к фото A B C D
    8. 8. Пакет Pen • Pen поддерживает следующие функции: o Расширенное редактирование o Система Plug-in o S Pen объекты o Распознавание
    9. 9. Пакет Look • Look предлагает специализированные виджеты, расширяющие функции системы Android View • Look поддерживает следующие функции: o o o o WritingBuddy AirButton SmartClip PointerIcon
    10. 10. Пакет Image Filter • Фильтры пост-обработки фото и различные эффекты • Более 30 фильтров
    11. 11. Пакет Multi Window • Стили Multi window o Свободный режим (каскад окон) o Режим двойной панели • Запуск нескольких копий одного и того же приложения • Свойства окна расширены o Определяются в файле AndroidManifest.xml o Свойства: fixedSize, fixedRatio, noTitleBar, forceTitleBar, fullscreenOnly, freestyleOnly
    12. 12. Пакет Visual View • Простое добавление различных визуальных эффектов в ваше приложение • Поддерживается более 85 эффектов анимации
    13. 13. Пакет Professional Audio • «[ISSUE 3434]: Android Audio latency is too darn high» • Уменьшает задержки до незаметного уровня • API для создания музыкальных инструментальных приложений o Поддержка всех функций JACK Audio Connection Kit • Plug-in-ы для акустического фортепиано, электрогитары и стандартной барабанной установки • PC-эмулятор
    14. 14. Пакет Media Control • Бесшовное отображение медиа-контента на Smart TV o трансляция (с устройства, из облака) - с другого устройства - DLNA медиа-сервера - из облака
    15. 15. Пакет Gesture • Управление приложением жестами ладони • Возможности жестов o направление (вверх, вниз, влево, вправо) o угол наклона
    16. 16. Пакет Motion • • Call Motion Pedometer – шагомер o o o Количество шагов Калории Дистанция
    17. 17. Спасибо http://developer.samsung.com/samsung-mobile-sdk Поддержка разработчиков: dev.cis@partner.samsung.com © 2013