android - Intents and their parameters -
it seems various tutorials ive seen people jump 1 activity calling intents activity working on. ex:intent(this, anotheractivity.class)
sometimes see people using class going parameter
ex: intent (android.content.blahblahblah)
whats difference in functionality? second made default classes?
help appreciated
there 2 "types" of intents. 1 called , explicit intent in tell android specific class trying reach (i.e. myclass.class). other case uses android's filtering system give best "match" class targeting. when call new intent(string action)
specifying action match intentfilter
. if app shares intentfilter
other app, dialog pop user can select app he/she wants use.
Comments
Post a Comment