[android-developers] Re: sqlite3?

2008-08-25 Thread Yalcin
use the path: /data/data/com.android.providers.settings/databases/ adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db --- On Aug 25, 7:18 am, Anjan [EMAIL PROTECTED] wrote: I run command adb pull

[android-developers] Re: Creating a Dialog Activity with default OK and Cancel buttons

2008-08-25 Thread hackbod
Hi, If you want an alert that looks like a dialog, you can use andoid:theme=@android:style/Theme.Dialog in your manifest. There is an example in API demos for doing this. If you are specifically looking for the functionality of AlertDialog in an activity, unfortunately for 1.0 we are not going

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread hackbod
What are you actually trying to do? I doubt this parameter is what you want -- it is used to defeat the default behavior of resetting an application's task state after the device has been asleep for a certain amount of time. That is, it will have -no- impact on the behavior of your application

[android-developers] Re: How to display a local file in the browser?

2008-08-25 Thread handschuh
Why does this limit exists? If one wants to display html-code that has been fetched to view ONCE, this html-code has to be written in a content provider? On Aug 24, 12:49 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So, creating a content provider, which returns the same content of the

[android-developers] Re: java.net.SocketException: unknown error

2008-08-25 Thread [EMAIL PROTECTED]
oh thks! i'll try it :) On Aug 25, 2:49 am, dai [EMAIL PROTECTED] wrote: Did you add uses-permission android:name=android.permission.INTERNET / to your manifest? This tag is mandatory for beta 0.9 version. Without it, you could not connect to the internet. On 8月25日, 午前9:30, [EMAIL

[android-developers] Re: sqlite3?

2008-08-25 Thread Anjan
I run command adb pull /data/data/com.google.android.providers.settings/databases/settings.db C:\Android i get error remote object /data/data/com.google.android.providers.settings/ databases/settings.db does not exists... On Aug 21, 3:51 pm, Mark Murphy [EMAIL PROTECTED] wrote: shan

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
Guys you are lucky, I even can't display zoom control :-) and I can't drag my map ... --~--~-~--~~~---~--~~ 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: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
I correct myself, I can display but it disapears... actually I will try to implement one onLongClickListener. The method displayZoomControls displays temporary the controls. It is good but I need to implement onLongClickListener to fit the standard map application behaviour. Rgds, On Aug 25,

[android-developers] Re: Android JNI

2008-08-25 Thread Volker Gropp
On Aug 22, 9:30 pm, Tyler Ernst [EMAIL PROTECTED] wrote: Also since the 0.9 beta has been released I have been unable to copy the .so to the /system/lib directory of the emulator.  If anyone has found a way to do this that would be greatly appreciated. Hi, you have to mount the system rw. To

[android-developers] Question to Android team

2008-08-25 Thread Nanard
Hi, My application needs TTS (text to speech). I don't see any news about that. My question : Do you plan to (on day) add this API in Android (emulator devices) ? Or is it better (and faster) to develop (port) it myself (on the emulator !) Could you give me some help/links in order to do

[android-developers] unsubscribe

2008-08-25 Thread Piet Theron
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

[android-developers] Re: Does 0.9-SDK support Camera feature now??

2008-08-25 Thread brad
any anwser @@? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[android-developers] java.net.SocketException: unknown error

2008-08-25 Thread [EMAIL PROTECTED]
Hi, I try to consume my soap webservice writted with cxf apache. Java client works fine and now, i want to create android client. I found a sample = http://groups.google.com/group/android-developers/browse_thread/thread/9b246db7d612a6b5/ And i try to update it to work with the last android sdk

[android-developers] Re: Question to Android team

2008-08-25 Thread Mark Murphy
Nanard wrote: My application needs TTS (text to speech). I don't see any news about that. There was a post in this discussion group about it, three days ago: http://tinyurl.com/6l59t8 In short, there is a new open source TTS project for Android, apparently based on FreeTTS:

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
My issues : - Can't display the zoom control dialog after a long click. I called the longclickable method and implemented an onlongclicklistener. The onlongclick method is never called. - Can't drag the map. It open the map and i am unable to move it as in the standard map application. I try

