-2

I am creating an app that requires creating a folder in launcher . I tried to make it but it didn't work .In Android how can i create a folder in system launcher and put apps in it ?

Anirudh Sharma
  • 7,808
  • 13
  • 36
  • 40
guobao
  • 11
  • 2
  • Right click at res folder then go to option new then Folder . Folder will create at inside of res folder it's depends on you where you want to create folder – Amitsharma May 12 '15 at 13:26
  • i mean create a fold in home screen.put the apps icon in the fold.i can lanuch from this – guobao May 12 '15 at 13:36
  • i can not understend what your mean please add some more how you are trying to do it so add some more code here defiantly we will help you ... – Amitsharma May 12 '15 at 13:40
  • There are ~1.5 billion Android devices in use, spanning thousands of device models. Those have hundreds of launcher implementations pre-installed, and there are hundreds (perhaps thousands) more launcher apps available via the Play Store and elsewhere. None of them have to have folders. None of them have to have an API that allow third-party apps to work with folders. – CommonsWare May 12 '15 at 13:45
  • I mean I want make an application ,it can create a folder in home screen ,and this folder can put the other apps in it( the icons) .i can lanuch the app from the icon – guobao May 12 '15 at 13:49

1 Answers1

0

Ah ok, that's easy.

Just make your launcher icon look like a folder with other icons inside.

And when someone launches your app, launch an activity dialog, or a simple transparent activity, that looks like a folder but that is transparent, so it gives the illusion that you're still within the launcher.

It will also be super important how you make your activity transparent to make sure there is no glitch at the beginning of its launch otherwise the illusion won't hold.

Community
  • 1
  • 1
Stephan Branczyk
  • 9,144
  • 1
  • 29
  • 49