How to implement such a functionality in an Android application which presents to the user initial clicking tutorial (while running application for the first time)? It should look similar to how it is used in that application:
I've searched through forums, but did not find the answer.
I've already seen such a functionality in many other apps and its purpose is to show to the users the functionalities of the most important buttons/layout elements in the main activity of our application.
How to implement such a functionality? And how to indicate that user already completed "clicking tutorial" so it will not show for the next time?
Thank you in advance!
You can take a look at this library here ShowcaseView or here RoboDemo.
(I think "ShowcaseView" library is the one you're looking for)
Hope it helped.
TutorialView might fit your requirements.
Related
Sorry if the title is it's not self explanatory.
I'm trying to make an application that can interact with other ones by adding them a graphic element in their UI.
Just like Google does with Google Translate new function.
You can see a graphic example here: EXAMPLE GIVEN
My questions are:
Is that even possible? (I guess it is)
Where can I start searching about this? I haven't seen anything in Androids Developer documentation. I really don't know how to search info about this.
Thank you all.
If you'd like to add a graphic element to your app, I suggest using the Toolbar widget (it's automatically added with the Basic Activity template). There's also the ActionBar, but I think the toolbar is preferred to use (newer).
You can get a better idea about it here.
https://blog.xamarin.com/android-tips-hello-toolbar-goodbye-action-bar/
http://www.101apps.co.za/index.php/articles/using-toolbars-in-your-apps.html/
As far as the behavior of the icons, you'll have to add your own logic to them. Intents (implicit/explicit) are one way to interact with other things.
I hope this helps push you in the right direction.
I want to add my app's shortcut on phone's lock screen, is it possible in android ? Below screenshot (which is of iPhone) will make it clear.
Without Widget..
Any help will be appreciated, thanks :)
If you want to add a shortcut in the home-screen then that is obviously possible with the API Android provides.
But you are talking about adding a shortcut to the lock-screen, which only a few (very few) Android devices support officially. I have experience with a lot of different Android devices from a lot of different manufacturers but none of them supports adding an app shortcut on the lockscreen.
You might not be willing to accept my answer as may not provide the answer you were looking for, but still I would try to give you two possible solutions :-
1) You need to create your own lockscreen for this and then you obviously have the privilege of adding any shortcut you want there. See if that's a possible solution for you.
2) Or, if know of any Android device that does support this, then you need to contact the device manufacturer for knowing the API.
I am rest assured there is no official API available to put an app shortcut on the lockscreen.
Hope I could help you with my best.
Check out this article at: http://fieldguide.gizmodo.com/put-your-key-apps-on-the-android-lock-screen-for-easy-a-1621573474. Following these steps should get you what you are looking for.
I have android application that use the phone camera.
First the camera opened, I want to try to use "Autofocus" mode and "Macro" mode and choose by code the best focus that I get.
I would like to ask 2 things:
Is there an internal parameter that give the focus score?
Is there a known algorithm that gives the focus score(the algorithm should not be complex, because I do it in real time on 1080p video).
I know a bunch of links is not usually helpful, but I don't have time to go through all the pages. I figure something is better than nothing :)
This is the link for the android.hardware.camera2.params package summary. I wasn't able to find anything like what you are looking for, but that's a good place to start.
Another person had a similar question on the Android Enthusiasts SE site: Can I manually focus the camera on my Android phone?
And last, but not least: There seems to be quite a bit of relevant info at the XDA Developers forum.
Good Luck! I'm a photographer myself, so this seems like an interesting project.
I'm developing a java swing application in which i need to show the map of some area and allow user to put markers on it.
I've goggled a lot on the topic but unfortunately i haven't got any how i can do it.
I came across some ideas like displaying a web browser in swing just like JXBrowser (i can't afford JXBrowser).
And i'm also not sure if this way will allow me adding markers.
Please guide me some proper way to do the trick.
Please do tell me if i can do it offline or online any way suitable.
Have you looked at OpenStreetMap? In particular JOSM
I have just started Android Development, I want to make thread in my application which get the current location after every thirty seconds. Kindly give me some hints or any tutorial link which you think is useful for this problem.
Basically you need to create handler and update the gui every thirty seconds using that handler. For more info how to update the gui click here. For more info how the get the location read this android get location from best provider available
This is a good place to start. Note that if you are new to Android development you will find a lot of good resources at the Android website. Start there and maybe grab a good book on threads in Java, this one is very good book for that.