[android-developers] Re: DateUtils.getRelativeTimeSpanString in v0.9

2008-08-25 Thread Guillaume Perrot
Old DateFormat and DateUtils classes are still available in the hidden package android.pim, hope these classes become public again... On 22 août, 12:18, Guillaume Perrot [EMAIL PROTECTED] wrote: In Android SDK v0.9, theDateUtilsclass has been removed. Where is the equivalent to format relative

[android-developers] Re: Text2Speech now hosted at google code

2008-08-25 Thread Nanard
Great idea ! I have no time to help you on this port (or for easy/fast stuff : it's OK). And : I also don't know any thing about speech/sound/grammar/... on this topic. But I will be pleased to test all versions of it :-) My project (for ADC I), is a document speaker. I really needs TTS.

[android-developers] Re: Destroying a view

2008-08-25 Thread 6real
Yes the method removeView is there for that purpose. The garbage collector manage the memory. Rgds, On Aug 25, 9:42 am, Teo [EMAIL PROTECTED] wrote: Is it possible to destroy a view and recreate it? I'm looking into this as a workaround for TabHost's inability to delete tabs (properly).

[android-developers] Unable to display maps in API Demo

2008-08-25 Thread 6real
Hi guys, I can't play with the MapView in API Demo. I just have a blue sky screen and LogCat returns the folowing : 08-25 13:19:32.578: INFO/ActivityManager(45): Starting activity: Intent { comp={com.android.samples/ com.android.samples.view.MapViewDemo} } 08-25 13:19:32.618:

[android-developers] Re: sqlite3?

