[android-developers] Where to get widget code

2008-12-05 Thread Keith Wiley
I realize this topic has come up, but I would like a ScrollView that scrolls like a MapView to wrap a large TableLayout, so I can simply drag the table around like a map and scroll it on both axes. To my knowledge there is really no way to implement this behavior in Android out of the box. Am I

[android-developers] Horizontal ScrollView

2008-12-05 Thread Keith Wiley
Not sure where my last post disappeared to. Sorry if two appear as a result of my reposting this. I would like a 2D scrolling table, much like a browser or map. ScrollView only scrolls vertically. What is the best way to achieve this goal? I'm not sure how to implement scrolling from scratch.

[android-developers] Utterly confounded trying to create horizontal scrolling

2008-12-06 Thread Keith Wiley
I am trying to convert ScrollView into a new class ScrollView2D that will support horizontal scrolling. I have made what I consider to be sensible changes to the class, but I cannot for the life of me get any horizontal scrolling. In my layout XML I am enclosing ScrollView2D around a

[android-developers] Re: Utterly confounded trying to create horizontal scrolling

2008-12-06 Thread Keith Wiley
Wow, sorry for the numerous small grammatical/typo errors in my post. I should have given that a quick proofread. My apologies. Cheers! Keith --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Why do getWidth() and related functions always return 0?

2008-12-09 Thread Keith Wiley
I'm perplexed why the dimension accessors on Views generally return 0. I have specified fill_parent as their layout_width and layout_height, yet calls to getWidth(), getRight(), etc. all return 0. Does this make any sense? How do I find out how big a view is? Thanks.

[android-developers] Re: Why do getWidth() and related functions always return 0?

2008-12-09 Thread Keith Wiley
, 2008 at 9:24 AM, Keith Wiley [EMAIL PROTECTED] wrote: I'm perplexed why the dimension accessors on Views generally return 0.  I have specified fill_parent as their layout_width and layout_height, yet calls to getWidth(), getRight(), etc. all return 0. Does this make any sense?  How do I

[android-developers] Re: Why do getWidth() and related functions always return 0?

2008-12-09 Thread Keith Wiley
Thanks, very helpful info. I'll take it under advisement. Cheers! On Dec 9, 11:54 am, Ian [EMAIL PROTECTED] wrote: Hi Keith, Yes, it's a little tricky.  And I certainly don't consider the docs to be thorough more of a work in progress. Anyhow, the deal is that layout of the contents

[android-developers] onContextItemSelected is never called

2008-12-14 Thread Keith Wiley
I set up by calling registerForContextMenu() on an EditText. I then override onCreateContextMenu(), onContextItemSelected(), and onContextMenuClosed(). I added a few items to the menu in Create and they appeared just fine in the resulting context menu. I put breakpoints at the top of all three

[android-developers] Detect TAB key?

2008-12-16 Thread Keith Wiley
I would like to intercept the tab key in an EditText. I derived a new class from EditText and implemented the OnKeyListener interface. I look for event.getAction() == KeyEvent.ACTION_DOWN keyCode == KeyEvent.KEYCODE_TAB, but here is what happens: user presses alt - action down / keycode alt

[android-developers] Re: Detect TAB key?

2008-12-17 Thread Keith Wiley
Hmmm, that's very interesting. Thank you. As hinted in my original post, I suspected there was some dichotomy between the physical keyboard (and its KeyListener) and the higher-level characters being delivered to the EditText. Thank you. Nevertheless, I am actually trying to implement a

[android-developers] Interesting slow EditText behavior

2008-12-17 Thread Keith Wiley
I believe I have isolated a rather strange bottleneck at the SDK level, but it might be something tertiary in my own program that I haven't caught yet. I'm not certain. What I am seeing is that it there is a dramatic delay in updating/ redrawing an EditText in which the text is too long to fit

[android-developers] Re: Detect TAB key?

