[android-developers] loading xls (excel) documents programatically

2012-11-06 Thread guich
Hi, Is there a way to show a xls document programatically, i.e., load a third party application that can handle xls files and pass the file by command line? thanks guich Ps: i don't want to use the JExcelAPI -- You received this message because you are subscribed to the Google Groups

[android-developers] opengl and requestRender update order

2012-09-04 Thread guich
that it is drawing, leaving the other part untouched? thanks guich -- 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

[android-developers] Re: opengl and requestRender update order

2012-09-04 Thread guich
. thanks guich -- 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

[android-developers] Re: opengl and requestRender update order

2012-09-04 Thread guich
I just realized that i'm doing the GLES20 commands in a thread that is not the ui thread. Are there any requirements about this? Actually, all my gles commands are done natively. thx guich -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: opengl and requestRender update order

2012-09-04 Thread guich
Reading in the web i found that only one context can be used in a single thread. So, its not possible to use opengl outside the ui thread. -- 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: GL_POINTS not drawing points

2012-09-03 Thread guich
Hi, Many thanks for your help. The actual problem was a misunderstood of the STRIDE value, which must be NUMBER OF COORDS PER VERTICE * SIZEOF FLOAT. Changing to 12 fixed the problem. cheers guich -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: GL_POINTS not drawing points

2012-09-02 Thread guich
Hello! Thanks for answering. Actually, i already know how to draw lines and rectangles, but i would like to draw points. Can you provide me with the calls to the Matrix methods that would achieve the 2D projection using screen coordinates for the given surface width and height? I made some

[android-developers] GL_POINTS not drawing points

2012-09-01 Thread guich
) 0xFF) / 255f; color[1] = (float)((rgb 8 ) 0xFF) / 255f; color[2] = (float)((rgb ) 0xFF) / 255f; color[3] = (float)((rgb 24) 0xFF) / 255f; GLES20.glUniform4fv(mColorHandle, 1, color, 0); // Set color for drawing the line } } thanks, guich https://lh5

[android-developers] using pixel coordinates in opengl es 2

2012-08-29 Thread guich
squareCoords[] = { 10f, 10f, 0.0f, // top left 10f, 20f, 0.0f, // bottom left 20f, 20f, 0.0f, // bottom right 20f, 10f, 0.0f }; // top right ... is shown at screen? thanks guich

[android-developers] Re: image show with zoom/pan

2012-07-02 Thread guich
nobody? -- 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,

[android-developers] image show with zoom/pan

2012-06-30 Thread guich
Hi, Is there a ready component to show an image and zoom/pan it, like the one in album/gallery? I just want to show a big image and zoom in/out and pan, full screen, then if back is clicked, it goes back to my app. tia guich -- You received this message because you are subscribed

[android-developers] finding if the device has phone support/flight mode

2012-06-11 Thread guich
, is there a way that i can find if the device has no imei, or is in flight mode? thx guich -- 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] how to get the name of external card

2012-06-01 Thread guich
Hi, Is there an api to get the path to the external sdcard? I used the ones described here: http://developer.android.com/guide/topics/data/data-storage.html , but they dont work. The path for the galaxy 2 7 is /sdExtCard. thanks guich -- You received this message because you

[android-developers] Re: keys not being issued on android 4.0

2012-05-30 Thread guich
Yes, it works from android 1.6 to 3.x. I have not tested this on other ISC devices. -- 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,

[android-developers] Re: keys not being issued on android 4.0

2012-05-30 Thread guich
Hi, There's no physical keyboard. How do i use the legacy text input mode? Searched the net and found nothing thanks guich -- 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: keys not being issued on android 4.0

2012-05-30 Thread guich
; } }; } guich www.superwaba.com.br -- 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

[android-developers] keys not being issued on android 4.0

2012-05-29 Thread guich
Hi, I got a Galaxy Tab 7.2 with 4.0.3. I cannot get standard (a-z, 0-9, symbols) keys using oKeyPreIme nor onKey: no events are being sent. I call setOnKeyListener(this) at the activity. Do i need to do anything special on OS 4? thanks guich -- You received this message because you

[android-developers] added wrong permission but android didn't complain

2012-05-23 Thread guich
compiler/builder warn me about them? I need to know what is correct and what is incorrect. thanks guich -- 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

[android-developers] Re: added wrong permission but android didn't complain

2012-05-23 Thread guich
if android was understanding that permission. My minSdkVersion is 4 Any clues on what could be wrong are greatly appreciated. guich -- 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: added wrong permission but android didn't complain

