[android-developers] Re: How to resolve Fail to find an AVD compatible with target 'Android 1.5' ?

2009-05-21 Thread Raphael
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 /

[android-developers] Re: Speed: Divide by two or multiply by .5? - I wrote a little FPS performance tester to find out.

2009-05-21 Thread Al Sutton
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

[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-21 Thread Al Sutton
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

[android-developers] Re: Android DOM implementation issues

2009-05-21 Thread Mariano Kamp
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

[android-developers] remove drop icon in expandablelist

2009-05-21 Thread sleith
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

[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-21 Thread Al Sutton
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

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
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

[android-developers] Re: Android DOM implementation issues

2009-05-21 Thread Mariano Kamp
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

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
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,

[android-developers] Re: Puzzled by soft keyboard

2009-05-21 Thread blindfold
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

[android-developers] Re: Android DOM implementation issues

2009-05-21 Thread Mariano Kamp
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,

[android-developers] Messaging between 2 threads

2009-05-21 Thread Latha Shivanna
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

[android-developers] play sound issue

2009-05-21 Thread Sukitha Udugamasooriya
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.

[android-developers] Messaging between 2 threads

2009-05-21 Thread latha...@gmail.com
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

[android-developers] Update View after OnTouch, does not work?!?

2009-05-21 Thread guruk
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.

[android-developers] Android DOM implementation issues

2009-05-21 Thread Jason Proctor
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?

[android-developers] Re: Update View after OnTouch, does not work?!?

2009-05-21 Thread Romain Guy
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

[android-developers] Re: Android DOM implementation issues

2009-05-21 Thread Mariano Kamp
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

[android-developers] Re: Update View after OnTouch, does not work?!?

2009-05-21 Thread guruk
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

[android-developers] Alarm issue.

2009-05-21 Thread Gavin
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. --~--~-~--~~~---~--~~

[android-developers] Re: Running exclusively SmallTests

2009-05-21 Thread Gavin Aiken
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

[android-developers] Re: Alarm issue.

2009-05-21 Thread Gavin
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

[android-developers] Re: Puzzled by soft keyboard

2009-05-21 Thread Dianne Hackborn
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

[android-developers] Camera preview zoom?

2009-05-21 Thread moa
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

[android-developers] Re: Very strange StackOverflow exception

2009-05-21 Thread Vince
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

[android-developers] Re: Alarm issue.

2009-05-21 Thread Mark Murphy
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.

[android-developers] Re: Converting bitmap to grayscale

2009-05-21 Thread moa
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);

[android-developers] showDialog and dismissDialog behave strangely when changing orientation

2009-05-21 Thread idev
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

[android-developers] How to display list of images in ListView in android?

2009-05-21 Thread Vincent Tsao
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

[android-developers] onTouchEvent dont start onScroll!?

2009-05-21 Thread guruk
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

[android-developers] Conference cal

2009-05-21 Thread suvasish
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

[android-developers] Re: Puzzled by soft keyboard

2009-05-21 Thread blindfold
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

[android-developers] Re: Alarm issue.

2009-05-21 Thread Gavin
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

[android-developers] Conference Call

2009-05-21 Thread suvasish
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

[android-developers] Block list view item

2009-05-21 Thread Muthu Kumar K.
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

[android-developers] Re: Puzzled by soft keyboard

2009-05-21 Thread Mark Murphy
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

[android-developers] Example of Dataset Observers

2009-05-21 Thread Makeable
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

[android-developers] Re: Block list view item

2009-05-21 Thread for android
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?

[android-developers] Re: How to track down: java.lang.IllegalArgumentException: View not attached to window manager

2009-05-21 Thread Mariano Kamp
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

[android-developers] WMA Streaming.

2009-05-21 Thread Zhubham
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

[android-developers] Re: Puzzled by soft keyboard

2009-05-21 Thread blindfold
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

[android-developers] why 480*320 png doesn't fit on landscape full screen

2009-05-21 Thread zeeshan
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

[android-developers] Re: PNG Color Issue

2009-05-21 Thread Tony Wu
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分,

[android-developers] How to let users send bug reports

2009-05-21 Thread Michael Bollmann
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

[android-developers] Re: How to let users send bug reports

2009-05-21 Thread Mariano Kamp
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

[android-developers] WebView.capturePicture() picture.writeToStream

2009-05-21 Thread otiasj
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

[android-developers] Has the final android 1.5 sdk released?

2009-05-21 Thread Android Users
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#

[android-developers] Re: Removing/adding activities from/to an ActivityGroup

2009-05-21 Thread Android Users
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

[android-developers] Main and three binder threads are running after application close

2009-05-21 Thread olko
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

[android-developers] Re: How to display list of images in ListView in android?

2009-05-21 Thread Vincent Tsao
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

[android-developers] Re: RESTful user authentication

2009-05-21 Thread Tom
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...

[android-developers] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-21 Thread Cédric Berger
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

[android-developers] HTC Magic not supporting Maps.

2009-05-21 Thread Android Users
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.

[android-developers] Resources causing IndexOutOfBoundsException

2009-05-21 Thread Carter
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

[android-developers] Repeat Events in Calendar

2009-05-21 Thread farida
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

[android-developers] Re: EMMA Code coverage and JUnit

2009-05-21 Thread Deeps
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

[android-developers] Re: Removing/adding activities from/to an ActivityGroup

2009-05-21 Thread Taísa Cristina
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

[android-developers] AppWidget Updates From Service - Not Pushed to UI

2009-05-21 Thread nEx.Software
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

[android-developers] Re: Geocoder not returning results in 1.5 preview

2009-05-21 Thread Android Users
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

[android-developers] Re-register AlarmManager events on upgrades

2009-05-21 Thread Michael Bollmann
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

[android-developers] Re: Geocoder not returning result

2009-05-21 Thread Android Users
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

[android-developers] Re: Problem installing application onto HTC Magic

2009-05-21 Thread Android Users
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

[android-developers] upgrade testing

2009-05-21 Thread AusR
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

[android-developers] Always-showing view among activities

2009-05-21 Thread Taísa Cristina
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,

[android-developers] Re: problem when debugging android application with eclipse

2009-05-21 Thread Daliang Luo
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

[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-21 Thread Robert Green
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

[android-developers] Re: Very strange StackOverflow exception

2009-05-21 Thread Streets Of Boston
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

[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-05-21 Thread Streets Of Boston
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

[android-developers] Re: Messaging between 2 threads

2009-05-21 Thread Streets Of Boston
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 

[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-21 Thread zeeshan
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

[android-developers] Re: Redirecting to market search URL doesn't work

2009-05-21 Thread Streets Of Boston
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,

[android-developers] Floating View

2009-05-21 Thread skyman
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

[android-developers] TimerTask and Views

2009-05-21 Thread Mooncat
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

[android-developers] how can i put 15MB images in my App?

2009-05-21 Thread zeeshan
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?

[android-developers] emulator: warning: opening audio output failed

2009-05-21 Thread David Baum
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

[android-developers] Re: showDialog and dismissDialog behave strangely when changing orientation

2009-05-21 Thread iDeveloper
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

[android-developers] Re: why 480*320 png doesn't fit on landscape full screen

2009-05-21 Thread bwilliam...@gmail.com
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

[android-developers] Re: play sound issue

2009-05-21 Thread Dave Sparks
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

[android-developers] Re: TimerTask and Views

2009-05-21 Thread Streets Of Boston
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

[android-developers] Re: remove drop icon in expandablelist

2009-05-21 Thread Marco Nelissen
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

[android-developers] Re: EMMA Code coverage and JUnit

2009-05-21 Thread Felipe Ramos
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

[android-developers] Re: Very strange StackOverflow exception

2009-05-21 Thread Vince
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

[android-developers] Re: how can i put 15MB images in my App?

2009-05-21 Thread Dianne Hackborn
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

[android-developers] Re: Puzzled by soft keyboard

2009-05-21 Thread Dianne Hackborn
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

[android-developers] Re: Very strange StackOverflow exception

2009-05-21 Thread fadden
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

[android-developers] Re: how can i put 15MB images in my App?

2009-05-21 Thread Streets Of Boston
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

[android-developers] Calling an Intent the implicit way

2009-05-21 Thread Claudio Veas
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

[android-developers] Re: Is there an easy way to make EditText look like TextView but still behave like EditText?

2009-05-21 Thread damnesia
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

[android-developers] Re: SDK 1.5 breaks our build

2009-05-21 Thread Peter Jeffe
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

[android-developers] Re: Start Application with SMS

2009-05-21 Thread doananhtai
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

[android-developers] Emulator is not coming up if we will do the changes in CUPCAKE version

2009-05-21 Thread somu
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

[android-developers] How to play video file in android.

2009-05-21 Thread Priya
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

[android-developers] Forum Development

2009-05-21 Thread JBC
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

[android-developers] How to loading images (assets or resources) dynamically?

2009-05-21 Thread Kim
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

[android-developers] How to specify both message body and Destination Number in SMS intent.

2009-05-21 Thread doananhtai
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

[android-developers] GPS Access Question

2009-05-21 Thread Phil
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

[android-developers] Unable to Select (check) check box in checkboxView

2009-05-21 Thread Simon
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

[android-developers] Android G1 - Streaming WMV

2009-05-21 Thread semil103
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:

[android-developers] Streaming WMV Watch It Using G1 Device

2009-05-21 Thread Emil
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:

[android-developers] startActivityForResult/onActivityResult question

2009-05-21 Thread Tom Opgenorth
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   2   >