[android-developers] Httpclient with Nexus S

2011-01-13 Thread André Charles Legendre
Hi I avec a connection problem with httpClient specificaly in Nexus one I have this line of coe working on any Android devices but in NexusS it works only in 3G String res = getHttpClient().execute(mHttpPost, new BasicResponseHandler()); Any idea welcome Andre -- You received this message

[android-developers] Re: VM crash

2009-10-06 Thread André Charles Legendre
Hi Thank's a lot, by now I reboot the phone to clear the log and I lose a lot of time... With this solution it will be faster.. I will fill the bug now. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] VM crash in mobile for a code good working in Emulator

2009-09-30 Thread André Charles Legendre
I get stuck from one week to find a solution for a VM crash in a Samsung Galaxy running a code good working with emulator. (I don't know if this code works in any real device) Initialy my code line crashing the VM was : responseString = EntityUtils.toString(response.getEntity()); This code works

[android-developers] VM crash

2009-09-30 Thread André Charles Legendre
Android VM crash in a Samsung Galaxy running a code good working with emulator. My code call facebook rest service to get my friends info. But when I get server response VM crash. And I really need help. Log is down here : D/UiHandler( 1488): executeMethodForMessage mFacebook.execute AFTER

[android-developers] Re: VM crash

2009-09-30 Thread André Charles Legendre
Hi fadden Yes it is a reproducible case. Exact content of the log change but it always finish by logcat read: Invalid argument and I need to restart the mobile to be able to read any log again. It seems that something is getting twisted up in the logging. I will try to file a bug. Andre

Re: [Fwd: [Fwd: [Fwd: [android-developers] Re: apk installation on mobilefromLinux machine]]]

2009-09-15 Thread André Charles Legendre
Hi Dan For what I haved experimented with my Galaxy from Kubuntu 9.04 : I had to use the patched adb, dowloded from : http://floe.butterbrot.org/external/adb.gz the standard adb from android-1.5r3 did'nt detect the phone. I had to put the following line in /etc/udev/rules.d/51-android.rules:

[android-developers] apk installation on mobilefromLinux machine

2009-09-14 Thread André Charles Legendre
Hi I want to install an application apk from a Linux machine to a mobile phone (Samsung Galaxy) When I run adb install from Linux (Kubuntu 9.04), I get a message telling : no device found. Any Idea welcome Andre --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread André Charles Legendre
Hi Thank's to Dilli and Tauno I have enabled USB debugging. When I do adb devices I get no devices. If I look in /var/log/messages I see that mobile is detected when it is connected. The system give it a disk alias (sdb) and a network alias /dev/ttyACM But no devices is detected by adb.

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread André Charles Legendre
Hi Mark and Zero I run on Kubuntu 9.04 but with 1.5_r3 And I get : Sep 14 14:54:38 REN027 kernel: [23036.364023] usb 1-3: new high speed USB device using ehci_hcd and address 10 Sep 14 14:54:38 REN027 kernel: [23036.509774] usb 1-3: configuration #2 chosen from 1 choice Sep 14 14:54:38 REN027

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread André Charles Legendre
Hi Mark I installed android-sdk-linux_x86-1.5_r3 and it changed nothing. I will try to apply the patch from : http://androidforums.com/support/3534-problems-mounting-communicating-g1-ubuntu.html Andre --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread André Charles Legendre
Hi Mark adb with the patch succeed to install my apk. But adb logcat give to me : logcat read: Invalid argument With the standard adb and with the patched adb. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread André Charles Legendre
adb. then I had to stop and start it : adb kill-server followed by adb start-server then adb install and adb devices worked with my Samsung Galaxy from Kubuntu. Thank's a lot for your help. Andre On 9/14/09, André Charles Legendre andre.legen...@gmail.com wrote: Hi Mark I installed android-sdk

[android-developers] Re: apk installation on mobilefromLinux machine

2009-09-14 Thread André Charles Legendre
Hi Finally to get logcat working I had to uncheck and check again the debug option in the application settings. Thank's for all Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Intents with SDK 1.5

2009-06-08 Thread André Charles Legendre
I am porting an application to SDK 1.5 and I have problems with Intents . In one activity I want to send an intent and I write : Intent intent = new Intent(REFRESH_SEARCH_LIST); intent.putExtra(searchResults, this.placeMarks); PendingIntent.getBroadcast(this.activity, 0, intent, 0); In another

[android-developers] Intents with SDK 1.5

2009-06-08 Thread André Charles Legendre
I am porting an application to SDK 1.5 and I have problems with Intents . In one activity I want to send an intent and I write : Intent intent = new Intent(REFRESH_SEARCH_LIST); intent.putExtra(searchResults, this.placeMarks); PendingIntent.getBroadcast(this.activity, 0, intent, 0); In another

[android-developers] Re: Intents with SDK 1.5

2009-06-08 Thread André Charles Legendre
Hi Mark Probably but I don't know about sendBrodcast sendBroadcast is a method from which class ? Andre --~--~-~--~~~---~--~~ 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: Intents with SDK 1.5

2009-06-08 Thread André Charles Legendre
Thank you Mark. It works good In fact in doc of PendingIntent.getBroadcast it is written that it does the same that Context.sendBroadcast. The way I use it should be wrong. Thank you for your help --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-08 Thread André Charles Legendre
Hi Sujay What tut are you talking about ? --~--~-~--~~~---~--~~ 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: MapView balloon box, is it possible??

2009-06-05 Thread André Charles Legendre
Some tutorial at : http://www.pointgphone.com/map-application-android-sdk-15-2597 http://www.pointgphone.com/map-application-android-sdk-15-deuxieme-partie-4916 It is in french but code is Ok Andre --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Updated to 1.5 and R.java is not regeneratated

2009-05-08 Thread André Charles Legendre
Hi I got this under Linux and I solved it by changing authorization of tools files and platform/tools files You must first go in the SDK directory and then chmod +x tools/* and then chmod +x platform/android*/tools/* You need also to have this directories in your PATH. Regards Andre

[android-developers] Re: OnfocusChangeListener question

2009-05-07 Thread André Charles Legendre
Hi Felix : In fact this code I am writing for a tutorial to be published soon in a french Android web site : http://pointgphone.com First you need to code a listener : ItemizedOverlay.OnFocusChangeListener FOCUS_LISTENER = new ItemizedOverlay.OnFocusChangeListener() {

[android-developers] OnfocusChangeListener question

2009-05-06 Thread André Charles Legendre
I have one ItemizedOverlay in a 1.5 SDK application. It is working good. I would like to be informed when the user point (not tap) one Item. I don't know if ItemizedOverlay.OnfocusChangeListener is the good tool for that and how to use it. Regards Andre

[android-developers] Re: OnfocusChangeListener question

2009-05-06 Thread André Charles Legendre
get a null Item in that case) Is it normal ? Regards Andre Legendre On Wed, May 6, 2009 at 4:53 PM, André Charles Legendre andre.legen...@gmail.com wrote: I have one ItemizedOverlay in a 1.5 SDK application. It is working good. I would like to be informed when the user point (not tap) one Item

[android-developers] Re: OnfocusChangeListener question

2009-05-06 Thread André Charles Legendre
Finally I found a solution. Thank you for your help. Andre On Wed, May 6, 2009 at 6:43 PM, André Charles Legendre andre.legen...@gmail.com wrote: Hi I finally succeed to use ItemizedOverlay.OnfocusChangeListener in my Map Overlay but it onFocusChanged is called only when I click in one Item

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-28 Thread André Charles Legendre
Hi hc Under Unix to add tools directory to PATH you can do it in .bash_profile of your user : PATH=$PATH:/tools export PATH where xxx is the PATH of where you put the SDK Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] SearchManager sample

2009-04-28 Thread André Charles Legendre
Hi I would like to find some examples to use android.app.SearchManager with maps. Any help welcome Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Saving battery with MyLocationOverlay

2009-04-27 Thread André Charles Legendre
Hi When we manage Location using a Location Manager we can limit updates to save battery by changing MINIMUM_TIME_BETWEEN_UPDATE, and/or MINIMUM_DISTANCECHANGE_FOR_UPDATE : myLocationManager.requestUpdates(provider, MINIMUM_TIME_BETWEEN_UPDATE,

[android-developers] Re: R cannot be resolved after updating to 1.5 SDK Pre, and trying to compile for 1.1

2009-04-27 Thread André Charles Legendre
I got similar problems with SDK on Linux. I solved it by adding tools directory in PATH. Regards Andre --~--~-~--~~~---~--~~ 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] problem with KeyEvent.KEYCODE_PLUS in SDK 1.5pre

2009-04-26 Thread André Charles Legendre
When I Override onKeyDown in a MapActivity I have a problem with KeyEvent.KEYCODE_PLUS. When running my app + just don't work. The same code works for any key but KeyEvent.KEYCODE_PLUS. In log I get W/KeyCharacterMap( 725): No keyboard fo id 0 W/KeyCharacterMap( 725): Using default keymap:

[android-developers] Re: problem with KeyEvent.KEYCODE_PLUS in SDK 1.5pre

2009-04-26 Thread André Charles Legendre
Hi Diane Tank's for the answer. What keys are usually mapped for zoomIn and zoomOut in Android devices ? And what physical key is associated to the logical KEYCODE_PLUS ? Regards Andre --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Android v. 1.5 = FAIL #2: Directly Manipulating Settings

2009-04-24 Thread André Charles Legendre
Hi Jean Batiste It seems that a better way would be to have a list of applications allowed to make GPS status changes. So user would be prompted one time to say if he allow or not this application to change GPS status. And to be able to consult and change the list of applications allowed to do

[android-developers] Re: maps api and 1.5

2009-04-21 Thread André Charles Legendre
Hi I get the same problem, and changed the build target to be the Google API, then I create an AVD for Google Api and finaly I get : Unable to resolve superclass of Lorg/example/android/apis/MapViewDemo; where org.example.android.apis is the package and MapViewDemo is a copy of

[android-developers] Re: maps api and 1.5

2009-04-21 Thread André Charles Legendre
Hi Finally, my error was to left maps.jar in the classpath Now, this very simple Map app with 1.5 SDK launch good Thank for all the responses. It helps a lot. Andre --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: SDK Update?

2008-06-30 Thread André Charles Legendre
Hi Shane yes GPL limits NDA. It seems that Android OS should not be published to anybody (Challenge winners, phone operators, phone manufacturers etc..) against any NDA. Android OS is mainly GPL as it is coming from linux. SDK is mainly Apache V2 license. But as Java is GPL2 now (not specs

[android-developers] Re: SDK Update?

2008-06-30 Thread André Charles Legendre
Hi If Android OS has not been improved from February it would be even worse. I would mean that this project is not well and alive. If we consider that SDK is not an Open Source project it would solved also many issues but it would mean that the code is all new and not tested and I am not sure

[android-developers] Re: SDK Update?

2008-06-30 Thread André Charles Legendre
Hi Joa You seems to forget the main things : Does Android SDK need to be open source as using a lot of Open Source code ? If yes are Open Source licenses compatible with NDA ? It seems that SDK use GPL code and should not be published under NDA. It even seems that NDA is not compatible wit

[android-developers] Re: SDK Update?

2008-06-30 Thread André Charles Legendre
Hi Shane Open Source Initiative consider that to be open source a project cannot be published under NDA. (see below) http://www.opensource.org/osr The question is : is Open Source Initiative stupid to ask for this requirement ? Look at the board members before to say that they are stupid :

[android-developers] Re: SDK Update?

2008-06-30 Thread André Charles Legendre
It seems that we have not the same way to read this : # No Agreements: There MUST NOT be any requirement for execution of a license agreement, NDA, grant, click-through, or any other form of paperwork to deploy conforming implementations of the standard. But it seems that many people have the

[android-developers] Re: SDK Update?

2008-06-30 Thread André Charles Legendre
Hi Digit First of thank's to brake this wall of silence which hurt all of us. This silence is probably the biggest pain for us. Why not publish new SDK release ? Why not publish some news to the community ? Regards Andre Legendre --~--~-~--~~~---~--~~ You

[android-developers] Re: SDK Update?

2008-06-29 Thread André Charles Legendre
I would like to say that for Android community it would be a must if we could get new SDK releases. I think that Android team should go to the following link at FSF.org http://www.fsf.org/licensing/licenses/gpl-faq.html#WhyDoesTheGPLPermitUsersToPublishTheirModifiedVersions You would find the

[android-developers] Re: SDK Update?

2008-06-29 Thread André Charles Legendre
Hi You will find below a question and its answer coming from : http://www.fsf.org/licensing/licenses/gpl-faq.html#DoesTheGPLAllowNDA Does the GPL allow me to distribute copies under a nondisclosure agreement? No. The GPL says that anyone who receives a copy from you has the right to

[android-developers] Re: SDK Update?

2008-06-29 Thread André Charles Legendre
Hi You will find below a question and its answer coming from : http://www.fsf.org/licensing/licenses/gpl-faq.html#DoesTheGPLAllowNDA Does the GPL allow me to distribute copies under a nondisclosure agreement? No. The GPL says that anyone who receives a copy from you has the right to

[android-developers] Re: How to broadcast an intent?

2008-06-16 Thread André Charles Legendre
Pierre From your Activity : (see Activity class methods broadcastIntent). broadcastIntent(intent). Don't forget to add your intent to the filter in the receiver side. Or your receiver will not receive it. Andre On Mon, Jun 16, 2008 at 12:33 PM, Diego Torres Milano [EMAIL PROTECTED] wrote:

[android-developers] Re: Story you might be interested in

2008-06-16 Thread André Charles Legendre
Hi Vasanth Very happy to see somebody speaking about Android in the press. I would like to give 3 comments : 1) Sun is going to deliver Java on iPhone so language limit is going to fell down...http://www.appleinsider.com/articles/08/03/08/sun_plans_java_for_iphone_ipod_touch.html 2) Better to

[android-developers] Re: Story you might be interested in

2008-06-16 Thread André Charles Legendre
Hi Mark News in Goggle I/o was not dedicated to Android Community. It was a show for medias and newspaper. This is good but this does not demonstrate any interest in Android community from Android team. Is it so difficult to spend 5 minutes every week ?? Blocking sdk release without any good

[android-developers] Re: Story you might be interested in

2008-06-16 Thread André Charles Legendre
Hi Mark Yes we have fairly good newspapers. But VM internal of what Dalvik version ? the public one ? What is the interest to know internal of a tool you are not allowed to use ? Saying that this presentation was dedicated to Android community is a joke : Very few of java users have any

[android-developers] Re: Secure area inside android

2008-06-10 Thread André Charles Legendre
Hi You have the keystore of the browser. You can access it from a WebView. Andre On Tue, Jun 10, 2008 at 6:04 PM, Justin (Google Employee) [EMAIL PROTECTED] wrote: If the keystore file is password protected, why not store it encrypted? Then have the user enter her password to start using