2012-05-23 Thread guich
I found this: http://www.xda-developers.com/android/android-3-2-code-inadvertently-preventing-write-access-to-external-storage/ However, i'm still stucked. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] what's the safe place to create backups?

2012-05-23 Thread guich
guich -- 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

[android-developers] Re: something better than 16bpp

2012-05-07 Thread guich
don't appear in my 32bpp windows screen. So, the information that Android returns to me is incorrect. Any clues on what i could do to use 32bpp only on devices that are actually at least 24bpp are welcome. guich -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: something better than 16bpp

2012-05-07 Thread guich
Same problem occurs with a Galaxy Tab 7 plus. guich -- 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

[android-developers] Re: something better than 16bpp

2012-05-07 Thread guich
it is just a matter of time to have real 24-bpp screens on the market. My only concern is about a way to identify them. thanks guich -- 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: something better than 16bpp

2012-05-07 Thread guich
Well, i'll consider that. 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 email to

[android-developers] Re: something better than 16bpp

2012-05-07 Thread guich
Hi, If the frame buffer is 32bpp, what else would it report? So, what would be the way to retrieve that a screen is really true color? regards guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: something better than 16bpp

2012-05-06 Thread guich
Hi, Thanks for the explanations. And how do i get the available screen depth for the device? Have you tried that in a galaxy tab and did it return the correct values? best, guich ps: congrats for the victory! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] something better than 16bpp

2012-05-05 Thread guich
Hi, We already have lots of good tablets outside. Is there anything better than 16bpp to use? Can i use 24bpp with android, for example, with galaxy tabs? thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: something better than 16bpp

2012-05-05 Thread guich
This article (http://www.displaymate.com/ Samsung_Galaxy_Tab_ShootOut.htm) says that Galaxy Tab 10.1 has a 24bpp screen. How can i reach this resolution using the android api? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Transport endpoint is not connected

2012-05-05 Thread guich
Hi, Unfortunately, no. As i said, it occurs intermitently. Or, in other words, it works almost always, but this error happens somethimes when the data reaches the destination, and then the error is returned. thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: something better than 16bpp

2012-05-05 Thread guich
not sure if it is really used in android. Some months ago a senior engineer from Android (forgot her name right now) said that no device used such configuration. thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Transport endpoint is not connected

2012-05-04 Thread guich
Hi, I'm getting this error in some devices when using sockets. It occurs with 3G and wifi connections. The error is intermitent. Is anyone aware of the problem and maybe for a fix? thanks guich -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Cannot start service - yes, this problem again

2012-05-04 Thread guich
. The service is inside application in the xml 2. The context' package is the same of the service (line ***3 and ***4) 3. I can load the service using introspection However, the service cannot be found. any help is greatly appreciated. thanks guich -- You received this message because you

[android-developers] is an intent launched by a service also a service?

2012-05-04 Thread guich
(myStarterIntent); Is the Loader class also running as a service? I'm not sure about the concepts. thanks guich -- 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: is an intent launched by a service also a service?

2012-05-04 Thread guich
Ahm The Loader is indeed an activity. What i want to know is if the new activity is handled by the OS as a part of the calling service, or is it handled as a completely new application as if was clicked by the user. The reason of the question is to know if the intent will still be running

[android-developers] bring an activity to the front

2012-05-04 Thread guich
); The service wakes itself at some time later, when it receives something from socket. How can i bring it back to the top and show to the user? thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: bring an activity to the front

