[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 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[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 Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 most of time but crash arrive with a bigger answer
from the server (facebook server)

To try to locate this probleme I code the following lines without
result but with a more detailed log :

HttpEntity entity = response.getEntity();
int i = (int)entity.getContentLength();
if (i  0) {
i = 1024;
}
String charset = getContentCharSet(entity);
if (charset == null) {
charset = DEFAULT_CONTENT_CHARSET;
}
Reader reader = new InputStreamReader(new
BufferedInputStream(entity.getContent()));
CharArrayBuffer buffer = new CharArrayBuffer(i);
Log.d(LOG, executeMethodForMessage finally AFTER CharArrayBuffer);
try {
   char[] tmp = new char[256];
   int l;
   while((l = reader.read(tmp)) != -1) {
   buffer.append(tmp, 0, l);
Log.d(LOG, executeMethodForMessage buffer length :  + 
buffer.length());
}
} finally {
reader.close();
}
Log.d(LOG, executeMethodForMessage finally AFTER close);

Log is down here :
D/UiHandler( 1488): executeMethodForMessage mFacebook.execute AFTER
I/global  ( 1488): Default buffer size used in BufferedInputStream
constructor. It would be better to be explicit if an 8k buffer is
required.
D/UiHandler( 1488): executeMethodForMessage finally AFTER CharArrayBuffer
D/UiHandler( 1488): executeMethodForMessage buffer length256
D/UiHandler( 1488): executeMethodForMessage buffer length512
D/UiHandler( 1488): executeMethodForMessage buffer length768
D/UiHandler( 1488): executeMethodForMessage buffer length1024
D/UiHandler( 1488): executeMethodForMessage buffer length1134
D/UiHandler( 1488): executeMethodForMessage buffer length1390
D/UiHandler( 1488): executeMethodForMessage buffer length1646
D/UiHandler( 1488): executeMethodForMessage buffer length1902
D/UiHandler( 1488): executeMethodForMessage buffer length2158
D/UiHandler( 1488): executeMethodForMessage buffer length2414
D/UiHandler( 1488): executeMethodForMessage buffer length2670
D/UiHandler( 1488): executeMethodForMessage buffer length2926
D/UiHandler( 1488): executeMethodForMessage buffer length3182
D/UiHandler( 1488): executeMethodForMessage buffer length3438
D/UiHandler( 1488): executeMethodForMessage buffer length3694
D/UiHandler( 1488): executeMethodForMessage buffer length3950
D/UiHandler( 1488): executeMethodForMessage buffer length4206
D/UiHandler( 1488):
D/UiHandler( 1488):
D/UiHandler( 1488):  AndroidRuntime START 
D/UiHandler( 1488):
D/UiHandler( 1488):
D/UiHandler( 1488): (
logcat read: Invalid argument

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 to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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
I/global  ( 1488): Default buffer size used in BufferedInputStream
constructor. It would be better to be explicit if an 8k buffer is
required.
D/UiHandler( 1488): executeMethodForMessage finally AFTER CharArrayBuffer
D/UiHandler( 1488): executeMethodForMessage buffer length256
D/UiHandler( 1488): executeMethodForMessage buffer length512
D/UiHandler( 1488): executeMethodForMessage buffer length768
D/UiHandler( 1488): executeMethodForMessage buffer length1024
D/UiHandler( 1488): executeMethodForMessage buffer length1134
D/UiHandler( 1488): executeMethodForMessage buffer length1390
D/UiHandler( 1488): executeMethodForMessage buffer length1646
D/UiHandler( 1488): executeMethodForMessage buffer length1902
D/UiHandler( 1488): executeMethodForMessage buffer length2158
D/UiHandler( 1488): executeMethodForMessage buffer length2414
D/UiHandler( 1488): executeMethodForMessage buffer length2670
D/UiHandler( 1488): executeMethodForMessage buffer length2926
D/UiHandler( 1488): executeMethodForMessage buffer length3182
D/UiHandler( 1488): executeMethodForMessage buffer length3438
D/UiHandler( 1488): executeMethodForMessage buffer length3694
D/UiHandler( 1488): executeMethodForMessage buffer length3950
D/UiHandler( 1488): executeMethodForMessage buffer length4206
D/UiHandler( 1488):
D/UiHandler( 1488):
D/UiHandler( 1488):  AndroidRuntime START 
D/UiHandler( 1488):
D/UiHandler( 1488):
D/UiHandler( 1488): (
logcat read: Invalid argument

Code is down here


HttpEntity entity = response.getEntity();
int i = (int)entity.getContentLength();
if (i  0) {
   i = 1024;
}
String charset = getContentCharSet(entity);
if (charset == null) {
   charset = DEFAULT_CONTENT_CHARSET;
}
Reader reader = new InputStreamReader(new
BufferedInputStream(entity.getContent()));
CharArrayBuffer buffer = new CharArrayBuffer(i);
Log.d(LOG, executeMethodForMessage finally AFTER CharArrayBuffer);
try {
  char[] tmp = new char[256];
  int l;
  while((l = reader.read(tmp)) != -1) {
  buffer.append(tmp, 0, l);
   Log.d(LOG, executeMethodForMessage buffer length + buffer.length());
   }
} finally {
   reader.close();
}
Log.d(LOG, executeMethodForMessage finally AFTER close);

--~--~-~--~~~---~--~~
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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

--~--~-~--~~~---~--~~
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



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:
SUBSYSTEM==usb, SYSFS{idVendor}==04e8, MODE=0666
(note that idVendor O4e8 is specific to Samsung Galaxy).
then I had to stop and start adb server :
adb kill-server
followed by
adb start-server
And only then adb install and adb devices worked with my Samsung
Galaxy from Kubuntu.

Some detailed explanations about the patch here :
https://review.source.android.com/#change,10728

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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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.

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 to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 kernel: [23036.511596] cdc_acm 1-3:2.0:
ttyACM0: USB ACM device
Sep 14 14:54:38 REN027 kernel: [23036.522489] scsi10 : SCSI emulation
for USB Mass Storage devices
Sep 14 14:54:43 REN027 kernel: [23041.528410] scsi 10:0:0:0:
Direct-Access Samsung  SAMSUNG Android  Mass PQ: 0 ANSI: 2
Sep 14 14:54:43 REN027 kernel: [23041.530039] scsi 10:0:0:1:
Direct-Access Samsung  SAMSUNG Android  Mass PQ: 0 ANSI: 2
Sep 14 14:54:44 REN027 kernel: [23041.549472] sd 10:0:0:0: [sdb]
Attached SCSI removable disk
Sep 14 14:54:44 REN027 kernel: [23041.549692] sd 10:0:0:0: Attached
scsi generic sg2 type 0
Sep 14 14:54:44 REN027 kernel: [23041.558562] sd 10:0:0:1: [sdc]
Attached SCSI removable disk
Sep 14 14:54:44 REN027 kernel: [23041.558731] sd 10:0:0:1: Attached
scsi generic sg3 type 0

So I don't have any idVendor line in it. And changing udev rule gave no result.
I will try to upgrade Sdk and I will tell you what I get

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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



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

2009-09-14 Thread André Charles Legendre

Hi Mark

I finally succeed to install my apk from Kubuntu to a Samsung Galaxy
mobile following your link :
http://code.google.com/p/android/issues/detail?id=3293

I download and extract a patched adb from
http://floe.butterbrot.org/external/adb.gz
I intalled it at the place where is the standard 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-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 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 activity I want to cath this intent and first I write in
onCreate of this activity :

this.myIntentFilter.addAction(REFRESH_SEARCH_LIST);
this.myIntentReceiver = new MyIntentReceiver();
this.registerReceiver(this.myIntentReceiver, this.myIntentFilter);
Log.e(SendIntent, REFRESH_SEARCH_LIST);

And I define the class MyIntentReceiver as :

class MyIntentReceiver extends BroadcastReceiver {
private boolean active;

@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(REFRESH_SEARCH_LIST)) {
Log.e(INTENTRECEIVER, REFRESH_SEARCH_LIST);
 }
   }

Then I launch the app and I open log by adb logcat in a window

I get SendIntent REFRESH_SEARCH_LIST
but not INTENTRECEIVER REFRESH_SEARCH_LIST

Any Idea welcome

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 activity I want to cath this intent and first I write in
onCreate of this activity :

this.myIntentFilter.addAction(REFRESH_SEARCH_LIST);
this.myIntentReceiver = new MyIntentReceiver();
this.registerReceiver(this.myIntentReceiver, this.myIntentFilter);
Log.e(SendIntent, REFRESH_SEARCH_LIST);

And I define the class MyIntentReceiver as :

class MyIntentReceiver extends BroadcastReceiver {
private boolean active;

@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(REFRESH_SEARCH_LIST)) {
Log.e(INTENTRECEIVER, REFRESH_SEARCH_LIST);
 }
   }

Then I launch the app and I open log by adb logcat in a window

I get SendIntent REFRESH_SEARCH_LIST
but not INTENTRECEIVER REFRESH_SEARCH_LIST

Any Idea welcome

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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


2009/5/8 LambergaR martin.s...@gmail.com:

 I am having the same problem. Richards solution doasnt help either.

 Any advice?

 On 5 maj, 00:13, Jinru He mikehe1...@gmail.com wrote:
 Hi, Xavier,

 I encounter the same problem. and I am pretty sure that I didnot have
 thegenfolderbefore updating to ADT 0.9

 How can i solve this problem?

 Thanks!

 On 4月30日, 下午5时54分, Xavier Ducrohet x...@android.com wrote:

  When updating an old project that doesn't have thegensourcefolder
  setup, it first detects if thegenfolderalreadyexists, and if so,
  generates this error.
  The idea was tonotconvertand pre-existinggenfolder(or file) into
  an Eclipsesourcefolder.

  Are you sure you didn't have thegenfolderbefore updating to ADT 0.9?

  thanks
  Xav

  On Thu, Apr 30, 2009 at 2:46 PM, Richard Schilling

  richard.rootwirel...@gmail.com wrote:

   O.K. I resolved this.  The problem was related to the fact that
   Eclipse couldn't properly handle thegendirectory that it created.
   This error is generated:

   [2009-04-30 14:14:15 - MyApp] /MyApp/genalreadyexistsbutisnota
  sourcefolder.Convertto asourcefolderorrenameit.

   So, here's how I resolved this problem:

   1. Make sure Android 1.1 platform is selected for the project.
   2. Delete thegendirectory - let Eclipse update .classpath (if it
   asks).
   3. Clean the project - Eclipse will regenerate thegendirectory
   4. Add the directorygento the Javasourceclasspath if R.java cannot
   be resolved.
   5. Clean the project again.
   6. if you still have a problem with the above error showing up, delete
   thegendirectory again and let Eclipse regenerate it.

   This should clear up the error.  Perhaps a change to the Eclipse
   plugin or the Eclipse API needs to be made - I don't know.

  But, at least my projects are building now.

   Cheers,

   Richard Schilling
   Root Wireless, Inc.
  www.rootwireless.com

   On Apr 30, 2:34 pm, Richard Schilling richard.rootwirel...@gmail.com
   wrote:
   I also get this in the message window:

   [2009-04-30 14:14:15 - MyApp] /MyApp/genalreadyexistsbutisnota
  sourcefolder.Convertto asourcefolderorrenameit.

   Richard

   On Apr 30, 2:29 pm, Richard Schilling richard.rootwirel...@gmail.com
   wrote:

I have a number of projects that were built and ran just fine under
the 1.1 version of the SDK.  I'm updating all of my projects.  Some
projects update with no problem.

   But, some Eclipse projects don't regenerate R.java properly in thegen
directory.

I've set the Android platform to 1.1.
I've cleaned the project.
I've refreshed the project.
R.java is stillnotbeing generated.

Help!  This issue prevents production applications from being bult at
the moment.

Richard Schilling
Root Wireless- Hide quoted text -

   - Show quoted text -

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.


 


--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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() {
public void onFocusChanged(ItemizedOverlay overlay, OverlayItem 
newFocus) {
if (newFocus != null) {
Log.e(MapViewDemo, MapViewDemo ChangeFocus  
+ newFocus.getTitle());
}
MapViewDemo.this.selectedSearchText = newFocus;
}
};

where MapViewDemo is the MapView.
Then you must affect it to the ItemizedOverlay of your MapView using
setOnFocusChangeListener

myItemizedOverlay.setOnFocusChangeListener(FOCUS_LISTENER);

Last you can use MapViewDemo.this.selectedSearchText in the draw
method of the Overlay for exemple (code inside draw method :

if (MapViewDemo.this.selectedSearchText != null) {
GeoPoint geoPoint = MapViewDemo.this.selectedSearchText.getPoint();
Point point = new Point();
myprojection.toPixels(geoPoint, point);
   drawInfoWindow(point);
}

Where drawInfoWindow can be a method to display some info about the
selected item


Hope this help

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@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: OnfocusChangeListener question

2009-05-06 Thread André Charles Legendre

Hi I finally succeed to use ItemizedOverlay.OnfocusChangeListener in
my Map Overlay but it onFocusChanged is called only when I click in
one Item (in same time that OnTap do it) bu not when I point one Item.

The only difference is that OnFocusChanged is call even if I click
outside one Item (I 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.
 I don't know if ItemizedOverlay.OnfocusChangeListener is the good tool
 for that and how to use it.

 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@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 (in same time that OnTap do it) bu not when I point one Item.

 The only difference is that OnFocusChanged is call even if I click
 outside one Item (I 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.
 I don't know if ItemizedOverlay.OnfocusChangeListener is the good tool
 for that and how to use it.

 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@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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, 
MINIMUM_DISTANCECHANGE_FOR_UPDATE,
new Intent(MY_LOCATION_CHANGED_ACTION));


Can we change Time and distance for updates when using MyLocationOverlay ?

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@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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:
/system/usr/keychars/qwerty.kcm.bin

I am working with a Hp Laptop with US qwerty keyboard and Kubuntu 8.04.

Any idea ?

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@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 so if he wants.

But actual solution seems to be very poor and not very user friendly.

Regards

Andre Legendre

--~--~-~--~~~---~--~~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 MapViewDemo.java provided in samples.

My manifest is :

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=org.example.android.apis
  android:versionCode=1
  android:versionName=1.0
application android:label=@string/app_name
android:icon=@drawable/icon
uses-library android:name=com.google.android.maps /
 activity android:name=.MapViewDemo android:label=@string/app_name
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
/application
uses-sdk android:minSdkVersion=3 /
uses-permission android:name=android.permission.INTERNET /
uses-permission android:name=android.permission.ACCESS_FINE_LOCATION 
/
/manifest

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 to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 but code) it seems to me that
javadoc from Open Java is GPL also.

About NDA and Apache V2 it s interesting to know that it is some
discussions inside the Apache foundation about limits of what you can
put in NDA not to violate open standard requirements.

To explain that we are not completely stupid to think that protecting
new versions of SDK by NDA violate Open Standard Requirements,  you
will find below a document coming from :

http://www.opensource.org/osr

Open Standards Requirement for Software
Mon, 2006-07-24 22:14 — Michael Tiemann
The Requirement

An open standard must not prohibit conforming implementations in
open source software.
The Criteria

To comply with the Open Standards Requirement, an open standard must
satisfy the following criteria. If an open standard does not meet
these criteria, it will be discriminating against open source
developers.

   1. No Intentional Secrets: The standard MUST NOT withhold any
detail necessary for interoperable implementation. As flaws are
inevitable, the standard MUST define a process for fixing flaws
identified during implementation and interoperability testing and to
incorporate said changes into a revised version or superseding version
of the standard to be released under terms that do not violate the
OSR.
   2. Availability: The standard MUST be freely and publicly available
(e.g., from a stable web site) under royalty-free terms at reasonable
and non-discriminatory cost.
   3. Patents: All patents essential to implementation of the standard MUST:
  * be licensed under royalty-free terms for unrestricted use, or
  * be covered by a promise of non-assertion when practiced by
open source software
   4. 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.
   5. No OSR-Incompatible Dependencies: Implementation of the standard
MUST NOT require any other technology that fails to meet the criteria
of this Requirement.


I think that Android team, should give back some comments.

Regards

Andre Charles Legendre

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 that it would be a good news..

But SDK use a lot of open source projects : WebKit, OpenGl ES, SGL,
OpenCore, FreeType, eclipse, linux libraries etc...

The free side give a big competitive advantage to Android, because
Android get very good code, ready made and tested.
And Android get a good image and use it because it is 'Open' at the
contrary of some competitors.

As some of libraries of Android SDK are derivative work from projects
licensed under GPL, Berkley etc... it is not so simple to say that
Android SDK is not or does not needed to be open source.

My aim is not to open a class action etc... my aim is to get attention
of Android team on this issue.

As Android Team want and say that Android is an open project it would
be nice for us that they release last version to us.

Regards

Andre Charles Legendre

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 open source initiative
rules whatever open source license you have.

It means that Android teams should publish it to us as soon as possible.

Not only to be respectful of license but to be respectful for people
who started here because they trusted Android team.

If SDK is closed; it should be official because open is written
everywhere in Android website and many people can misunderstand.

If you mean that Google does not care because that they have so much
money and lawyers that they have not to respect licenses, it seems to
me a very poor argument.

And I cannot believe that anybody in Google could have this way of thinking.

Mistake has a bigger probability.
Mistakes can always be corrected.

Regards

Andre Charles Legendre

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 :
http://www.opensource.org/board

Personally I believe that this requirement is normal and problems that
we have now with Android are a good demonstration : the community out
of the NDA is locked and unhappy.

Regards

Andre Charles Legendre

http://www.opensource.org/osr

Open Standards Requirement for Software
Mon, 2006-07-24 22:14 — Michael Tiemann
The Requirement

An open standard must not prohibit conforming implementations in
open source software.
The Criteria

To comply with the Open Standards Requirement, an open standard must
satisfy the following criteria. If an open standard does not meet
these criteria, it will be discriminating against open source
developers.

   1. No Intentional Secrets: The standard MUST NOT withhold any
detail necessary for interoperable implementation. As flaws are
inevitable, the standard MUST define a process for fixing flaws
identified during implementation and interoperability testing and to
incorporate said changes into a revised version or superseding version
of the standard to be released under terms that do not violate the
OSR.
   2. Availability: The standard MUST be freely and publicly available
(e.g., from a stable web site) under royalty-free terms at reasonable
and non-discriminatory cost.
   3. Patents: All patents essential to implementation of the standard MUST:
  * be licensed under royalty-free terms for unrestricted use, or
  * be covered by a promise of non-assertion when practiced by
open source software
   4. 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.
   5. No OSR-Incompatible Dependencies: Implementation of the standard
MUST NOT require any other technology that fails to meet the criteria
of this Requirement.

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 same question than me (consider
the fact that part of SDK are derivative from GPL projects).

Below a statement from Richard Stallman who details its answer so it
would be easier to read without mistake :

This is the mail archive of the [EMAIL PROTECTED] mailing list for the
GCC project.
Index Nav:  [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav:[Date Prev] [Date Next] [Thread Prev] [Thread Next]
GPL and NDA

* To: gcc at gcc dot gnu dot org
* Subject: GPL and NDA
* From: Richard Stallman rms at gnu dot org
* Date: Thu, 19 Jul 2001 05:07:10 -0600 (MDT)
* Reply-to: rms at gnu dot org

GPL-covered code may not be distributed under an NDA.
To do so is a violation of the GPL.

If someone asks you to sign an NDA for receiving GPL-covered code that
is copyright FSF, please inform the FSF immediately.  If it involves
GPL-covered code that has some other copyright holder, please inform
that copyright holder, just as you would for any other kind of
violation of the GPL.

It is possible for a person or company to develop changes to a
GPL-covered program and sign an NDA promising not to release these
changes *to anyone*.  This is a different case.  As long as these
changes are not distributed at all, a fortiori they are not
distributed in a way that violates the GPL.

However, if and when the changes are distributed to another person or
outside the company, they must be distributed under the terms of the
GPL, not under an NDA.

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 following text :

The GPL does not require you to release your modified version, or
any part of it. You are free to make modifications and use them
privately, without ever releasing them. This applies to organizations
(including companies), too; an organization can make a modified
version and use it internally without ever releasing it outside the
organization.

But if you release the modified version to the public in some way,
the GPL requires you to make the modified source code available to the
program's users, under the GPL.

Thus, the GPL gives permission to release the modified program in
certain ways, and not in other ways; but the decision of whether to
release it is up to you.

It seems to me that, as soon as Android team publish new SDK release
to the winners (including Linux and other GPL code) they should
publish it with GPL license and it should be public to all of us.

I would like to have official Android team opinion about that, it
seems to me very important.

I just cannot believe that Android team could made some major GPL
violation with the agreement of Google legal division.
Sometime we make mistake, sometime it is better to correct them.

Regards

Andre Charles Legendre

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 redistribute copies, modified or not. You are not allowed to
distribute the work on any more restrictive basis.

If someone asks you to sign an NDA for receiving GPL-covered
software copyrighted by the FSF, please inform us immediately by
writing to [EMAIL PROTECTED]

If the violation involves GPL-covered code that has some other
copyright holder, please inform that copyright holder, just as you
would for any other kind of violation of the GPL.


I would like to have an answer from Android team about this FSF
position about NDA and by extension I would like to know if Android
Team plan to publish new release to all of us.
All of us got big damages by the fact that we are locked and that we
cannot compete anymore with people having last release.
Some young company, who invested a lot around android are now
completely stuck because of this issue.

In any case it seems to me that most of Android community think that
it is not fair to keep private new release of SDK.

Regards

Andre Charles Legendre

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 redistribute copies, modified or not. You are not allowed to
distribute the work on any more restrictive basis.

If someone asks you to sign an NDA for receiving GPL-covered
software copyrighted by the FSF, please inform us immediately by
writing to [EMAIL PROTECTED]

If the violation involves GPL-covered code that has some other
copyright holder, please inform that copyright holder, just as you
would for any other kind of violation of the GPL.


I would like to have an answer from Android team about this FSF
position about NDA and by extension I would like to know if Android
Team plan to publish new release to all of us.
All of us got big damages by the fact that we are locked and that we
cannot compete anymore with people having last release.
Some young company, who invested a lot around android are now
completely stuck because of this issue.

In any case it seems to me that most of Android community think that
it is not fair to keep private new release of SDK.

Regards

Andre Charles Legendre

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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:

 You may find this post (http://dtmilano.blogspot.com/2008/03/android-
 playing-with-intents-this.html) useful.

 On Jun 16, 11:11 am, Pierre [EMAIL PROTECTED] wrote:
 Hi,all

 Anybody can tell me how to broadcast an intent?

 Thanks in advance!

 Pierre
 


--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 have a walled garden than no garden at all...
3) 8.75 million not reachable is like nothing. 150 million founded
around iPhone reachable is not so bad and 150 million around RIM is
not so bad and millions of customers is a lot more...

Just one question is Android alive ?
We (standard developers) have no news (nothing) from months.
If Android team still exist for Android community (some of us are
still interested), Android community probably not exist anymore for
Android team.

Our value is less than a post in any blog, any forum, zero...

Why ? Understand who can...

Andre Charles Legendre

On Mon, Jun 16, 2008 at 6:59 PM, Vas -- Silicon Alley Insider
[EMAIL PROTECTED] wrote:

 Hi all, I wrote a story about Android on Silicon Alley Insider.

 http://www.alleyinsider.com/2008/6/three_reasons_why_android_developers_aren_t_flocking_to_the_iphone

 Read it and let me know what you think.
 


--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 explanation is also not very
typical of Open Source Projects

If you have another example, just let me know.

I am sure, Mark, that Android team will want to support here what you say.
And this will close in a very nice way our doubts.

Regards

Andre Charles Legendre
On Mon, Jun 16, 2008 at 7:41 PM, Mark Murphy [EMAIL PROTECTED] wrote:

 Just one question is Android alive ?

 Sure seems that way.

 We (standard developers) have no news (nothing) from months.

 If by months you mean a few weeks, then perhaps that's true.

 Google I/O had a fair bit about Android, some of which was picked up by
 the press. You can watch the sessions at:

 http://sites.google.com/site/io/

 They have reiterated that devices should be available by the end of the
 year. While there has been no new SDK release recently, that's in line
 with what we have found out -- the ADC winners are kicking the tires on
 newer SDK builds before the public gets them.

 So, I'm not quite sure why you think we have had no news from [sic]
 months.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com
 _The Busy Coder's Guide to Android Development_ -- Available Now!


 


--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 interest in VM internals. mobile
manufacturers have some.

But how can you use Linux OS based on GPL and keep your code private ?

Mobile manufacturers are 100% allowed to keep Drivers private if they
don't use GPL code.

But the kernel of Android based on Linux kernel and all other library
based on Linux library should be published without delay.

Linux Kernel code and all that staff belong to all those people
contributing for free for Open Source Projects Only.
And I don't speak about the use of Java specs etc...

And because that Android them is using so much from open source
projects (Bravo) they should consider Open source community and
respect its rules.

We was happy about Android team choice (OS based on open source)
because we supposed that it would be respecting the rules.

Regards

Andre Charles Legendre

--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[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 the
 keystore and decrypt it on demand? I believe this is the approach used
 by many keystore implementations.

 Cheers,
 Justin


 On Jun 10, 5:06 am, rayback_2 [EMAIL PROTECTED] wrote:
 Hi

 My puprose is to safely store a secretkeys ,used for encryption/
 decryption process., in a keystore file in android. The keystore is
 password protected, but open to brute force attacks if it can be
 exported to regular PCs.

 I read in SDK that application can not access private memory of other
 applications, which is great, so inside a phone I am considering
 myself as safe. My concern is when the phone (device) is connected to
 computer, then everything is exportable to computer (as in emulator),
 and so is the keystore file which is then open to attacks.

 One solution to this would be to use cryptographic mini/microSD cards,
 but its rather expensive (and beside could not find such a product
 too).

 So my question is : Is there any area inside an android, where we
 could keep a private data which will not be exportable in any way ?

 Sincerely
 Ray
 


--~--~-~--~~~---~--~~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---