[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-16 Thread Blake
I believe you mean almost 300 posts. On Mar 16, 4:33 pm, TreKing wrote: > On Tue, Mar 16, 2010 at 2:52 PM, Hong wrote: > > Same here in New York, needing a Nexus One badly ;) > > Hong, not directed at you specifically, but ... > > This thread already has almost 100 posts. Is it really necessary

[android-developers] Publishing Paid Apps on Android Market Can Cost You Money

2009-06-04 Thread Blake
n't want to get a $10 charge for something I have no control over. Then today I get another email from "Google Checkout": Hello Blake, As per your advice we have refunded the customer and debited your account for the order amount of $0.99 along with a $03.00 chargeback fee.

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-22 Thread Blake
transaction fee they took from the original sale. So that is another $0.30 for a total cost to me of $15.28. Assuming I don't get another one of these ridiculous charge backs, it is going to take another 23 sales just to break even. On Jun 3, 3:47 pm, Blake wrote: > A few weeks ago I g

[android-developers] Re: how to display a toast after 10 seconds from starting Asynctask

2012-07-31 Thread blake
I don't understand the role the AsyncTask plays in your question, so it is a bit hard to answer. If you are just trying to schedule a Toast 10 seconds from "now", you probably want to use Handler.postDelayed. G. Blake Meike Marakana The second edition of Programming Android

[android-developers] Synchronizing video events...

2011-10-28 Thread blake
s going to be. Some testing on a couple of devices suggests that the delay between an invalidate and the subsequent redraw can be as much 16ms. Perhaps I can do better with OpenGL? Ideas? -blake -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] Re: UI fragment from one apk inside an activity of another APK on HC

2011-08-31 Thread blake
A fragment can't be referenced outside it's Activity/APK. It's just like any other class: it is local to its application. The only way to publish behavior between applications is to use Intents. -blake On Aug 30, 11:12 pm, vellanki wrote: > Hi > This is regarding usage

[android-developers] Re: How to 'delete' allocated class by 'new'??

2011-08-31 Thread blake
re whether about whether it exists or not? -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Aug 31, 2:40 am, Build account wrote: > Hi, > > Thank you very much to let me know clearly. > I tired to use your code snippet, but counldn't get sure. > &

[android-developers] Re: Is there guide-line to use TCP port.

2011-08-31 Thread blake
;t already assigned... -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Aug 30, 9:24 pm, hans wrote: > Hi. > I know some TCP Ports are already registered.(i.e. 8080) > I need to develope a application using static port not variable port. > What port of numbe

[android-developers] Re: HTTP - Check whether server is up & running?

2011-08-31 Thread blake
Maybe you could try a "HEAD" request for a well known page? -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Aug 31, 11:00 am, TreKing wrote: > On Wed, Aug 31, 2011 at 12:59 PM, TreKing wrote: > > If it doesn't, it's probably not. &g

[android-developers] Re: Android autogenerated R file

2011-09-02 Thread blake
lds in the class. Walk the array, looking for the ones you care about, adding the name and value to a Map. ...or something like that. Again, though, wouldn't it be easy to open a file and read one string per line, into an array? -blake Programming Android: http://ofps.oreilly.com/titles/9781449

[android-developers] Re: Threads

2011-09-02 Thread blake
Steven, There is absolutely no restriction against starting new threads from other new threads. If you are willing to share some code, I might be able to say something more useful... -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 2, 5:28 am, Steven Bruce

[android-developers] Re: Multithread, concurrent thread

2011-09-04 Thread blake
n actually move forward. It's true! You are being asked to replicate the system that allocates CPUs to threads! Unfortunately, it is probably worth the work. -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 3, 3:03 pm, Christopher Van Kirk wrote: > No ide

[android-developers] Re: Animating a graphics shape.

2011-09-04 Thread blake
d saving them as bitmaps), may actually slow things down. Probably the fastest way to draw uses OpenGL and the SurfaceView. It's like learning an entirely new, fairly complex, machine language. It might be overkill for a simple 2-d game. -blake Programming Android, FTW! http://oreilly.com/catalog

