Display mute icon on Android TV - android-tv

Android Version O
Is there any way to display mute icon when volume level is 0?
I thought it is possible using SystemUi but I was not able to find any point.

Related

How to create Status Bar icons for Android

I have created a Xamarin Forms app and have enabled push notifications. The notifications are appearing just fine, but the icon is always just a grey box on the Android version.
I need to create icons for the app that can be displayed in the status bar. I'm not a graphic designer, and just want to display a very simple icon. I read somewhere that if I specify just the -xxhdpi version that Android will automatically resize all icons for smaller screens, but this doesn't seem to be working.
What is an easy way to create the icons I need for -hdpi, -xhdpi, -xxhdpi resolutions?
You can use AndroidAssetStudio.
Android Asset Studio is a web-based set of tools for generating graphics and other assets for Android applications that helps developers create graphic assets with just a few clicks. Currently available asset generators include:
Launcher icons - the visual representation of your app
Action bar icons - are graphic buttons from top application bar and represent the most important actions
Notification icons - is the icon that the system it’s display in the status bar when a new notification appears
Generic icons - are small / contextual icons used in the body of your app
Simple nine-patches - generate graphics elements for different screen densities
App Theme - create simple and attractive custom action bar style

AutoLayout for iPhone 4s,5,5s,6,6+ xcode how to achieve this?

I am using storyboard for Designing screens i cant able to set autolayout for 3.5inch and 4 inch screen.
You can check WWDC 2014 video 401 - What's New in XCode 6. http://devstreaming.apple.com/videos/wwdc/2014/401xxfkzfrjyb93/401/401_sd_whats_new_in_xcode_6.mov?dl=1
You can select a view from storyboard and then use preview option to see device specific UI and add specific constraints.

how to set iconBadge in BB10 webworks

When we receive Push Notifications in BB10 webworks application i am getting splat icon on MY Application home screen icon but How to set IconBadge with number of unread messages.
WebWorks used to have a blackberry.app.setHomeScreenIcon method, however it was for the older BlackBerry OS 5.0+ platform, not BB10:
https://developer.blackberry.com/html5/apis/gold/blackberry.app.html#.setHomeScreenIcon
Developers used to customize the icon at runtime (e.g. switch the default home-screen icon to one with a splat + number in the top right).
Unfortunately, the capability for an app to change its home screen icon is not available in BlackBerry 10. Nor is there an API to display a custom splat with a number superimposed on it.

How to scan barcode(generated using ZBar SDK) using iPhone simulator? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
zbar sdk not working on iphone simulator by using camera simulator
I want to test my barcode scanner using iPhone Camera.
I'm using ZBar SDK for my barcode scanning.
I have a scan button for this.When I click on Scan button,its showing me the message,"Camera simulation, tap and hold with two finger to select image".When I'm doing this,its showing "No photo" in another view.
Could any one plaese tell me how can I select an barcode image and scan it using simulater?
Thanks.
Do you have any images in the simulator to test? If not, images can be added to the simulators photo library two ways.
Drag and drop an image from Finder into the simulator. It will open in Safari and you can press and hold the image and an action sheet will pop up asking you to save.
Go to Safari directly on the simulator, navigate to the image you want, and save it the same way as in step 1.

Regardin Flex mobile alert

I am creating an application using flex mobile but could not find how to show alerts using flex.
So can anyone please tell how to show the alert in flex mobile , mx alert don't work in this and i could not find an alternative in spark.
Thanks
If you'd like to use the native alert popup (a title & message with 1-2 buttons like Ok|Cancel) I suggest using ANE Native Alert
You can either make your own pop ups, or if you don't want the hassle.
There is a Native Extension called AirAlert that will display the native pop ups. You can find it here:
Air Alert Git Hub Page
It works well on both platforms.

Resources