[android-developers] obtain rectangle on touch

2011-10-19 Thread JCC
Hello, I don't know much about Android and I would like to know if you people could help. I draw a board using this: private Rect selRect = new Rect(); for (int x = 0; x 20; x++) { if( x%2!=0 ) paint.setColor(Color.CYAN); else paint.setColor(Color.GREEN);

[android-developers] Re: Map point reload

2011-07-25 Thread JCC
:29 am, JCC banr...@gmail.com wrote: Ok thanks, I fixed the data problem but still with the flip issue that it calls the GPS again. =( any suggestion would be much appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Map point reload

2011-07-22 Thread JCC
Ok thanks, I fixed the data problem but still with the flip issue that it calls the GPS again. =( any suggestion would be much appreciated. -- 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] Map point reload

2011-07-20 Thread JCC
Hello, I'm currently working with a map and getting the location of the user and drawing a point on the map, but everytime I flip the device the application triggers the GPS again (I can see the GPS icon on the notification bar) and obtains a new reading. Is there an easy way to prevent this? I

[android-developers] Re: Map point reload

2011-07-20 Thread JCC
I found the way how to know if the provider is on but how to know if its available? for example: I have the flight mode on so the mobile network is not available but the wifi on... therefore when I use something like: boolean

[android-developers] Re: Map point reload

2011-07-20 Thread JCC
Hello, I found how to know if the provider is on but it returns true always even when there is no data availability.. I use flight mode so there is no mobile data (3G) but keep the wifi widget on.. so using something like: boolean

[android-developers] Re: Android and Google Maps

2011-07-19 Thread JCC
Did you added the Internet and GPS permission on the manifest? something like: uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/ On 18 jul, 23:57, kypriakos demet...@ece.neu.edu wrote: Hi, I tried the link below -

[android-developers] Re: Relative layout java

2011-07-12 Thread JCC
The method addRule(int, int) in the type RelativeLayout.LayoutParams is not applicable for the arguments (int, boolean) so cant put true... On 12 jul, 05:37, Mike j.m.roya...@gmail.com wrote: imParams.addRule(CENTER_VERTICAL,true); imParams.addRule(ALIGN_PARENT_RIGHT, true); -- You received

[android-developers] Re: Relative layout java

2011-07-11 Thread JCC
anyone? =( I really need help with this. -- 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] Re: Relative layout java

2011-07-11 Thread JCC
but adding the rules isnt like defining the position of items? because on the second one for example I got to say that it should be below the first textview by saying ageParams.addRule(RelativeLayout.BELOW,viewNombre.getId()); -- You received this message because you are subscribed to the Google

[android-developers] Re: Relative layout java

2011-07-11 Thread JCC
owie... thanks for trying. I will try since the sex image is obtained is variable and I dont know how to send the variable image to the XML =S -- 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] Re: Relative layout java

2011-07-11 Thread JCC
owie... thanks for trying. I will try since the sex image obtained is variable and I dont know how to send the variable image to the XML =S -- 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] Re: Relative layout java

2011-07-11 Thread JCC
owie... thanks for trying. I will try since the sex image obtained is variable and I dont know how to send the variable image to the XML =S -- 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] Relative layout java

2011-07-08 Thread JCC
Hello, I created a relative layout by code in java wich basically is a list on wich each row has 3 elements.. name, age and sex but then i want that age be displayed below name and the image of the gender be displayed on the right of the screen (not imediatly right of the name). the problem is

[android-developers] Re: Youtube Logo

2011-07-01 Thread JCC
@TreKing: Thanks for clarifying this :) On 30 jun, 10:00, TreKing treking...@gmail.com wrote: On Thu, Jun 30, 2011 at 9:43 AM, JCC banr...@gmail.com wrote:  @TreKing may I know why this has nothing to do with this list? http://groups.google.com/group/android-developers/about Discuss

[android-developers] Re: Youtube Logo

2011-06-30 Thread JCC
I actually searched and youtube offers the possibility to use it as press as its mentioned on: http://www.youtube.com/t/press_room_image_files and also on here it mentions something but its about Youtube API: http://code.google.com/apis/youtube/branding.html but im not using Youtube API, i just

[android-developers] Re: Youtube Logo

2011-06-30 Thread JCC
with YouTube, not Android. Thanks, Justin Anderson MagouyaWare Developerhttp://sites.google.com/site/magouyaware On Thu, Jun 30, 2011 at 8:43 AM, JCC banr...@gmail.com wrote: may I know why this has nothing to do with this list? I thought it was a group where to discuss things

[android-developers] Youtube Logo

2011-06-29 Thread JCC
Hello,, I wanted to know if I can use the YouTube logo as part of my app, since there will be a section for videos. I wanted to know if I can use the YouTube logo for the YouTube button or I need to ask for permission for it? Any answer will be much appreciated. -- You received this message

[android-developers] Android SDK Error

2010-11-22 Thread JCC
I'm trying to get the android SDK running on my computer so I can start working on some apps but when I open the android sdk and avd manager and try to download a package, I get the following error: XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml. Error: The