[android-developers] Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread gato chlr
Hi List, In a phone, the application works o, but in an android tablet (with android 2.2) it does not use all screen, does anybody know how to fix that? I just see the application in the center of screen, and the rest of screen is black. Thanks a lot! -- You received this message because you

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread gato chlr
this reply is not useful to you. Google for How to ask questions the smart way and you may get some more useful replies. Thanks for the suggestion. On Jan 26, 2:10 pm, gato chlr dany...@gmail.com wrote: Hi List, In a phone, the application works o, but in an android tablet

Re: [android-developers] Re: Application does not use all screen in Android tablet (with android 2.2)

2011-01-26 Thread gato chlr
fine, thank you. Set each value inside supports-screens to true, changing from false's you have now. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 27.01.2011 0:04 пользователь gato chlr dany...@gmail.com написал: On 26 January 2011 16:00, Hari Edo hari@gmail.com wrote

[android-developers] how to get a drawable from getApplicationContext()

2011-01-18 Thread gato chlr
Hi to everybody , I want to know if it is possible to get a drawable (for example the icon.png) that comes with every new android project from the application context. I just can't do that :S. Thanks! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] how to avoid cut off of words in TextView

2010-12-29 Thread gato chlr
Hi list! for example : TextView a = new TextView(this); a.setText(I'm a set of words, some ones larger than others, no matter); it is posible to have painted the next : i'm a set of wo rds, some one s larger than o thers, no matt er i need something like i'm a set of words, some ones larger

[android-developers] Activity.getFilesDir() how to get that directory without using an instance of Activity

2010-12-15 Thread gato chlr
hi, please some ideas :) I have a class who must save and load files (persistence), this class do that right now but i want to decouple my components , in other words, i don't want to call to an instance of Activity to use its getFilesDir() , there must be another way to do not depend of that, so

Re: [android-developers] Activity.getFilesDir() how to get that directory without using an instance of Activity

2010-12-15 Thread gato chlr
...@gmail.com wrote: On Wed, Dec 15, 2010 at 1:23 PM, gato chlr dany...@gmail.com wrote: EG. an PersistenceUtil class that do not depends of an activity and saves files in internal and external storage. Your class can simply take a generic File argument in it's constructor for where it stores data

Re: [android-developers] Activity.getFilesDir() how to get that directory without using an instance of Activity

2010-12-15 Thread gato chlr
Kostya , you right, but then, my worry is about if i will be able to do an unit test of my PersistenceUtil, how to do it without an instance of an Activity? On 15/12/2010, TreKing treking...@gmail.com wrote: On Wed, Dec 15, 2010 at 3:41 PM, gato chlr dany...@gmail.com wrote: thanks

Re: [android-developers] does anybody know how to copy files to the internal storage?

2010-12-08 Thread gato chlr
(output.png)); } catch (FileNotFoundException e) { Log.w(error while retrieving,e); } hope to be useful for somebody. On 07/12/2010, Mark Murphy mmur...@commonsware.com wrote: On Tue, Dec 7, 2010 at 6:26 PM, gato chlr dany...@gmail.com wrote: does anybody know how to copy files to the internal

Re: [android-developers] Re: how to get root permissions to do a adb remount?

2010-12-08 Thread gato chlr
thanks! it works. On 08/12/2010, FrankG frankgru...@googlemail.com wrote: Maybe this will help you : http://groups.google.com/group/android-platform/msg/da581f1b398fdf8b Good luck ! Frank On 8 Dez., 02:25, gato chlr dany...@gmail.com wrote: Hi does anybody knows how to get root

[android-developers] Application related data and cache options

2010-12-08 Thread gato chlr
it seems that the application related data is stored in /data/data/android.files/files , you can get this directory using getFilesDir() from your Activity. Also it looks like the application related data is created when you start the application, and it is deleted when you close the application,

[android-developers] does anybody know how to copy files to the internal storage?

2010-12-07 Thread gato chlr
does anybody know how to copy files to the internal storage? 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] how to get root permissions to do a adb remount?

2010-12-07 Thread gato chlr
Hi does anybody knows how to get root permissions to do adb remount? 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

[android-developers] ShapeDrawable border or inside another shapeDrawable

2010-11-29 Thread gato chlr
Hi, i need to use an oval ShapeDrawable as my Button's background. it is done by using: ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=oval solid android:color=#CC stroke android:width=2dp android:color=#FF00

[android-developers] Scale a Drawable dinamically

2010-11-26 Thread gato chlr
Hi, i have a drawable and i want to scale it programatically, does anybody know how to to it? -- 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

[android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread gato chlr
Hi, I'm trying to customize a button in order to have a rounded button. Also i can't use an image s background. So i need to do draw a circle and set it as the background of the button. I have been trying to draw a shape and use it as button's background but, it looks like a rectangle button,

Re: [android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread gato chlr
could use a 9 patch png for your button's background. Your approach is also fine. I guess, you need a little modificaton with your shape file. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 12:35 AM, gato chlr dany...@gmail.com wrote: Hi, I'm

Re: [android-developers] draw button's background as a filled circle with transparent background

2010-11-24 Thread gato chlr
Thanks Kumar, i'm trying 9 patch. tell you On 24/11/2010, Kumar Bibek coomar@gmail.com wrote: Well, I tried it, and it looks fine. Both on the emulator and the phone. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Thu, Nov 25, 2010 at 1:51 AM, gato chlr dany

[android-developers] where can i get official information about android news?

2010-11-05 Thread gato chlr
For example, i want to see official announcements (in an official site) about Android 3.0 (GingerBread). Thanks and sorry for asking here. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] where can i get official information about android news?

2010-11-05 Thread gato chlr
Thanks! On 5 November 2010 11:59, Marcin Orlowski webnet.andr...@gmail.com wrote: On 5 November 2010 16:54, gato chlr dany...@gmail.com wrote: For example, i want to see official announcements (in an official site) about Android 3.0 (GingerBread). 3.0 is not out yet so there's nothing

Re: [android-developers] Re: SSLContext.getInstance(SSL) throws java.security.NosuchAlgorithmException: SSLContext SSL implementation not found

2010-11-02 Thread gato chlr
, if anybody has a code or solution to fix this problem i will really appreciate thank for the answers On 1 November 2010 14:37, DanH danhi...@ieee.org wrote: Have you tried TLS? On Nov 1, 9:29 am, gato chlr dany...@gmail.com wrote: Hi list, i want to implement a client for https, all in my

Re: [android-developers] Re: SSLContext.getInstance(SSL) throws java.security.NosuchAlgorithmException: SSLContext SSL implementation not found

2010-11-02 Thread gato chlr
somebody? On 1 November 2010 15:04, gato chlr dany...@gmail.com wrote: DanH , thanks for the answer, i have read about TLS, and now i know it is a SSLv3. I have tried with TLS , and it works! but, then i get a javax.net.ssl.SSLException: Not Trusted server certificate. So it seems that my

[android-developers] SSLContext.getInstance(SSL) throws java.security.NosuchAlgorithmException: SSLContext SSL implementation not found

2010-11-01 Thread gato chlr
Hi list, i want to implement a client for https, all in my localhost (in my apache, it is configured to ask authentication), with a resource https://localhost:443/resources/resource1.xml; the server works fine. I have a client for desktop, and it works fine, the resources are consumed using