2012-05-04 Thread guich
Hi, The intent is the same. :-( I can't just relaunch it because its already running. thanks guich -- 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] how to detect that the input manager animation has finished?

2012-05-03 Thread guich
animation has finished? thanks guich -- 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

[android-developers] Re: how to detect that the input manager animation has finished?

2012-05-03 Thread guich
Answering my own question: class SipClosedReceiver extends ResultReceiver { public SipClosedReceiver() { super(null); } public void onReceiveResult(int resultCode, Bundle resultData) { // closed! } } SipClosedReceiver siprecv =

[android-developers] starting a service after installation

2012-05-03 Thread guich
Hi, How can i start a service at the first time that the service apk was installed, without user intervention? thanks guich -- 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] what is faster? surfaceview or imageview?

2012-04-18 Thread guich
Hi, I need to do frequent updates of a dynamically changed bitmap. What is faster? SurfaceView/SurfaceHolder.lockCanvas or ImageView/ setImageBitmap? thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
at the screen. So, i have a current view with a bitmap, then i update the bitmap natively, then i want to show the new bitmap appearing at the top of the other one. thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
(ImageView.VISIBLE); 8 instance.startAnimation(anim); I already tried iview.startAnimation, but nothing occurs visually. Any help is appreciated. thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
Thanks, Justin, it worked: ViewGroup vg = (ViewGroup)iview.getParent(); vg.removeView(iview); -- 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

Re: [android-developers] Re: creating a window-close animation effect

2012-04-17 Thread guich
I got one of the animations working: the old view is visible, then a new view grows from center to the border. However, in the opposite situation, i'm unable to get the desired results: i want that the old view be shrinking while the new view appears. Not sure if i was understood: is like if

[android-developers] creating a window-close animation effect

2012-04-16 Thread guich
Hi all, Can someone give me an insight (or maybe a code sample :-)) to show a windows closing on the top of another one? I mean, an animation where the new window will be shown from out to the center. thanks guich -- You received this message because you are subscribed to the Google

[android-developers] Re: creating a window-close animation effect

2012-04-16 Thread guich
Just a side note: i saw some code that does this for Views, but i need to do it with a Bitmap over a Surface. 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

[android-developers] Re: creating a window-close animation effect

2012-04-16 Thread guich
I'm still searching. I found that with the ScaleAnimator i can achieve what i need, but still trying with no success. This is the code i'm using: ScaleAnimation anim=new ScaleAnimation(1,1,0,0); anim.setFillAfter(true); anim.setFillEnabled(true);

[android-developers] resintalling application due to data corruption

2012-04-04 Thread guich
android device or is this blocked? thanks guich -- 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

[android-developers] Re: resintalling application due to data corruption

2012-04-04 Thread guich
Its in the /data/data/app folder -- 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] Can a service have an ui?

2012-03-21 Thread guich
in advance, guich -- 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

[android-developers] officially supporting dual-sims

2012-02-13 Thread guich
guich -- 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

[android-developers] Re: deletable-assets

2012-01-02 Thread guich
Is there any kind of notification that is sent when a program is installed? I could get a notification that my program was installed or updated and then save this date/time to use later. thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] deletable-assets

2011-12-30 Thread guich
Hi, I store some zipped data in the assets. When my app runs at the first time, i unpack the zip. The original zip in the assets folder is useless, however, we cannot delete it. Is there another way to pack files into an apk that we can later delete after using it? thanks guich -- You

[android-developers] Re: deletable-assets

2011-12-30 Thread guich
On a side note, is it possible to get the creation data and time of the asset file? -- 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: problems when creating files in android

2011-12-29 Thread guich
mkdir(path, S_IRWXU | S_IRWXG | S_IRWXO) -- 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] problems when creating files in android

2011-12-29 Thread guich
Hi, In native code when we create a file, it creates it with 666 permissions (rw * 3). In Java, it creates with 600. Is there a way in Java to specify the permissions when creating the file? Or maybe change it afterwards? I have the same problem for folders. thanks guich -- You received

[android-developers] Re: problems when creating files in android

2011-12-29 Thread guich
Hi, Do you know if its possible to call a native mkdir from java without having to write a native code? thanks guich -- 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] supporting 16M colors

2011-12-13 Thread guich
than if i created a 16bpp bitmap. I tried to do the same on Android, creating a Bitmap.Config.ARGB_, but the results are the same of creating a RGB_565. Thanks for your thoughts. guich -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] getPixelFormat returning an incorrect value

2011-12-13 Thread guich
in the PixelFormat table. What does this value represents? thanks guich -- 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

[android-developers] Re: display.getWidth bug fixed in android 3.2

2011-12-12 Thread guich
Hi, Thanks If this can be added in Android 3.3 (or 3.4), that would be wonderful. Yes, i just need the biggest dimension (in pixels) of the whole screen, no matter if there's a task bar or not. Happy Christmas, Guich. -- You received this message because you are subscribed

[android-developers] Re: display.getWidth bug fixed in android 3.2

2011-12-12 Thread guich
Hi, One more thing. Can someone kindly tell us, in this thread, once the method is added, or at least, in which version? This way i can change my code to stop doing the rotation. cheers guich -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] accessing sdcard in android 3.2

2011-12-09 Thread guich
? thanks guich -- 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

[android-developers] Re: accessing sdcard in android 3.2

2011-12-09 Thread guich
Hi, Yes, i do. The program was working fine until the unit upgraded itself to version 3.2. Then, writting to the card stopped working. 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: display.getWidth bug fixed in android 3.2

2011-12-09 Thread guich
or HORIZONTAL This would help a lot. thanks for your time. Guich -- 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