[android-developers] Re: fragment in android

2011-09-06 Thread blake
There is sample code here: https://github.com/bmeike/Fragments -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 6, 3:57 am, mohana priya wrote: > I am new to android.i need to divide the android screen using > fragment.But i dont know how to do.If anybod

[android-developers] Re: how to learn Andoird

2011-09-06 Thread blake
The signature says it all... -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 6, 12:52 am, felix wrote: > i am a newbie. i want to learn andoird. who can share some experience. > thanks. > Are there any good books and videos? -- You received thi

[android-developers] Re: How to deal with expensive view height calculation?

2011-09-10 Thread blake
ut, unless that error is small. That would allow you to avoid the second thread altogether... a thread that is, surely, going to be hard to manage over your Activitiy's lifecycle. -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 9, 1:48 pm, Ted Hopp w

[android-developers] Re: how to learn android?

2011-09-11 Thread blake
Mark has a great list there. You can find nearly every thing you need, free, at the android developer site: http://developer.android.com/index.html ... and, for course, there is: Programming Android, http://oreilly.com/catalog/0636920010364 of which I am a co-author. -blake On Sep 11, 10

[android-developers] Re: Graphics in Android

2011-09-12 Thread blake
g app, directly. -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 10, 12:40 pm, Aneem Talukder wrote: > Dear Community, > > I have just recently started coding for the android platform. Today, > in fact :) > > I know java pretty well and use the

[android-developers] Re: Running ui thread from another thread

2011-09-16 Thread blake
Logesh, Nearly all of your code runs on the UI thread, unless you do something, specifically, to arrange otherwise (the list of tools that Mark gives). If you are literally trying to do what your message suggests -- run a UI-like thread from somewhere -- have a look at Looper. -blake

[android-developers] Re: onTouchEvent not called on every touch motion

2011-09-18 Thread blake
If you look at the sample code in the Google documents you'll see that motion events have history. You'll need to use it to get a smooth trace -Blake Programming Android, FTW On Sep 18, 5:20 am, "loril...@gmail.com" wrote: > I want to let a user smoothly draw elements wi

[android-developers] Re: Newbie Question for phone and tablet apps

2011-09-20 Thread blake
opics/resources/providing-resources.html https://portabledroid.wordpress.com/2011/06/22/25/ -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 18, 7:21 pm, gag wrote: > Hi All, > > I was given the task of writing one of our apps for Android phones and > tab

[android-developers] Re: Android is worst os mobile is this true

2011-09-20 Thread blake
Oh man. This is such a bummer. I'd been thinking it was pretty cool... -blake On Sep 20, 2:02 pm, wanyce ashoura wrote: > Yes i should say that > Why because of more then one reason > 1- not support Arabic language at all meaning you need long time to > get Arabic support

[android-developers] Re: Async Task, rotation and indeterminate progressbar in custom header.

2011-09-23 Thread blake
e use case, but I agree with Mark that, from the code you've supplied, this might be better done as an IntentService or as a pair of Fragments. I'm going to be giving a Webinar on the pitfalls surrounding AsyncTasks next week, on the 29th: http://oreillynet.com/pub/e/2061 -blake Progr

[android-developers] Re: java binding

2011-09-27 Thread blake
d for NDK. Also, Android passes messages back and forth to some services using Binder... -blake Programming Android, FTW! http://oreilly.com/catalog/0636920010364 On Sep 24, 11:25 am, mohit verma wrote: > By this what i mean to say is : Android uses open source libraries like > SQLite , WEBKite

[android-developers] Re: Android source code not available at official site

2011-10-14 Thread blake
I, for one, am not very amused. I would very very much like to get a copy of froyo... -blake On Oct 13, 7:25 am, apalsson wrote: > Actuallyhttp://android.git.kernel.org/is up again, but still dreams of > electric sheep. No repo yet available. > But it's a promising start and h

[android-developers] Re: Regarding emulator