2008-12-18 Thread Keith Wiley
brain storming. On Dec 17, 4:35 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Dec 17, 2008 at 9:37 AM, Keith Wiley kbwi...@gmail.com wrote: Nevertheless, I am actually trying to implement a rather common UI mantra, where tab jumps to the next edit text (focus right or down

[android-developers] Re: Detect TAB key?

2008-12-18 Thread Keith Wiley
ALT+Q mapped to something else.  At the very least you should go through the keymap to correctly determine if what they are pressing is actually a TAB on their keyboard. On Thu, Dec 18, 2008 at 4:15 PM, Keith Wiley kbwi...@gmail.com wrote: Well, I understand your point, but I'm writing

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Keith Wiley
to point out to people when they do things that are making assumptions that can change in the future. On Thu, Dec 18, 2008 at 10:09 PM, Keith Wiley kbwi...@gmail.com wrote: Yeah, it sounds like the best way to implement this behavior is to avoid the Keyboard level enirely and do it by catching

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Keith Wiley
On Dec 19, 5:10 am, Mark Murphy mmur...@commonsware.com wrote: KeithWileywrote: Consider the following inefficiency that is imposed by using the trackball:  You can't necessarily skip out of an edit text with the trackball in the desired way because the cursor may be in the middle of the

[android-developers] Where, exactly, are Context data files?

2008-12-19 Thread Keith Wiley
I understand this has been loosely touched on in the docs and this group. There are descriptions of how to use openFileOutput() to create data files within a package's data directory for example, and I have read descriptions of how there is no common file space between packages, so I understand

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Keith Wiley
Thank you for your patience. I do appreciate your advice on the matter. I will take it under consideration during development. Cheers! On Dec 19, 5:50 pm, Dianne Hackborn hack...@android.com wrote: Yeah TextWatcher is reasonable.  You'd end up with the behavior where if the user enters a

[android-developers] setStrokeCap(Paint.Cap.ROUND) yields square drawPoints()

2008-12-19 Thread Keith Wiley
Ugh. I coded this up earlier and it worked, but I left the code on my other computer, so now I'm doing it again and it isn't working, but I can't believe how ridiculously simple it is. What could possibly be wrong? I adapted the following from the DrawPoints.java example: ...From a typical

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Keith Wiley
Well, okay. Besides which, it looks like I was wrong about getting files off the phone from the computer. It only mounts the sd card and the app data isn't on that card in the first place. ...so how do I transfer data saved by my app off the phone? Do I have to actually send the data by email

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Keith Wiley
Yeah, but that's exactly how I do it. :-) n-only mode is 5GHz (if I recall). Higher frequency means higher bandwidth, albeit lower range, all other factors being equal. Plus, whenever a 'g' device is online the entire network drops to g speed, as is my understanding. If I just wanted to run a

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Keith Wiley
Mark Murphy wrote: Keith Wiley wrote: ...so how do I transfer data saved by my app off the phone? adb pull works, if you have the full path to the file in question. But that requires anyone using my app to download the sdk and use cmd- line tools to move data from the phone

[android-developers] Can't get threaded progress bars to work

2008-12-21 Thread Keith Wiley
I'm trying to put up a progress bar while reading and processing a file. I'm open to title bar vs dialog and determinate vs. indeterminate. At this point I don't care, I just want to get something working. The problem occurs as the working thread attempts to turn the progress bar off. At that

[android-developers] Re: Can't get threaded progress bars to work

2008-12-21 Thread Keith Wiley
On Dec 21, 6:15 pm, Mark Murphy mmur...@commonsware.com wrote: Keith Wiley wrote: I'm trying to put up a progress bar while reading and processing a file.  I'm open to title bar vs dialog and determinate vs. indeterminate.  At this point I don't care, I just want to get something working

[android-developers] Text justification

2008-12-21 Thread Keith Wiley
I think this is a straight forward question. How do I state that the text in a TextView should be full justified? I don't see anything about this in the TextView or TextView-Attributes docs. Search on the groups didn't turn much up either. I see some mention of it on the docs page for

[android-developers] Send Intent Email PNG attachment woes

2008-12-23 Thread Keith Wiley
Trying to send a png as an email attachment. I found the following, which works except that the image is automatically converted to a very lossy jpeg by the time it reaches the email program (it even has a .jpg extension). I'm quite perplexed by that: Bitmap image =

[android-developers] Re: Send Intent Email PNG attachment woes

2008-12-23 Thread Keith Wiley
Does anyone know what happened in the two cases I demonstrated in the previous post? 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-developers] Stumped on launching Market app

