[android-developers] Nexus 9 Android 5.0 - Mediacodec Problem

2015-08-14 Thread pedr0
Hi all, I am using the mediacodec API to decode an AVC buffer using a Nexus 9 device. The first time I call the dequeueOutputBuffer() I am getting the deprecated value INFO_OUTPUT_BUFFERS_CHANGED http://developer.android.com/reference/android/media/MediaCodec.html#INFO_OUTPUT_BUFFERS_CHANGED,

[android-developers] ADB server on a different machine

2015-08-04 Thread pedr0
Hi all, Would it be possible to ask the adb client to connect to a different server than the one running on localhost ? Googling the problem I have bumped into the variable ANDROID_ADB_SERVER_PORT, is there a ANDROID_ADB_SERVER_ADDRESS or something similar ? Where can I find the definiton of

Re: [android-developers] Manifest android:process field

2015-08-04 Thread pedr0
the traces and debug the issue.* Ummm. why in the world are you doing this? You should NEVER need to call System.exit() in an Android app. That is the sign of a poorly designed app. On Tue, Aug 4, 2015 at 4:12 AM pedr0 pulsar...@gmail.com javascript: wrote: Hi all, I am using such field

[android-developers] Manifest android:process field

2015-08-04 Thread pedr0
Hi all, I am using such field in the AndroidManifest file to unsure that an activity it's started as a separate process each time, I am using it in this way : activity android:process=:testprocess ... / Following the Android documentation the colon : should mean the activity will be

[android-developers] atal error: android/native_activity.h: No such file or directory

2015-02-02 Thread pedr0
Hi, I am starting developing with the NDK I am struggling with the use of the native_activity interface use, I know I will need to make sure I will not block my thread and that android_native_app_glue.h would be better for that but I would like start from that interface as a starting point of

[android-developers] android {create,update} project

2014-12-17 Thread pedr0
Hi everyone, I am working using the android android update project which, if I am not mistaking, creates the build.xml file which actually builds my project, as a part of the build process I do need to call another script before let ant compiling, this script copies a couple of .so file

Re: [android-developers] android {create,update} project

2014-12-17 Thread pedr0
, Dec 17, 2014 at 12:20 PM, pedr0 pulsar...@gmail.com javascript: wrote: Hi everyone, I am working using the android android update project which, if I am not mistaking, creates the build.xml file which actually builds my project, as a part of the build process I do need to call

Re: [android-developers] android {create,update} project

2014-12-17 Thread pedr0
I have got my trick, I am calling the target which should depend on me using antcall, so: ant custom_debug { .. do my stuff ..} antcall target=debug :-) On Wednesday, December 17, 2014 3:38:18 PM UTC, pedr0 wrote: Hi thanks, I think it is a good starting point nevertheless that helps me

[android-developers] Tradefed

2014-11-06 Thread pedr0
Hello everyone, I am following the instructions for tradefed https://source.android.com/devices/tech/test_infra/tradefed/full_example.html But I did not manage to get working any tests in the source tree, let consider the last one I have tried (ImageProcessingTest.java), my helloworld.xml is

[android-developers] Run custom android without rooting device

2014-10-27 Thread pedr0
Hello everyone, I would like compile and run on a real device my custom Android OS without root it, would that be possible in some way ? Can I use the bootloader to fetch an image from USB/network and boot that ? I have the feeling this is not possible at all but I am asking to a

[android-developers] finish() does not dismiss AlertDialogs

2014-09-30 Thread pedr0
Hi all, I am developing an activity which generate an AlertDialog and attach to it an onClickListener which calls the finish() method, I am experiencing a strange issue which result is a kind of stalemate: pressing the *Ok* button finish() gets called and I can see the onDestroy() being

[android-developers] Bluetooth devices connected list - getConnectedDevices()

2014-09-19 Thread pedr0
I am developing an application which runs on a API 18 device. This snippet of code gives me back a empty list : public static boolean isBTMouseAttached(Context context)

[android-developers] Re: Nexus 5 + bluetooth keyboard Ctrl + Alt + FN + Delete = reboot

