Re: [android-developers] Re: Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-27 Thread Kostya Vasilyev
Android Market already has its own rating system: https://www.google.com/support/androidmarket/developer/bin/answer.py?answer=188189 It's not the same as MSRB, and applies not only to games, but it's already there, and has been for a long time. The Market app has a setting to filter content

Re: [android-developers] hardware acceleration

2011-11-24 Thread Kostya Vasilyev
Where do you perform this test relative to the activity's lifecycle? The method will not return true until the view has been attached to a hardware accelerated window. The activity's onCreate is too early for that, so you get false. -- Kostya 24 ноября 2011 г. 16:50 пользователь New Developer

Re: [android-developers] Re: How secure are SharedPreferences on rooted devices?

2011-11-24 Thread Kostya Vasilyev
If what you want is to be able to give out free copies to some users, implement another unlocker, that is similar to the paid premium unlocker you're planning for Market, but is free. Encrypting preference data has nothing to do with LVL per se, and does not require that the app is paid or free.

Re: [android-developers] How to find out why my app crashes

2011-11-23 Thread Kostya Vasilyev
Resource ID #0x7f030001 means? 11-23 10:52:31.600: E/AndroidRuntime(3973): java.lang.RuntimeException: Unable to start activity ComponentInfo{wyo.android.contacts/wyo.android.contacts.ContactMgr}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030001 -- Kostya Vasilyev

Re: [android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Kostya Vasilyev
Look below caused by in the logcat to identify where the NullPointerException occurrs. Then fix it. 23 ноября 2011 г. 15:36 пользователь Graham Bright gbwienmobil...@gmail.com написал: Can anyone help? Thanks Graham On Nov 23, 2011 11:51 a.m., Graham Bright gbwienmobil...@gmail.com wrote:

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Kostya Vasilyev
Um, what's expected to change in five weeks? 23 ноября 2011 г. 17:13 пользователь Mark Murphy mmur...@commonsware.comнаписал: On Wed, Nov 23, 2011 at 7:59 AM, Satya Komatineni satya.komatin...@gmail.com wrote: This is really frustrating try to see/get android source code on windows.

Re: [android-developers] Re: PLEASE HELP . java.lang.NullPointerException when Service uses ArrayList

2011-11-23 Thread Kostya Vasilyev
); if (items != null) { items.add(orig); String toadd = orig.toString(); if(items.contains(toadd)){ Log.d(TAG, Element already exists exiting ); } else { Log.d(TAG, Adding Element); items.add(toadd); } } else { Log.d(TAG, IS NULL); } } } On 23 Nov., 12:53, Kostya Vasilyev kmans

Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Kostya Vasilyev
Ah. Well, there is still GrepCode (and possibly others). http://www.grepcode.com/search/?query=android+calendarview No 4.0 sources there yet either, it seems. 23 ноября 2011 г. 17:50 пользователь Mark Murphy mmur...@commonsware.comнаписал: 2011/11/23 Kostya Vasilyev kmans...@gmail.com: Um

Re: [android-developers] Re: Reconnect on ACTION_SCREEN_ON - wifi icon incorrect

2011-11-23 Thread Kostya Vasilyev
off and back on manually won't fix the icon error. Help is greatly appreciated. -- Kostya Vasilyev -- 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

Re: [android-developers] Re: Activity animation

2011-11-22 Thread Kostya Vasilyev
You are supposed to set the animations once, after having called finish() on the exiting activity. Make sure to set the parameters correctly - one is the exit animation for activity we're exiting, the other is the entry animation for the activity we're entering. Oh, and it definitely does work.

Re: [android-developers] Re: Activity animation

2011-11-22 Thread Kostya Vasilyev
overridePendingTransition() in my onCreate() method, but I don't explicitly call finish() or do anything beyond that. On Nov 22, 12:02 pm, Kostya Vasilyev kmans...@gmail.com wrote: You are supposed to set the animations once, after having called finish() on the exiting activity. group/android-developers?hl=en

Re: [android-developers] HD Displays and JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2011-11-22 Thread Kostya Vasilyev
Using multiple remote views per update is a sure way to get a messed up widget after a configuration change, and sometimes sooner. 2011/11/22 Mark Murphy mmur...@commonsware.com 2011/11/21 Tomáš Hubálek tom.huba...@gmail.com: BTW: Splitting bitmap into multiple chunks does now work as

