[android-developers] Re: EditText selectAll() does not work in ICS

2012-08-27 Thread fhucho
Hi, this works for me: new Handler().post(new Runnable() { @Override public void run() { paidView.selectAll(); } }); On Thursday, February 2, 2012 5:12:54 AM UTC+1, Michel Stéphane Bruno wrote: > > Hi, > > I am trying to programmatically select all the text in an EditText field > when a user tou

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread fhucho
Thanks for quick replies! On Apr 29, 1:29 pm, JDS wrote: > Don't worry. If you are not home they will give you a note and you can > either pick up the package next day at their office or schedule a new > delivery at home. > > On 29 Apr, 13:20, fhucho wrote: > > >

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread fhucho
I have never received anything from Fedex or similar company before, how does it work? Do they call you in advance? I have one missed call (I erased the number), so I'm little worried. Answer quickly please, I'm quite impatient ;) On Apr 29, 1:12 pm, Lim Sim wrote: > Hmm...should I be worried tha

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-23 Thread fhucho
t; logistic system ? This can be a good field test. > - FroYo has to be ready for Google I/O (19/20 May) > - People coming at Google I/O will receive phones as well, and it has > been promised by Google BEFORE the event... it would be better if they > received it with FroYo preinstalle

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-23 Thread fhucho
@Lim Sim My app is Chess Walk. On Apr 23, 1:22 pm, Lim Sim wrote: > @fhucho.  great question.  i've been wondering the same thing for a while. > > Mine's Auto Memory Manager.  what's yours? > > [image: qr-code1.png] > > On 23 April 2010 12:15, fhucho wrote:

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-23 Thread fhucho
Out of curiosity, what is the app you guys are getting Nexus / Droid for? On Apr 23, 11:05 am, Lim Sim wrote: > haha. maybe they are upgrading the phones in transit? > > On Apr 23, 2010 10:00 AM, "fhucho" wrote: > > @Lim Sim > LOL, they're not installing Froyo

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-23 Thread fhucho
@Lim Sim LOL, they're not installing Froyo on it :) They said about a month ago that all the phones have been sent. If they wanted to install Froyo on it they would do it over the air. On Apr 23, 7:07 am, dgoemans wrote: > Dude, > 1. What do you mean "your instructions". They specifically said, n

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-22 Thread fhucho
Still no one in Europe? When was it that Google said it should arrive in two weeks? I wonder where exactly all the phones are at the moment :) I wouldn't mind making a trip to Brightpoint Netherlands for the phone, if they are not able to deliver it in 7 weeks. Waiting so long is quite frustrating,

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-19 Thread fhucho
@Ove Olaavgard I completely agree with you. The worst thing is that they are not giving any information about when/if will they expand support for selling apps to more countries. Not being able to get any response from them is really frustrating. They don't even answer simple questions like "Will i

[android-developers] Re: Paid apps in more countries - I am sick about it

2010-04-14 Thread fhucho
finished developing my app which im planning to charge > for. Unfortunetly i live in sweden where there is no paid market, but > i hope to be able to sell it in the countries that supports paid > market. > > On Apr 14, 5:48 pm, fhucho wrote: > > > > > Last year

[android-developers] Re: Paid apps in more countries - I am sick about it

2010-04-14 Thread fhucho
been quiet clean a paid apps market > > in Ireland so far hasn't made sense. > > > On Wed, Apr 14, 2010 at 4:48 PM, fhucho wrote: > > >> Last year in October I was told by Reto Meier that expanding support > >> for paid apps in Android Market is the top pri

[android-developers] Paid apps in more countries - I am sick about it

