I'm looking for a framework like the one Android uses when first using the OS. I shows a blue hand and a circle to emphasize on a specific functionality accompanied with a title and some description.
I want to use it the walk the user through the app changes coming with the new version.
Here's a screenshot :
Finally found it. It's called ShowcaseView
--> Link
Related
I am using Flutter's share plugin to share contents from my app.
Share.share("A sample text that is shared")
Upon inspection, I found that the plugin invokes a method 'share'on the MethodChannel 'plugins.flutter.io/share'. This brings up a bottom sheet depending on the platform. What I would like to do is capture the closing of this share sheet. The share sheet can be closed by:
Clicking on the region outside the sheet
Pressing the back button on Android
Clicking one of the options in the sheet which then opens up the respective application
Ideally, the Future of this "share" would return the information which could be used to decide if the user aborted the share (cases 1 and 2) or proceeded along with the share(case 3). I am trying to do this to track the number of times a content is shared from my app.
The Share.share returns a Future<void> which I believe is resolved after the method is invoked on the platform channel.
Is there a way I can capture when the platform's share sheet closes just like we can capture when other widgets like dialogs are popped? Or more specifically,
Is there a way to know if the user actually proceeded with the share or not?
Something like this would have made it much easier:
Share.share("A sample text that is shared").then((bool isAborted) {
// Do something...
});
You have correctly figured out that this is not possible using the share plugin.
Additionally, this is also not possible on the platform level anyway (see an Android answer for reference).
Moreover, the answer to your request would be to create an issue at flutter/flutter because this is a plugin by the Flutter team and GitHub issues are used to track such feature requests. In this case, you want to make sure to include [share] in your issue title. See the flutter/plugins README for reference.
I'm looking into Android APIs in order to understand how to add an overlay widget to Andoid Auto but to no avail.
I'm not willing to add the widget on the main phone's screen but on the car display/head unit: my purpose is to write a simple widget which overlays the android auto bottom bar and adds a very readable clock (since the embedded one is really small!!!).
I've looked into existing tools for this to no avail and can't even find any hint if this is even possible using the APIs to target specifically the second screen used by AndroidAuto.
The reasonable starting point might be the WindowManager with appropriate LayoutParameters but this does not seem to be the right way.
Any hint?
Android Auto is designed to help minimize distraction so drivers can focus on the road. This means you can't do much, unless you have access to the full Android Auto SDK. Currently, only some big companies have access to the official SDK. There's also an unofficial SDK that allows you to make your own custom apps, but since version 3.0 Android Auto no longer supports launching custom apps.
I am building a desktop app using electron (formerly known as node atom, using html javascript and css).
I want to use (or create if there is no choice) a sliding notification bar, like the one on android OS.
I failed to find existing components for this purpose and not sure how to develop this component myself.
I would like to know if such component or something similiar exists or how I could write one for my own use.
Thanks alot in advance for the help
Update 1
I was requested, rightfully, to give more info and be more specific.
I will expand on exactly what I need from this status bar, and why I need it and the context in which I need it for. (maybe there are better options that i'm not aware of).
I am writing a desktop app using nodejs electron (so my UI doesn't follow the common browser ui&ux rules).
The template that I have written so far looks like the following:
as you one can see, im trying to make it look as much as "mobile" I can while following google material design (i'm using angular 2, so angular 1 material is not an option, most of the component i'm using are from polymer elements collection)
The heart of my app is about running some algorithms on the server. I want a central place to show which algorithms are currently running and their status (there cant be more then 5 at once usually), so the only idea I could think of that fits material design and is central enough was to use something that looks like the android notification bar. The problem is that I couldn't find any web component that can achieve that. The status bar which i'm talking about looks like the following (The way it looks change a bit when looking at numerious android version, I don't mind exactly like which version it looks like). It should slide down from the top when clicked or dragged down like in an android mobile phone:
The notifications show whats currently active, I could also use a setting shortcut in it as well (The marked in red areas are the relevant parts). The rest of the options are not relevant.
So that's what I was initially looking for. If someone has a better idea on how to show these running algorithms in a central place, that fits the material design guidelines, I am also open to suggestions :)
How can I add an icon next to the search orb, just as displayed below? I'd like to display a login page when the user clicks on the icon.
You can't, if you want to use the standard widgets offered by the Leanback library, such as BrowseFragment.
There is a way of creating your own version of the BrowseFragment widget, so that it is fully customizable and you can add as many buttons as you like, but it is definitely not easy to do. I've written a series of posts on this subject, which you can find here:
Building for Android TV
There is also a demo project that already gives you a starting point for the custom interface. The code can be found on this GitHub repo (episode_4 is probably what you're looking for).
What I mean to say while you're just getting started with the development and say you add a slider theres a predefined skin for that and you can place it somewhere on the screen, but in some apps there are things like a knob in a place of slider which you can rotate to do the same stuff what the slider does . How do they do that, does it require openGL or something I am not asking for a complete tutorial or something just curious on what stuff goes into building such thing
Mostly, if something is not provided out of the box, you will have to build your own control.
For example, you mention a Knob. That isn't available in the Android SDK. Such a control could prove to be useful.
Here is a tutorial to build such a custom Control: http://go-lambda.blogspot.in/2012/02/rotary-knob-widget-on-android.html
This is an image of the final result from the tutorial linked above:
Here is an example of a custom slider / seek bar: http://permadi.com/blog/2011/11/android-sdk-custom-slider-bar-seekbar/
This should give you a rough idea on how to go about creating your own custom views.
And finally, what I personally find the best possible resource for keeping track of almost all good Custom Views is here: http://www.androidviews.net/
The androidviews.net website has shut down. Android Arsenal is a new website that lists several third party Android libraries.