2012-05-01 Thread blake
it to your emulator. Bam! Bob's your uncle... G. Blake Meike Programming Android http://shop.oreilly.com/product/0636920010364.do -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Re: Regarding emulator

2012-05-01 Thread blake
process of copying the .apk file, as I described, will work. G. Blake Meike Programming Android http://shop.oreilly.com/product/0636920010364.do -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: Singletons in Android .... Final solution?

2012-05-03 Thread blake
robably not the same as the one in the instance you are running right now. It's true, the "singletons" created using class members in classes loaded by different class loaders are different. Blake Meike Marakana The second edition of Programming Android is now on line! http://shop.ore

[android-developers] Re: Singletons in Android .... Final solution?

2012-05-03 Thread blake
ly certain that I've seen it log different times even *without* an intervening call to onTerminate. I'm not claiming this is a bug, at all. It does appear to mean, though, that you can't reliably squirrel stuff away in the application object and expect it to be there when you come

[android-developers] Re: Singletons in Android .... Final solution?

2012-05-03 Thread blake
le is *not* lost. > onTerminate() is never called on an Application, despite the docs. The > Application object goes away when the process does. Yeah! Apparently not! If the documentation were correct, just *anybody* could be an Android developer! ;) Blake Meike Marakana The second

[android-developers] Re: Singletons in Android .... Final solution?

2012-05-03 Thread blake
agree that this might not be a bug. It is outright documented to happen in an Activity. It is a little surprising, in the activity, though... Blake Meike Marakana The second edition of Programming Android is now on line! http://shop.oreilly.com/product/0636920023005.do -- You received thi

[android-developers] Re: Singletons in Android .... Final solution?

2012-05-03 Thread blake
On May 3, 4:24 pm, blake wrote: > I completely agree that this might not be a bug.  It is outright > documented to happen in an Activity.  It is a little surprising, in > the activity, though... ... should read "in the application, though..." Blake Meike Marakana Th

[android-developers] Re: Singletons in Android .... Final solution?

2012-05-03 Thread blake
On May 3, 4:24 pm, blake wrote: > I completely agree that this might not be a bug.  It is outright > documented to happen in an Activity.  It is a little surprising, in > the activity, though... ... should read "in the application, though..." Blake Meike Marakana Th

[android-developers] Re: Singletons in Android .... Final solution?

2012-05-04 Thread blake
Especially since this topic, apparently, recurs, I thought it might be worth a summary. http://portabledroid.wordpress.com/2012/05/04/singletons-in-android/ G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do

[android-developers] Re: Activity lifecycle and a null cursor

2012-05-07 Thread blake
Raffaele,   What information do you have, on the NPE?  Is it just user reports?  Something in them makes you certain that the problem is in the listener? G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do -- You

[android-developers] Re: multithread sync problem

2012-05-25 Thread blake
I haven't looked carefully but I suspect that you want notifyAll() instead of notify() G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On May 24, 8:05 pm, yikaikai wrote: > I have two thread, one for

[android-developers] Re: multithread sync problem

2012-05-25 Thread blake
After looking more carefully, I note that the code you supplied did not produce the log you supplied. I think you should consider rewriting this code using the tools in java.util.concurrent. You probably want a Semaphore and an Exchanger. G. Blake Meike Marakana The second edition of

[android-developers] Re: Access intent filter action directly from AndroidManifest

2012-05-25 Thread blake
aunch it. The Android standard for doing this with ContentProviders is a Contract class. I would think you could do something similar for your app... If you are trying to launch some specific other app, just hardcode the Intent for that app. G. Blake Meike Marakana The second edition of Progra

[android-developers] Re: noob developer, application keeps restarting

2012-05-25 Thread blake
http://portabledroid.wordpress.com/2012/05/04/singletons-in-android/ G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On May 16, 12:03 pm, jon dattilo wrote: > Hi everyone, > > I'm working on developing my first real

[android-developers] Re: Tips or links for efficient low CPU threads?

2012-05-25 Thread blake
ink that a generic way of doing this would be a fantastic addition to the Android platform. G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do -- You received this message because you are subscribed to the Google Group