2014-09-17 Thread pedr0
? Il giorno martedì 16 settembre 2014 16:46:20 UTC+1, pedr0 ha scritto: Hello, I am working with a Nexus 5 with installed the Android 4.4.4 and I've noticed a reboot when the sequence Ctrl + Alt + FN + Delete is pressed, I am using a Logitech Ultrathin Folio BT keyboard, I was wondering

Re: [android-developers] Re: Nexus 5 + bluetooth keyboard Ctrl + Alt + FN + Delete = reboot

2014-09-17 Thread pedr0
for a display manager On Wed, Sep 17, 2014 at 2:06 AM, pedr0 pulsar...@gmail.com javascript: wrote: Well ... I am figuring out other strange stuff like: Ctrl + Alt + Back = applications close I am trying to Google for a list of keys sequences - expected results but I am getting

[android-developers] Nexus 5 + bluetooth keyboard Ctrl + Alt + FN + Delete = reboot

2014-09-16 Thread pedr0
Hello, I am working with a Nexus 5 with installed the Android 4.4.4 and I've noticed a reboot when the sequence Ctrl + Alt + FN + Delete is pressed, I am using a Logitech Ultrathin Folio BT keyboard, I was wondering if such behaviour is the wanted behaviour and if, from an application I am

[android-developers] Compiler Issue ?

2014-09-03 Thread pedr0
Hello everyone, I am getting a real strange behaviour with this piece of code private boolean isDisplayingWhole() { if (top != 0 || left != 0) return false; if (width() m_Size.width) return false; if (height()

[android-developers] Re: ANDROID IMAGE TRANSMISSION IN A LOOP CONTINUOUSLY

2011-04-15 Thread pedr0
Maybe you need a more basic tutorial, but you need: 1) Basic Layout and View tutorial 2) ImageView scaling and translate. This is a very good tutorial for gesture handling and cover some of prev topic

[android-developers] EditText in Activity show keyboard immediatly

2011-04-11 Thread pedr0
Hi at all, I have an activity with one EditText in layout, when Activity is showed immediatly edittext is focused and keyboard is showed, how avoid it? -- undefined -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: EditText in Activity show keyboard immediatly

2011-04-11 Thread pedr0
How do that? On 11 Apr, 11:05, luiX_ lui...@gmail.com wrote: Have you tried to manually set the initial focus to any other element in the activity? El 11/04/2011 10:59, pedr0 pulsarpie...@gmail.com escribió: Hi at all, I have an activity with one EditText in layout, when Activity

[android-developers] Re: EditText in Activity show keyboard immediatly

2011-04-11 Thread pedr0
I solved using android:windowSoftInputMode=stateHidden Tag in manifest file for my activity. Thanks! On 11 Apr, 11:12, tremendoustur...@gmail.com wrote: You can suppress the keyboard show using InputMethodManager in   onFocusChanged listener. On Apr 11, 2011 4:59pm, pedr0 pulsarpie

[android-developers] Inflate alloc a new View or reuse it

2011-04-01 Thread pedr0
a single image is downloaded and all photo have the same image (URL are not the same). This is the right way ? Inflate a NEW view for each element create a NEW VIEW OBJECT for each iteration or them are the same object ? What's wrong? Thanks a lot in advance. pedr0 -- undefined -- You

[android-developers] Re: Inflate alloc a new View or reuse it

