[android-developers] Re: Using FrameLayout inside of LinearLayout causing some problems with OnMeasure

2008-04-30 Thread Jay
Actually, that's not the only problem with this layout. When the listview contains many items, it will also completely draw over the "listmenu" textview at the bottom. I've been trying to get around this problem by using weights but this doens't work all the time. Any suggestions? --~--~-~

[android-developers] Using FrameLayout inside of LinearLayout causing some problems with OnMeasure

2008-04-30 Thread Jay
Basically, I want to display a FrameLayout and then TextView at the bottom, which displays some text. I'm using the following layout to do this. http://schemas.android.com/apk/res/ android" android:id="@+id/listlayout" android:layout_width="fill_parent" android:lay

[android-developers] Re: is this still true?

2008-04-30 Thread Romain Guy
9 just rotates the emulator skin. Try Ctrl-PageDown instead. On Wed, Apr 30, 2008 at 9:19 PM, Dan U. <[EMAIL PROTECTED]> wrote: > > I must be doing something wrong. > > In my activity, I have this: > >@Override >protected void onConfigurationChanged(Configuration newConfig) { >

[android-developers] Re: is this still true?

2008-04-30 Thread Dan U.
I must be doing something wrong. In my activity, I have this: @Override protected void onConfigurationChanged(Configuration newConfig) { Log.v(TAG, "onConfigurationChanged"); } I have android:configChanges="orientation|keyboardHidden" specified in my Andr

[android-developers] Re: Android and Web Services

2008-04-30 Thread Bruno Sauer
yes, NameValuePair("Fahrenheit","23") would be pretty cute, but it's up to you if you want to do the "footwork" - i.e. is it worth it for your app?. In my case, I went for the simplest processing I could think of - it's dirty but it's quick : a) replace the arguments in the SOAP envelopes wit

[android-developers] Re: is this still true?

2008-04-30 Thread hackbod
Yep. On Apr 30, 2:48 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > Are you saying in order to test this with the emulator, I need to have > android:configChanges="orientation|keyboardHidden"? > > On Apr 30, 2:17 pm, hackbod <[EMAIL PROTECTED]> wrote: > > > You also need to handle the keyboardHidden c

[android-developers] Re: list adapter for complex dynamic layouts

2008-04-30 Thread GodsMoon
Why does everybody love to extend the listAdapters? Just use the SimpleAdapter it takes an array of textviews. http://code.google.com/android/reference/android/widget/SimpleAdapter.html Here's an example with a curor simple adapter that does exactly what you want except with 2 textviews instead o

[android-developers] Re: Radiogroup

2008-04-30 Thread Romain Guy
RadioButtons must be direct children of RadioGroup at the moment. On Wed, Apr 30, 2008 at 6:07 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > 6real wrote: >> Actually I try to create a custom background with >> -> alternate colors (even and odd) >> -> rounded rectangle shaped >> >> I try to exten

[android-developers] Re: Radiogroup

2008-04-30 Thread Mark Murphy
6real wrote: > Actually I try to create a custom background with > -> alternate colors (even and odd) > -> rounded rectangle shaped > > I try to extend RadioButton directly but the result was not what I > expected (the text and button was kind of "greyed" or set with a high > transparency ...) >

[android-developers] New tutorial: Image & Text-Only Buttons

2008-04-30 Thread Biosopher
There are some great Android screenshots out there! I've been working on improving Pocket Journey's UI as I previously focused mostly on the MediaPlayer functionality. I now want to pass on a few new UI techniques I've uncovered. This new tutorial is very simple and will add to your UI (user in

[android-developers] Re: How to get another application's data path?

2008-04-30 Thread trickybit
I have code where one application creates a file "world readable" and then passes the absolute path to another app via a service binding. The other app can read the file. I'm hoping that what you say below implies that this will continue to work, more or less. Thanks, Jim On Apr 30, 9:44 am,

[android-developers] Re: is this still true?

2008-04-30 Thread Dan U.
Are you saying in order to test this with the emulator, I need to have android:configChanges="orientation|keyboardHidden"? On Apr 30, 2:17 pm, hackbod <[EMAIL PROTECTED]> wrote: > You also need to handle the keyboardHidden change. > > On Apr 30, 1:47 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > > >

[android-developers] Re: Performance Metrics

2008-04-30 Thread Hielko
You can use the traceview tool to check what methods are using the most cpu time. On Apr 30, 10:14 pm, MoD <[EMAIL PROTECTED]> wrote: > Is there any tools for measuring performance of an app, so that we can > compare the performance and efficiency of  different approaches in > solving a problem?

[android-developers] Re: is this still true?

2008-04-30 Thread hackbod
You also need to handle the keyboardHidden change. On Apr 30, 1:47 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > Is it possible to test android:configChanges in the m5 emulator? I > haven't been successful at this. I have > android:configChanges="orientation" attribute specified for my > activity and

[android-developers] Re: XMPP two way communication problem

2008-04-30 Thread Hielko
We have implemented this without problems, perhaps it would help if you show exactly what you are trying to do. On Apr 30, 4:37 pm, sacoskun <[EMAIL PROTECTED]> wrote: > Hello all, > > In order to send and receive data message between two emulators via > XMPP I tried the following process. > > I

[android-developers] Re: is this still true?

2008-04-30 Thread Dan U.
Is it possible to test android:configChanges in the m5 emulator? I haven't been successful at this. I have android:configChanges="orientation" attribute specified for my activity and I have implemented onConfigurationChanged, but that method never gets called. I've been testing with numpad 7/9 whi

[android-developers] Re: Recommended way for sending intents offline via GTalk?

2008-04-30 Thread Hielko
As far as I know this is not possible. In our application we have solved this problem by requesting the latest information from all your contacts when your phone comes online. On Apr 30, 7:41 pm, Peli <[EMAIL PROTECTED]> wrote: > As far as I can see, GTalk intents are sent when both phones are >

[android-developers] Performance Metrics

2008-04-30 Thread MoD
Is there any tools for measuring performance of an app, so that we can compare the performance and efficiency of different approaches in solving a problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: Android and Web Services

2008-04-30 Thread mathiastck
I'm using the same methodology. I've pieced it together from advice here. I took a look at KSOAP but found it easier to build up the request manual from streams and bytes. To build the request I used these snippets InputStream requestISStart = activity.getAssets().open("start of your soap stuf

[android-developers] Re: paint on screen and "home" still visible, can android do it???

2008-04-30 Thread Megha Joshi
Did you do the two steps that I mentioned earlier, I am sure that made it translucent when I tried it on my side. Its just setting the translucent theme for the Activity as shown in TranslucentActivity sample code. Next step is to remove the line from onDraw() method, which paints the whole surface

[android-developers] Re: Android and Web Services

2008-04-30 Thread joesonic
Thank really this helped me a lot: now I have a first dirty working code: public void ws() throws Exception{ HttpClient client = new HttpClient(); PostMethod postMethod = new PostMethod( "http:// www.w3schools.com/webservices/tempconvert.asmx" ); postMethod.setReq

[android-developers] Recommended way for sending intents offline via GTalk?

2008-04-30 Thread Peli
As far as I can see, GTalk intents are sent when both phones are online. Is there a recommended way to send intents from one phone to another if the phones are not online at the same time? Peli --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] GTalk Sender unable to make session

2008-04-30 Thread temp
Hi I'm trying the sample code packed in the SDK for GTalk activities. The API demo of GTalk Service works fine but when i try to build and execute the same code, It is unable create the session object and hence, throws NullPointerException. I have tried debugging but it seems that it doesnt eve

[android-developers] Re: How to get another application's data path?

2008-04-30 Thread hackbod
Actually you can do it with Context.createContextForPackage(), which will return a Context containing the resources and pointing to the data directories of the requested package. However, unless the other application has explicitly made some files in there world accessible or you are sharing the

[android-developers] Re: Android Developer Registry

2008-04-30 Thread Biosopher
So in the meantime, all interested developers should post their background/stats info here as described in the initial posting. Biosopher --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: Radiogroup

2008-04-30 Thread 6real
Mark, thanks for your quick reply. Actually I try to create a custom background with -> alternate colors (even and odd) -> rounded rectangle shaped I try to extend RadioButton directly but the result was not what I expected (the text and button was kind of "greyed" or set with a high transparen

[android-developers] XMPP two way communication problem

2008-04-30 Thread sacoskun
Hello all, In order to send and receive data message between two emulators via XMPP I tried the following process. I grab a new IGTalkSession from one activity on an emulator A by getting the getDefaultSession() of IGTalkService. And I create a chat session to a user who is running the same appl

[android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

2008-04-30 Thread 6real
Thks for your answers ! It was really helpfull for me ! Rgds --~--~-~--~~~---~--~~ 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 un

[android-developers] Bouncy Castle version included in android, plans for future

2008-04-30 Thread rayback_2
Hello, I was trying to add missing classes from BC library source to my project for implementing ECDSA, but noticed that the version of BC in android is not the latest one. Someone can tell which version it is ? More important , is the bouncy castle version going to be updated in next version of

[android-developers] Re: Radiogroup

2008-04-30 Thread Mark Murphy
6real wrote: > here is what I would like to have as structure (for personnal "look > and feel" reasons) : > > Radiogroup > `- LinearLayout >`-RadioButton1 > `- LinearLayout >`-RadioButton2 > `- LinearLayout >`-RadioButton3 > > So I can build it but

[android-developers] Re: importing java 6 libs

2008-04-30 Thread snowtiger
Maybe it will help you using retrotranslator to make the libs compatible with android: http://retrotranslator.sourceforge.net/#android On Apr 4, 3:39 pm, Lahiru <[EMAIL PROTECTED]> wrote: > Hi > > I need to import some javax packages comes with Java6. > I added required jre in eclipse project and

[android-developers] Radiogroup

2008-04-30 Thread 6real
Dear all, here is what I would like to have as structure (for personnal "look and feel" reasons) : Radiogroup `- LinearLayout `-RadioButton1 `- LinearLayout `-RadioButton2 `- LinearLayout `-RadioButton3 So I can build it but the point is that the rad

[android-developers] Re: Application works different on different computers

2008-04-30 Thread Hielko
This is a known problem with the music player. If i'm correct the player works fine with Linux, but not when Windows is used. On Apr 30, 11:13 am, Mi <[EMAIL PROTECTED]> wrote: > Hi, > > I have a weird problem. My application works differently on different > computers. For example on one computer

[android-developers] Client/Server - Layered Architecture

2008-04-30 Thread bdonnovan
Hi everyone, i am currently developing a typical Client/Server Application with Android. My application is currently layered as follows: On the Client side: - GUI Layer - Business Layer - Network Layer On the server side: - Network Layer - Ressource Layer (my app is a RESTful Webservice) - Bus

[android-developers] Re: How to get another application's data path?

2008-04-30 Thread Hielko
This is not possible / will not be possible in the final version of android. If you want to share data between applications you will need to use a content provider. On Apr 30, 9:02 am, Wei Yongqiang <[EMAIL PROTECTED]> wrote: > Hi all, > > In my application, I want to access another application's

[android-developers] Re: How to customize notification layout

2008-04-30 Thread Semeria Stefano
Thanks a lot to all for your quick response. I've seen the example with custom views on notification but I don't understand one thing... If I provide a custom layout I automatically lose the onClick() intent firing (I mean with my custom layout I think I can no more fire an intent when the noti

[android-developers] Re: Problem viewing mp4 on first start up

2008-04-30 Thread Mi
I'm using a SurfaceView and a MediaPlayer. I have checked the sample code. On Apr 19, 2:50 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > Hi, > > Are you using VideoView? Did you call VideoView.requestFocus() ? Did you > check out the media sample code posted on the groups? > > Thanks, > Megha >

[android-developers] Application works different on different computers

2008-04-30 Thread Mi
Hi, I have a weird problem. My application works differently on different computers. For example on one computer the sound of my music player sounds fine and on another it sounds like it starts and stops and starts and stops and so on. And also some functions works on one computer and not on anot

[android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

2008-04-30 Thread Peter Stevenson
hackbod wrote: > The array syntax has been completely reworked for the next release. > At that point you can use a new tag to make an array of > strings, just like the tag makes string-only resources. For > now, if you put your numbers in quotes, it should work fine. > > On Apr 28, 3:21 pm, "Ro

[android-developers] How to get another application's data path?

2008-04-30 Thread Wei Yongqiang
Hi all, In my application, I want to access another application's data path, and I only know that application's name. then how can I do for this? Thanks. Frank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andro

[android-developers] problem on Incoming messages

2008-04-30 Thread dolan
Hi All, I have problem that , when I am sending request to the server, server is sending message to me with all the details. i can see the message that time itself when server is replying to me. But i want to see the message whenever i want. please , can anyboby tell me how can i see the incoming