Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I wonder how google does it?? When you first power your device on, A introduction to apps and features will be shown in green color when user touches it the element will disappear ! I tried searching google but i don't get exact idea of what that layout / element was? Please regret me if this was a duplicate question.
this is definitely what you are looking for
Holo-themed transparent demo overlays
Are you just trying to do something on the first launch and then never again? Or are you looking for that look and feel? If so, it's probably just images and such layed out. If you want to test the first launch, there's a few ways to do it. One of the easiest is to create an empty file in the shared preferences in your onCreate() method, then check to see if it is there. If it's not there, you do your on first launch action and then create the file afterwards.
Check this out: Determine if android app is the first time used
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed last year.
Improve this question
i want to contribute to a fandom i'm in and also practice my coding, so i wanted to make an app that would let the user keep track of the event stories they've read. but i don't know where to start with this.
i can add extra features like scoring and total stories read later on, but for now i need an idea of where to start. i think i've heard java would work for this? but would that even work on android and ios both??
once i know what programming language to use i need to find something to code this on, as well as how to even hold information in a database. (similar to myanimelist and how it has a database of entries that you can add to your own list.) likely with a login system--but one step at a time.
what are the basics i need to know to start? and where would i build this app? thank you!
If you want a single application that can work on both ios and android then go for Flutter or React Native. For your question regarding where to keep database and how login system works you will need to study at-least one of the systems in some depth.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm making an app like the image below and want to get all running app in the system, currently I use ActivityManager with API>21 and get runningAppProcesses but it just returns only my app in the result list. I try many other ways like: getRunningTasks,... but get the same result. Anyone have a better solution? Thanks so much for helping me!
(Described image here: https://www.howtogeek.com/wp-content/uploads/2016/06/Screenshot_2016-06-07-21-06-00.png)
The methods you mention were deprecated because of privacy concerns.
The only substitute I know of is the UsageStatsManager, which you can query to get events like ACTIVITY_RESUMED (An activity moved to foreground) or ACTIVITY_STOPPED (Activity became invisible).
It requires the PACKAGE_USAGE_STATS
special permission. You can not ask for it, you have to direct the user to the settings using Settings.ACTION_USAGE_ACCESS_SETTINGS.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am trying to build an app in which an ad should be loaded on the page every time the user views the page four times. I am using ionic framework. Thanks in advance.
You need to readout the documentation given by ionic framework.
https://ionicframework.com/docs/api/navigation/NavController/
You can use the combination of ionViewDidEnter and ionViewDidLeave to achieve the goal.
The easiest way to get this result is saving the number of times your activity/page/whatever is seen. Save the number of visualisations, so when this is 4 then show the ad and finally reset the counter to 0. It isn't language specific answer, but a simple/basic programming solution. Apply this whichever your programming language is.
If you click on any view (like button) and opens the activity, then create an int variable count and add a counter to view click to check how many times you open the activity.
If counts are equals to 4 then visible the Ad's, otherwise hide it
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How do you show the user, how to use the app. Is there a tool or something which allows the user to learn how to use it, like a tutorial.
Or what would you do?
By the way, in my app, the user just needs to understand which button needs to be clicked. Basically, he must pick the correct button according to the background color.
To show or introduce your app to the user is called as show casing your app/views(we can say aka tutorial).
You can make your own showcasing animations but there are some libraries for that purpose
ShowCaseView
spotlight(my favourite one)
You can easily implement that by reading some more stuff about showcasing app or views
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm a beginner in android. I learn the basic concepts one at a time. But now i'm trying to make a slightly large project. How should i approach this? Should I make all the activities first or should i make activities along with code? Or should i just continue on with the anything i like?
The first thing you would need to think of is what exactly your app does.Once you have that in mind the next thing your're going to want to do is think of an interface for the app which usually leads to deciding what information needs to be shown when and on which screen.Once you know what needs to be where you can start the actual coding,i suggest 1 activity at a time.
If you want a large project i suggest a to-do app.