[android-developers] Re: getFragmentManager undefined

2011-08-24 Thread blake
Yeah, if you are using the compatibility lib, you need to look for getSupportFragmentManager(), not getFragmentManager() -blake On Aug 24, 9:43 am, Wieger Aaron Visser wrote: > I need to get the viewpager up and running for a project I'm working on. > > SDK 2.2, compatibilit

[android-developers] Re: Vector

2011-08-24 Thread blake
uot;9" out, because the ArrayList will grow as needed... -blake On Aug 23, 1:56 pm, Chris wrote: > > articles = new Vector[9]; > > try articles = (Vector[]) new Vector[9]; > > - C -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: New or old release Java JDK

2011-08-25 Thread blake
I suggest you get your Java from Apple: http://support.apple.com/kb/DL1421 I also, shamelessly, suggest this book: http://oreilly.com/catalog/0636920010364 It was written, exactly, with guys like you in mind. It will answer a lot of questions just like this... -blake On Aug 23, 5:50 am

[android-developers] Re: GPS vs Network

2011-08-26 Thread blake
You might have seen this, already, but there is really excellent documentation on just how to do this, right here: http://developer.android.com/guide/topics/location/obtaining-user-location.html -blake On Aug 26, 7:52 am, kypriakos wrote: > I agree - thanks. I ended up testing that last ni

[android-developers] Re: Is it possible to give gradient effect using code?

2011-08-26 Thread blake
Sure! That XML just creates a LinearGradient object. Look here: http://developer.android.com/reference/android/graphics/LinearGradient.html -blake On Aug 25, 5:23 pm, Ash wrote: > Currently I have an XML file which sets the gradient of the button > background. > Is it possible to ac

[android-developers] Re: Recommendation for Android Training

2011-08-26 Thread blake
ourse, shameless pandering for the book. It really is pointed at competent programmers that just need to make the jump to Android. It's pretty good training and you can do it without missing the two days of good weather we are having in Seattle, this year. http://oreilly.com/catalog/06369200103

[android-developers] Re: NullPointerException on displaying ImageView of a bitmap

2011-08-26 Thread blake
I'm with Drezden: I don't think that the code you've cited is necessarily the code that is at fault. I'd be inclined to look at the constructor for com.android.databasetest.DatabaseTest -blake On Aug 25, 8:54 am, Abhi wrote: > Hi > > I have the following piece of

[android-developers] Re: IndexOf on the toString Value of a object?

2011-08-28 Thread blake
Use a Map. See java.util.Map and java.util.HashMap -blake On Aug 28, 6:59 am, Boozel wrote: > Hi > > I have a list of objects and i need to search through it to find a specific > object. > The objects have a String name property and i want to find an object with > the sam

[android-developers] Re: Showing moving images

2011-08-28 Thread blake
, though, that won't necessarily speed things up, post Honeycomb, because of the way it optimizes drawing. ... and, of course, there's OpenGL. -blake if not, though, you'll probably need to spawn an animator thread, that redraws your view after On Aug 28, 6:31 am, "A.

[android-developers] Re: Webview transparency bugs?

2011-08-28 Thread blake
Does this happen only post Honeycomb, by any chance? I believe I've heard about issues like this connected to the manifest flag android:hardwareAccelerated="true" -blake On Aug 27, 8:04 pm, bob wrote: > That URL doesn't work for some reason. > > Try this: >

[android-developers] Re: delay

2011-08-28 Thread blake
as the network data arrives. It also makes it so that the second time that the user visits the page, they don't have to wait a second time. Instead of an AsyncTask, you'll probably want to look at using a Loader (native in Honeycomb, or by including the ACP for earlier versions). -bla

[android-developers] the Trackball and MotionEvents

2009-01-10 Thread blake
and draw them. Can anyone confirm (or deny) that, on a device that doesn't have a touch screen, my application will not work? Or, possibly, might trackball events appear as MotionEvents, on such a device. -blake --~--~-~--~~~---~--~~ You received this message be

