Change Font style for keyboard in tizen wearable(Web application) - keyboard

I'm using Roboto throughout my screens for tizen wearable. But wearable's system font is getting applied to the Keyboard's letters and alphabets. Do we have any control over the keyboard layout's font style from HTML?

You can developed your own styled keyboard using Tizen Web IME (Input Method Editor).
IME applications differ from other applications in that they do not follow the normal application life-cycle management and they need a mechanism to interact with the client application requesting the IME.
Tizen provides a special architecture to guarantee that Web IME applications work just like native IME applications (however, there are some restrictions due to the capability limitations of the Web applications in general). A Web IME application can be run within the core Input Service Engine process, which is also used to run native IME applications.
You can find Template of IME app in Tizen IDE.
To create an IME application:
To create the Web IME project, launch the Tizen IDE and go to File >
New > Tizen Wearable Web Project > Template > IME Application > Web
IME application.
Enter the project name and click Finish.
After installing tha app you have to change the Text Input from the Settings

Related

How to listen playback/audio state change in UWP app

I am developing on a UWP app which need to listen playback/audio state change. such as: can know when other app start/stop to play a audio.
On Windows, I see there is an API "Windows.Media.Audio.AudioStateMonitor", but it only listen sound level change of app's own audio play.
https://learn.microsoft.com/en-us/uwp/api/windows.media.audio.audiostatemonitor?view=winrt-22621
On Android, there is an API that fully meet my requirement. AudioManager#registerAudioPlaybackCallback()
I want to query, is there any API on Windows that can listen playback/audio state change of whole Windows system. Like Android's AudioManager#registerAudioPlaybackCallback()
UWP runs in a sandbox and has no permission to access other app. UWP does not have related API support for this.
It is possible to use the Windows Core Audio API
IAudioMeterInformation::GetPeakValue to query whether the sound is playing.
Since UWP cannot directly use Win32 API, you need to write a project that uses Win32 API first, then package this project with the UWP project and realize the communication between the two project.
You can use IAudioMeterInformation this code in WPF, then use Windows Application Packaging Project to package WPF and UWP project. You can refer to this blog: UWP with Desktop Extension.

Can I embed a windows store app inside a classic windows application?

I would like to embed a universal windows app into a classic windows application on windows 10. Is this possible?
The short answer is no. However... depending on what you're trying to do, the information below may help you.
If you just want to get the look and feel of a desktop application, you should be aware that Windows 10 apps (unlike Windows 8 apps) run in non-fullscreen mode by default, and can be resized. Desktop apps in Windows 10 have top-right icons (min/max/resize) that look similar to how UWP apps look in the title bar and top-right icons.
If you're creating a UWP app with XAML, you won't be able to embed it in a desktop application. However, if you're building a Windows 10 app using HTML5 and JavaScript, you could repackage it inside a browser control embedded in a desktop application.
If you're creating a game using a 3rd-party tool such as Unity, you can export it as a Windows desktop application just as easily as exporting to a UWP app for Windows 10. Unity can be used for non-game apps as well, so you could export it to a desktop application today, and still have the option of publish a UWP of the same game/app.
If you were thinking of accessing the full Windows SDK from you UWP app, you won't be able to do so, as you will be restricted by the UWP sandbox. But Windows 10 has made many improvements in helping you get access to many advanced features, e.g. accessing certain locations in the file system, so you may be able to get by with all that UWP has to offer.
If you want to avoid the Windows Store, you may sideload your app, as suggested by an earlier comment.
Hope that helps! :)

Stopping scroll in iOS hybrid app

How do I stop scroll in background which has a overlay/pop up on it? I have disabled the scroll and its working fine on windows and android but the background scrolls in iOS.
No. There's no direct way or a Windows Store app to launch other apps. The only way is to launch files or URIs into the default handlers for those file types and protocols.
If this is a side-loaded enterprise app then it can use a brokered Windows Runtime Component to call desktop code, and that desktop code can then call desktop API to launch other apps. See Brokered Windows Runtime Components for side-loaded Windows Store apps

WinJS 3.0 Apps on LG and Samsung Smart TVs

Today i've tried the WinJS 3.0 (Javascript Library from Microsoft) on my LG SmartTV with WebOS and works perfect. But i've a problem:
I' want to use my TV Remote to control de UI. I need to do this from WinJS app? or this is an implementation of the LG HTML/JS SDK?
I' want to do same with Samsung Smart TV.
Please advice
Thanks!
WinJS itself doesn't have any functionality particular to hardware devices. It's a general library that contains UI controls and things like promises and data binding, so anything you'd do specific to SmartTVs would have to come from those manufacturer's SDKs. I would imagine those SDKs would have the ability to raise events in the app that you can then handle to manage the WinJS controls used in the app's UI.

Difference between Launcher and Theme in Android

I'm currently working on launcher based Android app,can any one tell me the difference between launcher vs theme(Which we usually downloaded from App Stores)?
theme is the general look of a phone's UI like the shape, size and color of icons the look of the menu, the background photo or color but the Launcher is an application itself a third-party user interface (UI) programs which take over the duties performed by the factory UI.

Resources