2011-04-01 Thread pedr0
ImageViewURL(commento_foto,item.getAnteprimaURL() twice for each commento item. Doesn't seem right to me. -- Kostya 01.04.2011 11:49, pedr0 пишет: Hi, I am a little bit confused about this piece of code : for(int i = 0; i  poi.getCommenti().size();i++){                    item

[android-developers] Re: Inflate alloc a new View or reuse it

2011-04-01 Thread pedr0
Yes it works! On 1 Apr, 10:47, Kostya Vasilyev kmans...@gmail.com wrote: So, is it working now? 01.04.2011 12:28 пользователь pedr0 pulsarpie...@gmail.com написал: I am so sorry for the mistake, problem happen during THIS PIECE OF CODE for(int i = 0; i poi.getCommenti().size();i

[android-developers] Re: Memory Allocation

2011-03-16 Thread pedr0
You could store in an XML array file and inflate it each time spinner is visible. Like this: Spinner spinner = (Spinner) findViewById(R.id.spinner); ArrayAdapterCharSequence adapter = ArrayAdapter.createFromResource( this, R.array.planets_array, android.R.layout.simple_spinner_item);

[android-developers] Re: Memory Allocation

2011-03-16 Thread pedr0
as that Thanks again On Mar 16, 2011, at 4:53 AM, pedr0 wrote: You could store in an XML array file and inflate it each time spinner is visible. Like this: Spinner spinner = (Spinner) findViewById(R.id.spinner); ArrayAdapterCharSequence adapter

[android-developers] Compilation error using android SDK 2.0 (Camera Preview)

2011-03-11 Thread pedr0
could suggests me the right way for use the camera on Android 2.x? You suggest me to use only the Android 2.3 ? Thanks a lot. pedr0 -- 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

[android-developers] Re: WSDL Classes generation

2011-02-23 Thread pedr0
http://cxf.apache.org/docs/index.html is a framework which could help you to generate Java classes code starting by an XML WSDL file. I don't know if it is usable in on android app. Good Luck! On 18 Feb, 18:22, Pedro Linhol plin...@gmail.com wrote: Is there any tool that generates java

[android-developers] BaseAdapter ListView and SectionIndexer

2011-02-08 Thread pedr0
) are displayed in the bottom center of the screen, are displayed at the left top corner and drew with the color white: can I customize the position of the letter box? Thanks in advance. pedr0 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Render a PDF in a View

2011-02-01 Thread pedr0
Hi at all, anyone knows how, if it is possibile, to draw an PDF in a View ? PDF file could be an local file or a file downloaded over internet. I searched over internet about this question but I have not an detailed solution of this problem or a good example. Thanks in advance. -- You

[android-developers] Re: viewgroup and view

2011-02-01 Thread pedr0
What are RectView and OvalView ? Are you own View ? On 1 Feb, 14:41, blackbelt emanuel...@gmail.com wrote: Hello there, I ve the following scenario. I ve a viewgroup and two views (one draws a rectshape, an ovalshape the other). The viewgroup and the two views implements the

[android-developers] Re: Render a PDF in a View

2011-02-01 Thread pedr0
But PDF reader exists for Android.. On 1 Feb, 16:29, Mark Murphy mmur...@commonsware.com wrote: On Tue, Feb 1, 2011 at 10:26 AM, pedr0 pulsarpie...@gmail.com wrote: anyone knows how, if it is possibile, to draw an PDF in a View ? There is nothing in the Android SDK that supports PDFs

[android-developers] Re: Render a PDF in a View

2011-02-01 Thread pedr0
Could you give me an open source library name or web link wich I can use, I would like read some documentation about it. I prefer use a library : - ) Thanks a lot. On 1 Feb, 16:38, Alessandro Pellizzari a...@amiran.it wrote: Il Tue, 01 Feb 2011 07:33:23 -0800, pedr0 ha scritto: But PDF

[android-developers] Re: Render a PDF in a View

2011-02-01 Thread pedr0
Thanks a lot Alessandro. Have a nice day. On 1 Feb, 17:06, Alessandro Pellizzari a...@amiran.it wrote: Il Tue, 01 Feb 2011 07:56:43 -0800, pedr0 ha scritto: Could you give me an open source library name or web link wich I can use, I would like read some documentation about it. I think

[android-developers] onDetachedFromWindow issues

2011-01-24 Thread pedr0
Hi at all, I have an issues with an GLSurfaceView View; when I start my activity the GLSurfaceView is invisible but when I press the back button I meet this exception: java.lang.NullPointerException E/AndroidRuntime(15931):at

[android-developers] openGLES different behavior on different devices

2011-01-20 Thread pedr0
configured the checkError flag in OpenGLViewRender, but I cannot see the OpenGL call which cause this message. Thanks a lot in advance. pedr0 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Pdf shows with video and other content

2011-01-19 Thread pedr0
Hi at all, I want write an application which shows an PDF with some other content on it, like Video and image. Generically I want shows an pdf with some other View on it. I am concern about PDF, I read some article which explaine how to show an PDF but I want show an PDF with some other stuff.

[android-developers] ListView ontouch effect