Re: [android-developers] Re: second call to setListAdapter() ignored

2011-11-22 Thread Kostya Vasilyev
:04 пользователь eehouse ho...@gmail.com написал: On Nov 20, 11:43 pm, Kostya Vasilyev kmans...@gmail.com wrote: It seems that the only way to rebuild the fast scroll section data is to toggle fast scrolling off and on again. I tried this (in my modified version of Mark's example code

Re: [android-developers] Weird memory issue on Samsung Galaxy Note

2011-11-22 Thread Kostya Vasilyev
The first bunch of logcat messages mean that this process has a fairly high memory churn rate, about 2-3 megabytes per second. Still, this should only affect your process making it slower - it does _seem_ like a firmware issue to me, perhaps a lame optimization attempt? I'd recommend trying to

Re: [android-developers] Re: second call to setListAdapter() ignored

2011-11-21 Thread Kostya Vasilyev
HTC Incredible S with 2.3.3 uses the image from an earlier version of Android). -- Kostya 2011/11/21 Mark Murphy mmur...@commonsware.com: On Mon, Nov 21, 2011 at 2:43 AM, Kostya Vasilyev kmans...@gmail.com wrote: It seems that the only way to rebuild the fast scroll section data is to toggle

Re: [android-developers] Getting reference to service

2011-11-21 Thread Kostya Vasilyev
bindService http://developer.android.com/guide/topics/fundamentals/bound-services.html 2011/11/21 mgolds02 mgold...@gmail.com: I'm trying to write a simple service that will poll RSS data from an RSS feed on start up.  However, the RSS data isn't needed until a specific activity in my app is

Re: [android-developers] Re: Strikethru Differennt Color Than Text

2011-11-20 Thread Kostya Vasilyev
on the SpannableString interface. Thanks, Jay -- Kostya Vasilyev -- 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

Re: [android-developers] Multiple layouts

2011-11-20 Thread Kostya Vasilyev
a range to display sizes, but the Samsung 7 device falls through the cracks. I've search everywhere I could find and have read and reread to sdk docs, but I haven't found an answer. Any help would be appreciated. Thanks, Stephen Lebed -- Kostya Vasilyev -- You received this message because you

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread Kostya Vasilyev
Have you tried setOnItemSelectedListener instead? 2011/11/20 David Karr davidmichaelk...@gmail.com I'm looking at the 3.2 API for android.widget.Spinner. The documentation for public void setOnItemClickListener (AdapterView.OnItemClickListener l) says this: A spinner does not support

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread Kostya Vasilyev
That comment about Calling this method will raise an exception only appears under Spinner.setOnItemClickListener. The setOnItemSelectedListener is inherited from AdapterView, there is no warning about it being unsupported, and it definitely works on 3.2. So I'm not clear as to which one you're

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread Kostya Vasilyev
2011/11/21 David Karr davidmichaelk...@gmail.com: When someone says Oh, duh, that's an idiom for I understand now. I know :) I was using Selected, but I read the advice on Click, and I didn't It just seemed like you maybe kept using the wrong one, despite the oh duh moment. Sorry if I

Re: [android-developers] Re: Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread Kostya Vasilyev
Have you tried making a fresh workspace and importing a fresh copy of your sources? -- Kostya Vasilyev 21.11.2011 2:11 пользователь olefevre lefev...@googlemail.com написал: On Nov 20, 6:12 pm, B Lyon bradfl...@gmail.com wrote: is it only when includes are involved? might be related

Re: [android-developers] Re: second call to setListAdapter() ignored

2011-11-20 Thread Kostya Vasilyev
It seems that the only way to rebuild the fast scroll section data is to toggle fast scrolling off and on again. -- Kostya 2011/11/21 eehouse ho...@gmail.com: On Nov 18, 4:15 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Nov 17, 2011 at 10:01 PM, eehouse ho...@gmail.com wrote:

Re: [android-developers] New developer agreement

2011-11-19 Thread Kostya Vasilyev
purchase. -- Kostya Vasilyev -- 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+unsubscr...@googlegroups.com

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-11-19 Thread Kostya Vasilyev
this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group

