I'm facing exactly the same problem.
I'd also like to reuse an already started activity (A) in the
background
but no luck so far. I haven't tried singleInstance but I tried to set
various
launch flags (Intent.setLaunchFlags) on the Intent being used to
restart A,
however, always a new instance of
Does the audio subsystem support cross-fading, or at least offer
sufficient features to implement it gracefully?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send e
I am using the setWallpaper method and I am having problems with it.
Rarely it seems to work fine, others I just get a white screen on the
home screen. And I cannot pin point what the difference is. Right now
it is always white. Has anyone else experience problems? Is there any
"requirements" with
for those who encounter the same problem,
1) in DDMS, click on the Devices icon
2) select your application package
3) click on the green insect, click on update threads, update heap.
thanks,
Anil
On Apr 9, 1:18 pm, tu <[EMAIL PROTECTED]> wrote:
> I also encountered the problem several times. When
> Has anyone succeeded in using Shaders ?
> Do they Work ?
>
Yes, I'm using a shader for tiling bitmaps in my view background. I
also got a ComposeShader working to apply a gradient across my
background. The thread below might help:
http://groups.google.com/group/android-developers/browse_thre
Hi Anil,
As the documentation mentions, only streaming mp4 are supported. Please
search the groups to see the posts about "Progressive Streamable contents"
too.
Thanks,
Megha
On Sat, Apr 12, 2008 at 9:42 AM, Anil <[EMAIL PROTECTED]> wrote:
>
> Can it play wmv files?
> I used ViewVideoDemo with
Ok nevermind what I just said. I now understand what you are talking
about.
Thank you very much!!! I have been banging my head on this for several
days now and this fixes it!
For other people with this problem this is what I did:
SimpleCursorAdapter List=
new SimpleCursorAdapter(this,
renegade,
The guys hanging out on android-internal are doing this kind of stuff.
Check out what they've been doing.
Joa
On Apr 12, 10:25 am, renegade <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I created this post to help new android developers with porting
> android on hardware.
> Very inportant qu
This is normal and expected, but the docs should be clearer.
setScale/setTranslate/etc. on Matrix set the Matrix to the specified
transformation. To compose the transformation with the existing Matrix
you need to use the pre/post methods.
On Sat, Apr 12, 2008 at 3:18 PM, Rui Martins <[EMAIL PROTE
How is this done? I am not having any problems setting String and
integer data through the SimpleCursorAdapter constructor at onCreate
but I can't figure out how to bind the check state of the checkbox
with this method, it always wants to bind to the text field of the
checkbox.
Here is how I am s
The best approach is to let your ListActivity implement the ViewBinder
interface, and set your checkbox in the setViewValue method.
On Apr 13, 12:52 am, SnowDrifter <[EMAIL PROTECTED]> wrote:
> I am having trouble updating the state of a Checkbox inside a
> SimpleCursorAdapter. I want to update t
I am having trouble updating the state of a Checkbox inside a
SimpleCursorAdapter. I want to update the checkbox to reflect some
data in my DB at the start of my ListActivity. My Layout is as
follows:
http://schemas.android.com/apk/res/
android"
android:orientation="vertical"
android:lay
The following Code works, and does what we expect:
android.graphics.Matrix myMatrix = new android.graphics.Matrix();
myMatrix.reset();
myMatrix.setScale( 1, 1 );
myMatrix.preTranslate( 100.0f, 36.5f );
This code, DOES NOT work, i.e. does NOT do what we expect
Well, I'm not sure the issue is when it is stopped, but when it is
taken out of memory when the OS tries to release resources.
On Apr 12, 1:29 pm, Hielko <[EMAIL PROTECTED]> wrote:
> I think a static variable will stay in the memory when the service is
> stopped, but there is one way to find out.
why go through the trouble of fixing minor issues with mock geocoding
when the bigger problem is that the geodb file only has 1 non-business
location (the white house) and one business (Zachary's Pizza in 3
locations)
For challenge submissions, instead of the FixedMockGeocoder.java
class, I think
I've been frustrated for a while by the lack of support for proper
reverse geocoding - or at least, proper mock reverse geocoding. And
we really need it now for our app (left this bit to the last minute).
We didn't want to use the undocumented GML-thing and wanted to stick
to the standard format
Is it possible to get the terrain data from Google Maps as is possible
with the web version?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to andr
Thanks Dan, I thought about that too. I was trying to keep things
nice ! :)
On Apr 12, 1:57 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
> There's probably some nice way of doing this (styles), but off the top
> of my head, I'd say don't set any text for the checkbox and add a
> textview to the left
Receiving GTalk chat messages is not yet fully supported in the
emulator as far as I know. If you want to send data between phones
with GTalk use the sendDataMessage() function, that is working.
On Apr 12, 6:13 pm, thrusty <[EMAIL PROTECTED]> wrote:
> Interesting -- how are you testing this? I m
I think a static variable will stay in the memory when the service is
stopped, but there is one way to find out...
On Apr 12, 9:08 pm, "Dan U." <[EMAIL PROTECTED]> wrote:
> Actually, it would be fairly easy to do this, but I don't think there
> is an existing method for it.
>
> First, create some
I wish I had the answer for this also.
On Mar 31, 6:00 pm, Alex <[EMAIL PROTECTED]> wrote:
> Does Google or the open handset alliance have any plans of setting up
> a developer program where application developers can have access to a
> variety of real test phones? I haven't seen any information
The message is a bit vague I guess. The way I read it was that it
couldn't find an xml file with that id. That would likely be in
reference to an xml in res/layout. I don't know where you see anything
mentioned in the API. The docs are empty for createFromResource in my
local m5-rc14 copy. The onl
Actually, it would be fairly easy to do this, but I don't think there
is an existing method for it.
First, create some kind of flag in the Service to represent whether
it's running. Update this flag in onStart and onDestroy. Then provide
a public static method to access this flag. I would be temp
There's probably some nice way of doing this (styles), but off the top
of my head, I'd say don't set any text for the checkbox and add a
textview to the left for your label.
On Apr 12, 11:41 am, Redhunt <[EMAIL PROTECTED]> wrote:
> Here is an easy question but I can't find the easy answer.
> How
Here is an easy question but I can't find the easy answer.
How can I align the "label" in a Checkbox widget to the left of the
actual checkbox. To label first then checkbox. It seems to default to
checkbox first then label.
thanks
--~--~-~--~~~---~--~~
You received
Hello Megha:
i try to use MediaPlayer to play a lot files,
ArrayList fileList = new ArrayList();
fileList.add("/sdcard/01.mp3");
fileList.add("/sdcard/02.mp3");
fileList.add("/sdcard/03.mp3");
fileList.add("/sdcard/04.mp3");
...
for(int i=0;i<100;i++){
mp = new MediaPlayer();
mp.setDataSo
Hi all,
I created this post to help new android developers with porting
android on hardware.
Very inportant quesion is :
How to prepare SD card to run android?
Lets say, that I have :
- patched compiled kernel,
- system dir extracted from android emulator,
- userdata dir extracted from android e
Comments in the speex forum:
"Android provides Java SDKs, but the underlying media libraries are in
C/C++:
http://code.google.com/android/what-is-android.html
The M5 release contains support for Ogg Vorbis (.ogg):
http://code.google.com/android/migrating/m3-to-m5/m5-api-changes.html#media
so p
Can it play wmv files?
I used ViewVideoDemo with a streaming wmv url and it failed.
--~--~-~--~~~---~--~~
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@go
Thanks Qin Shiming,
I Think these informations will be very useful, But just tell me if
I'm wrong...
As far my system contains 2 partitions...FAT16 kernel partition, EXT2
filesystem partition. Both are read only.
So what I have to do is :
- make system partition to be in read/write mode,
But wha
When using BitmapShader, the results might be surprising, or look
strange or just erroneous.
This looks like a bug or problem, because the class/methods
documentation is missing some important info.
Nowhere in the documentation is stated that the bitmap will be pinned
down to the screen absolut
Interesting -- how are you testing this? I mean, how are you sending
messages from your desktop PC to your android client, and how are you
receiving and handling these messages in your android client?
Are you simply using the ApiDemo classes?
On Apr 11, 6:41 am, NTR <[EMAIL PROTECTED]> wrote:
I guess the only other choice is to use a cursor adaptor and bind it
to the data. That requires some changes that I don't want to have to
do this close to the deadline.
On Apr 11, 5:02 pm, SnowDrifter <[EMAIL PROTECTED]> wrote:
> After looking at the Activity lifecycle I am not sure if there are
Ok, confirmed !
When canvas.drawRect( ... ) is given coords that will make it draw
outside of the canvas buffer (bitmap), it will throw a
NullPointerException.
This should NOT happen whatever the draw method is drawRect or other!
Any draw method MUST clip the coords to match the available drawi
I tried different methods, but field wasn't updated.
1.
ContentValues values = new ContentValues();
values.put(People.NAME, "New name");
getContentResolver().update(People.CONTENT_URI, values, "people._id="
+ contactId, null);
===
2.
String[] projection = new String[] {
Apparently, on M3, canvas.drawRect(...) will throw a
NullPointerException, when the rectangle is out of the screen, zero
area or something similar. Haven't tested on M5 either.
Haven't debugged it further, just asking, maybe someone already knows
the answer.
So I can't quite exactly pinpoint the
Just a comment on this Bitmap issue, in terms of class structure and
organization.
I understand the Factory Pattern usage and concept, since I have used
it before.
But why are some of these "factory" methods (static methods that know
how to create Bitmaps) inside Bitmap class, and others inside c
Gee, found it, BitmapFactory.
I think, I'm starting to feel the stress of the approaching date ;P,
and so much stuff still to do.
On 12 abr, 09:30, Rui Martins <[EMAIL PROTECTED]> wrote:
> Replying to myself :)
>
> I went digging in the documentation, and found
> BitmapShaderhttp://code.google
I'm in trouble !
How in the hell do I load a Bitmap from resources ?
NOTE: Bitmap, NOT BitmapDrawable !
Because we only have that option in the constructor of a BitmapShader,
which IS A Shader (derives from Shader), not a Bitmap !
On another note, We can NOT get the Bitmap from BitmapDrawable,
thank you for your reply - as i said, the code worked fine in the main
activity, sendmail.java, but when i moved it to GetContacts.java i get
a nullPrtException from EmailContactsRepeat where the call is. i am
also listing the intent reciever where the code is called.
here is the manifest
http
Unfortunately setting mSF to null had no influence. Some additional
info on what's happening:
If I leave in my main.xml, the surface won't show the
video, but will contain the info what was displayed on it in the
subactivity. If I use in main.xml, the subactivity info is
erased, but the surfac
I'm also same problem when I try to install m3 version of SDK.
On Apr 6, 11:18 pm, sasperilla <[EMAIL PROTECTED]> wrote:
> I keep getting this error in my console when I try to startup the
> emulator. I've restarted Eclipse, but it keeps croaking with this
> error. Also the emulator easily take
You can find it in the browser.apk file inside the emulator
On Apr 12, 12:12 am, zero <[EMAIL PROTECTED]> wrote:
> Hi folks
> a simple, maybe even stupid question:
> i'd like to display the browser icon in an activiy menu (as it is
> supposed to launch the browser with an uri), but i can't find i
I remember hackbod saying sometime back that you cant do this. But please
search the forums.
harsh
On Sat, Apr 12, 2008 at 6:33 AM, Soonil Nagarkar <[EMAIL PROTECTED]> wrote:
>
> As the subject states, I want to check if a Service is already
> running. If it is not, I do not want to start it, an
Replying to myself :)
I went digging in the documentation, and found BitmapShader
http://code.google.com/android/reference/android/graphics/BitmapShader.html
Believe me that Shader is not the best name for such a Functionality !
I would have never found it by this name, I just opened it out of
c
Is there any thing similar to a tiled drawable ?
i.e. can we set the bounds of a drawable larger than it's associated
bitmap, but somehow control the appearence, so that instead of a
resize, it just tiles the bitmap to fill the area defined by
setBounds(...) ?
Or is anything similar to this behav
Ok, there a few examples. but where is the "complete" documentation
about styles which we can use ?
For example, in M3, there isn't a single documented style to remove
the title bar, like in M5, where there is at least Theme_NoTitleBar.
And even the Example you mention, where can we find more ab
47 matches
Mail list logo