2011-01-17 Thread pedr0
See here! http://stackoverflow.com/questions/4715078/listview-issues Thanks! -- 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

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
How did you set up the DDMS by DDMS? I tried but I have had a lot of issues!Could you explaine me the right procedure for do that? Thanks a lot. pedr0. On 17 Gen, 17:16, blackbelt emanuel...@gmail.com wrote: Hello there, I manage to active the native heap tab in ddms, but columns were

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
How did you set up the native heap tan in DDMS? I tried but I have had a lot of issues!Could you explaine me the right procedure for do that? Thanks a lot. pedr0. On 17 Gen, 17:21, pedr0 pulsarpie...@gmail.com wrote: How did you set up the DDMS by DDMS? I tried but I have had a lot of issues

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
Where is that file? On 17 Gen, 17:31, blackbelt emanuel...@gmail.com wrote: sorry I meant ddms.cfg -- 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

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
But What's the name for the TAB ? I saw the same tab of before, this is my file: #Mon Jan 17 10:20:28 CET 2011 pingOptIn=true pingTime.adt=1295256028304 pingId=2720243879932964383 native=true On 17 Gen, 17:31, blackbelt emanuel...@gmail.com wrote: sorry I meant ddms.cfg -- You received

[android-developers] Re: native heap size and ddms

2011-01-17 Thread pedr0
Yes, it works only in DDMS standalone. I cannot see that in Eclipse. On 17 Gen, 17:54, emanuele emanuel...@gmail.com wrote: Native heap... on Mac.. ddms running standing alone ( i think) On Mon, Jan 17, 2011 at 5:51 PM, pedr0 pulsarpie...@gmail.com wrote: But What's the name

[android-developers] Style Question

2011-01-11 Thread pedr0
Hi at all, I tried to write my own style.xml: style name=big_strong parent=@android:style/ TextAppearance.Medium item name=android:textColor#00/item item name=android:typefacenormal/item /style style name=italic parent=@android:style/TextAppearance.Small item

[android-developers] Re: Style Question

2011-01-11 Thread pedr0
/TextAppearance.Small item name=android:textColor#00/item item name=android:typefacenormal/item item name=android:textStyleitalic/item /style I see a good explanation here: http://brainflush.wordpress.com/2009/03/15/understanding-android-themes-and-styles/ On 11 Gen, 11:46, pedr0

[android-developers] Native heap size

2011-01-10 Thread pedr0
, I read that IS NOT the GC of Dalvik which free that memory, is correct? If yes, when the memory of native heap is released? Thanks a lot in advance for any suggestion. pedr0 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Create a subset of Bitmap without make a copy

2011-01-10 Thread pedr0
Hi at all, I have this problem, when I try to make a new bitmap for another one, like this: first_data = Bitmap.createBitmap(data, 0, 0, data.getWidth() / 2,data.getHeight()); second_data = Bitmap.createBitmap(data, data.getWidth() / 2, 0, data.getWidth() / 2, data.getHeight()

[android-developers] Re: HTTP parameter question

2011-01-08 Thread pedr0
You could use a StringBuilder but is very simple build it yourself without any help, I think. See this for stringbuilder :http://www.javadb.com/using-the- stringbuilder-class On 8 Gen, 02:08, John Lussmyer johnlussm...@gmail.com wrote: I don't think you understood my question. Given a list of

[android-developers] Re: Android opengl app

2011-01-06 Thread pedr0
Try to disable glBindTexture(), for use this call you have forgotten two things: 1) gl.glEnable(GL11.GL_TEXTURE_2D); // enable 2) GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, image_data, 0); // set data try to remove the call for see if these things are the problem or not. I hope it

[android-developers] Intent for start default navigator (is present)

2011-01-05 Thread pedr0
Hi at all, I would like start the default navigator with an start point and a end point, thus users can sees the route between two points. It's possibile? -- 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: Intent for start default navigator (is present)

2011-01-05 Thread pedr0
Ouch! I can't start the navigator in any way?! Bye! On 5 Gen, 15:47, Mark Murphy mmur...@commonsware.com wrote: There is no documented and supported Intent structure to launch Google Navigation this way -- sorry! On Wed, Jan 5, 2011 at 9:46 AM, pedr0 pulsarpie...@gmail.com wrote