2009-01-03 Thread Keith Wiley
I just can't find a simple bit of sample code online that shows how to do this so I'm trying to piece it together as best as I can. Any help is appreciated. I am following the suggestions on the doc page page about publishing w.r.t. notifying users of version updates. I already have a simple

[android-developers] Re: Stumped on launching Market app

2009-01-03 Thread Keith Wiley
(new Intent(Intent.ACTION_VIEW,Uri.parse (market://search?q=pname: + packageName))); Seehttp://code.google.com/android/devel/sign-publish.html#marketintent On Jan 3, 9:18 pm, Keith Wiley kbwi...@gmail.com wrote: I just can't find a simple bit of sample code online that shows how to do

[android-developers] Are ratings and number of installs wiped on version update?

2009-01-04 Thread Keith Wiley
I just uploaded a version update of my program and now my publisher page shows 0 ratings, 0 total, and 0 active installs. I'm not sure what the market will show because it no longer appears. I'm just hoping that is because uploading a new version takes a while to appear in the market while

[android-developers] Re: Are ratings and number of installs wiped on version update?

2009-01-04 Thread Keith Wiley
Followup: for anyone else experiencing similar woes, my download count and ratings returned after a while, although it took a few hours. All's well, despite a slight delay. Cheers! On Jan 4, 1:36 pm, Keith Wiley kbwi...@gmail.com wrote: I just uploaded a version update of my program and now my

[android-developers] Re: How To Custom Horizontal Scroll?

2009-01-04 Thread Keith Wiley
I went as far as to fully hack the ScrollView class itself to 2D scrolling capability. I'm pretty sure I got the class set up properly, but I could never get it to receive horizontal scrolling events, so it never triggered the horizontal routines I incorporated into it. I believe the problem

[android-developers] Orientation change on non-front activity?

2009-01-05 Thread Keith Wiley
Here's an interesting dilemma. My app detects and reacts to orientation changes (through a screen-flip-open/close on the G1 for example) through the onPause/onResume/onCreate methods without any trouble. It handles them and keeps rolling with the correct behavior...but, if someone opens a

[android-developers] Re: Orientation change on non-front activity?

2009-01-05 Thread Keith Wiley
Nevermind...sorta...the solution was to move the UI rebuilding routine from onActivityResult to onResume. The problem seemed to stem from the exactly order in which onCreate, onActivityResult, and onResume are called upon return to the primary activity. Cuidado! :-) On Jan 5, 10:09 am, Keith

[android-developers] Paid applications and market feedback/rating

2009-03-16 Thread Keith Wiley
I have had a free version of my app available for several months. With the new features I am about to release in the latest version, and with paid apps now possible, I intend to split the app into a free lite/trial version and a paid full version. I am aware that I must create a new app with a

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Keith Wiley
Thanks, I suspected as much. :( --~--~-~--~~~---~--~~ 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

[android-developers] Manifest android:label

2009-03-16 Thread Keith Wiley
I am splitting my app into a free lite version and a nonfree pro version. I am curious whether it is required that I use a different string for android:label in the manifest for the two apps. Does the Market take this into account or otherwise care at all about this? The reason it would be

[android-developers] Re: Paid applications and market feedback/rating

2009-03-16 Thread Keith Wiley
could verify it by posting on this forum: http://www.google.com/support/forum/p/Android+Market Let us know what you find. cheers, good luck with your app. On Mar 16, 11:02 am, Keith Wiley kbwi...@gmail.com wrote: I have had a free version of my app available for several months. With the new

[android-developers] Re: Manifest android:label

2009-03-16 Thread Keith Wiley
? Is the name shown on the Market? The name shown in the app list on the device? Anywhere else? Thank you. On Mar 16, 7:54 pm, Dianne Hackborn hack...@android.com wrote: On Mon, Mar 16, 2009 at 3:42 PM, Keith Wiley kbwi...@gmail.com wrote: The reason it would be nice to leave it the same

[android-developers] hasMonetaryCost = true for network location provider

2009-03-16 Thread Keith Wiley
I'm just curious how to interpret the fact that hasMonetaryCost is true for a network location provider. I read about it a little but I'm not sure I entirely understand what's going on. Does that mean that every time I get my location using the cell network instead of the gps there is a charge

[android-developers] Access scanlife app ala zxing?

2009-03-18 Thread Keith Wiley
My app currently uses intents with zxing and Barcode Scanner to grab barcode data and pull it back to the app. I have had some users request similar functionality with Scanlife, which reads a different set of barcodes. Does anyone know how to do the same thing, spin up scanlife, have it scan

[android-developers] Polite discussion of lite/trial vs pro distribution

2009-03-19 Thread Keith Wiley
First I will explain my situation. Then, I would greatly appreciate constructive dialog on how other developers feel similar situations should be managed. I wrote a simple app in November. I offered it for free on the Market for two reasons. One, Google hadn't implemented paid apps yet, so I

[android-developers] Re: Polite discussion of lite/trial vs pro distribution

2009-03-19 Thread Keith Wiley
Thanks for the various responses. Well received. I will consider them in depth when I get a chance to tear myself away from the debugger. Cheers! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] upc lookup...or at least web search?

2009-03-21 Thread Keith Wiley
I have a UPC code and I want to retrieve product information about it. I realize I can type the following into a browser: http://www.google.com/products?q=someUpcCodeNum Two questions. First, what I really want is the raw product data, not a webpage. Can I do this internally in my app

[android-developers] Center drawable?

2009-03-23 Thread Keith Wiley
Question: I can place a drawable png on a button no problem, but the only placement options are along the sides. Is there no way to center it? I'm sure there is, but I'm missing it. For example, what is the equivalent of android:drawableBottom that centers? Oh, and I would love a patient

[android-developers] Re: Center drawable?

2009-03-23 Thread Keith Wiley
On Mar 23, 4:22 pm, Mark Murphy mmur...@commonsware.com wrote: Keith Wiley wrote: Question: I can place a drawable png on a button no problem, but the only placement options are along the sides. Have you tried ImageButton? Sweet. Much thanks

[android-developers] OnGestureListener vs ContextMenu, do they play together?

2009-03-26 Thread Keith Wiley
My View subclass is can be written one of two ways, I've tried both. One implements OnGestureListener, the other doesn't. In both cases, the Activity registers the view for context menus when the view is created and registers itself, the activity, as the context menu listener. In the case where

[android-developers] Re: OnGestureListener vs ContextMenu, do they play together?

2009-03-27 Thread Keith Wiley
On Mar 27, 12:33 am, skink psk...@gmail.com wrote: what do you return in OnGestureListener.onLongClick() method? I hadn't added that method at all. It looks from the docs like onLongClick() is a View method, not an OnGestureListener method as suggested above. There is a

[android-developers] Pretty ways to animate a list?

2009-03-27 Thread Keith Wiley
AK Notepad does this nice little thing where, on displaying the file list, it unravels rapidly down the screen. Are they hacking that incredibly manually, or are there simple OS calls to make lists display in various ways? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Pretty ways to animate a list?

2009-03-28 Thread Keith Wiley
Ah, I was looking in the list section. I feel silly. Thank you. --~--~-~--~~~---~--~~ 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] Re: Pretty ways to animate a list?

2009-03-28 Thread Keith Wiley
So, I can get it to work if I replicate that demo perfectly, which doesn't assign a context to the layout, it just uses some default. I am trying to build off the extended ListActivity example, however, in which a context is assigned so that a special item is shown in the list when and only when

[android-developers] Paid upgrades discussion

2009-03-29 Thread Keith Wiley
I'm not sure whether to bring this up on the developer or market group. Since it is a developer-oriented discussion, I have chosen to put it here. I apologize if I was incorrect in this choice. I am about to release a major upgrade for my app. It represents hundreds of hours of work spanning

[android-developers] Re: Paid upgrades discussion

2009-03-29 Thread Keith Wiley
On Mar 29, 8:27 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I'm sorry to say this, but you could have known this before you put all this work in, if you had read the terms and agreements of the Android Market. I did know. That didn't preclude implementing the software, it just left

[android-developers] Color.colorToHSV bug

2009-03-31 Thread Keith Wiley
I believe there is a bug in Android's implementation of Color.colorToHSV(). If you pass it fully desaturated color, it assigns all three HSV components to the same value, that value being the value component of the color. While hue is arguably arbitrary in such an instance could be assigned any

[android-developers] detect trackball events in dialog

2009-04-02 Thread Keith Wiley
I have a dialog that sets its content view to a View object it creates (a derived View actually) and the view can detect touch events without any trouble, no callback registering or listeners or anything...but I can't get any trackball events. I tried overriding onTrackballEvent() and even

[android-developers] Re: detect trackball events in dialog

2009-04-02 Thread Keith Wiley
the dialog to accept trackball events? It accepts touch events so it seems like a fair expectation. Thanks. On Apr 2, 6:10 pm, Dianne Hackborn hack...@android.com wrote: Your view needs to take input focus. On Thu, Apr 2, 2009 at 4:38 PM, Keith Wiley kbwi...@gmail.com wrote: I have a dialog

[android-developers] Re: detect trackball events in dialog

2009-04-02 Thread Keith Wiley
, Keith Wiley kbwi...@gmail.com wrote: The view isn't focusable.  isFocusable returns false and requestFocus returns false.  Why?  This is a pretty simple view, created and passed setContentView in the onCreate method my dialog.  I'm basically working off the ColorPicker API demo.  So, how do I

[android-developers] UberColorPicker Demo

2009-04-05 Thread Keith Wiley
I have created what I believe is a relatively useful color picker, derived and massively extended from the ColorPickDialog example in the API Demos. If anyone would like to try it out, it is available on the Market at Applications/Tools/UberColorPicker Demo. It didn't put it in the Demo section

[android-developers] UberColorPicker Demo

2009-04-05 Thread Keith Wiley
I have created what I believe is a relatively useful color picker, derived and massively extended from the ColorPickDialog example in the API Demos. If anyone would like to try it out, it is available on the Market at Applications/Tools/UberColorPicker Demo. It didn't put it in the Demo section

[android-developers] onsingletapup not called

2009-04-10 Thread Keith Wiley
My TextView subclass implements OnGestureListener and I successfully detect onDown events, but both taps and long presses cause onLongPress to be called and never onSingleTapUp. I realize I'm not provided much detail, but I'm not sure what nuances might be relevant. Please ask for any relevant

[android-developers] Dialogs: in(determinate) vs. spinner/horizontal style

2009-04-10 Thread Keith Wiley
I thought an indeterminate dialog was the circle and a determinate one was a progress bar, but now I see that these properties are set orthogonally. You can call setIndeterminate(true/false) entirely independent of calling setProgressStyle(STYLE_HORIZONTAL/ STYLE_SPINNER). All four combinations

[android-developers] Straight-forward BroadcastReceiver to open/read file

2009-04-16 Thread Keith Wiley
I would like my app to pop up in the list of options for opening certain file types in the various file manager, email, and web browser apps. I'm having trouble figuring out how to begin. I haven't found any examples of this sort of thing yet. Don't I need to know what kind of action the other

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-16 Thread Keith Wiley
My app is already written, I already have an activity that opens and processes files, but it's all internal to the app. The app presents a file chooser from a single hard-coded directory on the sd card. That works okay from inside the app (assuming users know to transfer files to that directory

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-16 Thread Keith Wiley
Doesn't anyone know how to do this? I've seen other apps do it. For example, Linda File Manager shows plenty of other apps as options for opening files, but I can't get it to show mine. If I'm missing some obvious source of documentation then I apologize, but perusing the javadocs doesn't

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-16 Thread Keith Wiley
On Apr 16, 8:21 pm, Mark Murphy mmur...@commonsware.com wrote: -- the actions you support on the content (e.g., ACTION_VIEW, ACTION_EDIT) -- the MIME type you support -- the android.intent.category.ALTERNATIVE and/or the android.intent.category.SELECTED_ALTERNATIVE as appropriate That

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-17 Thread Keith Wiley
Just to wrap up this thread for posterity so anyone in the future who trips across it in a search will actually find something final and applicable, here's how I got it working (Mark's reply wasn't quite the ticket apparently). First, Mark pointed out that the desired behavior is in fact

[android-developers] Java 1.6?

2009-04-22 Thread Keith Wiley
Simple question, I did a cursory search on the dev guide and didn't get any obvious hits, although maybe I missed it (there's something about JDK versions, but they don't correlate to 1.5 or 1.6, they are more like 5 or 6 if you get my meaning). I would like to use Java 1.6 for some things. In

[android-developers] Re: Java 1.6?

2009-04-22 Thread Keith Wiley
Thank you. Cheers! On Apr 22, 10:30 am, Streets Of Boston flyingdutc...@gmail.com wrote: No you can't 'use' JDK1.6 When setting up eclipse, for example, you don't link your Android projects to any JRE. You link it to the Android SDK. If i'm not mistaken, the Android SDK adhers to the Java

[android-developers] Credit card chargeback scam

2009-04-23 Thread Keith Wiley
So, it turns out that any customer who wants to screw over a developer, either as a prank or as some sort of vindictive revenge, can easily do so. All they have to do is dispute your purchase and their credit card company will ask Google to politely fine you, the developer, three bucks...then

[android-developers] How to retrieve invalid region during View.onDraw()?

2009-04-26 Thread Keith Wiley
Subject pretty much says it all. I can't find a getInvalidRegion() or getInvalidRect() function, or anything of similar intention. How do I trim my drawing work during onDraw() to only the invalid region so I don't bother drawing parts of the view that don't need to be updated? Thanks.

[android-developers] Re: How to retrieve invalid region during View.onDraw()?

2009-04-26 Thread Keith Wiley
wrote: Use the rectangle given to onDraw(). On Sun, Apr 26, 2009 at 8:27 AM, Keith Wiley kbwi...@gmail.com wrote: Subject pretty much says it all.  I can't find a getInvalidRegion() or getInvalidRect() function, or anything of similar intention.  How do I trim my drawing work during onDraw

[android-developers] Intents that used to work stopped working.

2009-10-11 Thread Keith Wiley
My app used to appear in Linda File Manager's send to list. I just realized this is no longer the case. I didn't update Linda File Manager. The only thing I can think of is that the phone recently automatically updated to Donut. Does anyone have any other theory why two apps that used to talk

[android-developers] Re: Intents that used to work stopped working.

2009-10-11 Thread Keith Wiley
. On Sun, Oct 11, 2009 at 10:02 AM, Keith Wiley kbwi...@gmail.com wrote: My app used to appear in Linda File Manager's send to list.  I just realized this is no longer the case.  I didn't update Linda File Manager.  The only thing I can think of is that the phone recently automatically updated

[android-developers] Market screen shots

2009-10-14 Thread Keith Wiley
I realize this is sort of a Market question, but it's for developers, not users, so, I dunno... Anyway, I noticed that I could add screen shots for my paid app but not for my fee app. There was no browse/upload interface for the free app although the console still mentioned the possibility of

[android-developers] Re: Market screen shots

2009-10-14 Thread Keith Wiley
Anyone else? When open the console for my app I see the entry for screen shots directly below the .apk file upload area, and the note that there is a 2 image max, but there is no browse/upload interface. Any ideas? I'll hit the Market forums about this too.

[android-developers] Re: Market screen shots

2009-10-14 Thread Keith Wiley
upload one set a day (which is funny). Keith Wiley wrote: Anyone else?  When  open the console for my app I see the entry for screen shots directly below the .apk file upload area, and the note that there is a 2 image max, but there is no browse/upload interface. Any ideas?  I'll hit

[android-developers] No luck with italic text

2009-10-23 Thread Keith Wiley
Without specifying a custom font, does the default Android font simply not support italic? It seems to support all other settings provided by the Typeface class: serif, bold, monospace, etc., but italic and italic-bold don't work. The former appears normal and the latter appears bold. I'm

[android-developers] Re: No luck with italic text

2009-10-23 Thread Keith Wiley
On Oct 23, 11:04 am, Mark Murphy mmur...@commonsware.com wrote: Keith Wiley wrote: Without specifying a custom font, does the default Android font simply not support italic? It seems to support all other settings provided by the Typeface class: serif, bold, monospace, etc., but italic

[android-developers] Re: No luck with italic text

2009-10-26 Thread Keith Wiley
No thoughts on my last post? --~--~-~--~~~---~--~~ 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

[android-developers] Re: including jar files with my android application

2009-08-02 Thread Keith Wiley
I'm having the exact same problem. I was able to successfully use jxl with the v1.1 SDK but have never succeeded in using it with the v1.5 SDK, r1 or r2, for the same reason you state. I have no idea what the problem is. I have inquired on this mailing list in the past about Dalvik conversion

[android-developers] Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
For months now, I have been having problems in which dx by SDK 1.5 (r1 or r2) fails to convert with error 2 on a set of .class files that dx by SDK 1.1 succeeds in converting. It has been pointed out that the Dalvik converter shouldn't be any different between the 1.1 and 1.5 SDKs.

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
On Aug 2, 11:02 am, Mark Murphy mmur...@commonsware.com wrote: Try adding --debug to your command line. If you add --debug, dx should dump the exception that caused the failure message to DxConsole.err, which I hope in your case is stderr, so you see it on your console. Excellent. That did

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
On Aug 2, 11:51 am, Mark Murphy mmur...@commonsware.com wrote: -- What javac generated the .class files? If it's not the latest for that particular generation (e.g., the latest 1.5, the latest 1.6), can you try moving to the latest one and see if your results improve? If it's not the Sun

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-02 Thread Keith Wiley
On Aug 2, 1:22 pm, Mark Murphy mmur...@commonsware.com wrote: Since your short-term goal is a compile, versus a run, try commenting out some of the stuff that seems strange, to see if you this file past the problem. The biggest thing in the affected method that leaps out at me is:       //

[android-developers] Re: including jar files with my android application

2009-08-02 Thread Keith Wiley
I finally solved this problem. In file androidjxlsrc.jxl.write.biff.NumberFormatRecord, method trimInvalidChars, change the following two lines from: firstHash = firstHash == -1?firstHash = Integer.MAX_VALUE:firstHash; firstZero = firstZero == -1?firstZero =

[android-developers] Re: Serious dx error. Desperately need expert advice.

2009-08-03 Thread Keith Wiley
Thanks for your continued efforts. On Aug 3, 11:40 am, Dan Bornstein danf...@android.com wrote: First of all, thanks for taking the time to investigate, and I'm glad you've found a workaround for this. As a bit of background, the original version of the code that collects local variable

[android-developers] onRetainNonConfigurationInstance confusion

2009-08-13 Thread Keith Wiley
When I perform an orientation flip, I see the following methods called in the following order: onSaveInstanceState onPause onStop onRetainNonConfigurationInstance ...then... onCreate onRestoreInstance onResume I specifically want to use onRetainNonConfigurationInstance to *avoid* saving a large

[android-developers] Re: onRetainNonConfigurationInstance confusion

2009-08-13 Thread Keith Wiley
Bump. --~--~-~--~~~---~--~~ 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] Seeking beta testers

