Home key and running applications list

henry1311

Member
Licensed User
Longtime User
Hello to all!

I would like to inhibit the button 'Home' or make them do a custom action!
I know that is not possibile.
I have come to compromise to display the menu of running applications

In the manifest file I added, as posts in this forum these lines:

B4X:
AddActivityText("main",
    <intent-filter>
       <action android:name="android.intent.action.MAIN" />
       <category android:name="android.intent.category.HOME" />
      <category android:name="android.intent.category.DEFAULT" />
      <category android:name="android.intent.category.MONKEY"/>
      <category android:name="android.intent.category.LAUNCHER"/>
    </intent-filter>
)

and that's ok, as attached image!

I would like if possible:
1) does not show anything for the list of applications, but take it by default and automatically only 'key lock' (or even more than one application of my choice!)
or
2) not to display the list, the item 'Applications' (applications) that bring back to the default home screen

Hello and thanks to all
Enrico
 

Attachments

  • Image1.jpg
    Image1.jpg
    23.2 KB · Views: 239

henry1311

Member
Licensed User
Longtime User
Erel Thanks and sorry for the lack of clarity!
In the manifest file I added the instructions as the previous post.
In my application by pressing the HOME button I display a list of running applications (see picture)
I would not display the item default 'Applications' (in Italian : 'Applicazioni' !) that recalls the home screen.
Or by pressing the HOME button should always call my application!
Thanks Erel.
Greetings
Enrico Ferretti
 
Upvote 0
Top