Re: [android-developers] Re: new 50mb expansion pack functionality, api 11... no easy dice?

2012-03-24 Thread B Lyon
, Mar 22, 2012 at 5:46 PM, B Lyon bradfl...@gmail.com wrote: thanks for the info, folks! On Mon, Mar 19, 2012 at 9:56 AM, David Schreiber flashmasterd...@gmail.com wrote: Hello, The APK expansion downloader comes with sources and we did make our own fix to make downloader running. I have also

Re: [android-developers] Re: new 50mb expansion pack functionality, api 11... no easy dice?

2012-03-22 Thread B Lyon
thanks for the info, folks! On Mon, Mar 19, 2012 at 9:56 AM, David Schreiber flashmasterd...@gmail.com wrote: Hello, The APK expansion downloader comes with sources and we did make our own fix to make downloader running. I have also already filed a bug report as recommended by Mark Murphy.

[android-developers] new 50mb expansion pack functionality, api 11... no easy dice?

2012-03-08 Thread B Lyon
I was playing with implementing the new expansion pack stuff, and kept running into things that make me think you need to use an api 10 if you want to use the downloader that comes with the sdk. In fact, the library project seems to require api14. Am I missing something trivial? This is for

Re: [android-developers] duplicate and rename package

2011-12-11 Thread B Lyon
FYI - Let me ditto Mark's original response (especially the crazy weirdness with it mangling some things in the manifest after the last step). When I try to use the Rename package with adt in eclipse, it's never worked yet, getting some kind of internal error. This is Windows 7. On Sun, Dec

Re: [android-developers] Same Issue

2011-11-29 Thread B Lyon
:) yes, the TIFF version number, chosen for obvious reasons On Tue, Nov 29, 2011 at 10:37 PM, Streets Of Boston flyingdutc...@gmail.com wrote: 42! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] AVD for samsung galaxy tab 10.1

2011-11-28 Thread B Lyon
based on http://www.samsung.com/global/microsite/galaxytab/10.1/spec.html, wouldn't it be android 3.1/2, WXGA with 149 ppi? You can probably get a few other yes/no settings from that page - accelerometer, for example. On Thu, Nov 24, 2011 at 11:16 PM, Mutegeki Cliff mutegekicl...@gmail.com

[android-developers] Details on the load apk and start the app process?

2011-11-26 Thread B Lyon
I am trying to follow the process by which the system takes an apk and fires up the associated app. Specifically, I'm trying to find the framework code where it reads the app manifest and acts on the user-requested permissions and instrumentation tag (if it is there). I've can't seem to find the

[android-developers] Android test project - are any permissions ignored in favor of the target application?

2011-11-25 Thread B Lyon
I have been trying to create an android test where the android test project has permissions that the target application does not. The purpose would be for the test to change various things about the environment as part of testing the application. However, the testing harness/framework seems to

Re: [android-developers] Re: onActivityResult not Triggering

2011-11-21 Thread B Lyon
Are any other startActivityForResult calls working for that TabActivity, successfully coming back to onActivityResult? On Mon, Nov 21, 2011 at 9:54 PM, BelvCompSvs fa829...@gmail.com wrote: To do this, you call the startActivityForResult(Intent, int) version with a second integer parameter

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

2011-11-20 Thread B Lyon
is it only when includes are involved? might be related to this http://code.google.com/p/android/issues/detail?id=21051 starting eclipse with -clean worked for me, but I think that might not have worked for some folks On Sun, Nov 20, 2011 at 11:09 AM, olefevre lefev...@googlemail.com wrote:

Re: [android-developers] Where do you aim for design specs?

2011-10-30 Thread B Lyon
ugh. Dealing with this exact same issue myself at the moment (iPhone -- android). The screens link Mark pointed out is great to see what things are out there as of Oct 3 - 90% are apparently Normal/hdpi or Normal/mdpi, so you can set up the avd's to take a look at how things look (or buy all the

Re: [android-developers] can't find info for Google GCP Intent for Android

