[android-developers] Using FragmentPagerAdapter, how to pass variables to Fragments

2011-10-12 Thread Dominik Erbsland
I made a horizontal slider with the FragmentPagerAdapter letting the user to smoothly scroll through views. The Fragment classess I am using used to be Activity classes. The code looks like this how I added these classes to the slider: ... private void initialisePaging() { ListFragment

[android-developers] Problem with PagerAdapter using various Views

2011-10-09 Thread Dominik Erbsland
I used this tutorial to make a little sample app with the PagerAdapter to swipe through views smoothly. http://code.google.com/p/viewpagerexample/source/browse/trunk/AwesomePager/src/com/geekyouup/paug/awesomepager/AwesomePagerActivity.java But the problem there is that they only use one TextView

[android-developers] Three-level ExpandableListView possible?

2011-05-29 Thread Dominik Erbsland
I was wondering if there is a way to make a three-level ExpandableListView? I successfully made a two-level ExpandableListView with the help of a tutorial (http://developer.android.com/resources/samples/ApiDemos/src/ com/example/android/apis/view/ExpandableList1.html) But what I want to do is to

[android-developers] Re: How to use the new clipboard function?

2011-03-30 Thread Dominik Erbsland
PM, Dominik Erbsland derbsl...@ gmail.com wrote: Ich benutze die Zwischenablage, damit der Benutzer einen Text kopieren aus meinem App in die Zwischenablage.aber jetzt heißt es, dass die Art und Weise ich die Zwischenablage ist veraltet. Leider konnte ich kein passendes Beispiel, wie ich auf

[android-developers] How to use the new clipboard function?

2011-03-29 Thread Dominik Erbsland
I use the clipboard function to let the user copy some text out of my app into the clipboard. but now it says that the way I use the clipboard is deprecated. Unfortunately I could not find an example how I have to use the clipboard the new way. I found the docs here:

[android-developers] Can't get Scrollbar Fastscroll to work. Need help.

2010-12-28 Thread Dominik Erbsland
I tried pretty much every possible setting but I could not make it work. So here is my code, maybe you can see the error? No matter what I do the scrollbar remains default... I would like to make the scrollbar with a thumb for fast scrolling because I have a huge list to display and it would take

[android-developers] Problem with multiple Intents in a ListView populated via subclass

2010-06-02 Thread Dominik Erbsland
I have a ListActivity which is being filled via an internal class OrderAdapter - while the list is being populated I set various OnClickListeners on the TextView elements which should open the same view with different parameter values per line. My problem I have is that no matter which entry in

[android-developers] Re: Problem with multiple Intents in a ListView populated via subclass

2010-06-02 Thread Dominik Erbsland
); } } On 2 Jun., 13:39, Mark Murphy mmur...@commonsware.com wrote: Dominik Erbsland wrote: I have a ListActivity which is being filled via an internal class OrderAdapter - while the list is being populated I set various OnClickListeners on the TextView

[android-developers] What's the localization language code for Turkish?

2010-05-22 Thread Dominik Erbsland
A friend of mine just translated my whole app to Turkish and I want to implement this translation now. I just can't find the 2-letter code for Turkish anywhere. What is it? Thanks for help! -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: What's the localization language code for Turkish?

2010-05-22 Thread Dominik Erbsland
JFYI I probably found it: http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes On May 22, 9:43 am, Dominik Erbsland derbsl...@gmail.com wrote: A friend of mine just translated my whole app to Turkish and I want to implement this translation now. I just can't find the 2-letter code

[android-developers] Re: Can't debug with my Nexus One

2010-05-22 Thread Dominik Erbsland
...@googlemail.com wrote: I had to update my usb drivers. http://developer.android.com/sdk/win-usb.html Al. On May 22, 8:37 am, Dominik Erbsland derbsl...@gmail.com wrote: Hi all I have a HTC Hero and newly also a Nexus One. I used to debug with the HTC Hero which worked just fine

[android-developers] Re: Can't debug with my Nexus One

2010-05-22 Thread Dominik Erbsland
JFYI - it works now! A reboot was neccessary, after that it worked after updating the USB driver! On May 22, 8:48 pm, Dominik Erbsland derbsl...@gmail.com wrote: OK I insalled the driver as directed at:http://developer.android.com/sdk/win-usb.html#XPFreshInstall the installation went through

[android-developers] Re: getHeight() of TextView in TableRow problem

2009-12-16 Thread Dominik Erbsland
getHeight too early. On Nov 28, 2009 12:26 PM, Dominik Erbsland derbsl...@gmail.com wrote: I have a very odd problem - or perhaps it's just odd to me. I have an Activity in which I have a TableLayout. I fill the table with TableRows in which I display TextViews. Imagine this as a classical

[android-developers] getHeight() of TextView in TableRow problem

2009-11-28 Thread Dominik Erbsland
I have a very odd problem - or perhaps it's just odd to me. I have an Activity in which I have a TableLayout. I fill the table with TableRows in which I display TextViews. Imagine this as a classical table with text content. After the loop is finished I want to read all the heights in pixels of