Re: [android-developers] Re: New developer agreement

2011-11-19 Thread Kostya Vasilyev
true, is still 15 minutes. The 48 hours has been there since day 1. It only means if that the user contacts you complaining that he wants a refund, he has 48 hours to do it so. But through google checkout he will still have the usual 15 minutes gap. On 19 nov, 14:05, Kostya Vasilyev kmans

Re: [android-developers] Re: New developer agreement

2011-11-19 Thread Kostya Vasilyev
. -- Kostya Vasilyev -- 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+unsubscr...@googlegroups.com For more

Re: [android-developers] Checkout became wallet and now we have no visibility/manageability

2011-11-18 Thread Kostya Vasilyev
information is available in Wallet. Is there a different link we need to go to manage our developer account ? Without this, we are dead in the water for validating customer payments If someone knows the right place to go, i would appreciate a pointer. thx! -g -- Kostya Vasilyev -- You received

Re: [android-developers] SharedPreferences question

2011-11-16 Thread Kostya Vasilyev
Are you trying to let the user change the value with a preference activity, and still get access to the value from code? If so, make sure that the shared prefs storage is the same in both cases: Option 1: - In your code snippet, call PreferenceManager.getDefaultSharedPreferences() rather than

Re: [android-developers] Help needed with dynamic layout change [UI Rearrange]

2011-11-16 Thread Kostya Vasilyev
This should work automagically. Do you have configChanges in the manifest for the first activity? 2011/11/16 androidCrazy venky...@gmail.com I have two activities. The first activity has buttons arranged as per layoutfirst.xml in protrait mode and layoutfirst.xml in landscape mode, placed in

Re: [android-developers] device in sleep mode, service still working ?

2011-11-16 Thread Kostya Vasilyev
Depends on your definition of working. It's not terminated, but the entire device may go to sleep, unless something wakes it up. If you have an open network connection (WiFi or mobile, not sure about Bluetooth) and a packet comes in, the device will wake up for a short time. Keeping it awake for

Re: [android-developers] Honeycomb: disabled menu items look

2011-11-14 Thread Kostya Vasilyev
Have you tried invalidateOptionsMenu? (iirc) -- Kostya Vasilyev 14.11.2011 18:58 пользователь port443 port4...@gmail.com написал: I'm having trouble making an ActionBar's menu item look disabled. This works well for pre-Honeycomb (popup) menus correctly, but doesn't work on new menus. I'm

Re: [android-developers] Re: Honeycomb: disabled menu items look

2011-11-14 Thread Kostya Vasilyev
it is disabled); same code works on same device with classic menus and makes menu items look disabled (if I just change target platform 11 - 10). On Nov 14, 10:46 am, Kostya Vasilyev kmans...@gmail.com wrote: Have you tried invalidateOptionsMenu? (iirc) -- Kostya Vasilyev 14.11.2011 18:58

Re: [android-developers] Re: Honeycomb: disabled menu items look

2011-11-14 Thread Kostya Vasilyev
on it to find out it is disabled); same code works on same device with classic menus and makes menu items look disabled (if I just change target platform 11 - 10). On Nov 14, 10:46 am, Kostya Vasilyevkmans...@gmail.com wrote: Have you tried invalidateOptionsMenu? (iirc) -- Kostya Vasilyev 14.11.2011

Re: [android-developers] Re: New ADT tools creating eclipse errors

2011-11-14 Thread Kostya Vasilyev
Based on this, it looks like *some* of your Android tools are out of date and out of sync (I'm thinking platform-tools / tools / ADT in Eclipse). 14.11.2011 21:55, ivan пишет: In addition the console gives the following: ERROR: Unknown option '--no-crunch' -- Kostya Vasilyev -- You

Re: [android-developers] Re: onCreate vs onStart

2011-11-13 Thread Kostya Vasilyev
+ onRestart(): update the UI and data state (if needed) in case the user switched away from the activity and came back. 2011/11/13 Streets Of Boston flyingdutc...@gmail.com What Mark said below :) And note that when the onStart is called, the activity becomes visible. When the onResume is

Re: [android-developers] Re: onCreate vs onStart

