I have an activity with a grid of 3x4 ImageButtons. When an
ImageButton is pressed it grows to fill the screen then shrinks back
down to its original location and size. However _during_ the shrink
animation trailing lines are left and are only cleared once the
animation has finished. I posted
Did you put the galaxy tab in debug mode
On Sep 18, 7:27 pm, gag gagel...@adelphia.net wrote:
Hi Everyone,
I am trying to run and debug my application on a Samsung Galaxy 10.1
tablet. When I try to launch it from Eclipse, I don't the Galaxy under
the attached devices.
I installed the USB
bumb...
On Sep 13, 4:23 pm, buda gavril dlbudagav...@gmail.com wrote:
did you trued to invalidate the view? maybe if you draw it again it
will look good
On Sep 13, 6:10 pm, neuromit stuart.lay...@gmail.com wrote:
I have 12 ImageButtons setup in a 3x4 grid. When the user clicks
I have 12 ImageButtons setup in a 3x4 grid. When the user clicks on an
image button it grows to fill the screen, holds, and then shrinks down
to its original location.
The animation works except that when the button is shrinking it
sometimes leaves lines behind. (I've attached images below). The
I'm interested in getting the usable dimensions of the screen as
opposed to the dimensions of the entire screen as part of the screen
is occupied by the notification bar and a system bar in Honeycomb. The
numbers reported by DisplayMetrics only give you the dimensions of the
whole screen. I've
View.getWindowVisibleDisplayFrame(Rect)
On Thu, Aug 18, 2011 at 4:12 PM, neuromit stuart.lay...@gmail.com wrote:
I'm interested in getting the usable dimensions of the screen as
opposed to the dimensions of the entire screen as part of the screen
is occupied by the notification bar
I'm extremely interested in streaming audio and or video from a
computer to an android device?
Ideally an event on the computer would trigger the creation of the A/V
stream, the computer would then notify the phone via sms, or some
other mechanism, about the stream at which point the phone could
Is it possible to have my app appear in the application drawer until
the user has launched it once?
--
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
In my application I want to let users pick a custom image. Currently
I'm using the following code to do this:
http://paste2.org/p/1442508 (also pasted below).
It works great on most phones but a few users have reported it isn't
working on their phones. Also this also only works using the default
hmm... so I take it there isn't a simpler way than that.
On May 29, 2:42 pm, Mark Murphy mmur...@commonsware.com wrote:
Write your own image selector using the MediaStore content provider.
On Sun, May 29, 2011 at 2:26 PM, neuromit stuart.lay...@gmail.com wrote:
In my application I
That's actually not a bad idea, i wonder if anyone has a
recommendation
On May 29, 3:31 pm, Mark Murphy mmur...@commonsware.com wrote:
On Sun, May 29, 2011 at 3:27 PM, neuromit stuart.lay...@gmail.com wrote:
hmm... so I take it there isn't a simpler way than that.
You are welcome to recommend
I purchased a MacBookPro 6 months ago and I like it but there are
things I definitely miss about my old thinkpad.
If you think you'll ever want to develop for the iphone or ipad then
you should get the mac. Otherwise get the PC and save some money.
On May 27, 10:34 am, Marcin Orlowski
I have written a very simple game that I'd would also like to make
plugins for. The plugins would change the sprites a the logic that
controls the sprites.
I'm hoping that something like this is possible, but I am not sure how
to do it. I've thought about including all the plugin code into the
I'm interested in releasing theme packs for my application. I've
written a free application and plan on selling themes for it in the
android market (much like ADWLauncher does). I have no clue however
on how to do this. Has anyone here done this and if so what resources
can I turn to for an
app is
present.
The second option sounds reasonable except that it requires that all
themes get packaged into the original app increasing its size. The 1st
option is probably the better way to go but I have no clue as to how
to actually implement it.
On May 25, 2:05 pm, neuromit stuart.lay
I'm writing a pacman style game that has a lot of things to be drawn,
namely, the dots that pacman likes to eat.
I'm finding that the drawing of the dots is greatly hampering the
performance of the game. If I turn them off my app consumes much fewer
cpu cycles than if they are left on.
here is
/Collision_detection
On Tue, May 24, 2011 at 12:57 PM, neuromit stuart.lay...@gmail.com wrote:
I'm writing a pacman style game that has a lot of things to be drawn,
namely, the dots that pacman likes to eat.
I'm finding that the drawing of the dots is greatly hampering the
performance
Also do you mean that they should be split into separate threads or
just separate methods?
On May 24, 11:25 am, neuromit stuart.lay...@gmail.com wrote:
Thank you both for your suggestions, they are really helpful. I was
able to optimise my code quite a bit.
My collision detection is pretty
:48 am, Daniel Drozdzewski daniel.drozdzew...@gmail.com
wrote:
On Tue, May 24, 2011 at 4:25 PM, neuromit stuart.lay...@gmail.com wrote:
Thank you both for your suggestions, they are really helpful. I was
able to optimise my code quite a bit.
My collision detection is pretty primitive, so
yes it is. I guess I should have specified that. From my app I'd
like to let the user pick an image and then crop it but I want to
enforce a specific Width x Height ratio and I was wondering if there
was something in the SDK to do this.
On May 15, 9:24 pm, Nicholas Johnson
bump...
On May 14, 10:17 am, neuromit stuart.lay...@gmail.com wrote:
Is there a way to pick an image from the gallery while also specifying
that it should be cropped or resized to certain dimensions?
--
You received this message because you are subscribed to the Google
Groups Android
I'm loading a png file using
Bitmap eBitmap = BitmapFactory.decodeResource(r, R.drawable.pm) ;
and then drawing it using:
canvas.drawBitmap(eBitmap, x, y, mPaint);
The problem I'm experiencing is the bitmap is coming out distorted.
The corners are getting rounded and messing up the image.
Is
but on the phone it looks terrible.
On May 10, 1:06 pm, neuromit stuart.lay...@gmail.com wrote:
I'm loading a png file using
Bitmap eBitmap = BitmapFactory.decodeResource(r, R.drawable.pm) ;
and then drawing it using:
canvas.drawBitmap(eBitmap, x, y, mPaint);
The problem I'm experiencing
The subject says it all, is there a way for a live wall paper to
detect the layout or widgets or applications on the homescreen?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
of its process.
On Mon, Dec 20, 2010 at 3:43 PM, neuromit stuart.lay...@gmail.com wrote:
I'm trying to setup a service connection to control the stock android
media player. This works great under 2.1 and 2.2. However, when I
tried to run my application on the 2.3 emulator my application
I'm trying to setup a service connection to control the stock android
media player. This works great under 2.1 and 2.2. However, when I
tried to run my application on the 2.3 emulator my application crashes
and I get the following error:
ERROR/AndroidRuntime(466): Caused by:
I've been trying to save some state variables in the SharedPrefs, this
seems to work fine when onPause, and onStop are called but not when
OnDestroy() is called. When that happens the next time my activity
loads the preference values have disappeared.
Here is the code I use to save the variables:
the SharedPreferences, as that will be the one that
PreferenceActivity uses. Otherwise, your code seems fine. However,
bear in mind that onDestroy() is not guaranteed to be called, so you
may be better served writing them in onStop(), anyway.
On Sat, Dec 18, 2010 at 5:01 PM, neuromit
seems fine. However,
bear in mind that onDestroy() is not guaranteed to be called, so you
may be better served writing them in onStop(), anyway.
On Sat, Dec 18, 2010 at 5:01 PM, neuromit stuart.lay...@gmail.com wrote:
I've been trying to save some state variables in the SharedPrefs
, Dec 16, 2010 at 3:18 PM, neuromit stuart.lay...@gmail.com wrote:
android.intent.activity.SENDTO, is there a way to programmatically separate
sms activities from email activities?
There are other considerations for filtering intents besides the action. Try
checking the other properties. The data
No it is unfortunately not the case. If you only have a single SMS app
installed then there is no SMS app listed under the preferred
applications.
On Dec 17, 12:46 pm, TreKing treking...@gmail.com wrote:
On Fri, Dec 17, 2010 at 10:55 AM, neuromit stuart.lay...@gmail.com wrote:
Now
, Dec 17, 2010 at 12:31 PM, neuromit stuart.lay...@gmail.com wrote:
No it is unfortunately not the case. If you only have a single SMS
app installed then there is no SMS app listed under the
preferred applications.
Have you tried
this:http://developer.android.com/reference/android/content/pm
Ok this is what I want to do:
I have a button in my app, lets call it a super button. I let the user
define the action of this button. The user can select options such as:
send SMS, send an Email, open a browser, etc...
I would like the icon of this button to be the icon of the users
preferred
this
super button is pressed?
Probably you will show some list of apps that the user will manually select,
right? If that's the case then once the app is selected you know exactly the
application and you can get its icon, etc...
On Fri, Dec 17, 2010 at 10:29 PM, neuromit stuart.lay
wow, the getActivityIcon(Intent) method grabs the icon that is
preferred by the user if one has already been selected! how great!
On Dec 18, 12:14 am, neuromit stuart.lay...@gmail.com wrote:
@Treking,
Thanks, I feel like a total idiot for overlooking that
YuviDroid,
No I'm not displaying
I'm assuming that you have tried unlocking the phone using your mouse
(a click registers as a touch).
On a phone when you push the power button the screen goes black, this
does not happen on the emulator. Try pressing the virtual power button
once and this should let you unlock the phone.
On Dec
When my app executes:
Intent i = new Intent(Intent.ACTION_SENDTO, Uri.parse(sms:));
i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
c.startActivity(i);
for the first time the user is prompted to select a default action and
then subsequent intents get passed to the application that they chose
as the
, cName.getClassName() + +
intFilter.getAction(jdx) + +intFilter.getDataScheme(jdx));
}
}
On Dec 16, 3:13 pm, TreKing treking...@gmail.com wrote:
On Thu, Dec 16, 2010 at 1:58 PM, neuromit stuart.lay...@gmail.com wrote:
Is it possible for me to discover which app they selected
Treking, this is exactly what I'm trying to do.
On Dec 15, 10:36 am, TreKing treking...@gmail.com wrote:
On Wed, Dec 15, 2010 at 12:14 AM, Bob Kerns r...@acm.org wrote:
As a user, I would never, in a million years, consider giving up
the Android-provided global search capabilities.
If
Hi,
I recently tested out my application that listens for a
SEARCH_LONG_PRESS intent. On my droid incredible the intent gets
registered and I can use a long press of the search button to bring up
my app, however, on the droid X it doesn't work.
Does anyone know why this doesn't work on the droid
I would like to write an application that replaces the dialog that
shows up when you long press the search button. How would I making it
so my app gets launched on a search button long press?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
Thanks a million
On Dec 14, 5:48 pm, Jake Basile jakerbas...@gmail.com wrote:
I also just saw that android.intent.action.SEARCH_LONG_PRESS exists, so
maybe that's one you can use too.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
the code I'm never prompted to pick a default
application. Long pressing the search button brings up the voice
search dialog box.
Is there something else I need to specify to say that my application
should be launched on a search button long press?
On Dec 14, 6:05 pm, neuromit stuart.lay...@gmail.com
thanks for your replies... but I think I need to do something more.
My SMS client (ChompSMS) can be bound to the search button long press
and it doesn't start any sort of voice recognition activity.
When I cleared the default application and long pressed the search
button the dialog appeared
Ahh.. I missed your post where you said to add:
category android:name=android.intent.category.DEFAULT /
this indeed fixes the problem!
On Dec 14, 10:23 pm, neuromit stuart.lay...@gmail.com wrote:
thanks for your replies... but I think I need to do something more.
My SMS client (ChompSMS) can
I'm wondering how hard it would be to globally intercept the search
key in every application? I'm guessing this isn't possible using the
standard API's. Could I do this on a rooted phone? If so what steps
would I need to take?
--
You received this message because you are subscribed to the Google
=true
android:drawable=@drawable/bt_back_selected / !--
focused --
item android:drawable=@drawable/bt_back_default / !--
default --
/selector
On Dec 10, 1:24 pm, neuromit stuart.lay...@gmail.com wrote:
I'm working on a basic media player and am having problems changing
I'm trying to write a universal music widget, and struggline to figure
out the best way to control the user specified music player without
having to explicitly include coded dedicated to each media player in
code. I'm hoping that there are generic intents that get passed on to
the user specified
hmm... I'm not looking to create two seperate buttons, rather I would
prefer to have a single button and change the drawable every time the
button is clicked.
On Dec 10, 5:50 am, H m...@howardb.com wrote:
I think I tried using the same setCompundDrawables... method but it
didn't work for me
knowing what that default app
is.
On Dec 10, 11:18 am, TreKing treking...@gmail.com wrote:
On Fri, Dec 10, 2010 at 10:15 AM, neuromit stuart.lay...@gmail.com wrote:
I'm hoping that there are generic intents that get passed on to the user
specified music player, however I haven't been able
.
On Dec 10, 8:08 pm, neuromit stuart.lay...@gmail.com wrote:
Right but I was going that there would be a standard set of that
would get piped to the user specified default player.
so if this standard set of intents doesn't exist how do default
applications work? If I want to send a sms from my app
Mark, thanks for your reply!
On Dec 10, 9:09 pm, neuromit stuart.lay...@gmail.com wrote:
Sorry I posted that from my phone and it didn't come out right.
I was hoping that there would be a set of system intents that would be
passed on to whatever app is designated by the user as the default
I'm working on a basic media player and am having problems changing
the drawable on the play pause button. Here is the code I'm using:
Drawable draw = getResources().getDrawable(R.drawable.play);
playPauseBTN.setCompoundDrawablesWithIntrinsicBounds(draw, null, null,
null);
The code executes
I'd like to add some buttons to a persistant notification to control
my application. I have successfully added the buttons in XML and they
show up perfectly when I run my application in the emulator. However,
I can't figure out how to access these buttons from within my code.
The only way I know
I found this discussion
http://www.last.fm/group/Last.fm+Android/forum/114391/_/660948/1?fallback=1noredirect=1
where the last.fm developer claims that the IMediaPlaybackService will
be made private in gingerbread. Is this true? If so can someone
explain to me why this change is happening
--
I'm looking to create an app that I would like to access from the
power button menu. From what I've read online many people have solved
this problem by modifying the rom. However, I'd like to be able to do
this from a market installed APK. Is this possible, even with root?
--
You received this
56 matches
Mail list logo