Android Application Development Tutorial - 40 - Getting Data from a different Activity
Top Comments
All Comments (48)
-
Interesting thing: I'm trying this out with the HC SDK and since the HC and ICS emulators suck I'm trying the code on a tablet which is on it's head (meaning 180° away from "normal" orientation) since the cable hooks up on the bottom. The camera UI is heads-down BUT the image is then passed on to the app right-side-up! Weird, right?
-
@ErichLancaster mmm i guess that a intent is something that need to be performed and a provider is about the same but can return data or give access to data in a structered way (provide something back)
-
@90abdelrahman Intent is basically something you want the phone to do like eg listen up i need your camera or emailclient for the most part is going to a other view in your app or asking a third party app from the phone
-
I'm having a massive problem understanding (Intent issue) .. any help ???
-
@ErichLancaster I'm a noob and can't answer for now to first question, but I know this for sure:
- every developer should create apps based on screens (activities) as "interconnectable" as possible
Think of them as Lego pieces: user could choose a different camera app and maybe have in return more "extra" data (eg. recognized objects/people photographed).. or maby can return nothing! (ie. "cancel" button).
- developer.android.com/guide/to
pics/media/camera.html -
I think the Android platform could be made a bit tidier and more consistent cuz it's kinda confusing. Why do we use android.content.Intent for some built-in activities but android.provider for others?
Also the name 'putExtra' and 'getExtra' are vague - what exactly is an extra. Also, a camera is meant to take a picture and return it! Why would you call something it returns 'extra'!
That's my 2 cents.
-
1/5 the way lads. Hang in there.
-
@supersushi269 You're right.. for the most part....
-
If you were a girl FTMP I would marry you <3 <3 XD
what?!... what?!... ...what?!
bohterham 6 months ago 34
*Click* Whaat? *Click* Whaat? *Click* Whaat? :D
f0rc3U 6 months ago in playlist Android Tut 29