[android-developers] Re: About the use of the Wi-Fi function

2008-09-19 Thread Jason Parekh
Hi Haruhisa, Unfortunately, the emulator does not support Wi-Fi. Jason On Sep 18, 2008 10:51 PM, Haruhisa Hasegawa [EMAIL PROTECTED] wrote: Could you lend wisdom ..someone.. though in Windows XP/Vista, it is using the Wi-Fi function? Wanting to know is the following four points. 1. Is

[android-developers] Re: listActivity and checkBox

2008-09-19 Thread elephantbug
Hi, Mark, I will go and extend the Adapter for full flexibility. Thanks for your recommendation. --elephantbug On Sep 18, 5:41 am, Mark Murphy [EMAIL PROTECTED] wrote: elephantbug wrote: It works fine. Now my question is how to differentiate those populated TextView? Do they have

[android-developers] Re: How to launch the street view from map view

2008-09-19 Thread elephantbug
Anyone? On Sep 9, 2:42 pm, elephantbug [EMAIL PROTECTED] wrote: Thanks Megha. I think my first question is: In the map application on Android, I can not only see thestreetview (blue outline on the map) but also I can click one location and launch thestreetview(like in Google Map). I am

[android-developers] Re: gtalkservice

2008-09-19 Thread Song
I know that, I mean, besides the SDK, where can I find more document about GTalkService? Is there anyone can provide me a GTalk demo? 2008/9/19 Megha Joshi [EMAIL PROTECTED] Unfortunately, the GTalkService APIs have been removed from the sdk for security reasons. 2008/9/18 Song [EMAIL

[android-developers] Re: DEATH EVENT

2008-09-19 Thread hackbod
If you use startActivityForResult(), you will get RESULT_CANCELED if the launched activity crashes while it is running. On Sep 18, 10:29 pm, wiki [EMAIL PROTECTED] wrote: Is there a way to capture the death event of one activity to another activity? say If two actitivities A and B are

[android-developers] How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-19 Thread Urakagi
Hi, I have a class extending ListActivity, and I want to catch touchevent on it so I override dispatchTouchEvent. @Override public boolean dispatchTouchEvent(MotionEvent ev) { ... } And since it's a ListActivity, of cource I want to override the onListItemClick(), too: @Override protected

[android-developers] Re: gtalkservice

2008-09-19 Thread Deepak Singh
hi , You can use smack API for GTALK service On Fri, Sep 19, 2008 at 12:24 PM, Song [EMAIL PROTECTED] wrote: I know that, I mean, besides the SDK, where can I find more document about GTalkService? Is there anyone can provide me a GTalk demo? 2008/9/19 Megha Joshi [EMAIL PROTECTED]

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-19 Thread hackbod
Well yes, dispatchTouchEvent() dispatching touch events through the view. If you do this: @Override public boolean dispatchTouchEvent(MotionEvent ev) { return super.dispatchTouchEvent(ev); } it will behave exactly the same as if you didn't override the method, so I'm not sure what you mean

[android-developers] Animations in Dialogs

2008-09-19 Thread Jason Wong
Hi, I want to implement an animation in a ImageView inside a Dialog, but I can't get the animation to actually animate. Some code: In Dialog.onCreate: imageView.setBackgroundResource(R.anim.loading_anim); And later on in onCreate: AnimationDrawable frameAnimation = (AnimationDrawable)

[android-developers] view a calendar

2008-09-19 Thread Pedro Ángel Serrano Trujillo
Hi Somebody knows if exists a component in Android that represent a calendar that can be showed in a screen. I want to say that this calendar has the elements (days of the month, for example) and when you select a day a intent is launched. thanks

[android-developers] Android will support different API?

2008-09-19 Thread Pratik Goswami
hello friends.. I have several questions to ask.. 1. Can i use the different API (e.g. Gdata or Flickr ) to develop any Android application ? 2. Is the APK file work as Executable for Android phone? 3. Will my final application bind the API(jar) inside APK file? means that APK file will

[android-developers] 3D and 2D on same view

2008-09-19 Thread Shraddha Bhaskare
Hi, I need to know if 2D and 3D can co-exist on the same view. Can we have 2D and 3D views on the same screen? Thanks in advance Shraddha --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-19 Thread Urakagi
Um, I want to use dispatchTouchEvent() to implement a gesture system, so I have code like this: public boolean dispatchTouchEvent(MotionEvent ev) { boolean rtn = mGesture.onTouchEvent(ev); if (ev.getAction() == MotionEvent.ACTION_UP) {

[android-developers] Get the coordinates of screen when I touch it

2008-09-19 Thread 阿彬
I want to get the coordinates of screen when I touch screen... Because I want to use it to convert to lat/lon on map? Anybody can help me? thanks a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Saving a bitmap

2008-09-19 Thread Teo
Hi, is there a way to save the bitmap to an image file (and also load one from an image file) ? I'm working on this SDK example: http://code.google.com/android/samples/ApiDemos/src/com/android/samples/graphics/TouchPaint.html Thanks, Teo --~--~-~--~~~---~--~~ You

[android-developers] Re: Drawing on MapView

2008-09-19 Thread Peter Stevenson
Hi Take a look at this code I would like to thank the other member of the group who help getting this code to work thank you mapView = (MapView) findViewById(R.id.map); Drawable defaultMarker = getResources().getDrawable( R.drawable.mappin_red); // You

[android-developers] Re: Problems applying animation to SurfaceView

2008-09-19 Thread drjunior
Thanks hackbod, Instead animate SurfaceView, when I want to apply animation, I hide the SurfaceView and in your place i put an ImageView with the image in SurfaceView... And then the animation play nicely... Cheers.. On Sep 11, 11:02 pm, hackbod [EMAIL PROTECTED] wrote: Using animations with

[android-developers] Re: Get the coordinates of screen when I touch it

2008-09-19 Thread drjunior
Hi, You need to implement the method public boolean onTouchEvent(MotionEvent event) in your view and then you can see the coordinates of touching point calling the function event.getX() and event.getY()... More information here:

[android-developers] Problem with VideoView

2008-09-19 Thread drjunior
I have one SurfaceView in my application and when I hide my SurfaceView and make visible my VideoView to play a Video, VideoView use my SurfaceView to show the video... I search in VideoView API but I do not found any method to associate another SurfaceView to VideoView... Someone know that

[android-developers] Re: Saving a bitmap

2008-09-19 Thread Mike Reed
Bitmap.compress(...) This will write the bitmap to an OutputStream, compressed as either JPEG or PNG On Fri, Sep 19, 2008 at 6:07 AM, Teo [EMAIL PROTECTED] wrote: Hi, is there a way to save the bitmap to an image file (and also load one from an image file) ? I'm working on this SDK

[android-developers] my map isn't dragable

2008-09-19 Thread Peterman
Hi to all I have a problem with the maps in Android. I can create a map but since I update my sdk I can't do dragable my maps. Anybody knows what is the problem? ciao --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: 3D and 2D on same view

2008-09-19 Thread Mike Reed
See SurfaceViewOverlay.java sample code. On Fri, Sep 19, 2008 at 5:00 AM, Shraddha Bhaskare [EMAIL PROTECTED] wrote: Hi, I need to know if 2D and 3D can co-exist on the same view. Can we have 2D and 3D views on the same screen? Thanks in advance Shraddha

[android-developers] Re: my map isn't dragable

2008-09-19 Thread Pedro Ángel Serrano Trujillo
Ok , I found the solution: I had to put the following piece of code: this.setClickable(true); simple or not? :) 2008/9/19 Peterman [EMAIL PROTECTED] Hi to all I have a problem with the maps in Android. I can create a map but since I update my sdk I can't do dragable my maps. Anybody

[android-developers] Multiple listeners needed on a subclass of EditText

2008-09-19 Thread Nik Bhattacharya
Hi, I have written a subclass of EditText that has an onFocusChangeListener that brings up a keyboard on focus. I have view that uses this EditText that needs to register an onFocusChangeListener on the same EditText. Setting the listener in the view kills the listener that brings up the

[android-developers] Re: Order of Axis Values in onSensorChanged

2008-09-19 Thread [EMAIL PROTECTED]
I can't speak to the actual hardware, being a curious developer like yourself, but I have been playing with the OpenIntents simulator. The simulator seems to adhere to the sensor output spec that Justin referred to. Regarding your question about whether the orientation sensor axis are the same

[android-developers] Re: Multiple listeners needed on a subclass of EditText

2008-09-19 Thread Mark Murphy
I have written a subclass of EditText that has an onFocusChangeListener that brings up a keyboard on focus. I have view that uses this EditText that needs to register an onFocusChangeListener on the same EditText. Setting the listener in the view kills the listener that brings up the

[android-developers] Re: DEATH EVENT

2008-09-19 Thread hackbod
What do you mean it is running in the background? The only reason you should get an immediate cancel is if you used the NEW_TASK flag or B is a singleTask or singleInstance launch mode, because in that case it runs completely independently of its caller. What are you trying to accomplish? On

[android-developers] Re: Beta support for resource sharing

2008-09-19 Thread Cheryl Sedota
Hi Dianne, I was able to get a separate Context object that corresponds to the common resources app using the createPackageContext API you referenced. Is there any easy way to reference a resource from another app in XML? For example, to reference a drawable from the current app, you would do

[android-developers] Re: Get the coordinates of screen when I touch it

2008-09-19 Thread 阿彬
On 9月19日, 下午7時30分, drjunior [EMAIL PROTECTED] wrote: Hi, You need to implement the method public boolean onTouchEvent(MotionEvent event) in your view and then you can see the coordinates of touching point calling the function event.getX() and event.getY()... More information

[android-developers] web services security e-business

2008-09-19 Thread vidya
web services security e-business http://www.freewebs.com/aerialwarf/ --~--~-~--~~~---~--~~ 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] How to set these variables?

2008-09-19 Thread amishera
Hi, I dont know the meaning of these variables: private static final String SOAP_ACTION = ...; private static final String METHOD_NAME = ...; private static final String NAMESPACE = ...; private static final String URL = ...; SoapObject request = new SoapObject(NAMESPACE,

[android-developers] Ksoap2 terminology

2008-09-19 Thread amishera
HI, I was trying to create a soap client on android using ksoap2. In every sample code I read I found this: private static final String SOAP_ACTION = ...; private static final String METHOD_NAME = ...; private static final String NAMESPACE = ...; private static final String URL =

[android-developers] Re: anyone has problem with verifyError?

2008-09-19 Thread Biosopher
I'm getting this same VerifyError: WARN/dalvikvm(2026): VFY: unable to resolve static method 804: Lcom/ pocketjourney/view/util/HtmlUtils;.shortenHtml (Ljava/lang/ String;I)Ljava/lang/String; WARN/dalvikvm(2026): VFY: rejecting opcode 0x71 at 0x0022 WARN/dalvikvm(2026): VFY: rejected

[android-developers] How to set these variables for ksoap2?

2008-09-19 Thread amishera
Hi, I have this web service using apache cxf: http://localhost:9000/helloWorld with method sayHi Now I am using ksoap2 on client side in android. But I am not sure how I should set the following variables: private static final String SOAP_ACTION = ...; private static final String

[android-developers] DDMS + GPX track: Bug in time?

2008-09-19 Thread Ludwig
I am using DDMS to play a GPX file. The lat/long data arrives fine in my application, but not the time. I notice two things: first of all the time displayed in DDMS for the start/end times of the GPX track is wrong, out by one month. The first point in my track is in the GPX file like this:

[android-developers] Turn off Android mobile ??

2008-09-19 Thread Baonq86
Does anyone know to turn off the Android mobile in the eclipse simulator ?? I pressed at the power button (at the high-left corner) but it doesn't work. Does the eclipse simulate it ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: java.lang.VerifyError

2008-09-19 Thread Biosopher
Same problem here. Is there a PERMISSION variable that must be set in the manifest.xml file or something? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Writing XML data

2008-09-19 Thread Ludwig
I need to write a file in XML format. There are a couple of parsers available, but I cannot find anything useful for writing XML. The task is a long-running process, so creating a DOM, then writing it at the end would be waste of space, I need a stream-based writer that adds lines of XML to the

[android-developers] About Zoom picture in Android

2008-09-19 Thread Baonq86
I'm researching about Android. I find there is not Zoom picture option in Android. Does anyone can help me to built an applicaion about Zoom picture ?? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Ksoap2 terminology

2008-09-19 Thread Mark Murphy
I was trying to create a soap client on android using ksoap2. snip Please help here. Additional support for ksoap2 probably can be found at the ksoap2 site: http://ksoap2.sourceforge.net/ -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-19 Thread Teo Hong Siang
Here's my suggestion: If your code in dispatchTouchEvent can determine that the gesture is empty, then you can call onListItemClick() within dispatchTouchEvent. If the gesture is not empty, then do whatever you want to do. On Sep 19, 2:45 am, Urakagi [EMAIL PROTECTED] wrote: Um, I want to use

[android-developers] Possible bug in ListPreference

2008-09-19 Thread tomgibara
This is probably a bug in the Preferences framework, but I'm not particularly familiar with the API and the documentation is a little sparse, so I thought I'd check first... Is there a restriction on the strings that can be used in the entryValues array for a ListPreference? I define the

[android-developers] Re: Beta support for resource sharing

2008-09-19 Thread hackbod
No, there is no way to do this from XML. As we've said, shared libraries are not supported for 1.0, and that is essentially what you are trying to do (by binding your app to the other app, though admittedly via resource references instead of code references). On Sep 19, 10:00 am, Cheryl Sedota

[android-developers] Open-source, closed carriers (no app store and app limits, still possible)

2008-09-19 Thread William Chang
Quote: ... Android's Apache license allows phone companies to do pretty much whatever they'd like with their code. That means, if they chose to, companies like Verizon and Sprint could disable or enfeeble parts of the system, and the Android store can be filtered to carry only carrier-approved

[android-developers] Re: Beta support for resource sharing

2008-09-19 Thread joebowbeer
On Sep 18, 1:08 pm, hackbod [EMAIL PROTECTED] wrote: On Sep 18, 10:22 am, joebowbeer [EMAIL PROTECTED] wrote: It may be safe to load resources in any process, but is it permitted? Can any app load resources from any other app, with or without a matching signature or sharedUserId? Yes:

[android-developers] Re: Open-source, closed carriers (no app store and app limits, still possible)

2008-09-19 Thread Shane Isbell
On Fri, Sep 19, 2008 at 4:22 PM, William Chang [EMAIL PROTECTED]wrote: Quote: ... Android's Apache license allows phone companies to do pretty much whatever they'd like with their code. That means, if they chose to, companies like Verizon and Sprint could disable or enfeeble parts of the

[android-developers] Re: Ksoap2 terminology

2008-09-19 Thread amishera
The thing is that their website does not have much documentaion. I saw multiple posts related to ksoap2 here. So I was hoping there are members of this group who are quite familiar wit these concepts. I have done the following: SOAP_ACTION=helloWorld NAMESPACE=http://localhost:9000;

[android-developers] Re: Issue with installing ADT for Eclipse Ganymede 3.4

2008-09-19 Thread Trevor
I'm having this issue as well, only after having installed everything just today to start developing. Using Ubuntu Hardy Eclipse SDK Version: 3.2.2 Build id: M20070212-1330 (Ubuntu version: 3.2.2-5ubuntu2) Update Manager for Eclipse also seems to be taking an eternity to run as well. Perhaps

[android-developers] Re: Menu Font

2008-09-19 Thread Megha Joshi
For the regular menus, this isn't possible for 1.0. You can try to return a custom menu view in the onCreatePanelView. This will still use the menu decor and animations. Phone app actually does this to fit the 8 items in. You can handle the MENU button yourself. 2008/9/15 rajesh [EMAIL