[android-developers] Eclipse File Explorer doesn't work on G1

2009-01-10 Thread blake
that data does, in fact, have stuff in it. I can't install apps with the File Explorer either. I can with adb. They go into the data folder (which the Explorer still thinks is empty) Anybody else see this? Better yet, anybody know how to fix i

[android-developers] Re: the Trackball and MotionEvents

2009-01-10 Thread blake
handled. It begins to look as if it generates MotionEvents exactly as the touch screen does. Presumably, clicking it generates a KEYCODE_DPAD_CENTER event. How do you generate a KEYCODE_DPAD_UP on, e.g., a G1? -blake On Jan 10, 4:40 pm, blake wrote: > I notice that TrackballEvents are differ

[android-developers] Re: the Trackball and MotionEvents

2009-01-11 Thread blake
Dianne! Brilliant answer! Thank you very much! Pressing my luck, where does that translation happen? RootView? Activity? Many thanks! -blake On Jan 10, 6:23 pm, "Dianne Hackborn" wrote: > The framework translates raw trackball events into DPAD events if nobody > consum

[android-developers] Re: Eclipse File Explorer doesn't work on G1

2009-01-11 Thread blake
Umm... Eclipse *does* use adb. Perhaps the Eclipse plugin doesn't "su"? Perhaps that works talking to the emulator, but not when talking to an actual device? I think it is probably a bug. -blake On Jan 11, 12:23 am, Rafael Fernandes wrote: > in fact is supposed to

[android-developers] Re: the Trackball and MotionEvents

2009-01-11 Thread blake
Found it. Thanks very much. -blake On Jan 11, 6:38 pm, "Dianne Hackborn" wrote: > The translation is in RootView. > > > > On Sun, Jan 11, 2009 at 1:39 AM, blake wrote: > > > Dianne!  Brilliant answer!  Thank you very much! > > > Pressing

[android-developers] Re: Android Dev Phone 1

2009-01-13 Thread blake
you the phone. The phone is not a brick. There are instructions around, for getting it running, with just the USB cable. After you follow them, you will be able to use Apps, Wireless, GPS, etc., just not the phone. -blake On Jan 12, 7:27 am, indiegamer wrote: > I am new to programming for Andro

[android-developers] Re: Viewing G1's data folder (via DDMS)

2009-01-17 Thread blake
You can do this with adb. It's a freaking nuisance, however, that the eclipse plugin doesn't work. I noted this problem, too, in this forum, a couple days ago. I'm guessing that the plugin doesn't do an "su", as it must, to see the device. -blake On Jan 17,

[android-developers] Re: unable to open AndroidManifest.xml

2008-10-01 Thread blake
I have the same problem. If I install the editor plugins, everything works fine until I restart eclipse. After that I can no longer open any of the resource files. I am running Ganymede with 1.5. I suspect the versions of the R $...class files, but I've checked them and they are all v1.5 class

[android-developers] Re: UnsupportedClassVersionError with 0.9 and Eclipse layout editor

2008-10-02 Thread blake
Note that this same issue is being tracked in another thread: http://groups.google.com/group/android-developers/browse_thread/thread/aa4227c79e2bd171/8fda9f2bea0c9d8e?lnk=gst&q=bad+version+number#8fda9f2bea0c9d8e --~--~-~--~~~---~--~~ You received this message beca

[android-developers] AnimationDrawable: animation can't be started in onResume

2009-01-27 Thread blake
27;t figure out, specifically, what state the view has to be in, in order for the background AnimationDrawable to start. Can anyone enlighten me? Thanks -blake --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android D

[android-developers] Re: AnimationDrawable: animation can't be started in onResume

2009-01-28 Thread blake
Apparently no-one else can figure it out, either... ;) -blake On Jan 27, 7:36 am, blake wrote: > There's already been some discussion of this, in various lists and > blogs. I finally got an AnimationDrawable to work, but I cannot start > it from onResume. I can start it fro

[android-developers] Re: AnimationDrawable: animation can't be started in onResume

