Re: [android-developers] Re: android:attr/activatedBackgroundIndicator isn't working

2013-01-09 Thread Vadim Peretokin
Hey - I'm afraid I'm using the CAB, and thus can't use the setItemChecked() method - the choice mode has to be CHOICE_MODE_MULTIPLE_MODAL. public void setItemChecked (int position, boolean value) Added in API level

[android-developers] android:attr/activatedBackgroundIndicator isn't working

2012-10-19 Thread Vadim Peretokin
I'm using a ListView with the android.R.layout.simple_list_item_activated_1 style used on an ArrayAdapter for the TextView elements, similar to the List16.java example. I'd like my ListView to have multi-selection, so I implemented MultiChoiceModeListener and set the

[android-developers] How to cache google map tiles in latest api?

2012-10-05 Thread Vadim Osovskiy
When you go to main page for google maps android api please check first paragraph (quote below) To make it easier for you to add powerful mapping capabilities to your application, the Google APIs add-on includes a Maps external library,

[android-developers] Re: Getting a unique PendingIndent for the same Intent?

2012-05-03 Thread Vadim Peretokin
Brilliant - thanks. I went with the private request code solution, using it the same way as I use the notifications with a unique ID, and it worked all out. Thank you both for the replies. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Getting a unique PendingIndent for the same Intent?

2012-05-02 Thread Vadim Peretokin
I'm using my notifications as a method of launching an activity to the proper state it needs to be in. There can be several notifications that all need to launch the same activity, but in different states. The issue that I'm running into is that the PendingIntent is not being unique. I pass

[android-developers] android.os.NetworkOnMainThreadException in a Service?

2012-04-10 Thread Vadim Peretokin
Hi, Why am I getting an android.os.NetworkOnMainThreadException in a Service? The service has no relevance to the UI process and communicated asynchronously via Messenger. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: TelephonyManager.getLine1Number() returns null always

2012-01-02 Thread Vadim
Seems line a (lack of) permission problem. For GSM, the phone number is on the SIM card, and some carriers just don't put it on the card, and then the phone does not know what it is, but in this case you should get an empry string rather than a null. On Jan 2, 3:18 am, Kristopher Micinski

[android-developers] Writing to the phone outgoing audio stream

2011-12-26 Thread Vadim
Does not seem possible from I've been able to gather. Seems like I can only stream out to the speaker, headphone, or bluetooth. Or am I overlooking something obvious? Thanks in advance Vadim -- You received this message because you are subscribed to the Google Groups Android Developers group

Re: [android-developers] Re: Update activity UI from service using observer pattern

2011-06-25 Thread Vadim Khondar
It seems like problem is somehow related to fact that I'm trying to tie listener with controls of activity in adapter. I there any other way to attach listener code to controls in particular row of listview instead of used by me? 2011/6/23 Vadim Khondar vadim.khon...@gmail.com: Hello! In my

Re: [android-developers] Re: Update activity UI from service using observer pattern

2011-06-25 Thread Vadim Khondar
-developers blog that ties together ListView and network operations that run on background threads (and more). The title has something to do with multithreading (or multitasking). Sorry I can't be more specific, this is from memory. -- Kostya -- Best regards,  Vadim God, grant me the serenity

Re: [android-developers] Re: Update activity UI from service using observer pattern

2011-06-25 Thread Vadim Khondar
are of great help. I'll investigate it asap. -- Best regards,  Vadim God, grant me the serenity to accept the things I cannot change, courage to change the things I can, and wisdom always to tell the difference. Rainhold Niebuhr -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Update activity UI from service using observer pattern

2011-06-23 Thread Vadim Khondar
tell it works for you, maybe the cause lays within AsyncTask implementation (haven't investigated it yet). Anyways, thanks for sane response. 2011/6/22 Kostya Vasilyev kmans...@gmail.com: 2011/6/22 Vadim Khondar vadim.khon...@gmail.com But code that sets ProgressBar value and text of TextView

Re: [android-developers] Any frameworks for app development on Android based tablets

2011-06-23 Thread Vadim Khondar
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Best regards,  Vadim God, grant me the serenity to accept the things I cannot change, courage to change the things I can, and wisdom always to tell the difference. Rainhold Niebuhr

Re: [android-developers] Re: Update activity UI from service using observer pattern

2011-06-22 Thread Vadim Khondar
/22 Kumar Bibek coomar@gmail.com: Have you tried logging your listener calls? See if those are actually being called. On Jun 19, 4:46 am, Vadim S. Khondar vadim.khon...@gmail.com wrote: Hello to everyone. I have an application with service doing background work by instantiating

Re: [android-developers] java

2011-06-22 Thread Vadim Khondar
Hi! Try Bruce Eckel Thinking in Java. On 21 черв. 2011 03:04, Richard Davis richarddavis1...@gmail.com wrote: -- 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

[android-developers] Update activity UI from service using observer pattern

2011-06-20 Thread Vadim S. Khondar
Hello to everyone. I have an application with service doing background work by instantiating AsyncTasks and activity displaying progress of that work. As soon as updates are expected to be quite often I preferred to make connection between service and activity through listener rather than via

[android-developers] Re: Quick Question about Cameras on Androids

2011-06-15 Thread vadim
On Jun 12, 3:02 pm, Michial Thompson michi...@gmail.com wrote: I am about to undertake a project where I might need to be able to activate, and take a picture with the Camera on an Android Tablet and/ or Phone. Ideally I would like this to be a 100% Browser based application with no code

[android-developers] Re: How to check telephony is available

2011-04-28 Thread vadim
Checking the phone number will not necessarily work. As I understand it, it's up to the carrier to write the phone number onto the SIM card, and some don't. My T-Mobile Nexus One reports it as unknown. On Apr 26, 1:38 am, cool rss feed coolrssfe...@gmail.com wrote: I am not sure the

[android-developers] TableLayout TableRows do not fit into screen. ImageView auto scaling.

2011-01-14 Thread Vadim Vohmjanin
Hi. I have a problem. I want to create a TableLayout, with 7 TableRows. Each TableRow contain 4 ImageViews in it in one row. Problem is for now, i have only 4 TableRows drawn with ImageViews in it. The last one 5th TableRow is shrinked to fit the space on the screen that has left after drawing

[android-developers] Disable all other Layout Views while playing Animation within ImageView

2010-12-06 Thread Vadim Vohmjanin
I have a problem that i have a TableLayout. Where i have about 30 animated ImageViews. Each ImageView is clickable. Animations are oneShot. public boolean onClick(View v) { v.setBackgroundResource(animations.get(v.getId())); AnimationDrawable animation =

[android-developers] Re: Adding contacts to a custom account

2009-12-23 Thread Vadim Vohmjanin
effects in some way. But i don't get desirable result. Any help pls? On Dec 18, 4:32 pm, Vadim Vohmjanin vadim...@gmail.com wrote: I faced the same problem. I'm doing the research now. If you have found how to do it, please provide this info. I'd be very greatfull. I also wanted to know, what

[android-developers] Re: Adding contacts to a custom account

2009-12-18 Thread Vadim Vohmjanin
I faced the same problem. I'm doing the research now. If you have found how to do it, please provide this info. I'd be very greatfull. I also wanted to know, what exactly way do you create custom account? As i understood account creation currently *requires* a developer to implement a service