[android-developers] Re: Intent for start default navigator (is present)

2011-01-05 Thread pedr0
);                                    try {                                            ctx.startActivity(intent);                                    } catch (ActivityNotFoundException e2) { }                            }                    }            }); On Wed, Jan 5, 2011 at 15:01, pedr0 pulsarpie...@gmail.com

[android-developers] Multiple screen support (panic)

2011-01-05 Thread pedr0
Hi at all, I have some problem with multiple screen support, I work with dp(dpi) for specify the layout_heigth and layout_width and I hope that is the better way to support multiple screen, but when I tried with two smartphone I meet two different result. I give an example, this is a layout I

[android-developers] Re: Multiple screen support (panic)

2011-01-05 Thread pedr0
I cannot post link...you have to change (dot) to . manually. On 5 Gen, 16:38, TreKing treking...@gmail.com wrote: On Wed, Jan 5, 2011 at 9:33 AM, pedr0 pulsarpie...@gmail.com wrote: img600(dot)imageshack(dot)us/img600/5513/htcmagicg2(dot)png img441(dot)imageshack(dot)us/img441/6440

[android-developers] Re: Multiple screen support (panic)

2011-01-05 Thread pedr0
I don't know why..but if I wrote a complete HTTP address I cannot post. On 5 Gen, 16:51, TreKing treking...@gmail.com wrote: On Wed, Jan 5, 2011 at 9:42 AM, pedr0 pulsarpie...@gmail.com wrote: I cannot post link Why not? ...you have to change (dot) to . manually. When asking for help

[android-developers] Re: Multiple screen support (panic)

2011-01-05 Thread pedr0
, pedr0 pulsarpie...@gmail.com wrote: I don't know why..but if I wrote a complete HTTP address I cannot post. On 5 Gen, 16:51, TreKing treking...@gmail.com wrote: On Wed, Jan 5, 2011 at 9:42 AM, pedr0 pulsarpie...@gmail.com wrote: I cannot post link Why not? ...you have

[android-developers] Starting email client with html pre-compiled code

2011-01-04 Thread pedr0
Hi at all, I am trying to start the default email client with some pre-compiled html text inside body, but I am not able to do so, this is a sample of my code: Intent email = new Intent(Intent.ACTION_VIEW); email.setType(text/html); StringBuilder uri = new

[android-developers] Re: Start default email client

2011-01-04 Thread pedr0
(not in the intent). What happens if you send the message yourself, from the same email program / address, to the same address? -- Kostya 30.11.2010 14:17, pedr0 пишет: I am sorry, yes it's works, it show me a email client, but when I click to send button it say me that the email is sended

[android-developers] Re: Starting email client with html pre-compiled code

2011-01-04 Thread pedr0
I founded a lot of code which SEND email with HTML code inside the body, what I am looking for is open the email client with some HTML interpreted code. I didn't find this on Google! Bye pedr0 On 4 Gen, 10:47, Sarwar Erfan erfanonl...@gmail.com wrote: I searched in Google and found working

[android-developers] Re: Starting email client with html pre-compiled code

2011-01-04 Thread pedr0
Not, the result is the same...I can see the HTML tag but I would like users see the interpretation of that. Any suggestion? Thanks any way On 4 Gen, 13:45, Kumar Bibek coomar@gmail.com wrote: Simple html is fine, but you won't be able to  embed images this way. Inline images, I mean On

[android-developers] Re: How to imitate multi-touch by emulator

2011-01-04 Thread pedr0
See this: http://stackoverflow.com/questions/2082707/android-multitouch-possible-to-test-in-emulator On 4 Gen, 10:31, Kenny Chang eric-...@163.com wrote: I want to test my multi-touch program, but I don't know how to do. -- You received this message because you are subscribed to the Google

[android-developers] Change Texture