2011-10-21 Thread B Lyon
was wondering the same thing - finding out about GCP is strangely a bit confusing. Mark Murphy in a more recent post here (Sept 9) suggested just put the file somewhere your computer can get to (email, dropbox, etc.) and then print from there which leads me to believe there's probably not a

Re: [android-developers] Can't attach my devices anymore...

2011-07-27 Thread B Lyon
on 2.2, I've seen the os seem to run out of file handles or something after uploading an app many many times as part of debugging. A reboot of the phone seemed to clear it up for me. On Mon, Jul 25, 2011 at 10:20 AM, Amokrane Chentir amokr...@submate.com wrote: Hi, I have an issue here with

Re: [android-developers] Place a RelativeLayout below a LinearLayout inside another LinearLayout

2011-06-15 Thread B Lyon
the graphics viewer in the eclipse plugin is very useful for quickly seeing what may be going on, if you're not already using it. It's easy to miss an important little thing in the sea of xml verbosity! On Wed, Jun 15, 2011 at 6:08 PM, TreKing treking...@gmail.com wrote: On Wed, Jun 15, 2011

Re: [android-developers] Re: Advanced Memory Leak, What could be the cause/How to find it ?

2011-06-05 Thread B Lyon
what version of android? On Sun, Jun 5, 2011 at 2:51 PM, albnok alb...@gmail.com wrote: Comment everything out. Make a routine where you rotate and go in and out of the activity. Start activity fresh, do hprof dump, do the routine, get another dump. Click Histogram and click the right most

Re: [android-developers] Problems with main.xml after uncritical sourcecode changes

2011-06-03 Thread B Lyon
if you're using eclipse sometimes the eclipse android plugin sticks in an import to android.R - it does for me every now and then, and then it of course doesn't know what my id's are or there could be an issue with your xml, which the plugin should be telling you about On Fri, Jun 3, 2011

Re: [android-developers] Mauliple 'Window' Application and Changing Layout At Runtime

2011-05-31 Thread B Lyon
what is the error? On Tue, May 31, 2011 at 9:13 PM, MattClark mrclark32...@gmail.com wrote: I have an application that when running i need to multiple times change the layout of the screen, however, the program errors on my buttons listeners when i set a new content view. How would i go about

Re: [android-developers] displaying mySQL data through JSON in a selectable list

2011-05-30 Thread B Lyon
What exactly do you mean by display as selectable items? On Fri, May 27, 2011 at 5:05 AM, ram_droid richmorgan1...@googlemail.com wrote: Hi, I am in the process of building an app that runs on a client device collecting various bits of data and then posting it to a remote mySQL database via

Re: [android-developers] Regarding Layout

2011-05-30 Thread B Lyon
what treking has suggested has worked for me - you get the cool pinch zoom stuff, too On Mon, May 30, 2011 at 7:58 PM, TreKing treking...@gmail.com wrote: On Mon, May 30, 2011 at 4:22 AM, Ishwar Chawla chawla.ish...@gmail.com wrote: I want to incorporate new lines and bullets like we do in

Re: [android-developers] Gallery with Adapter witch is return layouts

2011-05-28 Thread B Lyon
LinearLayout is a view, isn't it? View -- ViewGroup -- Linearlayout 2011/5/28 Károly Holczhauser holczhau...@gmail.com: Hi all !  I would like to make my custrom gallery, but when I'm implementing the adapter it have to be return an View. I would like to use the gallery to display my own

Re: [android-developers] Trying to get a ProgressDialog to display.