2009-01-28 Thread blake
Thank you Romain! -blake On Jan 28, 1:07 pm, Romain Guy wrote: > It's a framework bug that I recently fixed in cupcake. > > You can work around this by setting the drawable not as the background > drawable of a View but as the content (in an ImageView for instance.) >

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-14 Thread blake
Justin, For those of us following along at home, is there a tag or branch, in the source that corresponds to the 1.1 release? Thanks! -blake On Feb 9, 2:31 pm, "Justin (Google Employee)" wrote: > Hey developers, today we released the new, 1.1_r1 SDK. This SDK > includes so

[android-developers] Re: reduce height of a button

2009-02-23 Thread Blake
I've tried setting the padding with "android:padding="0px", but this only seems to affect the left and right padding of the text. Setting the top/bottom padding explicitly with "android:paddingTop="0px" doesn't seem to have any affect either... My button is still much taller than it needs to be.

[android-developers] Using ClipDrawable

2009-03-08 Thread Blake
I'm having lots of trouble with the ClipDrawable class, trying to implement a progress-bar like meter. I have a bitmap image that I want to crop a dynamic number of pixels from the left side. In an xml file called meter_progress.xml (in the res/drawable directory), I have the following: http://

[android-developers] More on Fragment inflation

2011-04-03 Thread blake
y ought to be one-time, every time the app becomes visible. Suggestions? -blake -- 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

[android-developers] Re: More on Fragment inflation

2011-04-03 Thread blake
f the mFrontLayout = false fragments on top of the back stack, the call to setViewContent in Activity.onCreate ends up trying to use a fragment that hasn't been fully initialized. -blake -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: More on Fragment inflation

2011-04-04 Thread blake
Code is here: http://callmeike.net/blake/android/contact-viewer-acp.tgz -- 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, sen

[android-developers] Re: More on Fragment inflation

2011-04-04 Thread blake
I believe I now have mostly working code. I've posted it here: http://callmeike.net/blake/android/contact-viewer-acp-fixed.tgz It turns out that you don't have to sacrifice static layout in order to avoid using statically laid out fragments. The fix -- at least it seems to be workin

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-05 Thread Blake B.
Just got my confirmation email also. Rock on! I really would prefer the N1 since I'm with T*Mo, but I have an Open GL app that barfed all over when I ran it on my mother-in-law's Droid, so I could definitely use the Droid as a test platform, but not an everyday phone (at least right now). :

[android-developers] Re: PendingIntent problem

2009-03-25 Thread Blake B.
Intents are cached by the system, and two Intents are not differentiated by their Extras. So your two intents look like the same Intent and the second one is being tossed out. You must differ Intents by their Action/Data/Category. I will sometimes use the Data field to hold a simple ID that is

[android-developers] Re: PendingIntent problem