2011-11-13 Thread Kostya Vasilyev
in onCreate during the normal activity startup sequence. -- Kostya 14.11.2011 0:29, TreKing ?: On Sun, Nov 13, 2011 at 10:18 AM, Kostya Vasilyev kmans...@gmail.com mailto:kmans...@gmail.com wrote: + onRestart(): update the UI and data state (if needed) in case the user switched away

Re: [android-developers] TextView and white-space

2011-11-11 Thread Kostya Vasilyev
it - just return true or false. So right now, if there's a white-space, i just toast an error message and return false. it seems like a better solution - either for the textview to auto-trim the new input or for me to be able to set the new value from within the callback. -- Kostya Vasilyev -- You

Re: [android-developers] Re: Urgent help required

2011-11-11 Thread Kostya Vasilyev
raw != assets 11.11.2011 15:27, Sunil Mishra пишет: I tried changing background-image:url('images/css/topBanner.jpg') to background-image:url(file://android_asset/raw/images/css/ topBanner.jpg' ) but it still not working. -- Kostya Vasilyev -- You received this message because you

Re: [android-developers] DatePicker in a fragment

2011-11-11 Thread Kostya Vasilyev
. However, is there an option to generate a date picker dialog with this implementation? -- Kostya Vasilyev -- 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

Re: [android-developers] Re: Obsoleting 1.5

2011-11-11 Thread Kostya Vasilyev
+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: [android-developers] Trouble creating viewable file in non-SD location

2011-11-10 Thread Kostya Vasilyev
http://developer.android.com/guide/topics/data/data-storage.html#filesInternal Files in your application's data directory are by default only accessibe by the application. Even if you make the files world-readable, the data directory is not browserable. Creating the files you want to share with

Re: [android-developers] How restore transaction in In-App Billing (Android) work?

2011-11-10 Thread Kostya Vasilyev
You're right, Dungeons restores transactions from the server if it detects that it was just installed and doesn't have purchase history yet. Only managed items are restored, that's part of the definition of a managed item.

Re: [android-developers] Re: Change default debug key?

2011-11-10 Thread Kostya Vasilyev
...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 株式会社アルゴ ARGO Inc. 〒130-0012 東京都墨田区太平3-11-10 NTKオオノビル8階 ソアレス フランシスコ ( Soares Francisco ) Mail : soa...@argo.bz HP :http://www.argo.bz/ TEL:03-5619-4511 FAX:03-5619-4512 -- Kostya

Re: [android-developers] mapview

2011-11-10 Thread Kostya Vasilyev
to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You received

Re: [android-developers] Obsoleting 1.5

2011-11-10 Thread Kostya Vasilyev
too optimistic? Who has done it? Nathan -- Kostya Vasilyev -- 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

Re: [android-developers] Re: Obsoleting 1.5

2011-11-10 Thread Kostya Vasilyev
scenario. But since this is the Android Market, after all, can anyone tell me if this actually works? Were there weird side effects? Nathan -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: Obsoleting 1.5

2011-11-10 Thread Kostya Vasilyev
to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You received this message

Re: [android-developers] Re: Obsoleting 1.5

2011-11-10 Thread Kostya Vasilyev
. -- Kostya Vasilyev -- 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+unsubscr...@googlegroups.com For more

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-09 Thread Kostya Vasilyev
First and foremost, you're on the wrong list. Find a more appropriate one here: http://source.android.com/community/index.html 09.11.2011 16:58, Pawan Singh Rathore пишет: Am I in right direction? -- Kostya Vasilyev -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Re: Android and WinXP: look for some tips

2011-11-08 Thread Kostya Vasilyev
-mode all the time (because my program is no longer debugging). -- Kostya Vasilyev -- 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

Re: [android-developers] android statistics (android versions and their market share)

2011-11-08 Thread Kostya Vasilyev
I could reap from such an increase in number of supported phones as I don't have the figures of what's out there. -- Kostya Vasilyev -- 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

Re: [android-developers] UIActionSheet Android counterpart

2011-11-08 Thread Kostya Vasilyev
Um, PopupWindow or just a view with animation... -- Kostya Vasilyev 09.11.2011 1:55 пользователь bob b...@coolgroups.com написал: I'm converting an app from iPhone to android. On iPhone, there's a UI element called a UIActionSheet that slides up from the bottom. Here's an example: http

Re: [android-developers] zoom zoom?

2011-11-07 Thread Kostya Vasilyev
my app for Android 1.5 and designed for a 320x480 device, Android will zoom the screen if it's run on a tablet. However, this did not work when I tried it. Anyone know about this? -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Kostya Vasilyev
!/a, text/html, utf-8); com.commonsware.android.MY_ACTION matches the intent filter for the activity in Mark's sample code. Your action string should match the intent filter in your project, not Mark's. -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] In-app billing: Creating coupons ?

