What does android list avds gives you on the command line?
If using Eclipse with ADT 0.9.1 you can use Windows AVD Manager to
list your avds
R/
On Tue, May 19, 2009 at 2:07 AM, rogerhood rogerh...@gmail.com wrote:
hi, all:
My Eclipse is equiped with Cupcake SDK and I created an AVD in /
Ahhh... those were the days bitshifting instead of multiplication
dividing XORing a value by itself being quicker than setting it to zero
(see http://en.wikipedia.org/wiki/Bitwise_operation#XOR if you think I'm making
this one up, it was certainly true on a Motorola 68000 embedded
I think http://support.microsoft.com/kb/241257 describes the easiest way to
make sure you get rid of all the android related devices in device manager.
Al.
---
* Written an Android App? - List it at http://andappstore.com/ *
==
Funky Android Limited is registered in England Wales with
So what is it you're asking for DOM or SAX?
Android uses standard classes for both cases. Maybe you should run your
samples on a standard sdk just for comparison?
startElement() is SAX, not DOM.
I also don't get the major issue. In XML attributes cannot have children. So
you probably mean
hi,
is there anyway to remove the default drop down icon on
ExpandableList?
thx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Oh my snakes on a plane... it's working... it's actually working!
OK, here are the things I did;
1) With the g1 *not* connected, I used the MS knowledgebase article
(http://support.microsoft.com/kb/241257) to remove the device and selected the
Remove drivers for this device checkbox for
thanks for the response.
i use the standard (javax.xml.parser.*) SAX parser. it tells me when
things happen so i can build a DOM tree. so in a sense, i'm using
both.
Android might use standard *interfaces* for the parser and DOM
classes, but the actual implementations are different.
i
A DOM parser uses SAX to built up the tree, but you don't have to do that
yourself.
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = dbf.newDocumentBuilder();
Document d = builder.parse(new InputSource(Your Input Stream /
Reader / Whatever
i would say it that a SAX parser uses DOM to build the tree :-)
i'm doing it the long way round largely because i want to do some
preprocessing on the text before i make Text nodes. but the tree that
i make and the tree that the document builder makes should be
essentially the same.
however,
Thank you, Dianne. I must admit that I find this an utterly confusing
paradigm. So now we have a *software* keyboard that makes a (novel!)
distinction between what *it* considers physical keys and non-
physical keys? All those digit and letter keys were physical enough
on my ADP slide-out
No, not Xerces.I don't remember exactly, I think there is
org.apache.harmony.something stuff and kxml.
Yeah, I could dig it up, but you could probably too. You are at your
machine? Try
someNodeOrWhateverRelevantInstanceYouHaveInYourHand.getClass().getName().
On Thu, May 21, 2009 at 9:43 AM,
Hi All
I am writing an application in which i need to handle messages between the
main thread(the deafult UI related thread) and the user created Gamethread.
The requirement is like this.
An activity(say Activity_X) is setting the view by setContentView(some
View_Y). In Activity_X i have
Hi,
In my application i'm playing a 1 second sound clip when the user
clicks on a button. after that a mall thread sleep then i have
assigned a small animation to the particular button. (500ms
duration).
Animation works fine without sound. But when I put sound the animation
is not consistent.
Hi All
I am writing an application in which i need to handle messages between
the main thread(the deafult UI related thread) and the user created
Gamethread.
The requirement is like this.
An activity(say Activity_X) is setting the view by setContentView
(some View_Y). In Activity_X i have
Hi, hope you can help:
I have :
1. private static class SampleView extends View implements
OnGestureListener { //init variables }
2. public SampleView(Context context) { super(context); buildPoints
();}
3. @Overrideprotected void onDraw(Canvas canvas) { paintchart
(canvas,param); }
4.
my dev environment is at work. i'll have to dig into it more in the morning.
thanks for the responses.
j
No, not Xerces.
I don't remember exactly, I think there is
org.apache.harmony.something stuff and kxml.
Yeah, I could dig it up, but you could probably too. You are at your
machine?
Because you cannot call the draw methods directly. You must call
invalidate(), this will cause onDraw() to be executed.
On Thu, May 21, 2009 at 12:54 AM, guruk ilovesi...@gmail.com wrote:
Hi, hope you can help:
I have :
1. private static class SampleView extends View implements
same here ;-)
On Thu, May 21, 2009 at 9:56 AM, Jason Proctor ja...@particularplace.comwrote:
my dev environment is at work. i'll have to dig into it more in the
morning.
thanks for the responses.
j
No, not Xerces.
I don't remember exactly, I think there is
Dear Romain,
thanks, that was the reason.. did not know about!
Greets
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi, all
I want to know how many alarms can be set in one application?
what is the length for every interval time that I can set?
I need many alarms and at least 1 month interval time in my
application. it is possible?
Thanks.
--~--~-~--~~~---~--~~
Hey,
Just wondering if anyone has found a way to pass the command line parameter
'-e size small' to the Android JUnit test runner as configured through
eclipse. I'd rather work within eclipse than on the command line if
possible.
Cheers,
Gav
On Sat, Apr 11, 2009 at 11:21 PM, Gavin Aiken
I need every alarm have different interval time and start time.
On May 21, 4:30 pm, Gavin fjm...@gmail.com wrote:
Hi, all
I want to know how many alarms can be set in one application?
what is the length for every interval time that I can set?
I need many alarms and at least 1
It's not a software keyboard, it is an IME with a rich editing interface
back to the text editor, including things like showing candidates,
performing replacement, etc. For example, as you enter a word, each key you
enter is actually the IME delivering to the editor a new candidate text
string
Currently the camera performs previews of the shot at 480x320 allowing
for real time processing.
Is it possible define what part of full 1536x2024 camera image is used
for the smaller preview image? Basically some kind of zoom?
I am trying to get a more detailed part of the image, without have
Hi fadden,
Here is the stack trace:
05-21 08:38:08.050: ERROR/AndroidRuntime(952): Uncaught handler:
thread main exiting due to uncaught exception
05-21 08:38:08.098: ERROR/AndroidRuntime(952):
java.lang.StackOverflowError
05-21 08:38:08.098: ERROR/AndroidRuntime(952): at
I need every alarm have different interval time and start time.
AlarmManager can handle that.
I want to know how many alarms can be set in one application?
How much memory do you have?
I need many alarms and at least 1 month interval time in my
application.
No you don't.
Actually figured it out in the end! :)
Bitmap bm = Bitmap.createBitmap(500, 500,
Bitmap.Config.RGB_565);
Canvas c = new Canvas(bm);
Paint paint = new Paint();
ColorMatrix cm = new ColorMatrix();
cm.setSaturation(0);
Hi
I am using the showDialog and dismissDialog methods to show progress
dialogs in my app. Moved from creating the dialog and calling show()
on it to using this in order to save state when changing orientation.
But when I change the orientation from portrait-landscape-portrait,
the dismissDialog
i would be retrieving values from sqlite database and have to display
it in a list view...So how should i pass the images out from the
database into the list view(in fact, i only save the image uri in
db).. I am able to save and retrieve images individually and display
it on the screen.But how do
Hi again :)
I have a GestureListener and while it works perfect in another app of
mine within an extends Activity
I have problem now within an extends View.
public boolean onTouchEvent(MotionEvent me) { return
gestureScanner.onTouchEvent(me);}
@Override public boolean
Is there any way to get information about the participants of a
conference call?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
OK Dianne, thank you for highlighting that the soft keyboard is not a
software keyboard. For me that is a novel insight, as I had hoped and
expected that the IME was (also, at the very least) meant to simply
emulate a software keyboard. Apparently it acts more like a newly
defined virtual input
great.
On May 21, 4:51 pm, Mark Murphy mmur...@commonsware.com wrote:
I need every alarm have different interval time and start time.
AlarmManager can handle that.
I want to know how many alarms can be set in one application?
How much memory do you have?
I need many
Is there any way to get information about the participants of a
conference call?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi All,
I have the list view which is having 10 Items. I want to block few
items (Disable). How do i do this? Can any one help me?
Thanks in Advance,
Muthu Kumar K.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
as I simply want to keep on responding to individual key presses and
nothing else.
At the risk of sounding impertinent: why?
I can see wanting to handle key events outside an EditText, but inside an
EditText, there may be better ways of achieving your application goals
than detecting
Could someone please point me in the direction of utilizing an
observer to update a cursor when I make an update to the database. I'm
a bit confused as to how they work :)
Thank you,
Kind Regards,
Matt
--~--~-~--~~~---~--~~
You received this message because you
http://developer.android.com/reference/android/widget/BaseAdapter.html#isEnabled(int)
On Thu, May 21, 2009 at 2:41 PM, Muthu Kumar K. muthum...@gmail.com wrote:
Hi All,
I have the list view which is having 10 Items. I want to block few
items (Disable). How do i do this? Can any one help me?
Hey Alex,
thanks for showing an interest ;-)
I don't have a reference to the dialog. I just use managed dialogs
(showDialog/dimissDialog).
I guess the solution is to make my error reporter ignore this exception.
It's a bit lame though.
Also I have half a dozen different stacktraces that
Hi Experts,
Can you please give me some idea for changes/modification reqd in
existing Android setup for WMA streaming.
Kindly assist.
Best Regards,
Zhubham
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Hi Mark,
At the risk of sounding impertinent: why?
My app is aimed at blind users, and individual key presses form a
basic means to quickly change operating mode during mobile use, such
as to select a color filter by pressing the first character of the
color name, or toggle the color
Hi Experts,
i am trying to display 480*320 image in fill_parent width and height
but it doesn't fit on full screen.
image seems a bit smaller in width.
do i need to change resolution or something else, please advise
thanks
--~--~-~--~~~---~--~~
You received
Dear Romain Guy,
I had tried to make a pre-dithering image by Photoshop tools save for
web and device and specify PNG-8 128 Dithered to my image, but it
still didn't work.
Can you show me the guideline how to make a proper image by Photoshop
for Android??
Thank you very much!
On 5月20日, 上午4時34分,
I guess most of you know the problem.
Some user got a problem and posts it at comment with no change to
reply or reach them for details.
So i wrote a class to send bug reports from within my android
application directly to my bugtracking account at http://lighthouseapp.com/.
Using it is pretty
Very nice.
What would be really cool if the OS would provide this kind of functionality
*and* does this in a central way, so that all bugs go through a central
instance. It would be great if the framework developers would get a feel for
how often a bug occurs. And maybe that would also lead to
Hello,
I am trying to save a Picture that I got from webview.capturePicture
().
However from time to time for certain url the Picture saved is missing
some images...
I am saving/loading the Picture using writeToStream/createFromStream.
Is there any webview setting that I am missing?
here is
Hi all,
Has the final android 1.5 sdk released? I found in a post that the there was
a packaging bug related to Geocoding in android 1.5, so wanted to know
whether that issue has been fixed or not.
http://groups.google.com/group/android-developers/browse_thread/thread/79f94e31e647db60#
Just a guess. Try destroying the activity B without destroying activity A.
This may resume the activity A as soon as the activity B is destroyed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
My application starts a remote service and binds to it. If I close the
application with the back button there are still some threads
running (listed in the Debug View of Eclipse) - main thread, and three
Binder threads.
In onDestroy() I call unbindService(service_connection) - is there
something
nevermind, i have found the solution, here is a good example to bind the
SimpleCursorAdapter to a ListView :
http://ambiguiti.es/2009/04/making-custom-rows-in-android-listviews/
On Thu, May 21, 2009 at 5:01 PM, Vincent Tsao caojunvinc...@gmail.comwrote:
i'd like to create a new adapter which
Hi,
I would like to know if you had some answers to your question.
I'm developping an Android application wich uses a restFul webservice
too.
The schem of the application is pretty close to yours. Indeed Android
app ask a RestFul WS (in Java RestLet) in order to communicate some
datas...
On Thu, May 21, 2009 at 09:22, Al Sutton a...@funkyandroid.com wrote:
5) Hey presto... the device is now there :) :) :).
Thanks to everyone who helped fix this.
Al.
cool.
I had asked HTC if they had drivers...
their answer :-( :
You recently wrote us about an issue that you have
Hi all,
HTC Magic that i have is not supporting Maps(no maps application also). I
checked in the ddms, and it does not contain maps.jar.
Is there any cupcake update which i can use to update the device to support
maps?
Wating for a quick response. Its urgent.
Thanks in advance.
Hi,
I've started seeing a lot of weird crashes from users' phones
regarding an IndexOutOfBoundsException around loading String
resources. One example is reproduced below. This began with Android
1.5, build 147201.
Any ideas what is going on?
Thanks,
Carter
If we add a repeat event in the calendar, we are unable to get the end
day till when the event shall last. There is field duration in the
events table in the database which gives us an encoded format string
like P300S for repititive events. We are unable to decode as to what
this string will
Felipe Ramos,
Did u end up somewhere..? I am not able to go ahead with this..
deeps
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Didn't work... if I only start B and after destroy B without destryoing A,
nothing happens to A.
But looking at TabHost implementation I could see what I was forgetting:
requestFocus!
When I request focus for B, A is automatically paused. To resume it, I start
it again (as it's a single top
So, I have an AppWidget that am working on and am wondering if I am
expecting something it isn't supposed to do, or if I am doing
something wrong. Basically, I have an AppWidget that spawns a
background thread to retrieve data (a la Jeff Sharkey's Sky widget)
but what I am finding is that while
Any help on this as this is stopping our work. Searched in all android
forums, but no luck.. :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Dianne Hackborn said the following a while ago:
Fwiw, cupcake will add a new field to PACKAGE_ADDED to tell you if this was
due to an update, and allow this broadcast to be received by the app to
restart itself.
But it still seems that the application that gets upgraded doesn't
receive this
Any help on this as this is stopping our work. Searched in all android
forums, but no luck.. [?]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Any help on this as this is stopping our work. Searched in all android
forums, but no luck.. [?]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
does the command:
adb install -r appname.apk
mimic a Market app upgrade?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi all!
Is there a way to have a view always-showing between activities?
I say, I need a button to be always appearing on the bottom of the screen.
I could get it working with an ActivityGroup, but I got a problem. My
application can work with more than one level of activities, or rather,
Hi Raphael,
Can you hear me ...
2009/5/18 Daliang Luo luodali...@gmail.com
Hi Raphael,
I try what you have said tonight and it seems like eclipse has connected to
emulator. And I can see the logs coming out, but eclipse still reminds me
error:
Exception in thread main
It depends on your layout. probably the parent container is what is
too small somehow. If you try putting that image into an empty frame
or absolute layout, it'll probably fill it right up.
Check for margins, padding or other things that could make the
container in the layout be smaller than
But I'm confident I don't deal with so much levels.
I count about 30 draw() calls on either ViewGroup or FrameLayout in
the stack.
You are dealing with quite a number of levels... probably too many of
them.
On May 21, 4:44 am, Vince vincent.gann...@gmail.com wrote:
Hi fadden,
Here is the
Where do you call the showDialog()? In the onCreate?
(Note that there is a known issue with the onPrepareDialog that is not
called properly when a configuration change has occurred in your app.)
On May 21, 4:53 am, idev ideveloper...@gmail.com wrote:
Hi
I am using the showDialog and
Take a look at the OpenGL API Demo source examples. I think it's
called Kube or someting.
It provides a Game-thread that is set up to receive messages which
then can be executed synchronously on the game-thread (posting
Runnables on a queue that is managed by the Game-thread).
On May 21, 3:54
well, i am not using any margin or padding.
please take a look on my code below:
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent
ImageView
Have you tried this?:
market://search/?q=pname:com.yourapppackage.something
On May 19, 4:38 pm, orangechicken therealdave.my...@gmail.com wrote:
To pretty up the URL we have on our site a URL /get/g1. It redirects
to our market.android.com/search URL,
Hello,
Im trying to create Custom Dialog/Activity looking simmilar to Maps-
Directions.
I've tried to make it like in the Browsers find dialog but I've always
Dialog's title (or empty space) and border.
I also want to place AutoCompleteTextView in this Dialog/Activity. How
can I force list with
Is it a no-no to try to update a View from a TimerTask? My initial
experiments indicate it doesn't work. Is there a way to make it work?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Hi,
i am afraid if Max space for android App is 14MB , how can i put 15MB
images in my App.
my application includes more than 500 PNG images which are
confidentials and cann't be put on sd card. i need to put them in my
assets.
is it something that can not be achieved in android?
I'm using Linux Ubuntu.
When opening the emulator I get this message.
My sound output is done through ALSA Mixer.
Any solutions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Not in the onCreate implementation. I am calling it on a button's
click event. And the button is sort of a refresh button. So it might
be pressed multiple times.
On 21-May-09, at 7:57 PM, Streets Of Boston wrote:
Where do you call the showDialog()? In the onCreate?
(Note that there is
Do you have a title bar? That takes up space. So does the status bar
(the one that shows time, signal, battery life, notifications, etc).
On May 21, 6:20 am, zeeshan genx...@gmail.com wrote:
Hi Experts,
i am trying to display 480*320 image in fill_parent width and height
but it doesn't fit
I can't tell from your code snippet what you are trying to do.
However, I suggest you try using SoundPool. It's designed for this
kind of use.
On May 21, 12:53 am, Sukitha Udugamasooriya suk...@gmail.com wrote:
Hi,
In my application i'm playing a 1 second sound clip when the user
clicks on a
If i'm not mistaken, TimerTasks run on a thread encapsulated in a
Timer object.
Since you can't reliably call most (if not all) UI/View related
methods from any other thread than the main gui-thread, you have to
post back (using a handler) back to the main gui-thread.
I've never tried this using
ExpandableListView.setGroupIndicator() ?
On Thu, May 21, 2009 at 12:06 AM, sleith raysle...@gmail.com wrote:
hi,
is there anyway to remove the default drop down icon on
ExpandableList?
thx
--~--~-~--~~~---~--~~
You received this message because you are
Hi deeps,
I'm stuck on the point where I need to run the instrumented tests on
the emulator. I could not find a way yet to make the emulator believe
that the emma.jar is already installed on it.
Also, I don't know if there is a way of enabling EMMA instrumentation
using the SDK. I have not
Indeed, you're right. Which does not explain why a single character
can cause the all app to crash :-(
Any guess?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
You can put them in your .apk without restriction, just don't load them all
at the same time.
On Thu, May 21, 2009 at 7:59 AM, zeeshan genx...@gmail.com wrote:
Hi,
i am afraid if Max space for android App is 14MB , how can i put 15MB
images in my App.
my application includes more than 500
If you are having this text put into an EditText, there are all kinds of
APIs on that to get callbacks when the text is modified. I would strongly
recommend using those instead of any kind of raw event interception: keep in
mind that there will be future devices with all kinds of keyboard
On May 21, 9:30 am, Vince vincent.gann...@gmail.com wrote:
Indeed, you're right. Which does not explain why a single character
can cause the all app to crash :-(
Any guess?
It could be that the additional StringBuilder operations for the
string concatenation affected something. Could be
There may be no restriction on any apk, but i wouldn't put them all in
one apk anyway.
Giving the fact that you can only install your app on phone-memory
(not on your SD-card), it's likely that users see the more than
15MByte size of your app and decide not to install/buy it.
Is downloading
Hello group:
I`m trying to develop an application, just to test
the ability of android to call an activity with an intent based not in
the specific class name but specifying the action, category and data
information. Acording to this link
Is it possible to implement style=?android:attr/textViewStyle
dynamically?
On May 20, 3:10 am, n5r11 nikolaradosavlje...@gmail.com wrote:
This seems to be working..
android:background=@null removes the background, but the text color
stays the same. It takes another explicit
That workaround does the job, thanks for the help Xavier!
-- Peter
--~--~-~--~~~---~--~~
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
Try this code in SmsReceiver
// Invoke MyActivityName
Intent i = new Intent(context, MyActivityName.class);
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(i);
But after start my application, I don't know how to let it process the
received sms content...hic
On May
Hi,
If iw ill do any changes in the External folder of Cupcake version i
am unable to get the emulator Up.Emulator stops at Android(Booting
stage) screen page itself.
Kindly do the needful,if anyone is having the update regarding the
same.
Thanks and Regards
Somashekar
Hi,
I am new to Android.
I have depeloped a video player app. through Sd card.
Now i want to play video direct from URL.
Can anybody provide me sample code for the same.
Thanks in advance...
Thanks
Priya
--~--~-~--~~~---~--~~
You received this message
I'm curious... Some of these apps that you see for website forums...
How are the developers able to get the actual topics and such from
some of these websites so easily?
Do some sites have updated xml files?
--~--~-~--~~~---~--~~
You received this message because
Hi,
How do I load the image dynamically through the code? If its unclear,
I mean, I want to load image files by name based on the condition in
the code.
If I use images as resources, the image names have to be hard coded.
This is unacceptable to me.
If I load image in a webview (with image src
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(sms:
1234567890));
intent.putExtra(sms_body, the SMS text);
startActivity(intent);
NOTE: without Intent.setType(vnd.android-dir/mms-sms);
this will erase the destination number.
--~--~-~--~~~---~--~~
You
Sorry if this is a stupid question- I'm still pretty new to Android
and have been completely unable to figure this out after much google
searching and hunting around in the documentation. *Note: I've been
coding in Eclipse with the Android SDK plugins, using the Google APIs
1.5 version.
I'm
Hello,
I've got the following row xml file which consists of CheckboxView and
TextView;
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical
android:layout_width=fill_parent
Hello,
I would like to know if I can view streamed WMV video format using G1
device (not the developer phone).
I understand that WMV format is not included in basic Android
Supported Media Formats. But I'm interested in developing application
specific for G1 device. My hope is taken from:
Hello,
I would like to know if I can view streamed WMV video format using G1
device (not the developer phone).
I understand that WMV format is not included in basic Android
Supported Media Formats. But I'm interested in developing application
specific for G1 device. My hope is taken from:
Hello all,
I'm new to Android development, and am a bit confused here. I'm
hoping someone can help me out. Please forgive me as I cross post
this to android-developers - I tried on android-begginers last week
but got no response.
Anyway, I've got a very simple Activity with one EditText and
1 - 100 of 187 matches
Mail list logo