2011-05-28 Thread B Lyon
I've never used that one, but I'm wondering if the second .show() is necessary, and/or if it is somehow causing weirdness? This person (http://www.helloandroid.com/tutorials/using-threads-and-progressdialog) didn't do that. On Sat, May 28, 2011 at 9:43 AM, EmilDiego emildi...@gmail.com wrote: I

Re: [android-developers] Re: getting started with the market---question about book suggestions

2011-05-26 Thread B Lyon
I'm curious who here may have gone some kind of llc corporation route On Thu, May 26, 2011 at 3:51 PM, Spooky spooky1...@gmail.com wrote: Ahh, ok, thanks.  That makes a *LOT* more sense!  :-) Later,   --jim -- 73 DE N5IAL (/4)   Running FreeBSD 7.0 ICBM / Hurricane: 30.44406N 86.59909W

Re: [android-developers] Re: What did you use to create your launcher icon for your app?

2011-05-25 Thread B Lyon
thanks folks. I already had the gimp - interesting to hear that others are using it for launcher icons, and it is a powerful thing. I used Asset Studio for some little buttons, actually. It's really slick,imo. I played around with inkscape a little after my original post - I like the fact that

Re: [android-developers] Re: Replay monkey execution

2011-05-25 Thread B Lyon
within that app you can avoid much of the impact of other things going on across the rest of the system. On Fri, May 13, 2011 at 8:08 PM, B Lyon bradfl...@gmail.com wrote: When I first read about the monkey runner, I thought I could use it for all kinds of stuff, but after learning a little more I'm

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread B Lyon
I think it is just one more skill, and a fun one to learn, and as someone said it seems to be in demand right now as part of the more general mobile dev push. Google is making it easier to enter with appdev or whatever, and folks will - I think - do some cool things with it you would have never

Re: [android-developers] Justify alignment in text view

2011-05-24 Thread B Lyon
full-justified? you see this? http://stackoverflow.com/questions/1292575/android-textview-justify-text people were suggesting varying things, and some saying not supported... and there seem to be other links off of it where you can maybe get a definitive answer On Tue, May 24, 2011 at 12:24

[android-developers] What did you use to create your launcher icon for your app?

2011-05-24 Thread B Lyon
I am about to work on making the launcher icon for an app. Lots of stuff out there, and I've read the specs. I was curious what the folks here on the list used, especially those who may feel they are a little non-artistic such as myself. -- You received this message because you are subscribed

Re: [android-developers] Re: ACTION_UP never seen by app

2011-05-24 Thread B Lyon
were you getting calls to your onscroll and onfling? On Tue, May 24, 2011 at 12:57 AM, Spooky spooky1...@gmail.com wrote: On May 23, 10:45 pm, B Lyon bradfl...@gmail.com wrote: did you mess with the GestureDetector stuff?  it handles some of the determination of whether something is a scroll

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-23 Thread B Lyon
I think some folks will probably do some cool things with it. On Mon, May 23, 2011 at 8:20 PM, Miguel Morales therevolti...@gmail.com wrote: Sorry, that was a bit too brief and actually not completely related. But, what I meant was that because of the layers of non-complexity the browsers and

Re: [android-developers] Main.xml class problem

2011-05-23 Thread B Lyon
several things on stackoverflow, and a reference to this issue http://code.google.com/p/android/issues/detail?id=13092 not sure if it applies to your case, but it seems like it might be. Weird that it was working before. On Mon, May 23, 2011 at 6:04 AM, MartinM martinandj...@gmail.com wrote:

Re: [android-developers] Problem while installing my android app

2011-05-23 Thread B Lyon
What is in your logcat log? On Mon, May 23, 2011 at 7:16 PM, TreKing treking...@gmail.com wrote: On Sat, May 21, 2011 at 5:36 AM, sohaib rahman sohaibrahma...@gmail.com wrote: Why is it so? Your app is crashing. Please help me Please debug your app. Or at least post stacktrace of the

Re: [android-developers] HashMap failed

2011-05-23 Thread B Lyon
What do you see in with logcat? On Sun, May 22, 2011 at 11:40 AM, giels gassenni...@gmail.com wrote: I have som problem with this code, my application failed since i start it. I notice that my setListAdapater is a main problem. Helps me please : my code : public class main extends

Re: [android-developers] ACTION_UP never seen by app

2011-05-23 Thread B Lyon
did you mess with the GestureDetector stuff? it handles some of the determination of whether something is a scroll or fling, etc.. On Mon, May 23, 2011 at 11:39 PM, Spooky spooky1...@gmail.com wrote: As determined as I was to solve this without having to ask for help, I am now officially

Re: [android-developers] Re: Giant Android Device seen at I/O

2011-05-19 Thread B Lyon
very cool On Thu, May 19, 2011 at 10:14 PM, Dianne Hackborn hack...@android.com wrote: It probably also has a working touch screen.  I don't know about that particular one, but the ones being build I know of had a touch screen. On Thu, May 19, 2011 at 7:11 PM, Zsolt Vasvari zvasv...@gmail.com

Re: [android-developers] How to get class file from APK

2011-05-19 Thread B Lyon
pretty sure it's just a zip file, so that should get you going On Thu, May 19, 2011 at 1:58 AM, Mr RAM hariram1...@gmail.com wrote: Is it possible to get class file from APK.?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: How to debug NPE when stack trace does not show any reference to my app code?

2011-05-17 Thread B Lyon
that line in 2.2 of ViewGroup.java is if ((child.mViewFlags VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null) so it would imply that one of the child views in the ViewGroup is null. Are you doing stuff with dynamically adding/deleting any views? I'm not sure why it would not know

Re: [android-developers] Logcat filter with wildcards

2011-05-17 Thread B Lyon
yeah, it would be nice. If you're on *nix, you can grep stuff out as it flies by to your heart's content. On Tue, May 17, 2011 at 11:36 PM, TreKing treking...@gmail.com wrote: On Mon, May 16, 2011 at 10:39 PM, Matt Connolly matt.connolly...@gmail.com wrote: I haven't yet found where to

Re: [android-developers] Progress circle (NOT indeterminate!)

2011-05-13 Thread B Lyon
may be overkill, but can't you use a paint with the right stroke width, etc., and then do canvas.drawArc or whatever? don't know if it's easier to muck with one of the progress widgets that comes with android, though On Fri, May 13, 2011 at 11:58 AM, Serdel adam.lichwierow...@gmail.com wrote:

Re: [android-developers] Re: help with TextView

2011-05-13 Thread B Lyon
cool - had you already tried cleaning the project in eclipse before you did that? On Fri, May 13, 2011 at 2:36 PM, cmt chrismt...@gmail.com wrote: FIXED IT.  I am not sure exactly how I fixed it, but I just deleted the TextView from the XML file, then re-added it. Now it works! Thanks! On

Re: [android-developers] Re: Replay monkey execution

2011-05-13 Thread B Lyon
When I first read about the monkey runner, I thought I could use it for all kinds of stuff, but after learning a little more I'm not sure you would want to use it for controlled tests (like regression checks, functional tests). Maybe great to throw a bunch of random stuff at your app (and it's

Re: [android-developers] Progress circle (NOT indeterminate!)

2011-05-13 Thread B Lyon
Yeah that looks slick On Friday, May 13, 2011, Brill Pappin br...@pappin.ca wrote: Ahh, thats a nice clean solution :) I'd go for Romain's solution as it'll be easier to maintain than a series of 9patch files. - Brill -- You received this message because you are subscribed to the Google

Re: [android-developers] EditText causes app to crash

2011-05-12 Thread B Lyon
I don't know anything about HTC, but wanted to ditto Justin's gratefulness to the android developers for the information they provide via this forum, especially Dianne. On Thu, May 12, 2011 at 7:38 PM, Justin Anderson magouyaw...@gmail.com wrote: Dianne, I added a quick after-post stating that

Re: [android-developers] Transition from solid to transparent

2011-05-12 Thread B Lyon
it's not something as simple as an alphaanimation from 1 to 0, is it? or does that not apply in your case? On Thu, May 12, 2011 at 10:40 AM, crios crios8...@gmail.com wrote: Good day, As the title suggests, I would like to know if there is any way to make a transition from a solid drawable to

Re: [android-developers] error when trying to compile project from Learning Android

2011-05-11 Thread B Lyon
I'd check for two different jars containing the same class. I didn't get that specific error before about json, but I seem to remember the dalvik message. Not sure if it would help, but I am curious what the entries are of your .classpath file in the project folder. You'll probably have the

Re: [android-developers] Re: error when trying to compile project from Learning Android

2011-05-11 Thread B Lyon
well, org.json.JSONArray is apparently in both jtwitter.jar and android.jar, which can confuse things, I think. I've yet to mess with the twitter stuff. It looks like there's a twitter library that is android-ready called twitter4j you might want to try if you're just wanting to learn stuff,

Re: [android-developers] Re: error when trying to compile project from Learning Android

2011-05-11 Thread B Lyon
might want to try it out... and I'd contact the author, too. On Wed, May 11, 2011 at 11:13 PM, Spooky spooky1...@gmail.com wrote: On May 11, 10:03 pm, B Lyon bradfl...@gmail.com wrote: well, org.json.JSONArray is apparently in both jtwitter.jar and android.jar, which can confuse things, I think

Re: [android-developers] Re: Button in a ListView cell

2011-05-06 Thread B Lyon
Did you play with descendantFocusibility at all? On Fri, May 6, 2011 at 1:24 PM, B Lyon bradfl...@gmail.com wrote: hey well, I'm really curious what is going on.  I've got some extra buttons/imagebuttons and a text view inserted into the row and they don't interfere with each other

Re: [android-developers] Re: Button in a ListView cell

2011-05-06 Thread B Lyon
I take it you looked through this http://developer.android.com/resources/articles/touch-mode.html (which was new to me) On Fri, May 6, 2011 at 1:59 PM, Eric e...@alum.mit.edu wrote: On May 6, 1:38 pm, B Lyon bradfl...@gmail.com wrote: Did you play with descendantFocusibility at all

Re: [android-developers] Button in a ListView cell

2011-05-05 Thread B Lyon
So you were able to get everything to work without the trackball case? On Thu, May 5, 2011 at 6:37 PM, Eric e...@alum.mit.edu wrote: I have seen dozens of posts about people trying to put a clickable Button in a ListView cell, along with other text, and apparently nobody has been able to get

Re: [android-developers] Re: Button in a ListView cell

2011-05-05 Thread B Lyon
I've recently added extra buttons to each row of a listactivity that can then do whatever, but your case sounds a little more involved. On Thu, May 5, 2011 at 7:20 PM, Eric e...@alum.mit.edu wrote: On May 5, 7:11 pm, B Lyon bradfl...@gmail.com wrote: So you were able to get everything to work

Re: [android-developers] Documentation for older Android SDK versions?

2011-04-30 Thread B Lyon
I think there's a little option on the page to filter by api level in the kind of upper right On Sat, Apr 30, 2011 at 6:38 PM, Stefan at WPF stefan.at@googlemail.com wrote: Hello, when browsing the Android SDK documentation, e.g.

[android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
I was looking into a simple way to get the (small) ProgressBar to spin counterclockwise, and it seems to come down to the class AnimatedRotateDrawable, which looks to be hard-coded to spin clockwise - it sets the angle increment to 360/framesCount, with no apparent option to change the sign of the

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
. I can't imagine why you need to have it rotate in the other direction, but if you need something different you should just make your own spinner style that has nothing to do with whatever is in the platform. On Sat, Apr 23, 2011 at 9:51 AM, B Lyon bradfl...@gmail.com wrote: I was looking

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
functionality wholesale (yes overkill). Of course I want to avoid depending on internals or anything else in the API susceptible to change. On Sat, Apr 23, 2011 at 1:50 PM, B Lyon bradfl...@gmail.com wrote: thanks Dianne - yeah I expected someone asking that custom seems to be where I need to go

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
of the framework. On Sat, Apr 23, 2011 at 12:52 PM, B Lyon bradfl...@gmail.com wrote: thanks for the tips, Mark.  I'll play with it.  It might need to be an animation list or whatever btw - RotateDrawable would be a two-line way to do it (custom little icon seems to get animated fine) to replace

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
thx Are you referring to the setScaleX/Y new in SDK 11, which seems to be certainly the way to try there? On Sat, Apr 23, 2011 at 6:23 PM, lbendlin l...@bendlin.us wrote: why not simply transform the view of the progressbar, with a scale transform along the center vertical? -- You received

Re: [android-developers] progressbar spin counterclockwise?

2011-04-23 Thread B Lyon
that is pretty simple and seemed to work (I needed to put it in an overridden onDraw in this case) well, there *was* a reason I was curious to see about getting it to go counterclockwise - and I am curious to go look at the HoneyComb one now thx again all On Sat, Apr 23, 2011 at 9:36 PM,

Re: [android-developers] Re: MessageBox style Preference

2011-04-16 Thread B Lyon
I just played with tailoring the preference stuff to add a both a Reset All preference, as well as adding a little Reset button next to the checkbox/whatever for the other preference types, so that you can easily just reset a specific preference, with the Reset being visible only if you're not

[android-developers] Small button that sets something to default - what should it look like?

2011-04-14 Thread B Lyon
I'm adding a small additional button to the *Preference things (CheckBox, ColorPicker,Slider) that will set that value to the default. I don't think there's enough room to put the word Default on it. Do you think that there's some image/icon that most folks might realize means set back

Re: [android-developers] Small button that sets something to default - what should it look like?

2011-04-14 Thread B Lyon
...@gmail.com wrote: On Thu, Apr 14, 2011 at 8:58 PM, B Lyon bradfl...@gmail.com wrote: Do you think that there's some image/icon that most folks might realize means set back default'? http://www.google.com/search?q=reset+iconhl=enprmd=ivnssource=lnmstbm=ischei=r7KnTcLtLo22tgfah4neBwsa=Xoi

[android-developers] Smooth transition between scroll and fling

2011-04-08 Thread B Lyon
On 2.2, I've been playing with onFling to move a custom horizontal-based view (basically a visually infinitely looped marquee-type thing that is based on displaying the appropriate part of a bitmap). I've been using HorizontalScrollView as a reference, and the default implementation of

[android-developers] Do folks code against this?

2011-04-01 Thread B Lyon
I was playing around with the SharedPreferences thing (2.2 in this case), with the idea of centralizing the definition of the keys so that they could be referenced by both the stuff in preferences.xml for the preference activity and in code via R.string.blah. I'm loading the preferences for the

Re: [android-developers] findViewById returning NULL

2011-03-26 Thread B Lyon
not work, while I am working on another section is frustrating to say the least Thanks again On Mar 25, 2011, at 3:13 PM, B Lyon wrote: Not sure if it applies in your case, but do you have a separate layouts for landscape and portrait and that view is defined in only one of them?  I think

Re: [android-developers] findViewById returning NULL

2011-03-25 Thread B Lyon
Not sure if it applies in your case, but do you have a separate layouts for landscape and portrait and that view is defined in only one of them? I think the eclipse android plugin might not catch this kind of thing, and so you wouldn't find out until runtime that it wasn't in both layouts. On

Re: [android-developers] Using view.invalidate

2011-03-22 Thread B Lyon
I could be wrong, but I thought Chris Pruett discussed this in his talk about developing Replica Island (it's one of the google io talks). I can't remember what he did, but it seems like he mentioned something along the same lines and he dealt with it somehow. On Tue, Mar 22, 2011 at 10:04 PM,

Re: [android-developers] Re: org.xmlpull.v1.XmlPullParserException: Map value without name attribute: boolean

2011-03-20 Thread B Lyon
thanks for the update - that could save me some time sometime if I see that kind of weirdness On Sun, Mar 20, 2011 at 7:16 PM, siliconeagle rrmu...@gmail.com wrote: thanks for the tip. the prefs file was ?xml version='1.0' encoding='utf-8' standalone='yes' ? map boolean value=false /