[android-developers] Re: Drag and Drop

2011-02-17 Thread Oded O.
Maybe this will help:
http://code.google.com/p/mobile-anarchy-widgets/wiki/Drag_and_Drop

Regards,
Oded

-- 
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] Re: Share some of my work - Drag&Drop framework

2011-02-15 Thread Oded O.
I'll leave that to your imagination.

I needed this functionality in an app that allows the user to "drag" cameras 
(list of camera names) into "tiles", and upon dropping, the live stream 
begins.

But the sky is the limit :-)

-- 
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] Share some of my work - Drag&Drop framework

2011-02-13 Thread Oded O.
Sorry for that...
I'm coming from the .NET world (5+ years of C# development) where 
CamelCasing is the way to go...
I'm still adjusting, and had no way of knowing that upper-cased namespaces 
can be problematic

BTW, why is this an issue, and on what machines?

-- 
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] Share some of my work - Drag&Drop framework

2011-02-13 Thread Oded O.
Changed to BSD.
Enjoy.

-- 
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] Share some of my work - Drag&Drop framework

2011-02-13 Thread Oded O.
I'm not sure I can change the license type on Google Code after a project is 
created...
But in any case... what type of license do you recommend (considering the 
fact that I want my code to be completely free and open for everyone)

Thanks,

Oded

-- 
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] Share some of my work - Drag&Drop framework

2011-02-13 Thread Oded O.
The code is there
http://code.google.com/p/mobile-anarchy-widgets/source/browse/#svn%2Ftrunk%2FWidgets%2Fsrc%2Fcom%2FMobileAnarchy%2FAndroid%2FWidgets%2FDragAndDrop

It's GNUv3...
I'm not familiar with all the nuances of open source licensing world.
GNUv3 isn't "open" enough?

Oded

-- 
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] Share some of my work - Drag&Drop framework

2011-02-12 Thread Oded O.
Hi,

I've just finished the first iteration on my drag&drop framework I'm 
building.
http://code.google.com/p/mobile-anarchy-widgets/wiki/Drag_and_Drop?ts=1297527301&updated=Drag_and_Drop

You can download the full source code from:
http://code.google.com/p/mobile-anarchy-widgets/

or the compiled apk from:
http://code.google.com/p/mobile-anarchy-widgets/downloads/list

Any feedback is appreciated.

Oded

-- 
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] Re: Will no longer support Android 1.5

2011-01-18 Thread Oded O.
How does the analytics API handle offline scenarios? is it possible to store 
all the interaction of the user offline, and post it in a single bulk 
request to the analytics server?
I know they support bulk submission, but the API states that the entire bulk 
will be registered with the same time stamp (not very useful)

-- 
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: Sliding Drawer question

2011-01-18 Thread Oded O.
You can also see a view I built:
http://code.google.com/p/mobile-anarchy-widgets/wiki/DockPanel

The full source code is available there

Good luck

-- 
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] Re: Will no longer support Android 1.5

2011-01-18 Thread Oded O.
http://developer.android.com/resources/dashboard/platform-versions.html

You can target 1.6 and still enjoy the speed boost of 2.2 if that's the 
version you are running on...

Unless you are using Version-Specific API calls, I would try to target 
the lowest version possible (but not lower than 1.6 :-) )

-- 
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: AnimationSet - Scaling and moving at the same time

2011-01-18 Thread Oded O.
The strange thing is, that I scale the view and set the top-left corner as 
the pivot point of the scale... while the transform (moving) of the views is 
also set-up using the top-left corner as the anchor... so logically, 
we shouldn't have encountered any issue...

How (and where) do I post a new bug?
Can I post a link to this thread over there?

And to conclude... If the animation is not possible at the moment, I'll 
refactor the code and set the transformation between layouts without 
animation.
When I'm done' I'll re-post with a link to download the full code.

Thanks again.

Oded

-- 
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] AnimationSet - Scaling and moving at the same time

2011-01-18 Thread Oded O.
I'm building a new layout engine (and hopefully open-source it once I'm 
done)
I need to scale and move a "tile" from one position on the screen to 
another.

When I only move, the coordinates seems to be OK (the top-left corner of the 
"tile" is positioned exactly where it should be)
http://www.youtube.com/watch?v=MazxKnh83us

When I only scale, the result size of the tile seems to be OK, and the 
tile's new size is exactly what it should be.
http://www.youtube.com/watch?v=bG3j0GdqbTI

But when I combine these two animation to a single AnimationSet, something 
goes wrong, the top-left corner of the tile is off-setted to an unknown 
destination (couldn't figure out the logic behind the new position)
http://www.youtube.com/watch?v=JKn3jaATtww

Has anyone came across this sort of issue?

It's important that the two animation would happen at the same time (I don't 
want to move, and than scale, or vice-versa).

Thanks!

Oded

-- 
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: call .net web service from android

2011-01-18 Thread Oded O.
Change this line:
tv.setText("pppss error occured..."); 

To:
Log.e("pppss error occured...", e)

and examine the logcat panel for the full stack trace.


-- 
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