Yes, but you forget that the Toast.makeText takes 3 parameters, not
one.
Toast.makeText(context, message, Toast.LENGTH_LONG/SHORT).show();
So the extra parenthesis is a typo.
On 23 jun, 08:24, rich friedel rich.frie...@gmail.com wrote:
Actually that is correct... you are leaving out the
Doesn't the Goggles application do that aswell?
On 21 jun, 14:56, Mark Murphy mmur...@commonsware.com wrote:
Converting images to text is called OCR. There are no APIs in Android for OCR.
You are welcome to attempt to find a working OCR solution -- the only
one I can think of that works well
What exactly is your problem?
On 20 jun, 16:06, Jake Colman col...@ppllc.com wrote:
I realize that this is not a programming question but I'm hoping someone
here can help with a quick solution.
I have a 9-patch file that I use as my widget background. I did not
create it, I found it on the
You might have different images for different screen orientations, but
the names of the images are the same:
button_image_on.png
button_image_off.png
Because the names are the same the OS doesn't know which you want it
to show. Putting the images in different subfolders doesn't matter, as
the
Don't forget to check the Unkown sources checkbox to be able to
install the application from Eclipse.
On 10 jun, 08:37, Marcin Orlowski webnet.andr...@gmail.com wrote:
yes. enable debugging feature in system prefs (app - development). you may
also need drivers for your phone (depends on model)
It basically means that though both starting an Activity and a
BroadcastReceiver respond to Intents, neither can react to each
other's specific Intents. An Activity will only respond to the Intent
that is sent with a call to Context.startActivity(), while a
BroadcastReceiver listens to system wide
I only use the emulator to test screen configurations on different
devices... Specs are available on the internet, so you can change your
Emulator easily enough to use those specs. For real testing, like say
if the application actually works and performance testing, I use a
real device.
On 10
What do you use to hide/show the LinearLayout?
Could you show the onTouch listener for the SurfaceView?
On 9 jun, 06:29, grace grace.a...@wipro.com wrote:
Hi,
I have my layout like this
FrameLayout
SurfaveView
VideoView/VideoView
/SurfaceView
What address are you trying to use?
On 7 jun, 11:45, Ankur Kumar specialan...@gmail.com wrote:
Not able to figure out the solution to this problem. Have searched many
forums and blogs. Please help.
My application is not loading in the emulator and in the* LogCat* I see the
following:
Depends on if you use custom images for the UI elements. If so, you
will need to make different versions for each screen configuration
(LDPI, MDPI, HDPI and the xtra large one if you truly avid in this).
If your UI is comprised of only the standard UI components that the
Android SDK presents you,
I've used GIMP aswell. Took a while to learn, but it's quite
powerfull. I bet you can get almost the same functionality out of it
that you can get with Photoshop.
On 25 mei, 02:02, B Lyon bradfl...@gmail.com wrote:
I am about to work on making the launcher icon for an app. Lots of
stuff out
. The delay I have when playing Audio
still remains and I still haven't found a solution regarding the
obtainBuffer warning... ¬¬
On 25 mrt, 11:11, ThaMe90 theprophes...@gmail.com wrote:
Could anyone share their insights on this one?
On 22 mrt, 13:00, ThaMe90 theprophes...@gmail.com wrote
Could anyone share their insights on this one?
On 22 mrt, 13:00, ThaMe90 theprophes...@gmail.com wrote:
On a side note, I am developing for Android 2.2 minimum. And I use a
real device to test everything. I've stopped using the Emulator for
sound related topics, as I never got the sound
I wonder, what exactly is the obtainBuffer in an AudioTrack? I ask
this because there is no documentation about it what-so-ever. I have
the famous obtainBuffer timed out (is the CPU pegged?) warning
whenever I try to play a sound in my project, which causes quite a
delay. To try to solve the
Hmm, I'd rather solve it, as it is the only viable explanation left
for why I have delays in playing...
As I've said in my first post, I've tried playing with the buffersize
of the AudioTrack, but to no avail.
The only lead to a solution I have atm. is the warning, so I can't
ignore it...
On 22
/browse_thread/thread/bc65a57e445e9f29/558dfc39a7da7361?#558dfc39a7da7361
On 22 mrt, 12:56, ThaMe90 theprophes...@gmail.com wrote:
Hmm, I'd rather solve it, as it is the only viable explanation left
for why I have delays in playing...
As I've said in my first post, I've tried playing
use no special settings. You could try
removing (or disabling in Windows Device Manager) all your sound cards
but one (while removing your earlier special -audio startup options),
but here I am only guessing...
On Mar 3, 8:25 am, ThaMe90 theprophes...@gmail.com wrote:
I have 2 AVD's
Bump...
On 28 feb, 09:06, ThaMe90 theprophes...@gmail.com wrote:
Anybody got an idea about this?
On 25 feb, 12:51, ThaMe90 theprophes...@gmail.com wrote:
I don't think so... I use API level 8 to develop... So I doubt this is
the issue...
On 25 feb, 12:15, blindfold seeingwithso
);
player.start();
On Mar 2, 1:57 pm, ThaMe90 theprophes...@gmail.com wrote:
Bump...
On 28 feb, 09:06, ThaMe90 theprophes...@gmail.com wrote:
Anybody got an idea about this?
On 25 feb, 12:51, ThaMe90 theprophes...@gmail.com wrote:
I don't think so... I use API level
to be causing problems with
sound (at least for me on Windows 7 64-bit).
On Mar 2, 4:26 pm, ThaMe90 theprophes...@gmail.com wrote:
I'm not asking how to play a sound, just how to activate the sound on
the Emulator, because I hear no sound at all...
On 2 mrt, 13:09, Dixi dixitwadhw...@gmail.com
Anybody got an idea about this?
On 25 feb, 12:51, ThaMe90 theprophes...@gmail.com wrote:
I don't think so... I use API level 8 to develop... So I doubt this is
the issue...
On 25 feb, 12:15, blindfold seeingwithso...@gmail.com wrote:
You should be getting sound from the emulator by default
Anybody got an idea about this?
On 25 feb, 12:51, ThaMe90 theprophes...@gmail.com wrote:
I don't think so... I use API level 8 to develop... So I doubt this is
the issue...
On 25 feb, 12:15, blindfold seeingwithso...@gmail.com wrote:
You should be getting sound from the emulator by default
:53 am, ThaMe90 theprophes...@gmail.com wrote:
Is it possible to not set a DatagramPacket's buffersize? I want to use
this DatagramPacket in the receive method of my DatagramSocket, but I
don't know how large the buffersize should be as the data I receive is
unknown.
If this is possible
Maybe a little side question: what are the available backends to use
on Windows?
On 24 feb, 11:03, ThaMe90 theprophes...@gmail.com wrote:
Hello all, I wonder how to turn on the sound in the Android Emulator?
I've 2 headsets connected to my pc, but I can't seem to get sound on
either of them
affects you too?
On Feb 24, 11:03 am, ThaMe90 theprophes...@gmail.com wrote:
Hello all, I wonder how to turn on the sound in the Android Emulator?
I've 2 headsets connected to my pc, but I can't seem to get sound on
either of them (One is connected through USB, the other through a
3.5mm
Hello all, I wonder how to turn on the sound in the Android Emulator?
I've 2 headsets connected to my pc, but I can't seem to get sound on
either of them (One is connected through USB, the other through a
3.5mm Jack). I've set the AVD I use to enable Audio Input Output,
and I have set the
Is it possible to not set a DatagramPacket's buffersize? I want to use
this DatagramPacket in the receive method of my DatagramSocket, but I
don't know how large the buffersize should be as the data I receive is
unknown.
If this is possible, please enlighten me. If not, could anybody show
me a
elsewhere so this one is closed as far as
I'm concerned...
On Feb 16, 6:53 pm, TreKing treking...@gmail.com wrote:
On Mon, Feb 14, 2011 at 1:51 AM, ThaMe90 theprophes...@gmail.com wrote:
Now this is where the custom dialog shows up. On it I have 2
EditTexts, and 2 Buttons. However, when I try
Okay, now for the third time in 4 days, I will try to get this message
posted
Anyway, I have a problem while showing a custom dialog.
In an Activity where I have to enter a couple of different settings
for my application, I want to show a custom dialog on which I want to
let the user put in an
29 matches
Mail list logo