[android-developers] Heatmaps

2011-06-09 Thread Vinicius Carvalho
Hi, just would like to share a lib that I was building for the past week: http://code.google.com/p/mapex/ There you will find a heatmap implementation, demos of it working with some real data. And also other things like support for a selection box on a map (something that I was in need for a

[android-developers] Re: Android weight question

2011-06-03 Thread Vinicius Carvalho
Chris, thanks for the hint but it did not work as well. I've added the weightsum, but still once the text is bigger than a certain value, things get messy, it's not even like the text is bigger than the textview area. What I have is a scrollview, and inside it I add new layouts as the user

[android-developers] Android weight question

2011-06-02 Thread Vinicius Carvalho
Hi! I'm trying to use weights on my linear layout to lay things on a fixed width without relying on measures (px or dp). Here's my layout: LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=horizontal android:layout_width=match_parent

[android-developers] Permission issues

2011-05-31 Thread Vinicius Carvalho
Hi there! I'm developing an app for Honeycomb using my xoom device. Now I got stuck, I'm using SQLite, and I need to access my db during development, just to check if things are right. But since this is not a rooted device, I can not access my data/data/ com.acme/databases to open my db file.

[android-developers] GLSurfaceView multi touch

2011-05-23 Thread Vinicius Carvalho
Hi there! I have a GLSurfaceView, and I'm trying to listen to multi touch events. Basically I want to use x/y move to rotate the model (just like the touchrotate example) but also the pinch gesture to zoom in/out. The problem is that it seems that the view is not sending all the fingers pressed

[android-developers] Re: GLSurfaceView multi touch

2011-05-23 Thread Vinicius Carvalho
; mPreviousY = y; requestRender(); return true; } At least it's working now :) On May 23, 1:56 pm, Vinicius Carvalho viniciusccarva...@gmail.com wrote: Hi there! I have a GLSurfaceView, and I'm trying to listen to multi touch events. Basically

[android-developers] Heatmap example for android

2011-05-17 Thread Vinicius Carvalho
Hi guys, just sharing a demo of a heatmap I've done: http://blog.furiousbob.com/2011/05/12/heating-up-my-new-xoom-tablet/ An example with real data and Gmaps overlay to come next :) BR -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] getPixels and alpha

2011-05-11 Thread Vinicius Carvalho
Hi there! I'm trying to manipulate a bitmap pixels using android graphics api. The idea is to create a heatmap using a black/white/alpha gradient. Latter I'll change the color of each pixel depending on it's alpha (red to 255 alpha, green to 0 alpha) The problem I'm having is that all the pixels