2009-08-20 Thread Keith Wiley
Posting this on 'developers' instead of 'discuss' because I strongly prefer to hit only developers with this free app offer. I have had a very hard time getting any real users to volunteer to be beta testers for my app, despite calls on the app description and inside the app itself. ...so, if

[android-developers] Disable spinner item?

2009-12-10 Thread Keith Wiley
How do I disable (gray out, make unselectable) an item in a Spinner? I tried calling View.disable() on the associated child of the Spinner, but it remains black text (not gray) and selectable. There must be some way of showing but leaving unselectable certain items in a spinner, right? This is a

[android-developers] EditText default soft keyboard (alpha vs. digit)?

2009-12-24 Thread Keith Wiley
I know that by setting the input type of an edit text to, say, 'number', I can get it to open the numeric soft keyboard by default for that edit text, but doing so prevents the entry of alpha character entirely. I just want to set whether a given edit text should open by default to the alpha

[android-developers] Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Keith Wiley
I have started a discussion thread on the Discuss group at: http://groups.google.com/group/android-discuss/browse_thread/thread/31876cf39acfb836 I have also entered an Issue on b.android.com at: http://code.google.com/p/android/issues/detail?id=2558 They both list a straight-forward set of

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Keith Wiley
-discuss are correct channels for Market feedback. Please use the market support forum here for this kind of purpose, it will be much more effective:  http://www.google.com/support/forum/p/Android+Market R/ On Sat, May 2, 2009 at 1:43 PM, Keith Wiley kbwi...@gmail.com wrote: I have started

