[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-16 Thread Raphael
Could you post your layout xml file? Thanks. R/ On Thu, Apr 16, 2009 at 12:29 PM, kevin kevin_x...@yahoo.com wrote: My LinearLayout has a button and a WebView. The problem is that only the first one in layout can be clicked, the other is not. If I put WebView first into the layout, the

[android-developers] Re: com.android.dx.cf.code.SimException: local variable type mismatch

2009-04-16 Thread fadden
On Apr 16, 12:26 am, Tomasz Stechly tomasz.stec...@gmail.com wrote: When I am running the activity I am getting now different error. Do you know what it may be (see log below). Should I send separate message to the group? The first bunch: D/installd(   27): DexInv: --- BEGIN

[android-developers] Re: MSM7201A low-level access android api

2009-04-16 Thread thiago_alencar
Thank you Dave, [Dave]: Android is an application processor stack. There is no provision for access to baseband API's except through the Java level telephony API's. [Thiago]: This baseband API you refer to is only available accessible upon license agreement or so? Is that the way to access this

[android-developers] Re: Parcelables / project.aidl in SDK 1.5

2009-04-16 Thread ludovic.perrier
I have create the folder after the launch of build (for infinite loop) and it's ok my apk is build Thanks for your help On 16 avr, 23:32, ludovic.perrier barbapa...@gmail.com wrote: When I haven't the folder error the build is infinite blocked at 24% in gen directory I haven't the

[android-developers] Re: How to keep focus highlight on ExpandableList group....

2009-04-16 Thread John Hansen
I found a partial answer to this. In general, you can use the following to select and highlight a group item: ExpandableListView.setSelectedGroup(groupPosition); But, it doesn't work in the OnGroup callback for setOnGroupClickListener (which is really where I need it to work).

[android-developers] Re: How is android's AlertDialog layout define?

2009-04-16 Thread Edward Falk
On Mar 23, 12:27 pm, Lucius Fox lucius.fo...@gmail.com wrote: Can you please tell me where I can the layout xml file for theAlertDialog? I try to do a 'grep for 'alert1' in all the files in the source tree, it does not return anything. I believe it's

[android-developers] Re: How is android's AlertDialog layout define?

2009-04-16 Thread Arnaud Weber
look at the api demos samples. there are plenty of nice examples there. 2009/4/17 Edward Falk ed.f...@gmail.com On Mar 23, 12:27 pm, Lucius Fox lucius.fo...@gmail.com wrote: Can you please tell me where I can the layout xml file for theAlertDialog? I try to do a 'grep for 'alert1' in

[android-developers] Re: Button On Map

2009-04-16 Thread puk
Hi I asked the question on this mailing list myself with no response (http://groups.google.com/group/android-developers/browse_thread/ thread/ac596b6b85d2548c#). So a friend makes me pay attention to your thread. How did you manage to get that speech bubble on your map? I used the

[android-developers] Re: Re: how on earth do you access command line?

2009-04-16 Thread Raphael
Indeed, you need to close and reopen the command prompt after changing the environment variables. Glad it worked. You now know command-line :-) R/ On Wed, Apr 15, 2009 at 12:58 AM, nathan schwiz sch...@gmail.com wrote: nvm, I had to close out the command prompt entirely for changes to take

[android-developers] Re: no location folder found under data directory for 1.1

2009-04-16 Thread Raphael
Would you like to give a bit of context on that error? What where you doing, what's giving this error, what were you expecting. Thanks in advance, R/ On Wed, Apr 15, 2009 at 3:05 AM, jj jagtap...@gmail.com wrote: no location folder found under data-location-gps directory for 1.1, which

[android-developers] Re: SDK 1.5, Unable to load XML wizard

2009-04-16 Thread Raphael
Outch, class not found on the wizard. I have 3.4.2 Build id: M20090211-1700 running on x86/win32 with no issue, so that's quite odd. Would it be possible for you to try to remove ADT and reinstall it? The steps of 3.4 are as follow (for 3.3 the UI was a bit different): - Help Software Updates

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-16 Thread Raphael
Kill thread. Please move your noise over to android-discuss or /dev/null. This group is for developing with the SDK. R/ On Wed, Apr 15, 2009 at 2:57 PM, JP joachim.pfeif...@gmail.com wrote: $ show system /noprocess VMS V5.5-2 on node ETERNAL  12-JAN-2005 16:32:04.67  Uptime  4292 20:18:15

[android-developers] Re: SDK 1.5 Build Error

2009-04-16 Thread Raphael
Do you have external JAR files or anything else that's trying to bring that awt class? R/ On Wed, Apr 15, 2009 at 10:05 AM, Chris McCurdy christopher.mccu...@gmail.com wrote: I'm attempting to test one of my applications in the SDK1.5 environment, but when it tries to build, I get this error:

[android-developers] How to dump the content of sqlite via adb shell command

2009-04-16 Thread Meryl Silverburgh
Hi, I am trying to dump the content of sqlite via adb shell command. Here is what i did: $ adb shell * daemon not running. starting it now * * daemon started successfully * # sqlite3 SQLite version 3.5.9 qlite .databases seq name file --- ---

[android-developers] Re: How to dump the content of sqlite via adb shell command

2009-04-16 Thread Marco Nelissen
On Thu, Apr 16, 2009 at 6:08 PM, Meryl Silverburgh silverburgh.me...@gmail.com wrote: Hi, I am trying to dump the content of sqlite via adb shell command. Here is what i did: $ adb shell * daemon not running. starting it now * * daemon started successfully * # sqlite3 SQLite version

[android-developers] Re: How do i save a (large) edited JPEG with full 24bit colordepth without getting OutOfMemoryErrors?

2009-04-16 Thread Streets Of Boston
Bumpedy bump ... :-) On Apr 13, 8:46 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Hi everyone, I managed to handle a full size image (2048x1536) (moving around, zooming, some colorfilters, etc). However, i can only load these images in memory as RGB_565, one at a time. I try to free

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-16 Thread Keith Wiley
Doesn't anyone know how to do this? I've seen other apps do it. For example, Linda File Manager shows plenty of other apps as options for opening files, but I can't get it to show mine. If I'm missing some obvious source of documentation then I apologize, but perusing the javadocs doesn't

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-16 Thread Mark Murphy
Doesn't anyone know how to do this? If by this, you mean: I would like my app to pop up in the list of options for opening certain file types in the various file manager, email, and web browser apps. Then you need to implement one or more activities, with intent filters that contain: -- the

