I have an Activity that is using the Theme.Dialog theme to present a dialog
to the user. By default however, when the user touches outside of the
dialog window, the touch event is passed to the views of the Activity in
the background. For API level 11 devices and higher, I can use the
, Blake B. bbuck...@yahoo.comjavascript:
wrote:
I have an Activity that is using the Theme.Dialog theme to present a
dialog
to the user. By default however, when the user touches outside of the
dialog window, the touch event is passed to the views of the Activity
in the
background
=16dp
android:right=16dp
android:top=16dp /
/shape
I'd be curious to know if you still don't see it. Maybe there is something
else I'm doing.
On Friday, 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. bbuck
Try this in your manifest. When I set them both to 8, the behavior goes
away:
uses-sdk
android:minSdkVersion=8
android:targetSdkVersion=16 /
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
I'm using a custom image for the Thumb on my SeekBar. I want to
change the image at some points in my app, but whenever
setThumb(drawable) is called, the Thumb image disappears. The seekbar
still works, but it's like the Thumb is invisible.
I've found a few other questions regarding this, but
())); == this is the new call
slider.setThumb(d);
Regards,
Blake
On Jun 15, 12:58 pm, Romain Guy romain...@android.com 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. bbuckle...@yahoo.com wrote:
I'm using
I have a user that is reporting that he can not record on his LG Eve
phone at a sample rate greater than 8kHz (8000Hz works, but nothing
higher such as 44100, 22050, 11025). Do any of you have an LG Eve
phone? Have you tried to use
AudioRecord.getMinBufferSize(sampleRateInHz, channelConfig,
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).
Great idea, Al. I've run into issues (as many of you have as well)
both with differing phone hardware behavior and differing Android
behavior between versions. It's very frustrating, so maybe we can
help each other here and prevent further frustration and potential bad-
press for Android.
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.
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
Does this imply that EVERY RemoteViews update that I apply to my
widget should be capable of COMPLETELY initializing the correct
current state of every component on the widget?
Right now I am sending more frequent minor updates (that don't include
re-setting button listeners, button images,
I believe only the same application can push updates to a widget. I
know I wouldn't want other apps to be able to send updates to my
widget directly.
The proper approach would be to handle it with your AppWidgetProvider
subclass (remember this is simply a BroadcastReceiver with some help
for
Hi,
Maybe I'm missing something obvious, but how do you handle
orientation changes for a Cupcake desktop widget?
When it is initially created, the onUpdate() method of my
AppWidgetProvider calls views.setOnClickPendingIntent(buttonID,
pendingIntent) to register for my button events, but
Hi,
Maybe I'm missing something obvious, but how do you handle
orientation changes for a Cupcake desktop widget?
When it is initially created, the onUpdate() method of my
AppWidgetProvider calls views.setOnClickPendingIntent(buttonID,
pendingIntent) to register for my button events, but
that swaps out the
drawable used and clears the PendingIntent. Or, keep two buttons in
your layout, and visible/gone them as needed.
snip
Thanks,
Blake
On Jun 16, 7:19 pm, Blake B. bbuckle...@yahoo.com wrote:
I suspected as much with the Google Search widget. Thanks for
clarifying
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
setEnabled is not permitted via RemoteViews.
The current Google Search widget disables the search button
(updated subject)
On Jun 16, 11:36 am, Blake B. bbuckle...@yahoo.com 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
setEnabled
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 jshar...@android.com wrote:
Is it possible to disable
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. bbuckle...@yahoo.com
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
had
allocated, but unmanaged, appWidgetIds.
j
On Tue, Jun 2, 2009 at 5:19 AM, Blake B. bbuckle...@yahoo.com wrote:
Any update on this? I'm encountering the samecrashand would rather
not wipe my phone if I don't have to. Safe mode does not work. Phone
(stock G1) just keeps cycling
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
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. bbuckle...@yahoo.com
You don't need to do anything complicated - use Handler.postDelayed
(Runnable r, long delayMS) like Stoyan mentioned.
Be sure to keep a reference to your Runnable r so you can call
removeCallbacks(r) like Romain mentioned when your activity is pre-
empted before the posted Runnable executes.
Ok, maybe I missed this along the way (or heard comments of this and
couldn't believe it to be true), but this statement seems clear in the
Setting the price of applications section:
If you have previously published an application for free, you cannot
change it to have a price.
This seems to
Great idea, Jon. Thanks for sharing the code. I'm about to start
work on sound in my game, so I'll look into using this.
Hopefully, Google realizes that many are using SoundPool and will keep
the existing API in place for a while, even if deprecated, long enough
to migrate apps. I think we
doing to migrate data between
free paid versions of an app?
On Feb 16, 8:39 am, Al Sutton a...@funkyandroid.com wrote:
Developers could always add a couple of features and charge for the
feature added version.
Al.
Blake B. wrote:
Ok, maybe I missed this along the way (or heard comments
the package name to
something line com.blah.nonfree.App and rebuild your apk.
It would seem to offer the quickest solution.
Al.
Blake B. wrote:
Your interpretation would make more sense, but that doesn't seem to be
the way it's being done.
I don't have the option on my current app
I have a SurfaceView that is covering a portion of its parent, a
RelativeLayout. I have a background image covering the full
RelativeLayout area, and this is my Activity's main layout.
I would like to have the SurfaceView be transparent so that I can see
through to the background image on its
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. bbuckle...@yahoo.com wrote:
Ok
) {
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 myself)
Thanks,
Blake
On Dec 30 2008, 8:52 pm, Blake
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 ddum...@gmail.com
Hello all,
I am trying to create an MMS message with an audio attachment and a
message for the user to view and then click send themselves. If you
create a new Message on your own, you are able to attach an audio file
(.amr in this case), but how do you do this programatically?
When I do this
Put the android:screenOrientation=sensor as an attribute on each
activity in your manifest that you want to be sensor-oriented.
Works great! Thx for the tip hackbod!
On Nov 18, 3:14 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
Will this setting make the screen change to lanscape using
:15 am, Dave [EMAIL PROTECTED] wrote:
I don't see a way to do that with the current API. We will be
enhancing the audio API's in a future release of the SDK.
On Nov 11, 3:14 pm, Blake B. [EMAIL PROTECTED] wrote:
Ok, I thought that may be the case.
I need to create a sliding window effect
Here are the complete steps:
http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware
I don't know if the adb installs the USB Windows drivers automatically
or not, but I installed them myself.
After following these steps, I was able to run the Eclipse debugger on
Hi all,
For my app I need to have two audio recordings that overlap each
other - that is, at some points in time there will be two separate
audio files being created from the same audio source. I have
attempted to use two MediaRecorders and start the second one while the
first is still
Ok, I thought that may be the case.
I need to create a sliding window effect in the recording, so that
there is always 15 seconds of audio history recorded. I wanted to
stair-step two 20-second recorders so that every 5 seconds I would
delete one audio recording file when its history got too
39 matches
Mail list logo