Intents and Activities

by Lovedumplingx » Wed, 11 Mar 2009 03:59:38 GMT


Sponsored Links
 So I'm still working to get the paradigm down.

Activities are related to screens and everything you want a user to
see needs to be part of an activity.  But what's with the Intent?  Are
all intents tied to an activity?

I thought I had read that Intents were more like events.  If that's
the case cool...but I'm really struggling on where Intents fit into
the whole concept.
--~--~---------~--~----~------------~-------~--~----~



Intents and Activities

by Lovedumplingx » Wed, 11 Mar 2009 12:20:23 GMT


 Don't know if this went through last time so I'll post again....


So I'm still working to get the paradigm down.

Activities are related to screens and everything you want a user to
see needs to be part of an activity.  But what's with the Intent?  Are
all intents tied to an activity?

I thought I had read that Intents were more like events.  If that's
the case cool...but I'm really struggling on where Intents fit into
the whole concept.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Intents and Activities

by Lovedumplingx » Wed, 11 Mar 2009 12:20:27 GMT


 Accidentally posted this in the wrong area....


So I'm still working to get the paradigm down.

Activities are related to screens and everything you want a user to
see needs to be part of an activity.  But what's with the Intent?  Are
all intents tied to an activity?

I thought I had read that Intents were more like events.  If that's
the case cool...but I'm really struggling on where Intents fit into
the whole concept.

--~--~---------~--~----~------------~-------~--~----~



Intents and Activities

by Muthu Ramadoss » Wed, 11 Mar 2009 16:04:43 GMT


 Here's my 2 sec tutorial:

Android Component 1:
Activity - the screen.
View - the widgets inside the screen.

Android Component 2:
Service - logic running in background.

Android Component 3:
Content Provider - data storage.

Android Component 4:
Broadcast Receiver - code waiting to be run, triggered by matching intent.

Intent - the trigger to start the above components.


 http://developer.android.com/reference/android/content/Intent.html 


take care,
Muthu Ramadoss.

 http://linkedin.com/in/tellibitz  +91-9840348914
 http://androidrocks.in  - Android Consulting.







--~--~---------~--~----~------------~-------~--~----~



Intents and Activities

by Tseng » Wed, 11 Mar 2009 21:34:25 GMT


 Yea, Intents are kind of events. You can use them to call or
communicate with other Activities or Applications.

And you can add extra data (Intent.putExtra(...)) to send data to
other activities



--~--~---------~--~----~------------~-------~--~----~



Intents and Activities

by Lovedumplingx » Wed, 11 Mar 2009 23:43:53 GMT


 Thanks.  That helps put things in perspective.  I need intents to
start the components and within the components there can be various
other work done etc.




--~--~---------~--~----~------------~-------~--~----~



Intents and Activities

by Muthu Ramadoss » Thu, 12 Mar 2009 19:02:29 GMT


 >> Thanks.  That helps put things in perspective.  I need intents to start
the components and within the components there can be various other work
done etc.


Thats it!

Glad it helped.

take care,
Muthu Ramadoss.

 http://linkedin.com/in/tellibitz  +91-9840348914
 http://androidrocks.in  - Android Consulting.









--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Cannot Install Android Development Kit for Eclipse

Telling us what goes wrong, or what error message you get would help
us help you...

Xav






-- 
Xavier Ducrohet
Android Engineer, Google.

--~--~---------~--~----~------------~-------~--~----~

2. Sell Coogi t-shirts, other brand t-shirts and coogi products $18

Very hot coogi t-shirts.

We also carry other Coogi products, such as Coogi hoodies, coogi
jeans, Coogi shorts, etc.

We are wholesaler for brand name shoes, clothes, accessories in china.
There is large product selection. For our products, pls check our
site: www.iseeshoe.com. They are of top quality but very favorable
price.

We carry many styles of urban and designer t-shirts. Such as: Ed
hardy, Christan Audigier, Smet, Affliction, Evisu, BBC(Billionaire
Boys Club), Bape(A Bathing Ape), Coogi, artful dodger, Gina Green
Global, D&G(Dolce & Gabbana), G-Star, Paul smith, Lacoste, Diesel,
Armani, A&F(Abercrombie & Fitch), RALPH LAUREN, crown holder, sinful,
blac label, etc.

If you are interested in our products or any concerns, you can:
1. Require price from us: If you are from USA, Canada or EU countries,
we have price list ready for you. But ita??s only for your reference.
If you need specific price for each item, pls show us the id number,
quantity you will order.
If you are from other countries, pls show us your selection(product
catories or id number, quantity, shipment country.)
2. Order sample to check quality first. If the quality meet your
requirement, you can order more. But if you order bulk, you will get
much more favorable price than sample price.

We are ready to provide you good service and wish to be your reliable
business partner. Pls take action now.

please kindly visite our website: http://www.ccshoe.com
msn: ccshoe2...@hotmail.com
email: wcl020...@gmail.com

--~--~---------~--~----~------------~-------~--~----~

3. How to browse deeper into /data/data/package/app_<somename>/<somedir>

4. Start a service from Launcher

5. Touch Sensitivity With HTC Dream 1 Device Lacking

6. Auto launch Service

7. Changing background color on a selected listview item