[android-developers] Re: Accessing internal scrollbar drawable

2009-04-16 Thread Peter Carpenter
That's fantastic Jeff, thanks! Not obviously intuitive though, so I don't feel quite so stupid! -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Jeff Sharkey Sent: Thursday, 16 April 2009 5:34 PM To:

[android-developers] Re: If Android support multiple PDP.......then ?

2009-04-16 Thread Eric Chen
I do not see *the scenario on Windows Mobile.* Could you give me the link ? Best Regards Eric Chen On Thu, Apr 16, 2009 at 8:16 PM, 葉子 kodomo...@hotmail.com wrote: The general use for multiple PDP (mPDP) is that when we use one PDP(A) to download a file, and we want to send a mms message

[android-developers] Re: Straight-forward BroadcastReceiver to open/read file

2009-04-16 Thread Keith Wiley
On Apr 16, 8:21 pm, Mark Murphy mmur...@commonsware.com wrote: -- the actions you support on the content (e.g., ACTION_VIEW, ACTION_EDIT) -- the MIME type you support -- the android.intent.category.ALTERNATIVE and/or the android.intent.category.SELECTED_ALTERNATIVE as appropriate That

[android-developers] Re: Elan sues Apple for multitouch patent infringment... and guess what....

2009-04-16 Thread JP
Duck, there's a new sheriff in town On Apr 16, 5:02 pm, Raphael r...@android.com wrote: Kill thread. Please move your noise over to android-discuss or /dev/null. This group is for developing with the SDK. R/ On Wed, Apr 15, 2009 at 2:57 PM, JP joachim.pfeif...@gmail.com wrote: $

[android-developers] Re: problem in using context.getCacheDIr() in emulator.