2010-04-14 Thread fhucho
Last year in October I was told by Reto Meier that expanding support for paid apps in Android Market is the top priority for the Market team. Now, six month later, I don't beleive he was telling the truth. I am really sick about this. Maybe this is a way for Google to keep the app prices low - the

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-13 Thread fhucho
Sorry, I misread your post. On Apr 13, 5:50 pm, fhucho wrote: > What is Google using then? > > On Apr 13, 5:46 pm, Thomas Riley wrote: > > > > > Google are using Brightpoint Holland to delivery to anyone in the EU > > and NOT your local brightpoint warehouse. >

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-13 Thread fhucho
What is Google using then? On Apr 13, 5:46 pm, Thomas Riley wrote: > Google are using Brightpoint Holland to delivery to anyone in the EU > and NOT your local brightpoint warehouse. > > Tom. > > On Apr 13, 2:55 pm, JDS wrote: > > > > > No I don't think he misunderstood your question. > > > Brigh

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-13 Thread fhucho
y > small webshop can deliver 2000 packets in 6 weeks to any adress in the > worldbut perhaps they are shipped from the US by boat ;-) > > But "All things come to he who waits"so I will give them a couple > of weeks before I send them another mail. > > On 1

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-13 Thread fhucho
I agree, I find it very weird that such a big company like Brightpoint has problems with delivering this amount of packges. On Apr 13, 11:10 am, Sławek wrote: > Strange, I don't think it's a problem to deliver 2000 small > packages... > > 5 weeks, I'm still waiting, Poland. > > On Apr 12, 8:55 pm

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread fhucho
Sorry, I put the second paragraph in my previous post accidentaly... On Apr 8, 9:07 am, fhucho wrote: > I received something similar, the only additional info is that "A lot > of people in Europe have received their phones already." > > I'd wait another couple weeks;

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread fhucho
I received something similar, the only additional info is that "A lot of people in Europe have received their phones already." I'd wait another couple weeks; trust me, there is a phone assigned to you and it will get to you in due time. On Apr 8, 5:38 am, Disconnect wrote: > This is getting me

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-06 Thread fhucho
Google replied me that the phone should arrive by Fedex to Czech Republic (and I guess to other parts of EU too). On Apr 5, 11:36 pm, Atif wrote: > I got the Droid last week and I am in the same boat that I don't want > to sign up with Verizon. I know I can use Droid over WiFi, but I can't > use

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-05 Thread fhucho
What about the engraving on the back? What do you think is most likely: a) No engraving b) We will have option to choose engraving c) There will be some fixed engraving On Mar 5, 8:05 pm, Nikolay Ananiev wrote: > My app, Bebbled, has 600k+ downloads, 4.5 rating, and I'm in the EU, but did > not g

[android-developers] Re: ACTION_POWER_CONNECTED broadcast receiver not working

2010-01-18 Thread fhucho
Any idea what I could try? On Jan 18, 12:29 am, fhucho wrote: > Hi, > I want to do something after the the phone is put into charger. So I > created ChargingOnReciever: > > public class ChargingOnReceiver extends BroadcastReceiver { >         public void onReceive(Context cont

[android-developers] ACTION_POWER_CONNECTED broadcast receiver not working

2010-01-17 Thread fhucho
Hi, I want to do something after the the phone is put into charger. So I created ChargingOnReciever: public class ChargingOnReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { context.startActivity(someActivity); } } and I p

[android-developers] ACTION_POWER_CONNECTED broadcast receiver not working

2010-01-17 Thread fhucho
Hi, I want to do something after the the phone is put into charger. So I created ChargingOnReciever: public class ChargingOnReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { context.startActivity(someActivity); } } and I p

[android-developers] Make menu item disabled

2010-01-14 Thread fhucho
Hi, is it possible to disable (gray) a menu item? -- 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+unsub

[android-developers] How to completely remove application

2010-01-12 Thread fhucho
Hi, I am developing on T-Mobile G1. How do I completely remove my application (database, SharedPreferences etc.)? I don't have root. 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-develop

[android-developers] Service - how to show its progress in Activity

