Hello,
As I can't find any news on this subject, I would like to know if the
thumbnails generation has been added to the MediaScanner in a 2.*
release ?
Thanks
Kevin
-- Forwarded message --
From: Marco Nelissen marc...@android.com
Date: 8 oct, 16:13
Subject: Mediastore
hai developers,
i had attached my code to store the image in database.after i run
my code ,the emulater have the blank screen.no images display in
emulator.anyone can help me ,what is the wrong in the code.why the
image dispaly in emulator?otherwise is there any other method have to
get the
how do i run sample codes? (most important)
and what do u mean by debug perspective, how do i run that?
and how do i install USB driver, like usb driver patch thing in
Android SDK, ADT?
On Dec 18, 2:06 pm, Frank Weiss fewe...@gmail.com wrote:
To run on a phone, install the USB driver. For
I'm developing a media file app that is meant to play sounds stored in
my raw folder. There are about 32 sounds in all. And this is what i'm
doing on the click of each button:
Button btnGrowUp = (Button) this.findViewById(R.id.GrowUp);
btnGrowUp.setOnClickListener(btnGrowUpListener);
I cannot quatify it but it is very noticeable and feels wrong when
playing my game. for example I play a sound when a piece is selected
however due to the lag the sound feel a bit out of place.
I will try to profile whats going on here. But I thought perhaps
someone may have had experienced this
seems like I was wrong. Profiling shows 60% is spent on getting the
audio service and setting up the volume. Only 40% is spent on the
actual play function. So would seem like I setting up the volume
before hand is the way to go. I'll try that out and see how things go.
On Dec 19, 7:46 pm, rukiman
ok i take it back, doesnt seem to make a difference. I think the lag
is in soundPool.play() itself.
Anyone got a workaround?
On Dec 19, 7:57 pm, rukiman ruksh...@optushome.com.au wrote:
seems like I was wrong. Profiling shows 60% is spent on getting the
audio service and setting up the volume.
Some feedback. I have noticed the sound is pretty instant and great
when there isn't another sound effect being played, otherwise the
delay is pretty bad. So say if I select a piece then the sound effect
is instant, however if I quickly select another piece as the sound is
being played, there is a
hi Elliott,
what exactly does it mean that the driver is unsupported and that
it shouldn't be used?
are you saying that JDBC should not be used at all? without
loading the jdbc driver with Class.forName() it isn't registered.
that concludes the code snippet in Joerg's post above is
not
OK. I posted in http://code.google.com/p/android/issues/detail?id=5536
On Dec 18, 11:29 pm, Mark Murphy mmur...@commonsware.com wrote:
NoraBorawrote:
I found another typo in android developer resource site.
http://developer.android.com/resources/faq/commontasks.html
Selecting,
Thanks! After some more tweaking (and knowing in which direction to
go) it works now!
Ralf
On 17 Dez., 18:09, Romain Guy romain...@android.com wrote:
Includes are indeed resolved at runtime (when the XML layout file is
inflated.)
On Thu, Dec 17, 2009 at 1:13 AM, rflexor
See the default android music player.
http://android.git.kernel.org/?p=platform/packages/apps/Music.git;a=blob;f=src/com/android/music/ArtistAlbumBrowserActivity.java
SimpleCursorTreeAdapter constructor has group layout and child layout.
for example,
group layout is here
How can I create a list where I can rearrange list items with dragging
list rows to another row and so on (to change to order)?
Just like on the HTC Hero in the clocks app where you can rearrange
the order of clocks?
Wouter
On Dec 18, 11:08 pm, Business Talk roman.businesst...@gmail.com
wrote:
Hi all,
I'm facing a problem,
I've added a folder of 350 images representing country flags in my
project
according the device country given by locale. Let's say fr for France
I would like set an image with fr.png which is in the res/drawable
folder. How to achieve this without maintaining an
you could try using Reflection, but that might be too complicated for
what you need.
What I would do is to place all of the images in the assets folder,
where you can retrieve them by name.
I think it's something like
Bitmap bmp = BitmapFactory.decodeStream(getResources().getAssets
Hi, I'm running a pretty weird setup:
AsyncTask1.class - AsyncTask2.class -AsyncTask3 (inner class of
AsyncTask2) -NDK call (this one takes a long time).
Since the NDK takes so long, I want to give users the option to kill
the NDK call so that they can actually use the app. Basically, I keep
Hi wedyan,
I had also the same problem but finally i got the solution. I have
some steps for you, just go through it.
1) Remove PropertyInfo from your code and add this like:
SoapObject request = new SoapObject(NAMESPACE,METHOD_NAME_TEMP);
// if you have 2 params in .net than add property this
Hunter Peress wrote:
Hi, I'm running a pretty weird setup:
AsyncTask1.class - AsyncTask2.class -AsyncTask3 (inner class of
AsyncTask2) -NDK call (this one takes a long time).
Since the NDK takes so long, I want to give users the option to kill
the NDK call so that they can actually use
Robert, your right. Accessing the gl extensions at runtime will tell
us what effects we can use. But I Wa thinking that even if all the
extensions I want are available, maybe my program uses them all very
heavily and I want to limit that based on the class (horsepower) of
the gpu. I have not done
Hi all,
I need a answer for my problem.
I have a image path like
http://www.things4myspace.com/wp-content/uploads/3052/a%20note%20to%20say%20hi.gif
i need to render in my screen.I mean i have to set this image path to
image source through java programming.
If any one knows please tell me .
--
I appreciate the reply, but I selected the SAX method because of its
efficiency advantages, so I'd really like to understand why my code
isn't working.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
redders wrote:
I appreciate the reply, but I selected the SAX method because of its
efficiency advantages, so I'd really like to understand why my code
isn't working.
I don't use XMLReader and I have no problems with SAX on Android, such
as this one parsing a XML payload from a REST request:
Hello Sergiu,
I keep your hint in mind,
for now i've generated the mapping class. Maybe not the best way but it is
sync with what i have in folder.
Regards.
Croco
On Sat, Dec 19, 2009 at 2:42 PM, Sergiu Dogaru
creative.art@gmail.comwrote:
you could try using Reflection, but that might
Hello Sergiu,
I keep your hint in mind,
for now i've generated the mapping class. Maybe not the best way but
it is sync with what i have in folder.
Regards.
Croco
On Dec 19, 2:42 pm, Sergiu Dogaru creative.art@gmail.com wrote:
you could try using Reflection, but that might be too
Thanks Mark, I've just given that a try. I still don't get any calls to my
startElement method, but there is a new warning which may be a clue:
12-19 17:14:24.241: INFO/NWXML(1852): Trying to parse: *snip*
12-19 17:14:24.241: WARN/ExpatReader(1852): DTD handlers aren't supported.
DTD handlers
Update:
Using Mark's method, startDocument and endDocument are invoked, but
never the elements...
On Dec 19, 5:19 pm, Edward Hinchliffe redders6...@googlemail.com
wrote:
Thanks Mark, I've just given that a try. I still don't get any calls to my
startElement method, but there is a new warning
Relying on Java thread interruption is a serious code smell IMHO, NDK or
not
Hi Mark,
Why is this a code-smell? Interrupting long-running threads that 'wait
()' is perfectly fine for controlling these threads, telling them to
do stuff, pause or even stop and exit.
On Dec 19, 9:20 am, Mark
In fact it seems that startDocment and endDocument are invoked when using my
original code, with no warning about DTD handlers...
so how do i get the other methods to be invoked??
2009/12/19 redders redders6...@googlemail.com
Update:
Using Mark's method, startDocument and endDocument are
On Dec 18, 10:55 pm, Dianne Hackborn hack...@android.com wrote:
Tell them Android sux and doesn't support this.
Dianne, I have to say I was very surprised to get this reply from
you. I thought about it for a while, and then decided you must be
having a very rough day. I hope you have a much
Thanks for your help here.
I reas the bug report, but I am not quite sure what to make of it and what
the solution is.
In my case the user enters username/password and then I show a progress
monitor. When the user backs out or goes to home then I still want to
display the result, at least when
Sorted, for anyone who was interested, the startElement and endElement
methods need to look like this:
public void endElement(String uri, String localName, String qName)throws
SAXException{
Log.i(###,start element);
}
2009/12/19 Edward Hinchliffe redders6...@googlemail.com
In fact it seems
Streets Of Boston wrote:
Why is this a code-smell? Interrupting long-running threads that 'wait
()' is perfectly fine for controlling these threads, telling them to
do stuff, pause or even stop and exit.
All of the following is IMHO.
In most cases, if you have to use wait()/cancel(), you're
You can also use something like:
int rid = getResources().getIdentifier(fr, drawable, getPackageName
());
not the most efficient way but definitely something you can use.
On Dec 19, 6:16 pm, croco zeug...@gmail.com wrote:
Hello Sergiu,
I keep your hint in mind,
for now i've generated the
Thanks, glad you posted this! I used your WrapTTS class exactly as
you have it, but nfortunately, running it on the 1.5 emulator still
crashes (works great on 1.6 though).
Just doing what you did above, declaring the 2 global variables and
doing the checkAvailable() check, but the app force
There's some good information on why adding support for enhancing/
customizing/replacing the lock screen is so difficult on Android here:
http://groups.google.com/group/android-developers/msg/0dd8513a434e4764
On Dec 19, 12:36 pm, skyhigh skyhigh1...@gmail.com wrote:
On Dec 18, 10:55 pm, Dianne
On Sat, Dec 19, 2009 at 9:36 AM, skyhigh skyhigh1...@gmail.com wrote:
On Dec 18, 10:55 pm, Dianne Hackborn hack...@android.com wrote:
Tell them Android sux and doesn't support this.
Dianne, I have to say I was very surprised to get this reply from
you. I thought about it for a while, and
I have slept with the lifecycle diagram under my pillow for the past
several nights in hopes of resolving the dang thing. Is it just me,
or are there too many states in the cycle? Are some mutually
exclusive? I am writing an application that utilizes
SharedPreferences for its persistence. I
ok, answered my own question again..
me failing to use eclipse properly:
import java.util.jar.Attributes; was at the top, rather than the SAX
attributes object.
hence my startelement method had the wrong arguments.
--
You received this message because you are subscribed to the Google
Groups
You are totally right - VBOs are part of 1.1.
G1 glGetString(GL10.GL_VERSION) = OpenGL ES 1.0-CM
Droid glGetString(GL10.GL_VERSION) = OpenGL ES 1.1-CM
So clearly I'm going to have to take this into consideration when
evaluating if the system supports the feature. My next question is -
how do I
On Sat, Dec 19, 2009 at 5:51 AM, Hunter Peress hunt...@gmail.com wrote:
aSyncTask1.getAsyncTask2().getAsyncTask3().cancel(true);
The true means mayInterruptIfRunning
but, lo and behold, the NDK process is still running. I don't care how
its done, but I need that NDK process to die when I
Yeah the repercussions of neglecting wake locks is largely luck -- for
example it is not uncommon for the device to be synchronizing in the
background, or receiving data, or doing something else that holds its own
wake lock, allowing you to run, Also when plugged in to USB a wake lock is
held so
I am getting ' attempted to join non-multicast group' when joining a
group;
_MulticastSocket.joinGroup(getBroadcastAddress());
where
public final InetAddress getBroadcastAddress() throws IOException,
Exception
{
WifiManager wifi = (WifiManager) _Context.getSystemService
stanlick wrote:
When I was saving the preferences from both
lifecycle methods, some key/value pairs *WERE NOT* even in the Map
(as per debug break point).
What Map?
It
appears there are thread safety issues concerning these two lifecycle
methods in particular.
They are both called on the
Hi, I have read your post already which is why I was playing around
with the packagemanager. I suppose that is the workable solution you
are mentionning ?
If that is so then my question to Diane remains : how do I launch a
service explicitly, not using a string action, when its class is in
another
hi,
i need to create int array containing two blading colors - e.g. for
green and red:
arr[0] == 0xff00ff00 // green
arr[1] == 0xff11ee00
arr[2] == 0xff22dd00
arr[3] == 0xff33cc00
arr[arr.length - 1] == 0x // red
i couldn't find any API for creating such an array, so i used
workaround:
any ideas?
On Dec 18, 7:16 pm, cvance383 cvance...@yahoo.com wrote:
I have an app that streams mp3's from a server, works fine on 1.5 and
lower. But on the droid, for certain songs the mediaplayer buffers to
like over 50% but onPrepared() is never called. These same songs work
fine on 1.5 or
Will google be offering a work around to rogers no update policy? it
would be great to get 1.6 or even 2... And i would prefer to avoid
rooting my phone.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I think it could be possible to create a lock-screen replacement that
can control your media player, but don't ask me how to do that.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I have an Android Dev Phone 1 Firmware version 1.6 and for the last month or
so it has been trying to update Google Maps but it keeps getting Installation
error Package file was not signed correctly.
I have done a search on the Internet and a number of people have successfully
completed this
Hi everyone.
How we overcome the RTP sending issues of OpenCore Multimedia
Framework in Android? Please help me.
Thanks in advance.
Regards
Sandeep
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I wrote a GWT app that used gears as a locald datastore (was running
on a pda, retreiving all db from server)
how can I do this with an android phone ?
I have read it was possible to write my own content provider
Hi!
I'm developing a 2D game I started on Android 1.0/1.1. It scales
itself to the actual surface size, so I had nothing to change because
of the newer higher-resolution devices.I have a G1, but I'd like to
test it on a Droid too, so I've created an AVD with Android 2.0,
WVGA854. I did not check
Hi,
I wrote a GWT app that used gears as a locald datastore (was running
on a pda, retreiving all db from server)
how can I do this with an android phone ?
I have read it was possible to write my own content provider
I posted a response to the above link from Stefan
I found at
http://groups.google.com/group/android-developers/browse_thread/thread/171b8bf35dbbed96/c3ec5f45436ceec8?lnk=raot.
(thanks Nilesh). You need to add BufferedHttpEntity bufHttpEntity =
new BufferedHttpEntity(entity);
Here was my
I have some webimageviews inside a viewflipper, and I am setting a
timer so that I can play a slideshow of the images. The problem is
the timer function is getting called but the view is not actually
advancing. If I call the viewFlipper.showNext outside of the timer,
the image advances, but not
How can the string bar 90 degrees clockwise rotation appear?
--
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
FWIW, the internal time scale used by GPS is now exactly 15 seconds
ahead of UTC.
--
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
Is anyone working on to free sipdroid app from pabxes.org? It's a
problem for people trying to use this app on locally installed pabxes.
It adds a quite high amount of delay.
Sipdroid: http://sipdroid.org/
Is there anyone interested in a bounty for that? We could release this
on sipdroid
Hi,
I have access to a nifty new external device and drivers are available
for linux but the dependency on hardware is not clearly described.
i.e. on the driver download page
Requires Linux Kernal 2.6+.
As I understand Droid I would have to have a rooted phone in order to
install - am I right
Yeah, I've got an HTC magic. Though not the dev two. It wasn't
released until 4 months after the HTC Magic. I'm going to wait until
Google releases the Nexus One as a dev phone. It has an ARM
processor or some-such powerful toy in it. And thus I think you'll be
better off waiting at-least for
We see the bigger font for Agree and disagree buttons for the Alert
dialog when the network provider is selected in the location settings
menu. Any pointers or suggestions which part of the framework code
need to take a look. This dialog is controlled by Networklocation.apk
which is not open
We see the bigger font for Alert dialog agree and disagree buttons when the
network provider is selected from the location settings menu. Any
suggestions or pointers to resolve this issue. Dialog is controlled by
Network location.apk which is not open source.
Attached the screen shot as well.
--
Hi,
Be aware that the timer uses a new thread, so you need a handle to
communicate with the UI thread.
Regards,
Patrick
--
verzonden vanaf mijn Android.
Op 19 dec 2009 10:52 PM schreef Andy Triboletti andy.tribole...@gmail.com
:
I have some
Just found the official docs - I guess that is the string you have to
parse, according to this -
http://www.khronos.org/opengles/sdk/1.1/docs/man/glGetString.xml
Is anyone keeping a running count of how many questions I ask and self-
answer in this group? I should look for 5 minutes before
Hi,
I'm using this camera code to ask the camera to rotate the captured
image data:
Camera.Parameters params = camera.getParameters();
params.set(rotation, 0);
camera.setParameters(params);
this seems to work on all phones, except the Droid. Has anyone else
seen this? The image data is
I have a typo in my code listing above, it really reads:
params.set(rotation, 90);
(90 degrees, not zero),
Thanks
On Dec 19, 5:57 pm, Mark Wyszomierski mar...@gmail.com wrote:
Hi,
I'm using this camera code to ask the camera to rotate the captured
image data:
Camera.Parameters params
SharedPreferences.Editor editor = settings.edit(); returns
android.app.ApplicationContext$SharedPreferencesImpl
$editori...@447d10e8 which resolves to a backing HashMap. When I was
saving preferences from both lifecycle methods, it was missing the
last key that was put.
On Dec 19, 1:05 pm, Mark
Thanks bro --
I realize it's not much code (or hard to write) but it is silly that a
year later, the Android Market still isn't up to speed. What happened
to not repeating yourself in code?
Peace,
Scott
On Dec 18, 12:32 pm, TreKing treking...@gmail.com wrote:
So how do I get my users up to
TelephonyManager tm = (TelephonyManager)getSystemService
(TELEPHONY_SERVICE);
tm.listen(mPhoneListener, PhoneStateListener.LISTEN_NONE);
This seems to work for a while but then fails to fire after - say an
hour.
This sounds very much like a problem I have and wrote about at
Mark Wyszomierski wrote:
I got all the parameters from a Droid for the camera - looks like
rotation is not one of them... how do you get the camera to rotate the
output?:
picture-size-
values=1280x960,1600x1200,2048x1536,2592x1936,2592x1456;mot-postview-
Thanks, just posted there too. I hope there's a way to get around this
innovation in camera.parameters..
In the worst case, I guess I could check what platform the user is
running on, and use the native camera intent?
Thanks
On Dec 19, 8:55 pm, Mark Murphy mmur...@commonsware.com wrote:
Mark
Hi,
Has anyone else experienced an odd behavior with HttpUrlConnection,
using https, a POST request, and image data? I'm in a situation where
the first time I POST my data, everything goes through to the web
server fine. Next time I post, this call:
HttpURLConnection conn =
Thanks Dianne for the very informative response, it really helped me
understand the process vs. threading model of the AsyncTask. And I
took your advice, I implemented a simple kill method in the C code,
and I'm killin' away ! Woot!
On Dec 19, 11:00 am, Dianne Hackborn hack...@android.com wrote:
bump? anyone?
On Dec 18, 1:19 pm, Matt hansen.matt...@gmail.com wrote:
Hi All,
Has anyone been successful showing a notification, starting an
activity, or loading the home screen *during* a call on the Droid?
All three of these actions can be done with the emulator running 2.0,
but will
There is usually a cyber-crime division in each state. However, they
are severely under-staffed. For example, Utah only has 3 officers for
cyber-crime, and two of them spend all of their time on child
pornography cases.
However, I would still report it.
Regards,
Matt
On Dec 18, 5:27 pm,
Your application is being run in compatibility mode. You can read
about that and how to avoid it here:
http://developer.android.com/intl/zh-CN/guide/practices/screens_support.html
On Dec 19, 8:57 am, greg1x gre...@yahoo.com wrote:
Hi!
I'm developing a 2D game I started on Android 1.0/1.1. It
If somebody can get this to work for me, using an emulator on the 1.5
sdk, I will send them $25 via paypal if you need it. I am using the
android 1.5 emulator.
Problem: I see the satilite icon on the top of the phone, but when I
send the device multiple coordinates, is never runs the
Info about the USB driver is on the developer.android.com web site here:
http://developer.android.com/sdk/win-usb.html
It takes just a little effort to learn the Eclipse IDE, but it's well worth
it, IMO. To open the Debug perspective, choose Window + Other + Debug. Then
choose Run + Debug
I am, 6 :)
- Dan
On Sat, Dec 19, 2009 at 5:34 PM, Robert Green rbgrn@gmail.com wrote:
Just found the official docs - I guess that is the string you have to
parse, according to this -
http://www.khronos.org/opengles/sdk/1.1/docs/man/glGetString.xml
Is anyone keeping a running count of
I don't need the reward, but you might want to try manually setting
the time zone as per this issue:
http://code.google.com/p/android/issues/detail?id=2545
On Dec 19, 10:46 pm, dapaintballer331 dapaintballer...@gmail.com
wrote:
If somebody can get this to work for me, using an emulator on the
Hi Jeffrey,
Thanks for confirming this. When you switched to the HttpClient
equivalents, did you have to import all the additional external jars -
I guess that's actually if you want to do a multi-part post, like
here:
Thanks Niko, tried everything, including flushing, nothing works.
On Dec 16, 3:38 pm, niko20 nikolatesl...@yahoo.com wrote:
Hi,
try calling flush() just before stop, release. Otherwise I don't know
- it's why the size of buffer you choose is important, big enough to
not gap out, but small
It looks like what I might have to do is switch my project to the 2.0
sdk (it's currently at 4). If I see that the OS level my app is
running on is less than 2.0, then I make this call:
Camera.Parameters params = camera.getParameters();
params.set(rotation, 0);
camera.setParameters(params);
hi guys,
sorry got involved in something else and just didn't look back
here,
this is what was happening:
i hav an action_pick where the user picks an image and the resulting
URI is used to display the image as is full-size on the imageview.
This action wud cause an outofmemory error
Thanks everyone, this helped me a lot in understanding the concept
behind activities. great work, guys.
--
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
85 matches
Mail list logo