"What if? Why not? Challenge the Convention! Let's do some incredible things!" More Quotes
Home
About/Contact
Twitter
Aspire/J2EE
Github
Pro Android 4
Our Android Books
Lookup Meaning
look up
more ..
Stuff I used to do
java.net Blog
At O'Reilly
Articles
Humanities
Humanities Current
Humanities 2007
Telugu related
Shells
Books
Music
Letters
Recipes
Jax Restaurants
Java
J2SE/J2EE/JSP
Portlets
Research
OSCON 2004
Download OSCON 2004 Presentation
OSCON 2003
Magazines
Dotnet
FTP
Industries
Supply Chain
Health
25-Nov-13
ADO: Activity Dependent Object implementation
22-Oct-13
Android Configuration Changes, Restart Activities, Weak References
28-Nov-13
Condensed or otherwise, Some Fragment Sample code
13-Nov-13
Config changes research 2
31-Oct-12
DialogFragment
8-Nov-11
fragment animations
15-Feb-14
Here is some code to monitor activity life cycle
16-Nov-13
How to use a progress bar from an asynctask
I am not entirely happy how objects, especially worker objects, that are dependent on an activity needs to behave and the framework that is available for them to detect the activity availability.
Yes #Android #Fragments are good. yes #AndroidFragments are helpful. May be fragments will solve all of it. Even with fragments I believe there is a case to be made for something called "Activity Dependent Objects" or ADOs in Android.
These are some notes from my thought process here. Mainly as a reminders to myself so that when it is time for me to aggregate them into a framework I would have remembered them.
As I have worked with this idea in the last few months, I think it is mildly helpful. For me it clarified the lifecycle of fragments and activities really well.
The early illustrations below are mainly my brain gibberish and they coalesce more as you scroll down. Also the key conclusions are towards the end. If "Activity Dependent Objects" intrigues you read on.
1-Feb-14
They are both used to offload work from the main thread. All components in Android run on the main thread. the UI runs on the main thread. the broadcast receivers run on the main thread. Android Services run on the main thread. So it is really useful to have some facility that can offload work from the main thread.
In the #AndroidSDK both #AsyncTask and #IntentService can do this work. Are there any guidelines as to which is appropriate when?
21-Aug-13
Retaining fragments across configuration changes
4-Nov-13
Seeking a better pattern for constructing inherited fragments
2-Nov-13
Find here early research on Android fragments.
1-Nov-13
Some notes on android dialogs
It is not trivial to create an asynctask and monitor its progress on an activity's progress dialog.
The techniques you need to implement well include fragment dialogs, retained fragments, non-cancellable dialogs, or retained objects, that also can clean themselves up as various asynchronous events take place in the system.
With out a proper set of test cases it is very easy to miss the expected behavior.
Here is a list of test cases that I can think of in my limited research on this item.
30-Nov-13
This topic covers the nuances of AsyncTask and progress dialogs in android. This is based on notes taken for ProAndroid 3 and 4 books.
27-Sep-13
Understanding Fragments through Key Questions
Back to..
More Notes on Android
APIs
Fragment
FragmentManager
FragmentTransaction
ProgressBar
ProgressDialog
Guides
Fragments
UI with fragments
Dialogs
Dialog Design
Pickers
Showing Progress
Expert Voice
Gosling
Romain Guy
Chet Haase
4.0/ICS changes
Highlevel changes
API changes
Known issues
4.0 Users Guide??
Android SDK Essentials
Devices
4.0 user guide
3.0 user guide
2.3 user guide
2.2 user guide
2.3 Release Notes
1. home page
2. Guide
2.1 Articles
3. api
4. manifest
4.1 tasks
5. Samples
6. Blogs
7. features
9. source
9.1 git source
11. Google IO
12. Codex
13. Git
14. Java notes
15. tools
Samples
1. Projects for 2.0 book
2. Code
3. Projects for 3.0
5. Android 1.0
Page Menu
Print
Sort by Date
Sort by Name
Titles
> Summaries
Global Menu
My Web Logs
My Library
My Home
Other libraries
Author Content
data format