app inventor - How to get the android app detail like package name and others -
i working mit app inventor , activity starter
component.
i have know app class, package detail , others, how can information app?
moreover want send sms using activity starter
icq messenger specific contact. how can that?
for app inventor explained in documentation: using activity starter
discovering how set activitystarter properties
if want start app , you don't have source code or documentation, might still able figure out package name , class name (and intent) launching app , inspecting android system log. example, if use youtube application play video, you'll see in log:
i/activitymanager( 86): starting activity: intent { act=android.intent.action.view dat=vnd.youtube:napk9yccbfc cmp=com.google.android.youtube/.playeractivity }
if can find "cmp=" string, activitypackage part before slash, e.g., com.google.android.youtube. activityclass is entire "cmp=" part, without slash character, e.g., com.google.android.youtube.playeractivity. there may in general "dat=" information should specify datauri property.
how use logcat
i use eclipse , logcat there, if have installed app inventor software (see http://appinventor.mit.edu/explore/ai2/setup-emulator.html), have need use logcat...
- connect device using usb computer in file manger
- go app inventor directory, c:\program files\app inventor or similar
- press shift , right mouse click subdirectory commands-for-appinventor context menu
- select "open command window here" , command window of subdirectory
- enter adb logcat , logcat start running
Comments
Post a Comment