2011-11-07 Thread Kostya Vasilyev
. And, for us as developers to have a way to put an expiry on the access acquired via the coupon. Thanks! -- Kostya Vasilyev -- 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

Re: [android-developers] Re: Animations in ListView (Android 3+)

2011-11-06 Thread Kostya Vasilyev
to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] QR code that redirects to android market

2011-11-06 Thread Kostya Vasilyev
that? and if its possible, how? -- Kostya Vasilyev -- 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

Re: [android-developers] Can't layout square ImageButtons

2011-11-06 Thread Kostya Vasilyev
by dividing up the available width evenly in the layout process. I am willing to do some adjustments in onCreate, but what can I do to force the 1:1 aspect ratio of the buttons and still benefit from convenience of XML layout? -- Kostya Vasilyev -- You received this message because you

Re: [android-developers] Re: Transactions in a ContentProvider

2011-11-05 Thread Kostya Vasilyev
entities in a normalized database, so I need transactions in order to insert parts of a single entity on their respective tables and do some data validation (say queries) between these insert operations. Is there a better solution for that? -- Kostya Vasilyev -- Kostya Vasilyev -- You received

Re: [android-developers] Re: Laying imageViews in a Grid

2011-11-05 Thread Kostya Vasilyev
android:text=Button / /LinearLayout /LinearLayout -- Kostya Vasilyev -- 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

Re: [android-developers] Re: Transactions in a ContentProvider

2011-11-05 Thread Kostya Vasilyev
via the ContentObserver. -- Kostya Vasilyev -- 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+unsubscr

Re: [android-developers] Re: How can we get the 2^21 bytes from a video file in android

2011-11-05 Thread Kostya Vasilyev
: Sounds like a homework assignment. On 11/5/2011 2:16 PM, Sanat Pandey wrote: I want to get first 2^21 bytes of a video file which is resided in sdcard, but I don't know how? Please suggest me the right solution regarding the same.\ Thanks in advance -- Kostya Vasilyev -- You received

Re: [android-developers] Transactions in a ContentProvider

2011-11-04 Thread Kostya Vasilyev
. Thanks. -- Kostya Vasilyev -- 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+unsubscr...@googlegroups.com

Re: [android-developers] android market language listings

2011-11-04 Thread Kostya Vasilyev
for listings in android market. For instance I can see Chinese (Taiwan) but not Chinese (PRC), and I cannot see many other languages despite the mobile phones support many. What's up with this? John Goche -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Transactions in a ContentProvider

2011-11-04 Thread Kostya Vasilyev
in a normalized database, so I need transactions in order to insert parts of a single entity on their respective tables and do some data validation (say queries) between these insert operations. Is there a better solution for that? -- Kostya Vasilyev -- You received this message because you

Re: [android-developers] how to deflate/hide(invisible) ViewStub from Menu (onOptionsItemSelected)?

2011-11-04 Thread Kostya Vasilyev
. Need help :( Thanks, Ab -- Kostya Vasilyev -- 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+unsubscr

Re: [android-developers] Re: how to deflate/hide(invisible) ViewStub from Menu (onOptionsItemSelected)?

2011-11-04 Thread Kostya Vasilyev
by replacing the stub withinclude and toggle its contents' visibility. Could you elaborate a little more? Thanks, Abhi -- Kostya Vasilyev -- 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

Re: [android-developers] Re: Change activity-wide density-configuration so that Resources decode from another res-folder.

2011-11-04 Thread Kostya Vasilyev
The bug here is trying to modify something that is not intended to be modified by application code. -- Kostya Vasilyev 05.11.2011 2:47 пользователь Alex K. aragn...@googlemail.com написал: Hi, I have exactly the same problem. Did you find a solution for this random DisplayMetrics restet

Re: [android-developers] Re: There is some android component that distribute text as news paper column?

2011-11-04 Thread Kostya Vasilyev
I would recommend you take a look at this: http://developer.android.com/reference/android/text/Layout.html This class does the actual work of displaying text in a TextView. Or just start with Canvas methods that measure and draw text and take it from there. -- Kostya Vasilyev 04.11.2011 18:40

Re: [android-developers] On Android, how can I launch the Gmail App to display a specific mail?

2011-11-03 Thread Kostya Vasilyev
your app. you may send the specific mail ID to Email, than let Email Download the specific mail and show. In this case, you'll have to modify the Email's source. -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] How to get this to wrap?

