[android-developers] Calling addTextChangedListener BEFORE setInputType crashes, but AFTER is fine

2011-07-27 Thread UBZack
Hello all, this may be a problem in my code, but it could also be a potential problem in the API, and I'd like to point it out to the community with hopes that the platform's official developers at Google see this (and chances are they probably know, but I thought I'd point it out anyway). I'm

[android-developers] Can an app tell whether it came from the Android Market?

2010-02-08 Thread UBZack
I've been looking into a way for my forward-locked app to be able to tell, programmatically, whether it has been downloaded from the Market, or if it was installed to the device by other means. I think the app AppManager can do this with forward-locked apps from the Market (it lists them as

[android-developers] Getting a list of Market-downloaded apps

2010-02-03 Thread UBZack
this. -UBZack -- 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

[android-developers] Re: Getting a list of Market-downloaded apps

2010-02-03 Thread UBZack
, PackageManager is the road I intend to travel, so thank you again! -UBZack On Feb 3, 4:42 pm, Mark Murphy mmur...@commonsware.com wrote: Does anyone know if there's a way to retrieve a list of apps currently installed on the phone? You can get this from PackageManager. And once this list

[android-developers] Re: eclipse keyboard shortcuts: how do you quickly rebuild and run your app after changes?

2009-12-09 Thread UBZack
I find that it's a good idea to have Build Automatically checked, under the Project menu. That, and I always Ctrl-s (save) each file pretty often after I make changes to it, and then those changes are built automatically because that option is turned on. I have not yet found a way, though, to

[android-developers] Re: How to stop android activity destruction

2009-12-09 Thread UBZack
For each of my activities listed in the manifests of my apps, I always include this attribute: android:configChanges=orientation|keyboard|keyboardHidden This keeps the activity from being destroyed when those configuration changes take place. On Dec 7, 6:42 pm, S. Ghelani sdghel...@gmail.com

[android-developers] Hiding word suggestions/hints above the soft keyboard

2009-12-09 Thread UBZack
keyboard view? Furthermore, I noticed that when you type in the Google Search widget on your phone's home screen, it does not pop up this word suggestions view. This is the behavior I want in my app. Thank you very much for any insight you can give regarding my questions! :) -UBZack -- You received

[android-developers] Re: Hiding word suggestions/hints above the soft keyboard

2009-12-09 Thread UBZack
/reference/android/widget/TextView.html#a... On Wed, Dec 9, 2009 at 12:45 PM, UBZack zferv...@gmail.com wrote: This doesn't happen in any Android emulator that I'm using, but on my G1, whenever I set up an activity with an EditText inside it, and tap that EditText, it brings up the soft keyboard

[android-developers] Getting Google order number programmatically after app is bought from Market

2009-11-20 Thread UBZack
, and if it is, is there anything in the API to allow an android app to retrieve this number. If this number cannot be retrieved, is there a similar market transaction code that's retrievable? Thanks for any insight you can give on this matter! -UBZack -- You received this message because you are subscribed

[android-developers] Re: Getting Google order number programmatically after app is bought from Market

2009-11-20 Thread UBZack
suppose it could also be used for DRM purposes as well, but that's not what we currently have in mind. I will do some investigation into the Google Checkout API, and I'll post any findings I'm able to make. Thanks again! On Nov 20, 8:25 am, polyclefsoftware dja...@gmail.com wrote: Hi UBZack

[android-developers] WebView word touching ability?

2009-10-02 Thread UBZack
I was wondering whether there was a way, if you have a webview with some html being displayed in it, to obtain which part of the html is touched by the user. For example, say I have a webview that's displaying, in just plain text (no links), the following: The quick brown fox jumped over the

[android-developers] Re: WebView word touching ability?

2009-10-02 Thread UBZack
Thanks very much for your reply! I think I will do something like having each word be a link, it seems the most plausible idea. On Oct 2, 3:36 pm, Jason Proctor jason.android.li...@gmail.com wrote: the easy way to do this is to have each word be a link -- you can style it so that it doesn't

[android-developers] Re: Many Lists in one Layout ?

2009-05-14 Thread UBZack
I'm guessing that all of your layouts except one are ending up with a zero width, or zero length. In any case, the simplest way I can think of to put multiple lists in the same layout is to use LinearLayout, and set a pixel height to each list: ?xml version=1.0 encoding=utf-8?

[android-developers] Re: Many Lists in one Layout ?

2009-05-14 Thread UBZack
BTW, please ignore the layout_below attributes of each ListView in that xml I posted, they're wrong, sorry! On May 14, 10:05 am, UBZack zferv...@gmail.com wrote: I'm guessing that all of your layouts except one are ending up with a zero width, or zero length.  In any case, the simplest way I

[android-developers] Re: Tap Outside Listener for Dialog

2009-05-11 Thread UBZack
, UBZack zferv...@gmail.com wrote: Hi all, I was wondering if anyone knew of an event listener that receives tap outside events, that is, taps that happen outside the widget's physical boundaries, and could this listener be assigned to a dialog box (or for that matter, any visual window

[android-developers] Re: Tap Outside Listener for Dialog

2009-05-01 Thread UBZack
if touches are outside the window. j On Thu, Apr 30, 2009 at 11:46 AM, UBZack zferv...@gmail.com wrote: Hi all, I was wondering if anyone knew of an event listener that receives tap outside events, that is, taps that happen outside the widget's physical boundaries, and could

[android-developers] Tap Outside Listener for Dialog

2009-04-30 Thread UBZack
currently supports taps outside of its boundaries, so I think this may be possible. Thank you! -UBZack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-09 Thread UBZack
in launching an app in general right after installing it. Anyway, thank you again for your contributions, and if you have anything else to add to my observations I'd be more than glad to hear it! Best, Zack On Apr 8, 6:44 pm, Mark Murphy mmur...@commonsware.com wrote: UBZack wrote: I did a little

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-08 Thread UBZack
I did a little poking around and I think I can DEFINITELY shine some light on this. Basically, I think the difference lies in the way Eclipse ports the apk to the emulator and launches it. I just downloaded GeoWebOne from the AdvAndroid site, created an Eclipse project out of it. No problems

[android-developers] How do I get the user's name?

2009-01-16 Thread UBZack
Hi all, does anybody know how to get the user's name? I tried the java.lang.System call: String userName = System.getProperty(user.name); But it returns an empty string, both on the device and emulator. Is getting the device's user name possible? Thanks for any help you can give. -UBZack

[android-developers] Text wrapping in tables in WebView

2008-11-19 Thread UBZack
If I set up this simple test html, consisting of two tables: html table trtdabc def ghi jkl mno pqr stu vwx yza bcd efg hij klm nop/td/ tr /table table trtdabc def ghi jkl mno pqr stu vwx yza/td/tr /table /html ...and then view it in either the Android browser or a WebView, I get the following

[android-developers] Re: FileNotFoundException when creating FileOutputStream with file on sdcard

2008-10-07 Thread UBZack
(), it worked perfectly. Thanks very much for your help! -UBZack On Oct 6, 4:13 pm, Jason Proctor [EMAIL PROTECTED] wrote: this is because file.mkdirs() doesn't understand that the second argument you provided to the File constructor is a file name rather than a directory name. i think you might find

[android-developers] Re: Obfuscation in eclipse for Android?

2008-10-02 Thread UBZack
, to be excluded from obfuscation and this is what made it work. So I hope this helps other people out, it's not an easy road to travel! -UBZack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Attempt to include a core VM class in something other than a core library

2008-09-29 Thread UBZack
Hi Oscar, I was getting this error because my fileset dir= in the dex call of my ant build.xml was pointing to a directory with many, many jar files in it, most of which were referencing javax classes (which, of course, you can/should never do in Android), and I fixed this problem by copying the

[android-developers] Obfuscation in eclipse for Android?

2008-09-24 Thread UBZack
Does anyone know if there are plans to include an option to obfuscate, or encrypt class files (before they are then converted to .dex files) within the ADT plugin for eclipse? I've been searching the Android group for a while now, it seems that people are manually obfuscating their class files,