2009-03-25 Thread Blake B.
e * same kind of PendingIntent (same operation, same Intent action, data, * categories, and components, and same flags), it will receive a PendingIntent * representing the same token if that is still valid, and can thus call * {...@link #cancel} to remove it. On Mar 25, 7:48 am, "Blake B.

[android-developers] Re: My good god, bugs in Android brick phone, and it's not difficult to reproduce...

2009-06-02 Thread Blake B.
Any update on this? I'm encountering the same crash and would rather not wipe my phone if I don't have to. Safe mode does not work. Phone (stock G1) just keeps cycling at the Android logo image and I have to pull the battery to kill it. I received the Cupcake OTA update on Saturday, and yester

[android-developers] Re: My good god, bugs in Android brick phone, and it's not difficult to reproduce...

2009-06-02 Thread Blake B.
nce to dig into the 1.5 release much yet. Blake On Jun 2, 3:22 pm, Jeff Sharkey wrote: > When you saw this error, was it a direct upgrade from the last-OTA'ed > release, or had you installed other builds in the meantime without > wiping data?  I think there was an obscure bug if you

[android-developers] Re: My good god, bugs in Android brick phone, and it's not difficult to reproduce...

2009-06-04 Thread Blake B.
Can any of the Google team comment on this? I found similar reports on the T-Mobile discussion threads, but no work-arounds other than wipe or replace your phone. I've opened defect 2864: http://code.google.com/p/android/issues/detail?id=2864 On Jun 2, 8:32 pm, "Blake B." wrot

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-04 Thread Blake B.
or Android. Waiting for my N1/Droid, Blake Livo Recorder Pro On Mar 4, 7:21 am, Al Sutton wrote: > If you're one of the chosen few can I suggest you show your > appreciation by helping out other developers who are having problems > specifically with 2.x devices and haven't been

[android-developers] Re: Call Recording in Andriod ?

2009-12-14 Thread Blake B.
There is an open issue related to this (missing) feature. #2117. If you want to encourage this to take a higher priority, "star" the issue to be notified of changes. The number of people following the issue seems to give some priority to the issue in Google's eyes. http://code.google.com/p/andr

[android-developers] How to disable Buttons on a Widget

2009-06-16 Thread Blake B.
oteViews.set() approach? I've also encountered that "setSelected" and some others are not allowed. Thanks, Blake --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Can you disable/enable Buttons on a Cupcake desktop widget?

2009-06-16 Thread Blake B.
(updated subject) On Jun 16, 11:36 am, "Blake B." wrote: > Is it possible to disable a button on a Cupcake desktop widget? > > When I attempt to use the RemoteViews.setBoolean(myButtonId, > "setEnabled", false) approach, I get an error saying that calling >

[android-developers] Re: How to disable Buttons on a Widget

2009-06-16 Thread Blake B.
I suspected as much with the Google Search "widget". Thanks for clarifying. And the results of the grep for @RemotableViewMethod annotation are very useful. Great responses to every question! Thanks Jeff! On Jun 16, 3:25 pm, Jeff Sharkey wrote: > > Is it possible to disable a button on a Cu

[android-developers] How do you handle orientation change for a Cupcake widget?

2009-06-19 Thread Blake B.
, but when the orientation changes, new buttons are created and I don't have an opportunity to re-register the "onClick" listeners. What is the proper way to do this? Thanks, Blake --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] How do you handle orientation change for a Cupcake widget?

2009-06-19 Thread Blake B.
, but when the orientation changes, new buttons are created and I don't have an opportunity to re-register the "onClick" listeners. What is the proper way to do this? Thanks, Blake --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] Re: How to disable Buttons on a Widget

2009-06-19 Thread Blake B.
send a widget update that swaps out the drawable used and clears the PendingIntent. Or, keep two buttons in your layout, and visible/gone them as needed. Thanks, Blake On Jun 16, 7:19 pm, "Blake B." wrote: > I suspected as much with the Google Search "widget".  Thanks fo

[android-developers] Re: Update widget from code

2009-06-29 Thread Blake B.
o the on-screen widget itself. Blake On Jun 28, 8:05 pm, Aaron wrote: > Is there a way to push an update to a widget from another activity? > It seems like in order to use the AppWidgetManager.updateAppWidget > method, it has to be within the widget code itself?  Can i push an > update

[android-developers] Re: How do you handle orientation change for a Cupcake widget?

2009-06-30 Thread Blake B.
rk and they don't reflect any updates to their images. So, in order to guarantee preserving widget state on orientation changes, should every RemoteViews update completely reset the state of all widget components? Or am I missing something here? Thanks, Blake On Jun 21, 12:20 am, Jeff Sharke

[android-developers] Re: Alternatives to Multitouch

2009-07-19 Thread Blake B.
I would agree with the previous post - the early demo video on the HTC Magic of using a circular motion for zooming looked even more useful than pinching, since it can be done more easily with a single hand on the phone. It doesn't appear to have made it to the initial releas of the phone, but ma

[android-developers] SeekBar bug? Calling setThumb(drawable) makes thumb disappear

2011-06-15 Thread Blake B.
rding this, but no answers, and there is no Issue being tracked that I could find. Does anyone know what I'm doing wrong, or how to work around this? Any Googlers that are familiar with SeekBar? Thanks, Blake -- You received this message because you are subscribed to the Google Groups "

[android-developers] Re: SeekBar bug? Calling setThumb(drawable) makes thumb disappear

2011-06-15 Thread Blake B.
())); <== this is the new call slider.setThumb(d); Regards, Blake On Jun 15, 12:58 pm, Romain Guy wrote: > You probably need to call setBounds() on the drawable to give it a size? > > > > > > > > > > On Wed, Jun 15, 2011 at 6:03 AM, Blake B. wrote: > &