2010-12-30 Thread pedr0
Hi at all, I am developing an application which use some OPENGLES feature, I have some problem when I want change textures of a object which I had created before, this is my code: public OpenGLRenderer(Context context,Bitmap first,Bitmap second,Sphere sphere) { [.creation a sphere with

[android-developers] Re: Change Texture

2010-12-30 Thread pedr0
Thanks so much, I thought this solution and it worked but isn't too much elegant, any suggestion? Thanks anyway MrChaz! On 30 Dic, 16:51, MrChaz mrchazmob...@gmail.com wrote: onDrawFrame() will be called repeatedly and in there should be a piece of code like

[android-developers] MultiTouch Support

2010-12-29 Thread pedr0
code the X,Y of first and second finger are the same, therefore the multitouch distance is even zero!! I am tried to develop an two fingers zoom... Any suggestion will be appreciated. pedr0 -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: OpenGL Problem with Sphere Texture Mapping

2010-12-28 Thread pedr0
angular size, and further subdivided around into equal patches, then you can your use loop variables (band / patch index) to compute UV coordinates. Just remember that UV are 0 to 1 (unless you want tiling). -- Kostya 27.12.2010 18:35, pedr0 пишет: But normal.x what is it? Is the abs

[android-developers] openGL problem

2010-12-27 Thread pedr0
isn't correlated with my platform but is correlated with my use of OpenGL API, I am a newbye with this library. Thanks so much in advance. pedr0 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: openGL problem

2010-12-27 Thread pedr0
This a link of my issues -- 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: openGL problem

2010-12-27 Thread pedr0
img198(dot)imageshack(dot)us/img198/6370/failfs.png -- 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: OpenGL Problem with Sphere Texture Mapping

2010-12-27 Thread pedr0
but is mathematically specified instead of placed by a 3D modeling application. On Dec 23, 12:37 am, pedr0 pulsarpie...@gmail.com wrote: What do you think about it? http://en.wikipedia.org/wiki/UV_mapping On 23 Dic, 09:19, pedr0 pulsarpie...@gmail.com wrote: Thanks a lot, especially

[android-developers] Re: UnsupportedOperationException: glGenFramebuffersOES

2010-12-24 Thread pedr0
Ok, but I can actually use GL20, thanks a lot for your help. On 23 Dic, 10:49, Igor Korobka igok...@gmail.com wrote: I'm not an expert in area of OpenGL on Android, but GLES11Ext. glGenFramebuffersOES(1,viewFramebuffer); doesn't work on NexusOne either. But the same action with the

[android-developers] Re: How to analyze native stack trace when application crashes ?

2010-12-24 Thread pedr0
I don't know if exists tools for what are you talking about, but I meet these errors type when I use OpenGL,which is native (no Java) and I try to pass it an null pointer/object. Check there types of situation can be right for solve problems. I hope I helped you! pedr0 On 23 Dic, 11:37

[android-developers] Re: OpenGL Problem with Sphere Texture Mapping

2010-12-23 Thread pedr0
you know about my progress! Thanks again. pedr0 On 23 Dic, 04:10, Mario Zechner badlogicga...@gmail.com wrote: On 22 Dez., 20:42, Robert Green rbgrn@gmail.com wrote: 3DVec normal = (sphereCenter - point).normalize(); 3DVec normal = (point - sphereCenter).normalize(); Or your world

[android-developers] Re: OpenGL Problem with Sphere Texture Mapping

2010-12-23 Thread pedr0
What do you think about it? http://en.wikipedia.org/wiki/UV_mapping On 23 Dic, 09:19, pedr0 pulsarpie...@gmail.com wrote: Thanks a lot, especially at Robert Green for his very good explanation! The absurd thing is that the code which I posted above is 100% right in a iPhone iOS, but when

[android-developers] UnsupportedOperationException: glGenFramebuffersOES

2010-12-22 Thread pedr0
Hi at all, when I try to use the function glGenFramebuffersOES I meet an UnsupportedOperationException, I am working with android 2.1 update 1 under a Samsung galaxy S. These function aren't supported on these platform or I am wrong somethings? This is my code (very simple): public void

[android-developers] OpenGL Problem with Sphere Texture Mapping

2010-12-22 Thread pedr0
Please see the link and reply inside this post if you have not an account on OpenGL forum, the question is over there. http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflatNumber=288188#Post288188 Thanks a lot. -- You received this message because you are subscribed to the

[android-developers] Scroll view scrolling

2010-12-13 Thread pedr0
Hi at all, I am currently developing an activity which allow user to send a feedback, the layout is composed in this way: ScrollView android:id=@+id/feedback_scroll_container android:layout_height=wrap_content

[android-developers] Re: Adapter fetches and parses RSS feed to get its data - best practice?

2010-12-11 Thread pedr0
I think that you way is right, and I did the same way for develop an application. But when you say a class should have only a Single Responsiblity?, well, I don't think so, a class is a representation of an object or a concept of a reality, with own data and functions (better called methods).

[android-developers] setOverScrollMode ListView

2010-12-09 Thread pedr0
Hi at all, in the API documentation of ListView (http://developer.android.com/ reference/android/widget/ListView.html) I read that ListView class is a child of android.widget.AbsListView but when I try to call the method setOverScrollMode(int mode) I get a compiler error.. See documentation

[android-developers] Re: setOverScrollMode ListView

2010-12-09 Thread pedr0
Yes I do. On 9 Dic, 12:04, Kostya Vasilyev kmans...@gmail.com wrote: Are you building your project with Android 2.3? 09.12.2010 14:01, pedr0 пишет: Hi at all, in the API documentation of ListView (http://developer.android.com/ reference/android/widget/ListView.html) I read

[android-developers] Re: setOverScrollMode ListView

2010-12-09 Thread pedr0
Excuse-me, I am developing with 2.2 SDK. On 9 Dic, 12:04, Kostya Vasilyev kmans...@gmail.com wrote: Are you building your project with Android 2.3? 09.12.2010 14:01, pedr0 пишет: Hi at all, in the API documentation of ListView (http://developer.android.com/ reference/android

[android-developers] Re: setOverScrollMode ListView

2010-12-09 Thread pedr0
Thanks so much. On 9 Dic, 13:15, Kostya Vasilyev kmans...@gmail.com wrote: There you go. setOverscrollMode is new with API level 9. You need to update your build environment and project settings to Android Platform SDK 2.3 -- Kostya 09.12.2010 14:51, pedr0 пишет: Excuse-me

[android-developers] TabHost Activity

2010-12-02 Thread pedr0
some issues in my code or exists a way to configure TabHost to start new intent when user click on a Tab? Thanks a lot. pedr0 -- 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

[android-developers] ListView elements not clickable in all area

2010-12-01 Thread pedr0
Hi at all, I am developing an application which make an intensive use of ListView with different type of rows, for do this I have extended the BaseAdapter class and override its methods, the layout of ListView is very simple: ?xml version=1.0 encoding=UTF-8? LinearLayout

[android-developers] Re: ListView elements not clickable in all area

2010-12-01 Thread pedr0
/android/view/ViewGroup.html#at... Regards Sarwar Erfan On Dec 1, 2:58 pm, pedr0 pulsarpie...@gmail.com wrote: Hi at all, I am developing an application which make an intensive use of ListView with different type of rows, for do this I have extended the BaseAdapter class

[android-developers] Re: ListView elements not clickable in all area

2010-12-01 Thread pedr0
I have partially solved the problem: simple change to fill_parent the listview android:layout_width paramter, but now I have all the item of the listView aligned in center position and not on the left.. On 1 Dic, 10:32, pedr0 pulsarpie...@gmail.com wrote: Each solution doesn't work

[android-developers] Re: ListView elements not clickable in all area

2010-12-01 Thread pedr0
in this list view? You shouldn't need to play any tricks with clickable, focusable, etc. Also, layout_height=fill_parent is a pretty weird setting for a list view item layout. For item alignment control, set layout_gravity=left on the child views. -- Kostya 01.12.2010 12:44, pedr0 пишет

[android-developers] Re: How to user my layout

2010-12-01 Thread pedr0
Dear Raju, What are you talking about it's very weird, an activity use a layout loaded with setContentView(), this XML file will be use to find the tag with findViewbyId(). If you don't want some attributes, simply don't declare it's inside the XML file, if you need to set some attributes at

[android-developers] Re: Very simple query INTENT

2010-12-01 Thread pedr0
1. Yes. 2. http://groups.google.com/group/android-beginners/browse_thread/thread/f11b306208970031 On 1 Dic, 07:18, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com wrote: Hi guys I have two queries which should be really simple for you to handle :- 1. All the applications are stored in

[android-developers] Re: problem with map overlays

2010-11-30 Thread pedr0
See the map tutorial, If I understand correct you have to put your overlay in all point of your path. Each Overlay is draw on the map using the latitude and longitude coordinated, this assumes that you know the coordinates of the point of your path.

[android-developers] addView in layout at run time

2010-11-30 Thread pedr0
this error java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first Is my solution which is incorrect or I make wrong something? Thanks a lot pedr0 -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: addView in layout at run time

2010-11-30 Thread pedr0
(); Regards Sarwar Erfan On Nov 30, 3:18 pm, pedr0 pulsarpie...@gmail.com wrote: Hi at all, I have to put some ImageButton inside an LinearLayout, but I don't know the number of this statically, so because I keep the data through internet at run-time. I solved this problem adding new

[android-developers] Re: addView in layout at run time

2010-11-30 Thread pedr0
Thanks a lot, it's very simple to do. On 30 Nov, 10:38, pedr0 pulsarpie...@gmail.com wrote: Thanks a lot, but how to configure my botton like this: ImageButton         android:layout_width=wrap_content         android:layout_height=wrap_content / how can I set the layout_param at runtime

[android-developers] Start default email client

2010-11-30 Thread pedr0
Hi at all, How can I make a intent to start the default email client? I would like to set the receiver address of message.. Thanks! -- 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: Start default email client

2010-11-30 Thread pedr0
and body, but this one works with certain buggy email clients (H*C Se*se). -- Kostya 30.11.2010 13:30, pedr0 пишет: Hi at all, How can I make a intent to start the default email client? I would like to set the receiver address of message.. Thanks! -- Kostya Vasilyev -- WiFi Manager

[android-developers] Re: Start default email client

2010-11-30 Thread pedr0
I am sorry, yes it's works, it show me a email client, but when I click to send button it say me that the email is sended, but the email account configured doesn't receive an email! What's wrong? On 30 Nov, 11:58, pedr0 pulsarpie...@gmail.com wrote: Thanks, it works! On 30 Nov, 11:42, Kostya

[android-developers] Re: Detect touch event on a OpenGL object

2010-11-29 Thread pedr0
I have the same issue, any suggestion? On 29 Nov, 13:24, Paolo brand...@gmail.com wrote: Hi there! I have developed an Augmented Reality App using OpenGL ES 1.1. It's really cool and I'm very happy for that, because Im' an opengl beginner. Now I have a problem... :( I'd like to detect touch

[android-developers] Re: Passing object via intent

2010-11-26 Thread pedr0
Hi TreKing, could you explain the 3rd way, I have to send to another application an ArrayListCustomObject, how to do it? On 25 Nov, 23:53, TreKing treking...@gmail.com wrote: On Thu, Nov 25, 2010 at 9:55 AM, pedr0 pulsarpie...@gmail.com wrote: I read some tutorial about the object

[android-developers] Parcelable iterface implementation in parent class

2010-11-26 Thread pedr0
Hi at all, I have this doubt thinking about the Parcelable interface, question is: Let A and B two type of object, with B that extend A, when I implement the parcelable interface for A all is ok but when I have to implement the parcelable interface for B can I write in parcel only B object

[android-developers] Re: Parcelable iterface implementation in parent class

2010-11-26 Thread pedr0
Yes It works, thanks so much. On 26 Nov, 15:18, TreKing treking...@gmail.com wrote: On Fri, Nov 26, 2010 at 5:22 AM, pedr0 pulsarpie...@gmail.com wrote: when I have to implement the parcelable interface for B can I write in parcel only B object fields ? You can write any fields you like

[android-developers] Google Maps API

2010-11-25 Thread pedr0
hi at all, I am currently developing an little application which use API Maps and I have some problems: I would like shows an comic style comic could (like Web Google Map) when the users touch an overlay item present on the map, how can I do this? I have to write by hands the code that do this?

[android-developers] Re: Google Maps API

2010-11-25 Thread pedr0
There was a mistake! Like a comic cloud, not could! Ops! :-) On 25 Nov, 10:25, pedr0 pulsarpie...@gmail.com wrote: hi at all, I am currently developing an little application which use API Maps and I have some problems: I would like shows an comic style comic could  (like Web Google Map

  1   2   >