launcher which will show only seletec application. restrict other apps - android

I want to make launcher app retreive/store a list of selected application and restrict other applications.and the list of the application should me in viewpager (ex. Horizontal manner).
Thanks in advance.

First of all, this is not a question, but a request.
Now, to help you out - there is around 50 apps which restrict showing apps in any launcher, no reason to make another launcher.. BUT. If you still want to do it, when making the list in the adapter, just remove the ones with packages you want to hide.

Related

Show two activities simultaneously

I split my LinearLayout into two. Is there any possibility to show the other application on the layouts ? When I search with Google it's not possible. I need to know is there any possibility to show the other application view with my application.
no its not possible to displays 2 activities at the same time however,fragments will do the job.
here is a good example for you:
http://examples.javacodegeeks.com/android/core/app/fragment/android-fragments-example/
Is there any possibility to show the other application view with my
application
Only one application can be shown at a time on the screen. It is possible to run multiple applications but impossible to show multiple applications on the screen at the same time.
However, you can create own application to show different functionalities/ widgets on one screen by using Fragments

Android app display on top of another

I'm trying to build an application that would run at the same time as another one, on top of it (hiding only partially the original app), that would display useful information for the user of the main app.
But it seems that 2 activities cannot run at the same time, overlap, etc...
For argument sake, lets say the app would be displaying date & time in a corner of the screen, while playing a specific game.
Anyone got any doc or sample code on how to achieve such a result ?
I'm also interested in how to know which app is currently running in order to decide in my app-on-top to be visible or invisible.
Any help appreciated :)
Thx
Looks like you are in need of Fragments: Fragments
The Android system is designed to be user friendly, and two activities at same time is not, so only one activity is on foreground at once. if you need the other to be running in background make it a Service, if you want to show some data and get back first one use a Dialog, finally if you want both you can either put them in one activity or use Fragments as #Tooroop suggsets.
Its propably too late ... but for others with the same problem:
check out how-to-draw-on-top-of-other-applications
and maybe also this if your app need to be on top on fullscreen apps

Only displaying pre-installed applications on android device

So I am using the Home sample to build an application that creates a second home screen for the user. The idea is to be able to have only one user account yet restrict certain access to chosen applications. I have managed to ensure that all of the applications are invisible in the XML yet I am struggling with how to change this to make certain apps visible.
Is it possible to write a whitelist of accepted apps for instance the preinstalled apps or child friendly apps for children who game using the android device and then put in a Java method to access this white list? This is the only way I can think to make it work.
If anyone knows the correct way can you please help.
Thanks.
Ok so I discovered how to do this.
In the home sample they provide a for loop in the Home.java file that covers all apps and displays them. It take a simple if statement to restrict the apps that can be viewed -
// for loop is here
if (info.activityInfo.applicationInfo.packageName.contains("com.android"))
//then the rest of the home sample is here.
Still very basic but provides me with a good enough UI so that kids cannot see apps I don't want them to.

Android: how to do a checkbox list from installed user apps

i'm very new to android development...
i'm still on leaning phase...
and it seems like a very big forest for me...
there's is something specific i want to make...
i want to create an app that will list(checkbox) all the installed user apps...
and i want each app will appear with the logo on the left side of the app name... and the checkbox will be on right and the list will extend vertically...
so the User can check any app on the list...
but I certainly don't know where to start Y_Y
First read about PackageManager.
http://developer.android.com/reference/android/content/pm/PackageManager.html#getInstalledApplications%28int%29
This will give you a list of installed android apps.

Searching within my own application

So im building an Android application and want to include a search feature to let users use it instead of having to look through the apps many activities and pages. Cant seem to find any info on the best way to do this anywhere else. Thanks in advance
Ok so im building an app that will serve as a game guide for a popular PS3 game. Within the app will be many subjects and topics and i would like to give users the ooption to just use a search bar on the main screen of the app to search throughout the entire application and then provide them with a list of results that are clickable and take them directly to the chosen activity or place in the application. (Say it was an app for making whiskey, i would want them to be able to search on the main page for Jack Daniels instead of hitting buttons that navigate from Mainpage>American Whiskey's>Bourbon>Jack Daniels. )

Categories

Resources