Re: [android-developers] how to ship data into apk as internal storage

2012-08-16 Thread Luiz Fernando Rodrigues
Yes I understand. But how can I ship application data into the apk? There should be a way to do that... 2012/8/16 Mark Murphy > On Thu, Aug 16, 2012 at 12:28 PM, Luiz Fernando Rodrigues > wrote: > > The problem is that I'm going to double my > > memory use since I can&#

Re: [android-developers] Beginner question : "The type of the expression must be an array type but it resolved to double"

2012-08-16 Thread Luiz Fernando Rodrigues
you declared double P_N_*comp* but you are using P_N check out your P_N declaration. Luiz 2012/8/13 jg > Hello, > > Before anything, I would like to mention that I am new to Android > develoment, and java as well... > So please, apologize in advance if I ask a "stupid" question (but there is >

[android-developers] how to ship data into apk as internal storage

2012-08-16 Thread Luiz Fernando Rodrigues
I have a requirement of downloading big data from a server to update my app (5 MB today but it can grow up to 40MB). In most cases it is not a problem because the backend is sending just the diff files to update the application. So this download usually runs fast. The problem occurs in the first t

Re: [android-developers] how to find the position of the imageview

2012-08-14 Thread Luiz Fernando Rodrigues
Take a look in the View documentation. ( http://developer.android.com/reference/android/view/View.html ) getTop(), getLeft(), getRight() and getBottom() should help. Position The geometry of a view is that of a rectangle. A view has a location, expressed as a pair of *left* and *top* coordinates,

Re: [android-developers] Re: Overlay item in ImageView

2012-08-06 Thread Luiz Fernando Rodrigues
on the phone. > > > > On Tuesday, July 24, 2012 2:00:48 PM UTC-5, Luiz Fernando Rodrigues wrote: >> >> Hi, >> >> In my application I need to show a custom popover over an ImageView. >> This tutorial (http://www.techjini.com/blog/**2010/11/23/creating-a-**

Re: [android-developers] Overlay item in ImageView

2012-08-03 Thread Luiz Fernando Rodrigues
Something that allows work with my popover as a component. 2012/7/31 ashok chakravarthy > subclass the ImageView and draw overlay on onDraw and handle the touch > events on onTouch > > On Wed, Jul 25, 2012 at 12:30 AM, Luiz Fernando Rodrigues < > emaild...@gmail.com&

Re: [android-developers] Beginner

2012-07-30 Thread Luiz Fernando Rodrigues
Hi Rithanya, You should try the online documentation first: http://developer.android.com/training/index.html The Busy Coder's Guide to Android Develpment is also a good source. http://commonsware.com/Android/ There several question to this group on this subject. You can search the group for othe

Re: [android-developers] Intent with geo location with no maps API installed

2012-07-27 Thread Luiz Fernando Rodrigues
Thanks Mark, Works like a charm. Luiz 2012/7/27 Mark Murphy > On Fri, Jul 27, 2012 at 2:33 PM, Luiz Fernando Rodrigues > wrote: > > In my application I launch an intent to be opened in the google maps > > aplication. > > > > String uri = "geo:

[android-developers] Intent with geo location with no maps API installed

2012-07-27 Thread Luiz Fernando Rodrigues
Hi group, In my application I launch an intent to be opened in the google maps aplication. String uri = "geo:0,0?q=" + announcement.getAttribute(MapRegion.ANN_GEO) + "(" + announcement.getAttribute(MapRegion.ID) + ")"; Intent intent = new Intent(android.content.Intent.ACTION_VIEW); intent.setDat

Re: [android-developers] Where to start learning Android Development

2012-07-25 Thread Luiz Fernando Rodrigues
I'm using the Busy Coder's Guide to Android. ( http://commonsware.com/ ) I prefer this guide than the online tutorial because it gives several examples and helps you buid a more complex application. Luiz 2012/7/20 brksotn > Hi, > > There are similar questions on the internet but most of the lin

[android-developers] Overlay item in ImageView

2012-07-25 Thread Luiz Fernando Rodrigues
Hi, In my application I need to show a custom popover over an ImageView. This tutorial ( http://www.techjini.com/blog/2010/11/23/creating-a-customized-popover-for-mapview/) teaches how to do it over an MapView. I made an adaptation drawing the popover component in the ImageView since the ItemizedO