2008-08-25 Thread Anjan
Thanks for the information..it worked.. another hurdle 1. I download system.db to local 2. edit to add entry (99,'http_proxy','proxy:'); 3. Upload system.db back to device. but i could not run the browser successfully (i am expecting http://www.google.com/ to show up on device). i also

[android-developers] Re: Destroying a view

2008-08-25 Thread Teo
Yes but that removes a child view, doesn't it? And this view i want to remove (the TabHost object) isn't really a child of another view, it's the first thing in the base LinearLayout. I've also tried with getParent() and casting to LinearLayout but that gives me an error. Here's my code below:

[android-developers] Internet access in emulator

2008-08-25 Thread Anjan
Hi, with below inputs i could cross a hurdle but i am still struck in getting accessing internet on device. 1. I downloaded settings.db 2. Edited to add entry in system table (99,'http_proxy','proxy:') // here is port number 3. uploaded to device via adb push i still not able to

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-08-25 Thread woodm
How are you trying to register touches? Are you using Overlay's and overriding the onTap / onTouchEvent methods? On Aug 23, 4:50 am, Casey Borders [EMAIL PROTECTED] wrote: Now I am having another weird problem.  If I define the MapView in a layout xml file, everything works like you would

[android-developers] Re: Creating a Dialog Activity with default OK and Cancel buttons

2008-08-25 Thread webmonkey
Hello Hackbod, I indeed looked at the API demo you refer to, but I want to get the same type of buttons panel at the bottom so that I am consistent with the overall platform. The look of the dialog and the panel at the bottom has changed a couple of times, and by using AlertDialog I don't have

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread webmonkey
I have the same problem but I can solve it temporarily doing a clean restart: using Windows XP that is: 1. Closing Eclipse. 2. Clearing the folder C:\Documents and Settings\username\Local Settings\Application Data\Android 3. Starting Eclipse and running my App. (Clearing using just wipe-data

[android-developers] Re: Inconsistent usage of setResult(..) Intent.

2008-08-25 Thread Luciano Ricardi
Same here! I suggest that you follow the guide on http://code.google.com/android/intro/upgrading.html to check your code... Regards, Luciano On Thu, Aug 21, 2008 at 2:22 AM, Spencer Riddering [EMAIL PROTECTED]wrote: It appears that the example applications from version 0.9 and the

[android-developers] Re: Inconsistent usage of setResult(..) Intent.

2008-08-25 Thread Luciano Ricardi
UPDATE: Sorry Spencer... I didn't read the From M5 to 0.9 porting and migration tips: from your e-mail... But... well.. I have the same problem here... Any news is appreciated... Regards, Luciano On Mon, Aug 25, 2008 at 11:12 AM, Luciano Ricardi [EMAIL PROTECTED] wrote: Same here! I

[android-developers] Feature Suggestion: Maps caching

2008-08-25 Thread Nils
Hi, I would like to see the maps application to be able to cache all tiles required to navigate a calculated route from start to finish. Additionally, the user should be able to set a custom distance from his/her designated route that should also be covered by the cache (detours, camping-stays

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread adamrocker
Hi. I'm so sorry for my code to confuse all of you. This is the shortest sample. /* BEGIN --*/ /*-- ZoomControlMapSample.java ---*/ public class ZoomControlMapSample extends MapActivity { private static final String API_KEY = mapapikey;

[android-developers] SMS directed to application

2008-08-25 Thread android_dev
How can I send an SMS directed to an application? My app looks for messages with a particular prefix and then must consume it. Other applications (including the Messaging app) should not get the SMS messages directed to my app. I have an SMS broadcast receiver that can get all the messages and

[android-developers] DateUtils - Alternatives?

2008-08-25 Thread viktor
The class android.util.DateUtils is gone. What can we use instead? The method getRelativeTimeSpanString was useful to format relative time nicely, like the call log does. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: GPS LocationProvider journey simulation

2008-08-25 Thread Zack
The Location sample posted in the files section still gives me the error mentioned by Marcel in addition to about two hundred other errors. Will this only work on linux systems? I'm using Windows and eclipse. Thanks. On Aug 21, 2:13 pm, Megha Joshi [EMAIL PROTECTED] wrote: Can you try using

[android-developers] Re: Inconsistent usage of setResult(..) Intent.

2008-08-25 Thread hackbod
There is not really a correct way. There is no direct mapping between the old arguments and the new ones -- you can structure your data in the Intent as you want. Generally you should follow the same conventions as used elsewhere for Intents. If this Intent is not going to travel outside of

[android-developers] Using the ItemizedOverlay and OverlayItem

2008-08-25 Thread Reto
I've been trying to use the ItemizedOverlay and OverlayItem classes in the 0.9 Beta to simulate map markers but have been having some problems getting it to display on the map. Once I've implemented my own ItemizedOverlay (and overriden createItem), creating a new instance of my class seems to

[android-developers] Re: REST + JSON Web Service Client

2008-08-25 Thread Baran
Hello Jeffrey, I was wondering if you could provide me something about how you appended your JSON string to the web service request. I am trying to communicate with this rest web service via POST method. But I am unable to identify how to append the JSON string as the parameters.

[android-developers] Supported Media Player / Media Recorder Formats

2008-08-25 Thread Reto
Hi, Is there a definitive list on the media formats you can playback and record in the latest SDK? I'm pretty sure I remember a list in the documentation at one point but it seems to have disappeared. Cheers Reto --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread hackbod
If you hit back from the new home activity, do you see the previous secondary activity? Could you please post more information about what you are doing? Please note that this behaves correctly in other places, such as ApiDemos, so there must be something different than normal that you are doing.

[android-developers] Order of Axis Values in onSensorChanged

2008-08-25 Thread Reto
Could one of the Googlers with access to a physical phone confirm the order of the axis values returned by the on onSensorChanged event within the SensorListener class? I assume it's [x, y, z] Where, for a device lying flat on its back on the table in front of me in portrait orientation: The X

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread marcel-182
Thanks for the code. I have just one remark: onInterceptTouchEvent(MotionEvent ev) has to return true in order to be able to scroll while the ZoomControls are being displayed. But I'm not sure if that triggers another bad behaviour :-). On 25 Aug., 17:36, adamrocker [EMAIL PROTECTED] wrote: Hi.

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread 6real
Thanks for your code ! I miss setClickable and I also found setEnabled. My code ran on the previous SDK ... I don't know if it is usefull to indicate this on the migration tips... On 25 août, 19:24, marcel-182 [EMAIL PROTECTED] wrote: Thanks for the code. I have just one remark:

[android-developers] Re: Abort SMS broadcast

2008-08-25 Thread android_dev
Hi Justin, How to direct an SMS to an application without passing the SMS to other apps and the SMS inbox? On Aug 20, 11:24 am, Justin (Google Employee) [EMAIL PROTECTED] wrote: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: v0.9 beta - SystemClock.setCurrentTimeMillis() failed

2008-08-25 Thread Megha Joshi
User apps cannot set the time. Only the system processes can. This is for security, but also because it won't have much effect--the time is reset from the radio via network time. 2008/8/22 samlu [EMAIL PROTECTED] I am using v0.9 beta SDK, got the following warning when I call

[android-developers] Gallery missing attribute / method

2008-08-25 Thread android_dev
android.widget.Gallery: What is the equivalent for these in SDK 0.9? android:drawSelectorOnTop or setDrawSelectorOnTop(boolean) android:spinnerSelector or setSelectorSkin(Drawable) Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Sensor values returned by tricorder

2008-08-25 Thread Bruno Sauer
Wow, this has really got me excited too Peli! I'm sitting on The Island now and can't wait to scan the environs with my HTC Dream : thank you! Bruno Peli wrote: Hi, I've seen excitedly that the improved sensor classes SensorManager and SensorListener allow for a fully functional

[android-developers] Re: DateUtils.getRelativeTimeSpanString in v0.9

2008-08-25 Thread Megha Joshi
2008/8/25 Guillaume Perrot [EMAIL PROTECTED] Old DateFormat and DateUtils classes are still available in the hidden package android.pim, hope these classes become public again... Yes...DateUtils will be public in the next release... On 22 août, 12:18, Guillaume Perrot [EMAIL PROTECTED]

[android-developers] Re: java.net.SocketException: unknown error

2008-08-25 Thread [EMAIL PROTECTED]
thks it's working. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=fr.sokaris.poker.android uses-permission android:name=android.permission.INTERNET / ... On 25 août, 09:37, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: oh

[android-developers] Re: Android JNI

2008-08-25 Thread Tyler Ernst
Thanks, that was exactly what we needed. We realize JNI is not supported, but Java code is just too slow to do the things we need... On Aug 25, 2:23 am, Volker Gropp [EMAIL PROTECTED] wrote: On Aug 22, 9:30 pm, Tyler Ernst [EMAIL PROTECTED] wrote: Also since the 0.9 beta has been released I

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread webmonkey
I got it to work now, but only when I do the following: 1. I run my app in Eclipse using Run Run History myApp. The app opens up with the home activity 2. I hit the Back button. The Android home screen with the app menu is displayed 3. I start my app from the Android app menu. The app opens up

[android-developers] Re: REST + JSON Web Service Client

2008-08-25 Thread Megha Joshi
This might help... JSONObject mLocationJSON = createLocationJSON(mLatitude, mLongitude, mDateTime); postLocationJSON(SERVER_URL, mLocationJSON); /** * @param mUrl The URL of location tracking server. * @param mLocationJSON The location data with time in JSON format.

[android-developers] Re: Android JNI

2008-08-25 Thread Ahmet A. Akin
Blame the Dalvik, not java :P On Mon, Aug 25, 2008 at 2:15 PM, Tyler Ernst [EMAIL PROTECTED] wrote: Thanks, that was exactly what we needed. We realize JNI is not supported, but Java code is just too slow to do the things we need... On Aug 25, 2:23 am, Volker Gropp [EMAIL PROTECTED] wrote:

[android-developers] Re: java.net.SocketException: unknown error

2008-08-25 Thread dai
Did you add uses-permission android:name=android.permission.INTERNET / to your manifest? This tag is mandatory for beta 0.9 version. Without it, you could not connect to the internet. On 8月25日, 午前9:30, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I try to consume my soap webservice writted

[android-developers] Re: Does 0.9-SDK support Camera feature now??

2008-08-25 Thread Megha Joshi
You cannot use a USB camera device, because the emulator does not support Camera capture... 2008/8/25 brad [EMAIL PROTECTED] any anwser @@? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] MapView on load

2008-08-25 Thread David Foelber
Hi all, Is there a function callback for when the MapView is fully loaded (tiles, etc), or when the projection class is valid? The problem I'm having is that I'm loading an overlay apparently too early and it's crashing the application when it tries to access the view's projection class in

[android-developers] Simple Mock Location Provider

2008-08-25 Thread CG
Hi, I'd just like to create to get a location (not tracking, just get the last postion fixed), but for my mock location provider, I'd like this fix change time to time. I tried the old method by creating a new directory under the location directory but it seems it does not work anymore (as

[android-developers] Re: MapView on load

2008-08-25 Thread David Foelber
Apologies, error in my code :D On Aug 25, 3:10 pm, David Foelber [EMAIL PROTECTED] wrote: Hi all, Is there a function callback for when the MapView is fully loaded (tiles, etc), or when the projection class is valid? The problem I'm having is that I'm loading an overlay apparently too early

[android-developers] Re: Keytool apparently not signing apk - What am I missing here?

2008-08-25 Thread Megha Joshi
Check the logcat output...it will tell you what the problem is. 2008/8/24 Zack [EMAIL PROTECTED] Thanks for your help. add the JDK version of Keytool to your PATH variable. -- Done. Signing in Eclipse/ADT If you are developing in Eclipse and have set up Keytool as described above,

[android-developers] Re: Audio Picking / Video Picking (ACTION_PICK) - Should it work in 0.9?

2008-08-25 Thread Megha Joshi
This is a bug in the sdk , it will be fixed in a future release... 2008/8/24 code_android_festival_way [EMAIL PROTECTED] Hello guys! I got a question regarding the picking of audio and video files with the ACTION_PICK in the Media ContentProvider. It is working for images but audio gets me

[android-developers] Re: Feature Suggestion: Maps caching

2008-08-25 Thread Megha Joshi
Could you log this as a feature request in Android Issue Tracker...Thanks! 2008/8/24 Nils [EMAIL PROTECTED] Hi, I would like to see the maps application to be able to cache all tiles required to navigate a calculated route from start to finish. Additionally, the user should be able to set

[android-developers] Re: Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-08-25 Thread Justin (Google Employee)
You didn't answer what type myService is here. Cheers, Justin Android Team @ Google --~--~-~--~~~---~--~~ 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: Creating a Dialog Activity with default OK and Cancel buttons

2008-08-25 Thread Justin (Google Employee)
It would of course be better to have an activity that you can style like an AlertDialog. But an AlertDialog is not an Activity and an Activity is not an AlertDialog. These classes represent two distinct concepts and should, therefore, have different styles so users can immediately know

[android-developers] Re: attempt to acquire a reference on a close SQLiteClosable

2008-08-25 Thread Justin (Google Employee)
Another option if you still want to use Activity.managedQuery() is to get your information and then: stopManaging(cursor); cursor.close(); Cheers, Justin Android Team @ Google On Aug 21, 1:23 am, Jeff Hamilton [EMAIL PROTECTED] wrote: So what is the best way to call a Cursor? since i got a

[android-developers] Re: Shared library/separate module not found

2008-08-25 Thread Justin (Google Employee)
My previous statement was incorrect, awt *is* included. The library is android.awt instead of java.awt, so use uses-library android:name=android.awt / . Cheers, Justin Android Team @ Google On Aug 20, 11:20 pm, deviand [EMAIL PROTECTED] wrote: The package com.google.android.maps has also been

[android-developers] Re: Android JNI

2008-08-25 Thread hackbod
Native code is not supported in 1.0. On Aug 25, 11:15 am, Tyler Ernst [EMAIL PROTECTED] wrote: Thanks, that was exactly what we needed.  We realize JNI is not supported, but Java code is just too slow to do the things we need... On Aug 25, 2:23 am, Volker Gropp [EMAIL PROTECTED] wrote: On

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread hackbod
The behavior when running from eclipse is different than running it normally. When you run from eclipse it may (perhaps always) install the .apk on to the device, which means uninstalling the current .apk and this clearing all previous app state. On Aug 25, 11:16 am, webmonkey [EMAIL PROTECTED]

[android-developers] Problem with bindService

2008-08-25 Thread marielisacr
Hi, I am working on an application and I am trying to migrate it to 0.9 I am trying to use a remote service but when I bind it I get the following error Binding to unknown activity. This is how I am using the service: 1. AndroidManifest.xml activity

[android-developers] Re: How to get gps.conf file? SDK0.9

2008-08-25 Thread Justin (Google Employee)
The emulator doesn't need that file, its absence won't cause you any real errors. Cheers, Justin Android Team @ Google On Aug 25, 2:21 pm, Zack [EMAIL PROTECTED] wrote: Thanks for any help. SDK 0.9 is apparently missing etc/gps.conf on the emulator. Maybe other things too; I'm getting a

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread code_android_festival_way
Thank you for your answers. I can confirm webmonkeys experience. Installing from eclipse - starting - pressing the back button - starting again From that point on the application saves the last opened activity. So this seems to be a bug caused by the installation through Eclipse right?

[android-developers] Re: Audio Picking / Video Picking (ACTION_PICK) - Should it work in 0.9?

2008-08-25 Thread code_android_festival_way
Thank you for your quick response! On 25 Aug., 22:28, Megha Joshi [EMAIL PROTECTED] wrote: This is a bug in the sdk , it will be fixed in a future release... 2008/8/24 code_android_festival_way [EMAIL PROTECTED] Hello guys! I got a question regarding the picking of audio and video

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-08-25 Thread code_android_festival_way
Something new about this. Audio recording would be very important for me. Best regards! On 25 Aug., 00:20, code_android_festival_way [EMAIL PROTECTED] wrote: I've got two questions. 1) Is there a working example for recording audio with the MediaRecorder? At the moment I'm using the

[android-developers] Re: Image Button?

2008-08-25 Thread Kavi
Is there a way to have the selector code for multiple ImageButtons in one xml file. So, if i have 10 buttons, i want to have all the code in one file and not in 10 xml files to set the background for each button. Is there a way to give each selector tag an ID? and then use different selectors

[android-developers] Re: Custom Content Provider and Multiple Tables

2008-08-25 Thread Mark Murphy
Since the ContentProvider interface has a single insert, update, query, delete methods, and as far as I can see, you can only include one ContentProvider in your application. ContentProviders are managed by their MIME type/URI patterns. An application should be able to have several providers,

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread adamrocker
Is this a bug? Android can't recognize the difference between the motion of long touch action and the motion of move action. It is different between the long touch action and the move action, isn't it? So, I modified my code without using onInterceptTouchEvent. /*-- ZoomMapView.java

[android-developers] Re: Instrumentation failing with classnotfound on android.test.InstrumentationTestRunner

2008-08-25 Thread Josh Guilfoyle
I have made this work correctly and discuss it on my blog here: http://devtcg.blogspot.com/2008/08/android-instrumentation-example.html On Aug 23, 1:02 am, Carl H. [EMAIL PROTECTED] wrote: Hi Megha, I did not notice that no, was looking at the site. I tried to add the second androidManifest

[android-developers] Re: alwaysRetainTaskState - Some questions

2008-08-25 Thread hackbod
On Aug 25, 2:43 pm, code_android_festival_way [EMAIL PROTECTED] wrote: From that point on the application saves the last opened activity. So this seems to be a bug caused by the installation through Eclipse right? If it's just that after starting from eclipse it starts from its original state

[android-developers] ServiceTestCase instrumentation and remote callbacks

2008-08-25 Thread Josh Guilfoyle
I am trying to add unit tests to a service of mine that utilizes remote callbacks (managed by the service with RemoteCallbackList). I know that this service functions properly already, I am just trying to formalize with a unit test as I have recently discovered how to make instrumentation work.

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread Casey Borders
This new code isn't working for me. The first set worked. On Mon, Aug 25, 2008 at 6:48 PM, adamrocker [EMAIL PROTECTED] wrote: Is this a bug? Android can't recognize the difference between the motion of long touch action and the motion of move action. It is different between the long touch

[android-developers] Re: MediaRecord Audio - working example? / raw data stream onPictureTaken()? / Bug in Pictures application?

2008-08-25 Thread Justin (Google Employee)
In the future, please only include one topic per new post/thread. It gets very confusing to handle posts like this that have multiple question in vastly different areas of the platform. (2) - no, the returned data stream should not be null. Are you doing an actual null test or just assuming it

[android-developers] ksoap2, android and cxf

2008-08-25 Thread [EMAIL PROTECTED]
i'm currently write a webservice with cxf and i want to consume it with android. so i decided to use ksoap2 (with se standard extension). my android code : SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty(register, test); // what

[android-developers] Re: Activity Question

2008-08-25 Thread Gil
Hi Justin, Any update related to this issue? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Activity Question

2008-08-25 Thread Justin (Google Employee)
No, I would have provided one if there was, :-) . But if your question is if its still be looked at, the answer is yes. Cheers, Justin Android Team @ Google On Aug 25, 5:46 pm, Gil [EMAIL PROTECTED] wrote: Hi Justin, Any update related to this issue?

[android-developers] change timezone setting for system

2008-08-25 Thread samlu
I called TimeZone.setDefault() for changing system's timezone, but failed. Is there an API for me to change system's timezone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Problems Sending SMS Text Messages in 0.9

2008-08-25 Thread Justin (Google Employee)
This is a bug in the current SDK that is already fixed and the fix will be included in a future SDK. The sentIntent is intended to be optional as the documentation indicates. Cheers, Justin Android Team @ Google On Aug 23, 12:07 am, Reto [EMAIL PROTECTED] wrote: Ok, I think I've figured it

[android-developers] change item layout when selected in a ListView

2008-08-25 Thread Andrew
Hello everyone. I have a question about the ListView. Example: In a ListView, there are many items. If I press up/down key to select one item, what I want is show a button on the selected view, and if the selected item is unselected, the button will be hide. How can I change the layout when

[android-developers] Re: change item layout when selected in a ListView

2008-08-25 Thread Mark Murphy
Andrew wrote: I have a question about the ListView. Example: In a ListView, there are many items. If I press up/down key to select one item, what I want is show a button on the selected view, and if the selected item is unselected, the button will be hide. How can I change the layout

[android-developers] Re: Does 0.9-SDK support Camera feature now??

2008-08-25 Thread brad
Thanks for the reply. Will the emulator support camera in the next version or what hardware can I use for testing camera api, real mobile phone? and I find the http://www.tomgibara.com/android/camera-source; for camera capture. But it cpature the image via the http, not from Camera API.

[android-developers] Re: change item layout when selected in a ListView

2008-08-25 Thread Andrew
Thank you very much. It is helpful. And I have another question. I defined the List item in a xml like below: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent android:padding=5px

[android-developers] Re: change item layout when selected in a ListView

2008-08-25 Thread Andrew
I use below code to get the button click event: Button b = (Button)v.findViewById(R.id.reminder_item_btn); b.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Log.d(, timeString); } }); On Aug

[android-developers] Re: Problems Sending SMS Text Messages in 0.9

2008-08-25 Thread Reto
Ok, I think I've figured it out. The 4th parameter (PendingIntent sentIntent) is *not* optional. If you pass in null you get the error log I've shown below. Is this designed behavior? If so, it's probably worth rewording the documentation so that it doesn't imply the parameter can be set to

[android-developers] Re: maps behind proxy 0.9 beta

2008-08-25 Thread shan
Hi Jokochi, I have added exceptions for PHP.exe in the firewall, still does'nt work. Could you please give me the exact steps of how you did it on windows so that i can check where am i messing it. On Aug 22, 7:06 pm, jokochi [EMAIL PROTECTED] wrote: Yes, I am able to see the map. After that

[android-developers] Re: maps behind proxy 0.9 beta

2008-08-25 Thread shan
Also, did you see the maps via the maps application or on the browser? On Aug 22, 7:06 pm, jokochi [EMAIL PROTECTED] wrote: Yes, I am able to see the map. After that I checked the script working on Windows. Have you install PHP5 and run it on command prompt(cmd.exe) ? Windows PHP can be

[android-developers] Re: REST + JSON Web Service Client

2008-08-25 Thread Baran
Hi, thanks for the reply, the thing I was asking was how to send the data as stream...i.e I have this JSON string and I need to send it to a web service in the form of a stream...I already tried using the above method and was fine with that..but the requirement is to send as a serialized