2009-04-16 Thread Honest
Thanks for your quick reply. But i do not know why it is giving error while calling prepare() from MediaPlayer. On Apr 16, 7:36 pm, David Turner di...@android.com wrote: If you use SDK 1.1, there is no cache partition in the emulator, unless you use the -cache file option. If you use the

[android-developers] how to check if sdcard is mounted in program

2009-04-16 Thread sunwrt
Any guy knows how to check if sdcard is mounted in program Thanks in advance! --~--~-~--~~~---~--~~ 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 check if sdcard is mounted in program

2009-04-16 Thread Jean-Baptiste Queru
Environment.getExternalStorageState() JBQ On Thu, Apr 16, 2009 at 9:34 PM, sunwrt wrt.su...@gmail.com wrote: Any guy knows how to check if sdcard is mounted in program Thanks in advance! -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Questions sent directly to me that have

[android-developers] Re: If Android support multiple PDP.......then ?

2009-04-16 Thread 葉子
I can't find the related links, I listen this infos from my friends. Please ignore this information. BRs, K. On 4月17日, 上午11時52分, Eric Chen jude...@gmail.com wrote: I do not see *the scenario on Windows Mobile.* Could you give me the link ? Best Regards Eric Chen On Thu, Apr 16,

[android-developers] Re: How to dump the content of sqlite via adb shell command

2009-04-16 Thread Meryl Silverburgh
How can i find out the name of the database file? In my java code, I did this: Uri CONTENT_URI = Uri.parse(content://com.mycompany.app/test); final ContentResolver cr = context.getContentResolver(); Uri result = cr.insert(CONTENT_URI , values); Can you please tell me what is

[android-developers] Question about Android lifecycle

2009-04-16 Thread Lucius Fox
Hi, I read http://developer.android.com/guide/topics/fundamentals.html#lcycles which said The foreground lifetime of an activity happens between a call to onResume() until a corresponding call to onPause(). During this time, the activity is in front of all other activities on screen and is

[android-developers] Re: Question about Android lifecycle

2009-04-16 Thread Dianne Hackborn
onDraw() isn't called before onResume(); the window isn't generally displayed until after onResume() returns, at which point the view hierarchy (not the activity) will take care of having it drawn as needed. This is what we want so that the activity can do all of its setup for being resumed

[android-developers] Re: Note on Size of Apps

2009-04-16 Thread droozen
Cool. Thanks guys! On Apr 15, 1:02 pm, Dianne Hackborn hack...@android.com wrote: Correct.  The numbers are intended to tell you how much space the app is using in /data, thus how much space you would make available for other things if you removed that data.  The code for the built-in

[android-developers] Re: how to check if sdcard is mounted in program

2009-04-16 Thread Mark Anacker
Or, as code: if ( !android.os.Environment.getExternalStorageState().equals (android.os.Environment.MEDIA_MOUNTED) ) { ... SD card is not mounted } works perfectly... On Apr 16, 9:37 pm, Jean-Baptiste Queru j...@android.com wrote: Environment.getExternalStorageState() JBQ On Thu, Apr

[android-developers] Re: how to check if sdcard is mounted in program

2009-04-16 Thread Desu Vinod Kumar
public static boolean isSdPresent() { returnandroid.os.Environment.getExternalStorageState().equals(android.os. Environment.MEDIA_MOUNTED); } go through this http://code.google.com/android/reference/android/os/Environment.html On Fri, Apr 17, 2009 at 10:04 AM, sunwrt wrt.su...@gmail.com wrote:

[android-developers] Re: Beginner Question / Calendar API

2009-04-16 Thread Nithin
Hi Andreas, Did you get the answer, put all user permissions in manifest and try. Thanks Nithin On Apr 8, 4:21 am, andreas andreas.str...@googlemail.com wrote: Hi, I'm really just a beginner and fiddling a little bit around with java and my G1. I'd like to create acalendarevent from the

[android-developers] End user IP for android

2009-04-16 Thread AnuR
hi, I am developing a webservice application for android. I need an End user IP for executing some calls to the server. Is there anything like IP for android phones that as in computers?? --~--~-~--~~~---~--~~ You received this message because you are

<    1   2