2011-11-03 Thread Kostya Vasilyev
singleLine= true on the view you do not want to word wrap. Ellipsize=none does not prevent wrapping. -- Kostya Vasilyev 04.11.2011 2:31 пользователь darrinps darri...@gmail.com написал: I have two TextViews. One to the left of the other. The first can hold a very long name and the other is pretty much

Re: [android-developers] ExpandableListView expand/collapse question

2011-11-02 Thread Kostya Vasilyev
and in the process another item gets deleted. Is there a way to find out that the updating of the listview is finished? -- Kostya Vasilyev -- 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

Re: [android-developers] Re: Sudden rash of license check failures in LVL. Anyone else?

2011-11-02 Thread Kostya Vasilyev
one yesterday. Since I didn't have any for the preceeding 18 months, I guess you can call that a rash. Pent -- Kostya Vasilyev -- 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

Re: [android-developers] Re: date and time

2011-11-02 Thread Kostya Vasilyev
The date / time conversion variations you posted all seem Ok. If the issue is with how you update the file, look for a bug there, not in date formatting. -- Kostya 02.11.2011 22:59, leigh8347 пишет: Thank you but this did not work. Any other ideas regards -- Kostya Vasilyev -- You

Re: [android-developers] Re: date and time

2011-11-02 Thread Kostya Vasilyev
: The date / time conversion variations you posted all seem Ok. If the issue is with how you update the file, look for a bug there, not in date formatting. -- Kostya 02.11.2011 22:59, leigh8347 пишет: Thank you but this did not work. Any other ideas regards -- Kostya Vasilyev -- Kostya Vasilyev

Re: [android-developers] ExpandableListView expand/collapse question

2011-11-01 Thread Kostya Vasilyev
if there is other way of displaying a timer on the group view or the way I am currently doing it is acceptable? -- Kostya Vasilyev -- 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

Re: [android-developers] Re: TextView -- text transformation

2011-11-01 Thread Kostya Vasilyev
to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Nexus S - Six month - and still no update of the zoneinfo?

2011-10-31 Thread Kostya Vasilyev
, effectively observing MSD, or UTC+4, permanently. http://en.wikipedia.org/wiki/Moscow_Time -- Kostya Vasilyev -- 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

Re: [android-developers] basic question: SharedPreferences and PreferenceActivity

2011-10-31 Thread Kostya Vasilyev
each account would have it's own preference file. This is the reason for having multiple preferences that makes most sense to me. -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] SurfaceView no longer adjusts canvas to screen size?

2011-10-29 Thread Kostya Vasilyev
Sounds like compatibility mode scaling. If your manifest is properly set up with minSdk set to 4 or above, I would think it's an emulator bug. -- Kostya Vasilyev 29.10.2011 15:12 пользователь Michael A. michael.aki...@gmail.com написал: I've run into a weird glitch. Since the early versions

Re: [android-developers] Custom preference (slider) on a non-touchscreen device - how to convert left/right keys to slider change?

2011-10-29 Thread Kostya Vasilyev
-- Kostya Vasilyev -- 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+unsubscr...@googlegroups.com For more

Re: [android-developers] search hardware button

2011-10-29 Thread Kostya Vasilyev
group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You

Re: [android-developers] Android SDK is the must buggy SDK in the entire mobile ecosystem.

2011-10-28 Thread Kostya Vasilyev
28.10.2011 16:35, sblantipodi пишет: http://postimage.org/image/8nqmbfarj/ Clearly no software is using the tools directly except for the SDK Manager itself. I really can't belive that google is offering similar products to developers. I have no time to loose behing this. -- Kostya Vasilyev -- You

