Re: [android-developers] User Interface Design Question : Application UI as Overlays

2011-04-20 Thread kiran valsia
I believe fragmentation can be used from Android 3.0 onwards.If currently
the application is running on Android 2.2 , what could be the best way to
manage the complexity in this case?

TIA.

On Mon, Apr 18, 2011 at 12:12 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Mon, Apr 18, 2011 at 12:10 PM, Samuh samuh.va...@gmail.com wrote:
  1. What would be the best way to design the UI for such an app? Should
  we have only one activity and draw everything over it for all the
  flows? This will increase code complexity and Class size.

 I don't think you have a choice but to have a single activity. Use
 fragments for the different tasks to help manage the complexity.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] User Interface Design Question : Application UI as Overlays

2011-04-20 Thread Mark Murphy
On Mon, Apr 18, 2011 at 4:12 PM, kiran valsia kiranval...@gmail.com wrote:
 I believe fragmentation can be used from Android 3.0 onwards.If currently
 the application is running on Android 2.2 , what could be the best way to
 manage the complexity in this case?

Use fragments with the Android Compatibility Library.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] User Interface Design Question : Application UI as Overlays

2011-04-18 Thread Samuh
I am working on an Android application that needs to have a live
visual feed playing in background. All the UI elements need be drawn
atop this Surface. Though the UI is pretty basic it has several flows
and we have divided each flows as Tasks and therefore the application
has several activities.

The problem is we are supposed to show the Live feed continuously but
when we transition between Activities, we run all the logic to setup
and SurfaceView etc. and it kind of causes the screen to go dark
between the switches. We cannot show a loading dialog between
transitions.

Questions:
1. What would be the best way to design the UI for such an app? Should
we have only one activity and draw everything over it for all the
flows? This will increase code complexity and Class size.
2. Is there a way to plug in a Live video feed as a Window
background(assuming all Activities can be drawn in the same Window?)

Please advise.

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] User Interface Design Question : Application UI as Overlays

2011-04-18 Thread Mark Murphy
On Mon, Apr 18, 2011 at 12:10 PM, Samuh samuh.va...@gmail.com wrote:
 1. What would be the best way to design the UI for such an app? Should
 we have only one activity and draw everything over it for all the
 flows? This will increase code complexity and Class size.

I don't think you have a choice but to have a single activity. Use
fragments for the different tasks to help manage the complexity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en