[android-developers] How to make Activity with Theme.Dialog modal?

2012-12-14 Thread Blake B.
ing a Dialog class explicitly? Blake -- 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-deve

Re: [android-developers] How to make Activity with Theme.Dialog modal?

2012-12-14 Thread Blake B.
rs, I am able to prevent the issue in my original post. Hopefully this is helpful to others along the way! Regards, Blake On Friday, December 14, 2012 3:05:39 PM UTC-6, Mark Murphy (a Commons Guy) wrote: > > On Fri, Dec 14, 2012 at 3:54 PM, Mark Murphy > > > wrote: > &

Re: [android-developers] How to make Activity with Theme.Dialog modal?

2012-12-14 Thread Blake B.
y, December 14, 2012 3:45:32 PM UTC-6, Mark Murphy (a Commons Guy) wrote: > > On Fri, Dec 14, 2012 at 4:32 PM, Blake B. > > wrote: > > Well, this may not be a problem on older APIs after all. I was testing > on > > 4.x devices (Moto Xoom and Samsung GSIII) and touch ev

Re: [android-developers] How to make Activity with Theme.Dialog modal?

2012-12-14 Thread Blake B.
Try this in your manifest. When I set them both to 8, the behavior goes away: Blake On Friday, December 14, 2012 4:19:07 PM UTC-6, Mark Murphy (a Commons Guy) wrote: > > On Fri, Dec 14, 2012 at 4:59 PM, Blake B. > > wrote: > > I'd be curious to know if you sti

[android-developers] How long is the pending stage after you have paid for the Android Developer Registration?

2013-01-08 Thread Blake Deister
Hello, I have setup an Android Developer account and registered, paid with google checkout and I believe it is still pending. Havent been able to do anything with my account it keeps redirecting me to the registration page as if I hadnt registered. Is this normal does it take like more than 3 d

[android-developers] Event when shortcut is dragged to Trash?

2008-12-09 Thread Blake B.
Is there any kind of event or hook available for determining when a shortcut (and which one) is dragged to the Trash button on the Home screen? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] How do you create an MMS message with audio attachment?

2008-12-30 Thread Blake B.
final Intent i = new Intent(Intent.ACTION_SEND); i.putExtra("sms_body", msgText); i.putExtra(Intent.EXTRA_STREAM, audioUri); i.setType("audio/*"); startActivity(i); How can I direct the system to create an MMS message with a .amr attachmen

[android-developers] Re: How do you create an MMS message with audio attachment?

2009-01-05 Thread Blake B.
if (uri != null) { convertMessage(true); addImage(uri); < IMAGE IS BEING ASSUMED } } } Will audio attachments via Intents be supported in the "cupcake" release? (I haven't downloaded it yet m

[android-developers] Re: What happens to the database when app is "upgraded"

2009-01-05 Thread Blake B.
When you extend SQLiteOpenHelper, override this method: public void onUpgrade(final SQLiteDatabase db, final int oldVersion, final int newVersion) It will be called when your application is being updated with a newer version. On Jan 5, 8:52 am, "Dan Dumont" wrote: > There is

[android-developers] Re: How do you create an MMS message with audio attachment?

2009-01-07 Thread Blake B.
that any EXTRA_STREAM data is an image, without checking the data MIME type. Any other ideas to maybe directly create an MMS message to send? It's hard for me to believe this is completely not possible to do in code. Thanks again, Blake On Jan 5, 8:50 am, "Blake B." wrote: &g

  1   2   3   >