Re: [android-developers] get first row from cursor

2011-10-28 Thread Kostya Vasilyev
in while every time. How would I get the first row ? cursor.moveToFirst, then do ... or cursor.moveToNext() once, then do ... //André -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: get first row from cursor

2011-10-28 Thread Kostya Vasilyev
For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- 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

Re: [android-developers] Re: (Scrolling a Table) Can't Figure Out Compiler Error

2011-10-28 Thread Kostya Vasilyev
onGenericMotionEvent Since API level 12. Are you targeting Android 3.1? 2011/10/29 Mark Phillips m...@phillipsmarketing.biz Can someone help me understand why the compiler is complaining about this code. I get two errors: The method onGenericMotionEvent(MotionEvent) is undefined for the

Re: [android-developers] basic question: SharedPreferences and PreferenceActivity

2011-10-28 Thread Kostya Vasilyev
Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-27 Thread Kostya Vasilyev
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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread Kostya Vasilyev
Is that stack trace from your project, or just something that happened to be running on your device at the same time? Does the package name ring a bell? com.tli.meetcha? Do you use MapActivity? -- Kostya Vasilyev 27.10.2011 16:39 пользователь vani reddy vani.reddy.bl...@gmail.com написал: H

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread Kostya Vasilyev
...@gmail.com yes my package name is com.tli.meetcha, Yes i am using MapActivity 2011/10/27 Kostya Vasilyev kmans...@gmail.com Is that stack trace from your project, or just something that happened to be running on your device at the same time? Does the package name ring a bell

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-27 Thread Kostya Vasilyev
You still have access to a member variable (activity) inside code that runs on the non-UI (worker) thread. Either: - Do not reference the activity from doInBackground, moving the actual code here from activity.doBackgroundRequest - Or learn the basics the thread synchronization, so that your UI

Re: [android-developers] ProgressDialog is thread-safe?

2011-10-27 Thread Kostya Vasilyev
/app/ProgressDialog.html#setProgress%28int%29 -- Kostya 27.10.2011 17:22, bob пишет: Anyone know if ProgressDialog is thread-safe? Wondering if this is ok: -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Unclosed Cursor detected

2011-10-27 Thread Kostya Vasilyev
. for example, one for each UI update, or a location change...) -- Kostya 27.10.2011 18:54, vani reddy пишет: Yes my activity extends MapActivity, and i have overridden onStart() and onStop() and called super.onStart(); and super.onStop(); in those 2 methods 2011/10/27 Kostya Vasilyev kmans

Re: [android-developers] startActivityForResult

2011-10-27 Thread Kostya Vasilyev
As an extra in the intent you use with setResult. -- Kostya Vasilyev 28.10.2011 1:41 пользователь bob b...@coolgroups.com написал: If you are writing the called Activity in startActivityForResult, how do you return a String? -- You received this message because you are subscribed

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Kostya Vasilyev
I assume that detach() is called on the UI thread (when it does). If that's the case, um, you need thread synchronization here. -- Kostya Vasilyev 26.10.2011 2:53 пользователь Bluemercury joao.ro...@gmail.com написал: So im using an AsyncTask but i'm getting random null exceptions

Re: [android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-10-26 Thread Kostya Vasilyev
this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Existing layouts no longer showing in graphical layout due to null pointer exception!

2011-10-25 Thread Kostya Vasilyev
? Thanks in advance. -- Kostya Vasilyev -- 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+unsubscr

Re: [android-developers] Re: Existing layouts no longer showing in graphical layout due to null pointer exception!

2011-10-25 Thread Kostya Vasilyev
(LayoutEditor.java: 309) So basically any existing project I can only see the xml. If I start a new project using the same API 2.3.1 as the existing projects it opens the graphical view fine! Any idea's ? Thanks in advance. -- Kostya Vasilyev -- Kostya Vasilyev -- You received this message because you

Re: [android-developers] Re: Eclipse, ADT and opening XML files

2011-10-24 Thread Kostya Vasilyev
Yes, Fix Project Properties worked for me too. The thing that actually changed is the project's .classpath: ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/ classpathentry kind=src path=gen/ classpathentry kind=con

<    5   6   7   8   9   10   11   12   13   14   >