[android-beginners] Using XMPP without Gtalk

2009-06-01 Thread Luca
Hi I tried a while ago to instaurate an XMPP session without a GTalk account. At that time it was not possible. Is it now possible to use a Jabber account and perform stuff, even if it's not @gmail.com? Thank you --~--~-~--~~~---~--~~ You received this message

[android-beginners] Playing video files

2009-07-01 Thread Luca
Hi, I am trying to play a video file using the following code: MediaPlayer mp = MediaPlayer.create(v.getContext(), R.raw.myvideo); mp.start(); I have tried both an mp4 file and a 3gp file. But when the file plays I can hear it but I cannot see it... Do I have to do something else to give it a s

[android-beginners] Frame Animation Problem

2009-07-15 Thread Luca
Hi, I have made a simple frame animation but when I display the animation the images are stretching in width to fill the screen. Cany anyone suggest a solution. Thanks Luke --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-beginners] DEVELOPMENT CLIENT FOR WEB-SERVICES ON ANDROID

2009-10-06 Thread luca
Hi guys, i need an expert about android. I have to develop a framework to create clients for web-services on android. I thought to write a mapping from wsdl to java, but now i think is more usable to develop it through some tools like axis. After have developed my web services, i tried to develop

[android-beginners] Multiple shapes

2010-03-16 Thread Luca
Hi I'm trying to build a layout where some shapes will popup every 2 seconds. I the user will click one of these shapes, they have to disappear. What is the correct way of doing this? I thought about a thread, but i missed out. Here's my code at the moment (is not working): Java: public void onCr

[android-beginners] Put multiple lines of images

2010-03-16 Thread Luca
Hi all I'm trying to put an image multiple times and on multiple lines. What i want to do is similar to a matrix, where each cell is an istance of my image. Here's my code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mLinearLayout = ne

[android-beginners] Re: onClickListener of a view

2010-03-23 Thread Luca
I think that the problem is that the FrameLayout accepts only one image, and places the last one on the top of the others. So I think I have to change approach, any hint? On 23 Mar, 08:22, Luca Bedogni wrote: > Doesn't work, I have the view that now is 30x30 pixels, but on the top >

Re: [android-beginners] Re: Alignment problem of EditText and Button in LinearLayout

2010-03-17 Thread Luca Bedogni
Also adding layout_gravity to the button could help. On Wed, Mar 17, 2010 at 4:27 PM, Kitzy wrote: > I'm not 100% sure on your problem, but you could simplify thing > emenssly by using a RelativeLayout, and that may help you problem at > the same time. > > See: > http://developer.android.com/re

[android-beginners] onClickListener of a view

2010-03-20 Thread Luca Bedogni
inside an Handler, that create every 2 seconds a new ovalShape and add it to the Layout. Everything works fine, except for the clickListener. In fact, when i press one of my shapes on the screen, it will be made invisible only the last one, and not what I clicked. Am I missing something? -- Lu

Re: [android-beginners] onClickListener of a view

2010-03-21 Thread Luca Bedogni
Mmm, I investigated a bit and i think this is not the problem. I'm making a new object every time. Beside that, I noticed that the view added has the dimensions of the screen, and not 30 pixels as I want. How can I avoid that? Thanks -- Luca Bedogni Freelance Web Developer

Re: [android-beginners] onClickListener of a view

2010-03-23 Thread Luca Bedogni
Doesn't work, I have the view that now is 30x30 pixels, but on the top left of the screen and my drawable gets cutted off. -- Luca Bedogni Freelance Web Developer http://www.lucabedogni.it On Tue, Mar 23, 2010 at 3:11 AM, murali raju wrote: > use h.setLayoutParams(new ViewGroup.Layo

Re: [android-beginners] Re: onClickListener of a view

2010-03-24 Thread Luca Bedogni
I tried also with other layouts but the problem remains. I think I have to change approach, but I don't know how. The code isn't a problem, but I don't have it here but at home. -- Luca Bedogni Freelance Web Developer http://www.lucabedogni.it On Wed, Mar 24, 2010 at 3:31 AM, mur

[android-beginners] Eclipse stuck at 19%

2008-04-08 Thread Luca Bedogni
Hello on Linux I've got a strange problem. When I try to run my project in Eclipse, it starts fine the emulator, but after that, when launching an application, eclipse remain at 19% of "Launching Delegate", and nothing is shown on the emulator. Any idea? TIA Bedo --~--~-

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread Luca Bedogni
On Tuesday 08 April 2008, Dan U. wrote: > It's been discussed many times here in the groups. It is a bug and I > don't think there is a fix out yet. So I've no chances on getting this working? Thank you --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] XMPP with a non-GTalk account

2008-06-23 Thread Luca Bedogni
Hi is it possible to connect to an XMPP server with an account different from Gtalk? -- Luca Bedogni --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this g