2010-01-02 Thread fhucho
Hi, I have a service that downloads something from the Internet, it shows progress in notifications and in MyActivity (only when MyActivity is on foreground of course). How should the service post the progress to MyActivity? I know this could be done somehow with IBind but can I just simply do this

[android-developers] Google Analytics

2009-11-07 Thread fhucho
Hi, I would like to implement http://code.google.com/apis/ analytics/docs/tracking/mobileAppsTracking.html">Google Analytics for Mobile ) into my app Chess Walk. I want the following behavior: * for every Activity the user enters, generate a pageview * only send usage data to Analytics after user

[android-developers] Chess Walk

2009-11-05 Thread fhucho
My game Chess Walk (http://androidchess.appspot.com) was in top 50% bud didn't make it... BTW can someone please tell me what are the comments in Market, I don't have an Android phone yet. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Priced apps - is there a wa

2009-10-30 Thread fhucho
Hi, I just finished a chess game and have found out that I can't sell it on Android Market because my country is not supported (Czech Republic). Is there a way to circumvent this restriction (e.g. pretend that I am from US in the registration form)? What would you advise me if I want to earn some

[android-developers] EditText - dosplay gray text when blank

2009-10-27 Thread fhucho
Hi, I have a username EditText, by default it should show a light gray text "Enter username", when user clicks on it it should disappear. I think I saw somewhere that this can be done with a xml attribute without writing Java code. Does EditText has a xml attribute for this? --~--~-~--~---

[android-developers] Handler behaving strangely after orientation change

2009-10-25 Thread fhucho
Hi, in my app I have a simple clock, the clock is updating every second. I update the clock using a handler - to start ticking I call: handler.postAtTime(clockTask, currentTime + 1000); So after 1000 milliseconds clockTask is run. In clockTask I update the clock and call handler.postAtTime(cloc

[android-developers] Re: How to save my custom view's state

2009-10-20 Thread fhucho
Probably the best way to do this is to call those methods from the Activity's methods onSavedStateInstance() and onRestoreInstanceState (). On Oct 20, 10:06 pm, fhucho wrote: > I tested it and the methods aren't called automatically. I was talking > about View.onSaveSta

[android-developers] Re: How to save my custom view's state

2009-10-20 Thread fhucho
call these methods. > > See step 7 in the Notepad > tutorial:http://developer.android.com/guide/tutorials/notepad/notepad-ex3.html > > -- > RichardC > > On Oct 20, 4:27 pm, fhucho wrote: > > > > > Hi, > > I have a custom View, what is the proper way of sa

[android-developers] How to save my custom view's state

2009-10-20 Thread fhucho
Hi, I have a custom View, what is the proper way of saving / restoring it's state after orientation change. I know I should implement onSaveStateInstatnce() and onRestoreInstanceState() methods, but how exactly (with which argumets) and when I should call them? --~--~-~--~~

[android-developers] Re: Custom View - obtain android:layout_width value

2009-10-18 Thread fhucho
n Oct 18, 2:30 pm, Mark Murphy wrote: > fhucho wrote: > > I have a custom View, it is created from xml - how can I obtain the > > android:layout:width value in the constructor View(Context x, > > AttributeSet a) ? > > To get at a custom attribute, you would use code like

[android-developers] Custom View - obtain android:layout_width value

2009-10-18 Thread fhucho
I have a custom View, it is created from xml - how can I obtain the android:layout:width value in the constructor View(Context x, AttributeSet a) ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Vertical TextView

2009-10-13 Thread fhucho
Is it possible to create a vertical (90 degrees rotated) TextView? I need this because I have a TextView label on SlidingDrawer at the bottom edge of the screen in portrait layout. When orientation changes to landscape, the SlidingDrawer is at the right edge, so now it is vertical (or 90 degrees r

[android-developers] Vertical TextView

2009-10-12 Thread fhucho
Can I somehow make my TextView to be vertical - it should look like normal TextView rotated 90 degrees. I want this because at the bottom of the screen I have a SlidingDrawer widget with a TextView label and when the screen orientation changes to landscape I want to display the SlidingDrawer at th

[android-developers] Re: People still using ADC2 entries

2009-10-12 Thread fhucho
Those users have rooted phones and they just somewhere exported the downloaded apps. On Oct 12, 10:26 pm, CraigsRace wrote: > I had a look at my server logs, it looks like people are still playing > my ADC2 entry (only about 30 people / day). > > The users are spread out from all over the world

[android-developers] Animation not working as I want

2009-10-11 Thread fhucho
Hi, I have a LinearLayout, with a text and a button, which I want to show and hide (using translate animation) sometimes. As for now I show/hide it by setVisibility() to View.GONE or View.VISIBLE. To set the translate animation I do this: myLinearLayout.setLayoutAnimation(new LayoutAnimationContr

[android-developers] Re: Should I use Canvas or SurfaceView for a chess game?

2009-10-11 Thread fhucho
Thanks for replies, I will stick with Canvas. One more question - for the animations should I use the built-in animaton framework or do them manually? Note that I am using one custom View for the whole chessboard. --~--~-~--~~~---~--~~ You received this message beca

[android-developers] Should I use Canvas or SurfaceView for a chess game?

2009-10-10 Thread fhucho
Hi, I am developing a chess game, what view should I use for the chessboard, Canvas or SurfaceView? I want to implement some animations like moving a piece, fading the chessboard or maybe rotating the chessboard. --~--~-~--~~~---~--~~ You received this message becau

[android-developers] Re: How to create Spinner with custom items

2009-10-06 Thread fhucho
oid forums there are plenty of examples. > In general, you have to create and then use certain layout. > Put all stuff you want onto this layout based on the position index. > Return that layout. > > On Oct 6, 5:05 pm, fhucho wrote: > > > > > Yes, I have to override get

[android-developers] Re: How to create Spinner with custom items

2009-10-06 Thread fhucho
to derive from certain adapter and then override > getView() method there. > > On Oct 6, 4:24 pm, fhucho wrote: > > > > > How can I create Spinner with customized items? Normally it is > > possible to have spinner items with text and checkboxes on the right, > > b

[android-developers] How to create Spinner with custom items

2009-10-06 Thread fhucho
How can I create Spinner with customized items? Normally it is possible to have spinner items with text and checkboxes on the right, but I would like to have one part of the item's text black and the second part gray. I tried to create custom ArrayAdapter for the Spinner but I just can't figure ou

[android-developers] How to create TextView with a link that opens in browser

2009-10-01 Thread fhucho
I would like to create a TextView that would contain a single link, e.g. google.com. After click it would open google.com in browser. I found a way how to do it, but it's a bit slow, can this be done more efficiently? Now I use this code: TextView link = (TextView) findViewById(R.id.link); link.s

[android-developers] Center TextView between other two widgets

2009-10-01 Thread fhucho
Hi, I have a horizontal LinearLayout in which I have a button, text1 and text2. I want the button to be on the left, text2 on the right and text1 centered between them, like in the following diagram ( | is edge of the screen, - is empty space): | BUTTON---TEXT1TEXT2 | text1

[android-developers] ADC: I don't see my uploaded application

2009-08-31 Thread fhucho
Hi, I uploaded my app to ADC, but I don't see it in the developer console. When I want to upload an updated version it says "You have another application on Android Market or ADC with the same package name (cz.fhejl.chess). Go to that other application, and click upgrade." --~--~-~--~~

[android-developers] Re: Problems with ADC upload

2009-08-31 Thread fhucho
Is your app signed? But if you tested it on your G1 it probably is... On Aug 31, 2:26 pm, longhairedsi wrote: > Hi > > I've been trying to upload my adc submission. I keep getting an error > saying "Upload a valid APK." can anyone elaborate on what this > means I've followed the checklist fo

[android-developers] Re: Activity stack: A B C -> press BACK -> go to A

2009-08-30 Thread fhucho
Thanks. Good idea, I did it this way. On Aug 30, 10:11 pm, "Jonas Petersson" wrote: > fhucho wrote: > > my activity stack is ABC, in activity C I press back, and return to B, > > then press back again and go to A. What should I do to return to A > > directly fr

[android-developers] Activity stack: A B C -> press BACK -> go to A

2009-08-30 Thread fhucho
Hi, my activity stack is ABC, in activity C I press back, and return to B, then press back again and go to A. What should I do to return to A directly from C? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Re: How to create button with icon and text

2009-08-27 Thread fhucho
I don't know if I understand it correctly, but you can try setting the background manually in the topDrawable image (ie don't make the background of topDrawable transparent). On Aug 27, 2:38 pm, Klaus Kartou wrote: > I have a additional question then. > If I want to specify a background color fo

[android-developers] Re: How to create button with icon and text

2009-08-27 Thread fhucho
Thanks On Aug 27, 2:17 pm, "Mark Murphy" wrote: > > How can I create a Button with icon and text? > > Use android:drawableLeft or android:drawableRight or > android:drawableBottom or android:drawableTop. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http

[android-developers] How to create button with icon and text

2009-08-27 Thread fhucho
Hi, How can I create a Button with icon and text? --~--~-~--~~~---~--~~ 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

[android-developers] Re: ADC 2 - can I update my app after the 1. round

2009-08-17 Thread fhucho
I don't think so, but it I hope it will open later than on 31. August, because my app is far from finished ;) On 17 srp, 20:38, cindy wrote: > Is the site opened ? > > Thanks! > > On Aug 17, 11:29 am, fhucho wrote: > > > > > Hi, > > if I submit my a

[android-developers] ADC 2 - can I update my app after the 1. round

2009-08-17 Thread fhucho
Hi, if I submit my app to ADC 2, can I then submit an updated version later, e.g. after the 1. round ended? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] How to style part of TextView

2009-08-17 Thread fhucho
Hi, I want to include a chat feature into my application. But I don't know what widget should I use for the chat - now I use TextView but I have two problems: 1) In the TextView there will be lines like "John: Hi, how're you doing?". I want the text "John" to have blue color, how can I do that? 2

[android-developers] How to redraw only a part of my custom View

2009-08-14 Thread fhucho
I have a custom view, that overrides the onDraw() method. For better performance I want to redraw only a small part of Canvas in onDraw(), how can I do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Periodically updating GUI

2009-08-14 Thread fhucho
I want to display text clock that would update every second. What is the best way to do this? Is it possible to use AsyncTask somehow? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] How to pass an object to an Activity via Intent.putExtra()

2009-08-07 Thread fhucho
Hi, I am developing an app that connects to a server. For that connection I created a class Client that maintains info about the connection . My app consists of several Activities and each of that Activity needs access to the Client object to communicate to the server. 1) Can I put somewhere the

[android-developers] Re: How to use telnet

2009-08-07 Thread fhucho
hu, Aug 6, 2009 at 1:15 PM, fhucho wrote: > > > Hi, I want my app to connect to a server via telnet, send some > > commands and read the output, how can I do that? > > I googled a lot but found nothing... --~--~-~--~~~---~--~~ You received this

[android-developers] How to use telnet

2009-08-06 Thread fhucho
Hi, I want my app to connect to a server via telnet, send some commands and read the output, how can I do that? I googled a lot but found nothing... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] How to create toggle buttons that have 'jointed' appereance?

2009-06-24 Thread fhucho
Hi, how can I create a group of 3 toggle buttons that look like there are a single widget (they look 'jointed'). If it is not clear what I mean, look at the bottom buttons in iPhone map application. Or the buttons for choosing car/walk/transit directions in the new maps for android app. Thanks -