azzam223 Active Member Licensed User Longtime User Jul 29, 2016 #1 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
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
DonManfred Expert Licensed User Longtime User Jul 29, 2016 #2 azzam223 said: to play installed games in my app Click to expand... 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
azzam223 said: to play installed games in my app Click to expand... 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.
azzam223 Active Member Licensed User Longtime User Jul 29, 2016 #3 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
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
S sorex Expert Licensed User Longtime User Jul 29, 2016 #4 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
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.
azzam223 Active Member Licensed User Longtime User Jul 29, 2016 #5 but how I can know the intent of the app Upvote 0
DonManfred Expert Licensed User Longtime User Jul 29, 2016 #6 azzam223 said: 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 Click to expand... No! You can not include another app in your layout. All you can do is to start the other app. azzam223 said: thanks donmafred but could you please give me the intent to start the game Click to expand... As i already wrote you can get the startingintent with the PACKAGEMANAGER. Upvote 0
azzam223 said: 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 Click to expand... No! You can not include another app in your layout. All you can do is to start the other app. azzam223 said: thanks donmafred but could you please give me the intent to start the game Click to expand... As i already wrote you can get the startingintent with the PACKAGEMANAGER.
azzam223 Active Member Licensed User Longtime User Jul 29, 2016 #7 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
where I can find it when I open PACKAGEMANAGER I did not find field called content are the PACKAGE name is intent name
DonManfred Expert Licensed User Longtime User Jul 29, 2016 #8 https://www.b4x.com/android/help/phone.html#packagemanager_getapplicationintent Upvote 0