[android-developers] Re: Announcement: DynaDroid - an open source micro-framework for Android

2010-12-06 Thread Brian Knorr
This post is in reply to the thread "DynaDroid - an open source micro-
framework for Android" found here:

http://www.google.com/url?url=http://groups.google.com/g/ac47fb6d/t/27cdd6c5c3f3b0fc/d/e396a0e909a6c078%3Fq%3Ddynadroid%23e396a0e909a6c078&ei=8iX1TP2nONLTlQfwqsmuCw&sa=t&ct=res&cd=1&source=groups&usg=AFQjCNG2ijPrh45wt5h7a_H1ifGb8d9VwQ

I tried several times to reply over a few months, but the moderators
never approved it.  Here it goes...

Thanks for your sharing your concerns about DynaDroid...they are
definitely warranted...hopefully our answers will shed some light on
things...

- The prompt when exiting and killing the process was a requirement by
our business and we can definitely make that configurable so it's easy
to turn off/on.  Thanks for bringing this up.


DynaDroid is optimized for screen based applications that don't care
about sharing internal screens (or activities) with other apps.  It's
actually a really simple framework that just manages the screen stack
and proxies everything you get on an Activity to the top screen.  This
allows us to have built-in screen analytics and orientation control at
the screen level, and to pass data around like normal Java.  And the
conventions allow you to remove a tremendous amount of wiring and
plumbing.  The way you handle restoring state hasn't changed...and in
fact we are working on a convention to make this even easier.

So all in all with DynaDroid you get a very DRY framework that speeds
up the creation and maintenance of your Android app.  Why should every
developer have to re-invent the niceties you expect to have in screen
based applications?  This is why we opened up DynaDroid to other
developers..so they don't have to.

Best,

Brian

http://www.starterstep.com

-- 
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] Re: Announcement: DynaDroid - an open source micro-framework for Android

2010-04-27 Thread Hugo Visser
Thanks for sharing. I've looked briefly at your code and I'm a bit
worried about how un-android like it is. For example:

- Prompting the user when the app is "exiting": normally a user
familiar with Android app will know that the back button will take
them back to the previous activity
- Killing your process onDestroy...why?
- Managing views in one activity: I understand the code over
configuration thought, but I don't think this will cover all cases
that would be covered if a screen would be a separate activity. What
about restoring state when your app was in the background and it got
killed by the OS? Why manage the view navigation at all if you can let
the OS do it for you?

You seem to be managing other stuff that Android will already manage
for you, and I'm not sure if it's worth the trouble and the potential
bugs.

I hope this doesn't sound too harsh or anything, I just wanted to let
you and potential users of your framework the concerns I mentioned.

Hugo

On Apr 25, 2:28 am, Brian Knorr  wrote:
> Hello all,
>
> We developed the popular mobile travel application TripCase 
> (http://www.tripcase.com) natively for the iphone, backberry, winmo, and
> recently Android.  We really like the Android framework compared to
> the others, but found some of it's concepts like Activities to be very
> cumbersome when dealing with screen based applications like ours.  We
> have many forms and workflows, lots of viewable and editable data, and
> we make many calls to our back-end Rails server.  In order to
> streamline our development efforts on Android we created a small
> convention-based micro-framework which we are calling DynaDroid and
> would like to open it up to the Android community for use.
>
> http://code.google.com/p/dynadroid/
>
> Here are some of the features that you get with DynaDroid:
>
>     * The entire micro-framework is housed within a singe Activity, so
> sharing data between screens is finally easy again.
>     * Code by convention and all your xml layouts and menus are
> dynamically available.
>     * Screen management for pushing, popping, and swapping screens
> (all with transition animations).
>     * Screen orientation (landscape, portrait) can be controlled on a
> screen by screen basis.
>     * Error reporting support built-in, so if your app crashes a
> report is sent to you.
>
> And there is more to come:
>
>     * More dynamic coding conventions - let's get rid of all those if/
> else and case statements!
>     * Built-in screen analytics for tracking user interaction
>     * Simplified device to server communication with xml/json parsing
> and automatic error handling
>     * Extensions to Android UI components without all the plumbing
>     * Easier to use api for interacting with device capabilities
> (camera, gps, phone, etc..)
>
> We would love your feedback on the micro-framework...so please let us
> know what you would like in the future.  And if you have any questions
> or issues our Google group is located here:
>
> http://groups.google.com/group/dynadroid
>
> Remember DynaDroid is already being used in the production Android
> application TripCase, so it's been thoroughly tested and is ready for
> prime-time.
>
> Enjoy!
>
> Brian Knorrhttp://www.starterstep.com
>
> --
> 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 
> athttp://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


[android-developers] Re: Announcement: DynaDroid - an open source micro-framework for Android

2010-04-27 Thread MB
Thanks a lot for sharing this.

What is the minimum SDK version supported by the framework? Does it
support API level 3 (Android 1.5)?

On Apr 24, 5:28 pm, Brian Knorr  wrote:
> Hello all,
>
> We developed the popular mobile travel application TripCase 
> (http://www.tripcase.com) natively for the iphone, backberry, winmo, and
> recently Android.  We really like the Android framework compared to
> the others, but found some of it's concepts like Activities to be very
> cumbersome when dealing with screen based applications like ours.  We
> have many forms and workflows, lots of viewable and editable data, and
> we make many calls to our back-end Rails server.  In order to
> streamline our development efforts on Android we created a small
> convention-based micro-framework which we are calling DynaDroid and
> would like to open it up to the Android community for use.
>
> http://code.google.com/p/dynadroid/
>
> Here are some of the features that you get with DynaDroid:
>
>     * The entire micro-framework is housed within a singe Activity, so
> sharing data between screens is finally easy again.
>     * Code by convention and all your xml layouts and menus are
> dynamically available.
>     * Screen management for pushing, popping, and swapping screens
> (all with transition animations).
>     * Screen orientation (landscape, portrait) can be controlled on a
> screen by screen basis.
>     * Error reporting support built-in, so if your app crashes a
> report is sent to you.
>
> And there is more to come:
>
>     * More dynamic coding conventions - let's get rid of all those if/
> else and case statements!
>     * Built-in screen analytics for tracking user interaction
>     * Simplified device to server communication with xml/json parsing
> and automatic error handling
>     * Extensions to Android UI components without all the plumbing
>     * Easier to use api for interacting with device capabilities
> (camera, gps, phone, etc..)
>
> We would love your feedback on the micro-framework...so please let us
> know what you would like in the future.  And if you have any questions
> or issues our Google group is located here:
>
> http://groups.google.com/group/dynadroid
>
> Remember DynaDroid is already being used in the production Android
> application TripCase, so it's been thoroughly tested and is ready for
> prime-time.
>
> Enjoy!
>
> Brian Knorrhttp://www.starterstep.com
>
> --
> 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 
> athttp://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