Create watchface data option - wear-os

I've searched but I can't seem to find if it's possible to add your own options to a watchface complications.
When you customize a watchface by long-pressing on it, you get this screen:
If you selection Data, you get to choose where on the watchface you want to add the complication:
If you click on a circle, you get a list of things you can add, like the weather or a shortcut to an app:
I was wondering if can add your own options to this list of things to add?

Yes you can create your own Complication Data Provider. It will be displayed in the list if your provider and the complication slot both support the same data type(s). See the official documentation for details on how to.

Related

How to add navigation keys to tview?

In my app, I want to change focus between my lists based on short keys. The demo gif shows it at the bottom, but I can't find any reference to it in the API. I can implement a SetInputCapture function on the Application instance, but it doesn't show the user the keys. Is there any way to do it?

Android Wear OS Complication Provider Types - Multiple Options

Anyone know how to create a layered complication provider menu with multiple types? For example, Google Fit now has a layered menu... you can click on the Google Fit complication provider and you get 3 options, and when you click on an option, there is another menu with more options...
Basically I'd like to have a menu like this:
Battery:
- Long
- Short
- Small Image
Date:
- Long
- Short
- Small Image
Etc...
To achieve something like the Date example above you would have to create three different providers in your app. They would all serve the same data, but each one would only support one specific complication data type.
I don't recommend doing this since the watch face is supposed to be in charge of prioritizing what data types it's best suited to display.

Tableau: Using the "Include Only" and "Exclude" User Filters

I'm using tableau to make a dashboard, and I have run into an issue with the "Include All" and 'Exclude" selections you can make in the mouse-over tooltips. When you mouse over a data point, or select several at once, you can choose either of these options to filter your data down (either by limiting it to those you have selected, or by excluding those you have selected).
I feel like an idiot for not figuring this out (or finding an answer on google), but
How does one turn off the filter after it's been set?
I know it shows up in the filters box, but I am referring specifically to when you have the visualisation opened as either a dashboard or using Tableau Reader. It seems to me that there is no way to actually turn off these filters once you've applied them, except through use of the "undo" button.
Additionally, I would like to be able to apply these filters to more than one sheet; for example, say I have two visualisations on one dashboard - one is a geo-spatial map, and the other is a chart of some kind. If the user selects a few points on the map and clicks "Include Only", it would be very neat if I could get that filter to also apply to the chart on the same screen.
My sincerest apologies if there's a fairly straightforward answer to these questions, but I really couldn't find any info on google and I couldn't figure it out through playing with the software itself.
Cheers,
Ollie
If you want your users to change the filter settings then you need make the filter visible (click on Show filter in the filter section).
If you want to make this change as an admin then you need to go to a worksheet in question and change the filter settings.
Go to Filter and click on Apply to worksheets and choose the worksheets you need.
Or click on a map (worksheet) and choose Use as filter from the dropdown in the top right corner of a worksheet.
I hope this helps.

Xcode Need guidelines on invented draft for photo gallery manager

For this question, I don't require a full explanation of all code, but helping me get insight into the process for achieving this result would be very helpful! Some information sources that will lead me to where I want to be.
Don't hesitate to give your opinion or make suggestions on how you would make it better in case you have better ideas - We just want to jump off the regular photo album system.
In the added screenshot I have added a painted image that makes the purpose clear.
Albums are created by tapping the "+" sign. (This shows a popup window in which the user can tag a bar/event to which the picture applies; the bar/event profile picture will appear on the album cover).
Newly taken pictures should appear in a separate band on the screen. They will float there until the user drags and drops them into an album. Note that the picture is also taken from within the app (using the native camera of the smartphone).
When the user added them to an album that was tagged, they will also be displayed automatically in the gallery of the tagged bar/event profile. (Of course in the app, personal profiles will be available as well).
Which technologies / workflow would you advise me?
What I need to create now is just an empty shell for the app that demonstrates the visual workflow (the data flows are not important at this point).
I have read about some libraries such as three20 or UIImagePicker, I don't know if they are easy to customize towards our needs.
Thanks!
I cannot comment on the likes of Three20 as I have never actually used them.
One method I can suggest, is using a number of scrollviews. Based on your example, you would require 2 individual scrollviews. (For ease lets call them AlbumsSV and PicturesSV).
The AlbumsSV would dynamically load content, based on your backing store. One approach I have used in the past, is to load custom views into a scroll view, as this allows for maximum control, you can specify any requirements as properties of the view (i.e Primary key etc), also you can load a 'preview image' based on the data held in your data store.
Assuming you always want the ability to add new items to be last element added to the AlbumsSV, then you can simply add another custom view to the AlbumsSV after all other items have processed.
PicturesSV would simply load content based upon what is in the users camera roll. Again I would recommend using a custom view, as you can set properties such as FileURL etc on the custom view, this will aid when it comes to dragging items into a specific album.
Hope this helps :)

Why won't my windows form Data repeater Resize?

After searching for a few days, i thought maby someone can help me.
I'm making a Windows form Application. And on one of my views i have a repeater with a label in there. This label is dynamicly sized. But My DataRepeater item won't adjust to the size of my label.
Has anyone a idea how to fix this?
The datarepeater i use is from the visual basic powerpacks.
If any more Infromation is needed to help me, please let me know.
Regards Stephan
It looks like DataRepeater is very limited with regards to resizing. I found this website that it looks like they got it working, but all of the items resize to the same size.
http://social.msdn.microsoft.com/forums/en-US/vbpowerpacks/thread/c93579f2-8b4c-4002-9ce2-152e2dddd10e/
Edit:
This solution is a little bit more complex, but VERY flexible:
You can use a FlowLayoutPanel:
You create an User Control for the item on the list and add a Select Property to the User Control.
You add a list of the User Controls to the FlowLayoutPanel.
When the User Control change size, it automatically adjust everything in the FlowLayoutPanel. (Disable WrapContents to prevent Horizontal Scrolling)
http://msdn.microsoft.com/en-us/library/ms171633.aspx
You can use the following in the UserControl to enable Click on the User Control to select it:
Click event for .Net (Windows Forms) user control
In the form that use the FlowLayoutPanel, you add the Click event, and then apply the Select to only that one User Control.
You can use the SetBoundsControl inside the User Control to set the size of the item.

Resources