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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -