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 17 days ago.
Improve this question
I'm trying to integrate a splash screen on android studio. It doesn't work and i don't know where the problem is.
SplashActivity.java
activity_main.xml here
According to your code, you have set SPLASH_TIMOUT= 30000 but this is in milliseconds (or 30 seconds), not 3 seconds as you may expect.
Also if you building a new app, there is a new API for SplashScreen in Android since 12+: https://developer.android.com/develop/ui/views/launch/splash-screen which uses fewer resources of the device and is Activity life-cycle safe.
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 1 year ago.
Improve this question
I want to make a notice board for the user in android studio. Admin makes notice for user and User can able to see the notice. How can I do that? there is two activity one for Admin and the Second for users. there will be a firebase for the data store.
Note: It will be java based project
1)Write Frontend part
2)Write Backend part
3)Don't forget to write the logic to connect to the db with your backend
4)Most importantly, read the rules of SO before posting anything like this
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 1 year ago.
Improve this question
How to make notifications come even when the app is in the background or disabled without firebase. I use SocketIO and code with Java.
Make a background service to listen for any message or events from SocketIO and build a notification after receiving any events.
Refer the docs for making a service
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 am facing problems while starting an activity using “startActivity()” from quicksetting tile service. I want to launch activities from my app as well as other installed apps.
Problem : If the app is open in foreground, it works as expected, while if it isn’t open(in background/recents or not running), then no activity launches.
Expected output : Activity should launch on clicking quick setting tile.
You have to use startActivityAndCollapse from within your TileService to launch an Activity from your quick settings tile.
Otherwise, the restrictions on starting activities from the background will block your activity launch unless your activity is already in the foreground, as you experienced.
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 7 years ago.
Improve this question
I have spent a lot of time looking for a reference for how to apply a genie animation effect like iOS in iOS to an android fragment. But no ideas, where getting I haven't found anything helpful so far. Can anyone tell, me how do I can achieve a genie motion in android. I am welcoming your best Your ideas and suggestions are very welcome.
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 am totally new to android as well as java for android programming.
I have to create an android app which uses wifi to chat with the devices available in the available wifi area.
I wouls like to know how can i implement this?
What are the requirements to create such app?
If it is already created, i would like to download one for the reference purpose.
Kindly help me.
Google already released an example doing just this using the wifi discovery service API that was added into Android 4. You can find it here.