[android-developers] Re: accessing sdcard in android 3.2

2011-12-09 Thread guich
Hi, Yes, i found this: http://www.thriveforums.org/forum/toshiba-thrive-general-discussions/4967-problems-after-latest-os-upgrade.html Not sure if this is a problem in the device or in Android 3.2 itself... thanks guich -- You received this message because you are subscribed

[android-developers] Re: accessing sdcard in android 3.2

2011-12-09 Thread guich
Seems to be really an Android problem, because the same error occurs on both Toshiba Thrive AND Samsung Galaxy Tab7+, *** AFTER UPGRADING THE FIRMWARE TO ANDROID 3.2 ***. Both devices using Android 3.1 works perfectly. -- You received this message because you are subscribed to the Google Groups

[android-developers] display.getWidth bug fixed in android 3.2

2011-12-07 Thread guich
as before? Currently, i have to check if its android 3.2 and force a screen rotation, get the size in both directions, then cache this value. Thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: going back and forth from FullScreen

2011-09-30 Thread guich
This fixes the problem: http://stackoverflow.com/questions/991764/hiding-title-in-a-fullscreen-mode guich -- 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

[android-developers] going back and forth from FullScreen

2011-09-29 Thread guich
? How can i force the fullscreen to be applied? thanks guich -- 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

[android-developers] Re: showing the default A icon on google maps

2011-09-15 Thread guich
Too bad that onDraw of MapView is final. Why is adding a position so dificult? We ask to move to a coordinate, it would be useful to just pass a name and show that name on the map, without having to deal with overlays and so on. I'm still stumped. :-( guich -- You received this message because

[android-developers] Re: windowSoftInputMode=adjustResize not working on landscape or full screen

2011-09-15 Thread guich
The landscape issue was fixed on Android 3.0, but the full screen's NOT. guich -- 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] showing the default A icon on google maps

2011-09-13 Thread guich
= mapview.getController(); if (ilat != 0 || ilon != 0) mc.setCenter(new GeoPoint(ilat,ilon)); mc.setZoom(21); } protected boolean isRouteDisplayed() { return false; } } thanks guich -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: windowSoftInputMode=adjustResize not working on landscape or full screen

2011-09-09 Thread guich
%20Stars The argument that the notification should not be sent in FULL SCREEN mode is not fair. If i'm a programmer that created an application that is in full screen, its obvious that i would not add such flag to the manifest. It would be nice to see this fixed in a version. guich -- You received

[android-developers] adjustPan notifications

2011-09-09 Thread guich
Hi, Is there any kind of notification that's sent when using adjustPan in the windowSoftInputMode attribute? I want to know how much the screen was panned. TIA guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Android + SQLite - Brazilian student

2011-09-09 Thread guich
Ola, Porque voce nao experimenta o TotalCross? www.totalcross.com.br abraços, Guilherme On 8 set, 21:21, Andrews andyyc...@gmail.com wrote: hi i am a student from Brazil and I am studying android. I would ask if you could share a material on Android and sqlite (CRUD). Thank you all --

[android-developers] Finding if the Soft Input Method is visible

2011-09-08 Thread guich
know if this was caused by the SIM appearing or a screen rotation? thanks guich -- 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] windowSoftInputMode=adjustResize not working on landscape or full screen

2011-09-08 Thread guich
Hi, surfaceChanged method is not called if the application is in full screen or in landscape. In portrait, i see the method being called. Is this a bug in Android or what? thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] uses-feature android:name=android.hardware.camera blocking device

2011-08-30 Thread guich
itself the camera part. thanks guich -- 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

[android-developers] Re: using MapView to display wallstreet

2011-08-24 Thread guich
I found a good starting point (based on as suggested by TreKing) here: http://groups.google.com/group/android-developers/browse_thread/thread/a41394bdccf43ef8/8a37fbc16fd3d674#8a37fbc16fd3d674 guich -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: using MapView to display wallstreet

2011-08-22 Thread guich
Hi, Sorry, i just gave an example of what i need. Based on the sample that someone provides, i can change it to meet the needs. Actually, i want to search for a location in any street, i just gave the example of Wall street to make easier for one to provide a sample. :-) cheers guich

[android-developers] using MapView to display wallstreet

2011-08-21 Thread guich
a sample that open a MapView and shows the bull at wallstreet location? Or even just how o get the bull (wallstreet, new york, usa) coordinates. many thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: how to detect an invalid pin was given by the user when connecting to bluetooth

