[android-developers] Re: LDAP connection error

2010-07-15 Thread Kritzli
Lately I solved it. So many mistakes in just a few lines of codes. Ok, here's what I changed: 1. Change Port Obviously Port 80 wasn't the right one, so I got the error above. After changing to Port 389 (Default Port) I got error code 49 (wrong credentials). 2. Change OU What I didn't know: I'm

[android-developers] Re: LDAP connection error

2010-07-13 Thread Kritzli
Ah, that's it ! After deleting the http:// of the hostname i got a connection. Thank you very much :) But, on to the next problem. After connecting to the LDAP directory I want to login/bind a user to it. That's the code for the binding: public boolean login(String name, String password) {

[android-developers] LDAP connection error

2010-07-12 Thread Kritzli
Hi there, After searching for hours on the internet, I hope anyone here has an idea. Well, that's the situation: I'm trying to login to my app via ldap directory. If its possible to login there, you can go on using the app. For the LDAP connection I'm using the UnboundID lib. I know this is

[android-developers] LDAP connection error

2010-07-12 Thread Kritzli
Hi there, After searching for hours on the internet and still being stuck, I hope anyone here has an idea. Well, that's the situation: I'm trying to login to my app via ldap directory. If its possible to login there, you can go on using the app. For the LDAP connection I'm using the UnboundID

[android-developers] Extend a button and implement Parcelable

2010-03-28 Thread Kritzli
Hi, I've got a problem with a parcelable ArrayList. I made a custom Button called MyButton and the ArrayList is a generic one. So it only takes MyButton objects. Passing the list from on Activity to another is not the problem. In the receiving Activity the Log says, it has some elements, but if i

[android-developers] Re: Create Softkeyboard dynamically

2010-03-19 Thread Kritzli
Does really nobody know ? It would be kind if somebody could help me. Cause I'm stuck there and it would save me a lot of time, knowing that one of the ideas is working or not. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Create Softkeyboard dynamically

2010-03-15 Thread Kritzli
Hi, it's me again, with a new question. Is it possible to write an Softkeyboard without XML or is this the time i'll need it ? The idea is: I have an Arraylist with buttons which have a specific position in the layout, height, width, text etc. Those buttons should create my keyboard by

[android-developers] Gesture Builder - no gestures found

2010-03-03 Thread Kritzli
Hi there, new day, new problems. Well, I'm still working on my keyboard app and therefore I need gestures. I already made some with the gesture builder, so I had quite a bunch of them and could use them on my App. Yesterday I modified some of them and all of a sudden the gesture builder said no

[android-developers] Re: Move buttons within Layout

2010-02-19 Thread Kritzli
Did you mean HelloLinearLayout or the API Demos ? Well, I had a look at both. But as I mentioned before, in my opinion I can't create a layout in XML. It need to be dynamically. Maybe I'm thinking in the wrong direction... -- You received this message because you are subscribed to the Google

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread Kritzli
. I really need some help on that ! On 10 Feb., 14:35, Kritzli pfister.ta...@googlemail.com wrote: Ok. Here's some more information about my App. I'm going to create a keyboard app. Or rather an App where you can define your own keyboard. Therefore I have two Activities A and B. Activity

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread Kritzli
, skink psk...@gmail.com wrote: Kritzli wrote: I'm still stuck on this problem. I tried to solve it by making the whole activity dynamic. But still the button is positioned at top left. I can't see why ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom()); isn't repositioning

[android-developers] Re: Move buttons within Layout

2010-02-17 Thread Kritzli
That's because you can't define a position with specific values. Um, why not ? It worked well in onGesturePerformed-Method. That's why I'm thinking it also should be working. And I can't create a layout in XML, cause I don't know how many and where the widgets would be moved. err, well,

[android-developers] Re: Move buttons within Layout

2010-02-10 Thread Kritzli
(); } } }//endGesturePerformed }//endClass Hope this helps ^^ Any kind of help is appreciated ! On 8 Feb., 20:25, Kritzli pfister.ta...@googlemail.com wrote: You cannot pass a Button via an Intent. You're right. I only pass the height, width and text of the button I customized

[android-developers] Move buttons within Layout

2010-02-08 Thread Kritzli
I tried so many things to relocate buttons of a list. Relocate the current button is working but the older buttons not. To clarify the situation: There are two Activities (Activity A and B). At Activity A I customize a button and pass it on Activity B via an intent. On Activity B I move the

[android-developers] Re: Move buttons within Layout

2010-02-08 Thread Kritzli
You cannot pass a Button via an Intent. You're right. I only pass the height, width and text of the button I customized in Activity A. Activity B cannot modify the UI of Activity A. Activity B cannot safely reuse the widgets of Activity A. I don't want to modify the UI of Activity A.

[android-developers] Change button text directly

2010-01-13 Thread Kritzli
I'm wondering if there's a way, that you can change the text of a button just with a single keystroke. I tried it with an edittext view, so that you type in some text or character and when you push enter key the text of a button changes. But, is it possible to do it directly on the button without