[android-developers] Re: Devs: Give your thumbs up on these missing Market features

2009-05-02 Thread Keith Wiley
It's already there, you're duplicating it. On May 2, 3:06 pm, Raphael r...@android.com wrote: I'm moving this to android-discuss, where it belongs. R/ On Sat, May 2, 2009 at 2:27 PM, Keith Wiley kbwi...@gmail.com wrote: Actually, that approach seems to be completely ineffective

[android-developers] New phones are selling with FW 1.5?

2009-05-10 Thread Keith Wiley
Is this correct? A user has reported this to me. I was wondering what the 1.5 public release date was since I haven't had a chance to update my software for 1.5 yet. I thought it would be end of May, but people already have it apparently. Furthermore, even if I download the 1.5 SDK, is there

[android-developers] Re: New phones are selling with FW 1.5?

2009-05-10 Thread Keith Wiley
+root) In France, we have a first model using Cupcake HTC Magic G2 and some others country in Europe too. Arnaud On May 10, 8:42 pm, Keith Wiley kbwi...@gmail.com wrote: Is this correct?  A user has reported this to me.  I was wondering what the 1.5 public release date was since I haven't

[android-developers] Re: New phones are selling with FW 1.5?

2009-05-10 Thread Keith Wiley
I didn't ask him explicitly by email, but I found his transaction in my purchase history and he's U.S. On May 10, 2:20 pm, Raphael r...@android.com wrote: On Sun, May 10, 2009 at 12:53 PM, Keith Wiley kbwi...@gmail.com wrote: I don't think this guy was a developer.  I think he just bought