2011-08-15 Thread guich
seems that the bluetooth api is still in early development stage... or, at least, not well documented. guich -- 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

[android-developers] how to detect an invalid pin was given by the user when connecting to bluetooth

2011-08-13 Thread guich
, the device is added to the BONDED list, and can be retrieved with the BluetoothAdapter.getBondedDevices. I'm using an Android 2.2.1 device and a Zebra printer with bluetooth 2.0 specification. Any help is appreciated, guich -- You received this message because you are subscribed to the Google

[android-developers] Connecting to a Zebra MZ 320 over bluetooth - without PIN

2011-08-06 Thread guich
a PIN? Otherwise, i'll have to connect all 300 printers to a pc just to set a PIN so Android can connect to it. thanks in advance, guich www.totalcross.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Connecting to a Zebra MZ 320 over bluetooth - without PIN

2011-08-06 Thread guich
I was able to print by changing the printer to have a PIN. However, doing this in 300 devices will be a headache. :-( guich -- 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: Strange effects on Android's truetype decoder

2011-08-05 Thread guich
Anyone knows if there's a OS version that respects this flag? I really don't want to rewrite my entire code in C#. :-( thanks guich -- 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: Strange effects on Android's truetype decoder

2011-08-04 Thread guich
Hi David, Is there a way to turn this off? I mean, disable the hint in vertical direction (i don't understand well what hinted is but i know its effects. :-D) thanks guich Ps jgs: rect.height returns the same result. -- You received this message because you are subscribed to the Google

[android-developers] Re: Strange effects on Android's truetype decoder

2011-08-04 Thread guich
Hi, Doing paint.setFlags(Paint.ANTI_ALIAS_FLAG | Paint.LINEAR_TEXT_FLAG); Results in the same behaviour. Would this work in any known OS version? thanks guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Strange effects on Android's truetype decoder

2011-08-03 Thread guich
: 44 Am I missing something? Why the gaps between the font sizes and the heights? For example, size=30-31 has size 34-36. How can i achieve height 35? Even if i use a smaller increment for i, like 0.1 or 0.01, i don't actually get a smooth scale for the font. thanks guich -- You received

[android-developers] Re: How to find available services in a bluetooth connected device

2011-08-01 Thread guich
This thread answers the question: http://groups.google.com/group/android-developers/browse_thread/thread/bc36724593613382/312a1805eb4f2721?lnk=gstq=bluetooth+service#312a1805eb4f2721 Basically, Android does not provide such thing. guich -- You received this message because you are subscribed

[android-developers] How to find available services in a bluetooth connected device

2011-07-30 Thread guich
regards guich -- 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

[android-developers] TIP: An approach for creating backward-compatible classes

2011-07-29 Thread guich
in Level5 too, so they are overriden in Level5Impl. Hope this helps, Guilherme C. Hazan (guich) www.totalcross.com -- 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] android:required failing when building for api level 4

2011-07-04 Thread guich
android:name=android.hardware.camera android:required=false / and compile, i get this error: error: No resource identifier found for attribute 'required' in package 'android' Any help is appreciated thanks guich Ps: [setup] Android SDK Tools Revision 10 [setup] Project Target: Android 1.6

[android-developers] who draws the Button's border and background?

2011-06-28 Thread guich
Hi, Who exactly draws the Button's border and background? I saw that Button extends TextView, but this class has 8500 lines. I would like to understand the algorithms used to draw the border and the dithered gradient background. thanks guich -- You received this message because you

[android-developers] getting InputMethod bounds

2011-06-03 Thread guich
Hi, Simple question: is it possible to find the InputMethod bounds? thanks guich -- 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

[android-developers] black camera jpeg on Defy

2011-06-02 Thread guich
were displayed. Also, i checked if the onPictureTaken was called more than once, but it was not (only one call). Any help is appreciated. TIA guich www.totalcross.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: black camera jpeg on Defy

2011-06-02 Thread guich
Just a feedback on this. I made a factory-reset of the device and then the first photo i took appeared correctly. After this first photo, all other photos appears black again. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: how to obtain the default font size

2011-03-16 Thread guich
Its really a shame that this can't be done. I never found a solution, in any other threads. Boy, i miss Windows Mobile, with their SystemMetrics api. guich -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: how to obtain the default font size

2011-03-16 Thread guich
Pepijn, Many thanks. That simple line solved the issue. Got the following results: Htc Magic: 14 Motorola Spice: 11 Motorola Milestone: 21 So, from this i can achieve the results i need. All the best guich -- You received this message because you are subscribed to the Google Groups

  1   2   3   >