Android Question Can I run game installed in my app

azzam223

Active Member
Licensed User
Longtime User
hello is there any way to play installed games in my app

I want choose the add the names of all installed games to list and run it when I Click its name from the list
 
to play installed games in my app
No

You can get all installed apps with packagemanager. But there is no info that this app is a game or not.

You can create a list of games if you know which of the apps is a game.
Fill you listview with them... You can get the starting intent with the packagemanager to get the intent to start the game.
 
Upvote 0
thanks donmafred but could you please give me the intent to start the game

also can I make the game run in frame in my app for example the listview of game is in the bottom and the game run in the above
 
Upvote 0
the intent if different for each app.

it will tell the app to start to it will jump out of your app to launch the other one.
 
Upvote 0
also can I make the game run in frame in my app for example the listview of game is in the bottom and the game run in the above
No! You can not include another app in your layout. All you can do is to start the other app.
thanks donmafred but could you please give me the intent to start the game
As i already wrote you can get the startingintent with the PACKAGEMANAGER.
 
Upvote 0
where I can find it when I open PACKAGEMANAGER I did not find field called content are the PACKAGE name is intent name
 
Upvote 0
Back
Top