[android-developers] Dalvik conversion error 2 (not annotations)

2009-05-11 Thread Keith Wiley
I am trying to convert my project o SDK 1.5. It won't build with the errror: Conversion to Dalvik format failed with error 2 I have seen other threads refer to problem with annotations, but the code that is causing problems for me has absolutely no java annotations in it (no at-signs

[android-developers] Re: Dalvik conversion error 2 (not annotations)

2009-05-11 Thread Keith Wiley
So, when conversino to Dalvik fails, is there anyway to know which .class file it was converting when it failed? On May 11, 1:31 pm, Keith Wiley kbwi...@gmail.com wrote: I am trying to convert my project o SDK 1.5.  It won't build with the errror: Conversion to Dalvik format failed

[android-developers] Re: Dalvik conversion error 2 (not annotations)

2009-05-11 Thread Keith Wiley
file it was failing on I would know which source file to look in. The library I am trying to convert has hundreds of files, so I really need some kind of feedback from the converter before I can start searching for a solution. Thanks. On May 11, 2:11 pm, Keith Wiley kbwi...@gmail.com wrote: So

[android-developers] v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-11 Thread Keith Wiley
My code builds fine under the old v1.1_r1 SDK. I've been working with it like that for months. With 1.5 installed, I can no longer build my project, even when I target v1.1. I get a Dalvik conversion failure type 2. How can the 1.1 included with 1.5 fail when the old 1.1 works? This is VERY

  1   2   3   >