[android-developers] Re: Troubles with in app purchases

2016-07-04 Thread Pierre-Antoine Péron
Anybody?


Le dimanche 3 juillet 2016 22:48:03 UTC+2, Pierre-Antoine Péron a écrit :
>
> Hi
>
> I experience a big problem regarding in app purchases. In fact, when I try 
> to make a purchase, the google play purchase window opens twice although 
> other developers did not have the same issue with the same code. I am 
> getting a bit desperate as it is one of the last thing to do before 
> publishing.
>
> I am using Corona SDK and I already asked the questions to them but no 
> solution was found to fix the issue (everything else is working fine).
>
> I attach a screenshot where we can see the window opening twice (one 
> behind the other).
>
> Thanks in advance for your replies
>
> Pierre Péron
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ff760983-9c18-4b80-ac14-f21ebec5c2ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Troubles with in app purchases

2016-07-03 Thread Pierre-Antoine Péron
Hi

I experience a big problem regarding in app purchases. In fact, when I try 
to make a purchase, the google play purchase window opens twice although 
other developers did not have the same issue with the same code. I am 
getting a bit desperate as it is one of the last thing to do before 
publishing.

I am using Corona SDK and I already asked the questions to them but no 
solution was found to fix the issue (everything else is working fine).

I attach a screenshot where we can see the window opening twice (one behind 
the other).

Thanks in advance for your replies

Pierre Péron

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/9eed5089-0a1d-48b0-8935-01abfac638fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: How do I show a call screen when my VoIP application is on background?

2013-11-25 Thread pierre
You may use PowerManager.WakeLock with ACQUIRE_CAUSES_WAKUP and 
ON_AFTER-RELEASE flags (and apropriate authorizations).
  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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Tablette M711 sous Android 2.3.4 / M711 tablet

2012-09-14 Thread Pierre CORDEBAR
Bonjour! Je viens d'acheter une tablette M711 qui est sous Android 2.3.4 et 
je cherche son adresse mac, aidez-moi svp.
Hi! I just bought a M711 tablet with Android 2.3.4 and looking for its mac 
address! 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] [CTS-2.3-R12] MediaStress test fail for Vp8R480x360LongPlayerTest

2012-03-22 Thread Pierre
Hello guys,

I run android cts-2.3-R12 test and then got Vp8R480x360LongPlayerTest item 
failed.
The cts command is shown as below:
start --plan CTS -p android.mediastress.cts.Vp8R480x360LongPlayerTest
The test case would play a webm file, but it will crash when playing at any 
time.

Here is the log I got.

01-03 00:38:09.615 I/DEBUG   (  155): Build fingerprint: 
'LePhone/apollohd_w/apollohd_w:2.3.5/GRJ90/1.0.14:user/release-keys'
01-03 00:38:09.615 I/DEBUG   (  155): pid: 157  /system/bin/mediaserver 
 tid: 2375  AudioTrackThrea 
01-03 00:38:09.615 I/DEBUG   (  155): signal 11 (SIGSEGV), code 1 
(SEGV_MAPERR), fault addr 9244a202
01-03 00:38:09.615 I/DEBUG   (  155):  r0 9244a202  r1 002041f0  r2 
a30029d5  r3 001f7100
01-03 00:38:09.715 I/DEBUG   (  155):  #00  pc 00100b72 
 /system/lib/libstagefright.so  \Global\android::BlockIterator::advance
01-03 00:38:09.715 I/DEBUG   (  155):  #01  pc 00100c1c 
 /system/lib/libstagefright.so   \Global\android::MatroskaSource::readBlock

According the log, it looks like there has some problem in Matroska 
extractor.
But, I have no idea to fix it.

Does anybody meet this problem before?  or some idea for this issue?

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

[android-developers] Re: MediaPlayer setDisplay

2012-02-29 Thread Pierre Souchay
Hi Cliffus,

I have exactly the same issue here. A service handing the MediaPlayer,
and I would like to disconnect/reconnect the video when activities are
launched/stopped. I tried several strategies :
 - creatig a false Surface Holder that would hide the surface
destroyed and delegating to the real SurfaceHolder when set.
 - Using setDisplay(null), not setting it to null when surface is
destroyed...

None of these strategies seems to work, at least on the two devices I
am testing. IMHO, when using setDisplay(null) or when the Surface
becomes invalid, the MediaPlayer is not working for Video anymore... I
see two possibilities to solve this :
 - use two separate streams, one for video, the other for audio, and
enable only video when creating the activities
 - when creating an activity if setDisplay() has already been called
once, create a new MediaPlayer, prepare it and when it is ready,
replace the old MediaPlayer... but unfortunatly, it will create an
Audio artifact :(

Do you have other ideas ?

Cheers

Pierre Souchay

On 27 fév, 17:01, Cliffus cliff.ophalv...@gmail.com wrote:
 Hi

 we're creating an application for a radio station. The concept of the
 application is a little bit different than a normal radio application.
 When the user hits the play button, a video starts playing (webcam)
 and with the audio in the background. To accomplish this, a have a
 background service with a Mediaplayer object. From activity A, I start
 the service and connect a surfaceview to it with the 'setDisplay'
 method.

 When navigating from Activity A to Activity B, in 'onPause', I
 disconnect the surfaceview from the mediaplayer. When Activity B is
 created, you can stil hear the audio from the video stream playing in
 the background (that's a good thing!).

 When the user hits the back button, Activity B is finishing and
 Activity A resumes. In 'onResume', I reconnect the surfaceview with
 the mediaplayer (which is playing in the background surface). But now
 the surfaceview stays black, the audio is stil playing though.

 I don't have this issue on my Galaxy nexus (Android 4), but I wonder
 if anyone has a solution for this 'bug'?

 Thanks in advance!
 Cliff

-- 
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: [android-developers] Re: Help!!!

2012-02-06 Thread PIERRE GALOIS GUEVARA DONGO
I was looking but i cant find a way to fix mi X8 =(!!! please someone help
me your developers some of you have to know how help me!!! PLEASEE!!

2012/2/6 Mertuarez kamil.javor...@gmail.com

 I have HTC but i think there is now way how to literally brick
 phone.
 You just dont have right SWare utility,FWare version and amount of
 information about your phone.

 Just keep looking. Some where. There are many modes how to turn on the
 phone and how to put in OSystem.

 Sorry for this but i cant help you.

 On 5. Feb, 22:26 h., PIERRE GALOIS GUEVARA DONGO
 pgueva...@upao.edu.pe wrote:
  I need help with my Xperia X8, because try to unlock the bootloader
  and now does not run, as if dead, I connect to the PC and does not
  work, is literally dead, I can do something to get my phone? I need
  help please

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


-- 
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] Help!!!

2012-02-05 Thread PIERRE GALOIS GUEVARA DONGO
I need help with my Xperia X8, because try to unlock the bootloader
and now does not run, as if dead, I connect to the PC and does not
work, is literally dead, I can do something to get my phone? I need
help please

-- 
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: Generate keypress when moving phone

2011-12-15 Thread Charly Pierre
Debug your app.
hm... I never thought about that... really thanks !

for the stack trace i don't have it cause i can't test movements on
computer :$... i just have the message fermeture soudaine de
l'application... merci de réessayer = sudden closure of thank
to retry on my phone...
i try with :
public static void PressTheKeyRIGHT() {

Instrumentation i = new Instrumentation();
i.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT);

}
and
public static void PressTheKeyRIGHT() {
new
Instrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT);
}

and again

public static void.PressTheKeyRIGHT() {

Instrumentation i = new Instrumentation();
 new Thread(new Runnable() {
  public void run() {
   new
Instrumentation().sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_RIGHT);
  }
 }).start();

}

but nothing to do, nothing work...

on my computer i use (and for my computer), i use

public static void.PressTheKeyENTER() {// example with ENTER on
computer
Robot robot = new Robot();

robot.keyPress(KeyEvent.VK_ENTER); // example with ENTER on 
computer
robot.delay(Delay);
robot.keyRelease(KeyEvent.VK_ENTER);// example with ENTER on
computer
robot.delay(Delay);
}

but Robot class doesn't exist for android...

Have u ideas (other than Debug your app.) ?
Thx



On 13 déc, 00:38, TreKing treking...@gmail.com wrote:
 On Mon, Dec 12, 2011 at 4:01 PM, Charly Pierre 
 charlypierr...@gmail.comwrote:

  My program detect the movement and print a message (when i replace
  SimulationKey.PressTheKeyRIGHT(); by a message), but crash when call
  the function to do a keypress

  Any idea ?

 Debug your app. At least post a stacktrace if you expect help with a
 crash.

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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] Generate keypress when moving phone

2011-12-12 Thread Charly Pierre
Hello all,

I want to generate a presskey when i move my phone.

i try with that but it doesn't work = crash

x = values[SensorManager.DATA_X] * 9;
if (x =45 ) {
 SimulationKey.PressTheKeyRIGHT();
}

// in Simulation class
public static void pressTheKeyRIGHT() {
 Instrumentation i = new Instrumentation();
 i.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_LEFT);
}

My program detect the movement and print a message (when i replace
SimulationKey.PressTheKeyRIGHT(); by a message), but crash when call
the function to do a keypress

Any idea ?

Thx :)

-- 
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] Easy way to send a Contact over Bluetooth (in standard format)?

2011-07-26 Thread Pierre
Hi, is there an easy way to send a Contant via Bluetooth, from code of
course? Preferably in a format not only other Android devices will
understand but as a wide selection of other brands as possible.
Thanks!

-- 
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] Like Quartz

2011-06-09 Thread Pierre Diderot II
Hi guys, I'm looking for a feature that wakes up from time to time to
make particular actions, I know that there is quartz, but quartz
doesn't exists in Android, do anyone have any solution? Thanks a lot!!!

-- 
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: RFID tag detection

2011-05-18 Thread Pierre Yaacoub
I see what you mean; the RFID tags I am using are 13.56 Mhz, and the
Nexus S can detect them and .

If my understanding is correct, the way it happens is that when an
13.56 RFID or NFC tag is detected, a new intent is thrown with some
kind of special added data and we resolve this intent to get the
information out of it.
I am doing the following:

1) call the resolveintent(Intent intent) function
2) Check if the action in the intent is TAG_DISCOVERED (this is
always the case with my tags, maybe because they're not a type android
is familiar with)
3) Then, I want to extract this UID: what should i call?
intent.get ?
  Note: I tried   Parcelable[] rawMsgs =
intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES);  as
isdescribed on the android website, but it returned null,
probably because the tag type is unknown



Thank you very much

Pierre

On May 18, 2:34 am, nemik ne...@nemik.net wrote:
 I don't know about a bit vector but most NFC tags (whether type A,
 B, Mifare 1k/Ultralight/etc) all have a UID. This is a unique
 identifier for the tag and what you're looking for.

 But the tags you use will have to be of the 13.56 MHz hi-frequency
 variety. You won't be able to read most older HID Prox cards for
 example because they operate on the 125 kHz frequency.

 On May 17, 5:19 pm, Pierre Yaacoub pierreyaac...@gmail.com wrote:







  Hello,

  I am trying to build an application that uses the new Android
  capability of detectingRFID(NFC) tags.
  The tags that I have are not NFC tags, that is, they are not of a
  special type (like URI ...).
  For my purposes, I do not care about parsing the tag data in a certain
  way (as would be the case in some NFC tags like URI or SmartText). I
  just need to access the bit vector that the tag sends, and use it as a
  unique identifier.

  Is it possible to do this? That is, if the tag is anRFIDtag that is
  being detected by the phone, but isn't of any special type, can I
  access its bit vector?

  Thank you very much

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


Re: [android-developers] Re: RFID tag detection

2011-05-18 Thread Pierre Yaacoub
I see what you mean; the RFID tags I am using are 13.56 Mhz, and the Nexus S
can detect them and .

If my understanding is correct, the way it happens is that when an 13.56
RFID or NFC tag is detected, a new intent is thrown with some kind of
special added data and we resolve this intent to get the information out
of it.
I am doing the following:

1) call the resolveintent(Intent intent) function
2) Check if the action in the intent is TAG_DISCOVERED (this is always the
case with my tags, maybe because they're not a type android is familiar
with)
3) Then, I want to extract this UID: what should i call? intent.get ?
  Note: I tried   Parcelable[] rawMsgs =
intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES);  as
isdescribed on the android website, but it returned null, probably
because the tag type is unknown


Thank you very much

Pierre




On Wed, May 18, 2011 at 2:34 AM, nemik ne...@nemik.net wrote:

 I don't know about a bit vector but most NFC tags (whether type A,
 B, Mifare 1k/Ultralight/etc) all have a UID. This is a unique
 identifier for the tag and what you're looking for.

 But the tags you use will have to be of the 13.56 MHz hi-frequency
 variety. You won't be able to read most older HID Prox cards for
 example because they operate on the 125 kHz frequency.

 On May 17, 5:19 pm, Pierre Yaacoub pierreyaac...@gmail.com wrote:
  Hello,
 
  I am trying to build an application that uses the new Android
  capability of detecting RFID (NFC) tags.
  The tags that I have are not NFC tags, that is, they are not of a
  special type (like URI ...).
  For my purposes, I do not care about parsing the tag data in a certain
  way (as would be the case in some NFC tags like URI or SmartText). I
  just need to access the bit vector that the tag sends, and use it as a
  unique identifier.
 
  Is it possible to do this? That is, if the tag is an RFID tag that is
  being detected by the phone, but isn't of any special type, can I
  access its bit vector?
 
  Thank you very much
 
  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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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: [android-developers] Re: RFID tag detection

2011-05-18 Thread Pierre Yaacoub
Thank you very much Adam.

This is indeed the way to do it, and even though I found it out just about
an hour ago, I'm still very thankful to you guys.

Regards




On Wed, May 18, 2011 at 7:40 PM, nadam a...@anyro.se wrote:

 Not sure if this is what you want, but here is how you get the ID from
 the intent:

  byte[] id = intent.getByteArrayExtra(NfcAdapter.EXTRA_ID);

 /Adam

 On 18 Maj, 00:19, Pierre Yaacoub pierreyaac...@gmail.com wrote:
  Hello,
 
  I am trying to build an application that uses the new Android
  capability of detecting RFID (NFC) tags.
  The tags that I have are not NFC tags, that is, they are not of a
  special type (like URI ...).
  For my purposes, I do not care about parsing the tag data in a certain
  way (as would be the case in some NFC tags like URI or SmartText). I
  just need to access the bit vector that the tag sends, and use it as a
  unique identifier.
 
  Is it possible to do this? That is, if the tag is an RFID tag that is
  being detected by the phone, but isn't of any special type, can I
  access its bit vector?
 
  Thank you very much
 
  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
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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] RFID tag detection

2011-05-17 Thread Pierre Yaacoub
Hello,

I am trying to build an application that uses the new Android
capability of detecting RFID (NFC) tags.
The tags that I have are not NFC tags, that is, they are not of a
special type (like URI ...).
For my purposes, I do not care about parsing the tag data in a certain
way (as would be the case in some NFC tags like URI or SmartText). I
just need to access the bit vector that the tag sends, and use it as a
unique identifier.

Is it possible to do this? That is, if the tag is an RFID tag that is
being detected by the phone, but isn't of any special type, can I
access its bit vector?

Thank you very much

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


[android-developers] Re: Intercept bluetooth headset button or action (again...)

2011-01-14 Thread Jean-Pierre
Same problem over here on HTC Desire with 2.2.

I have a broadcastreceiver listening for the intent
android.intent.action.MEDIA_BUTTON.
Unfortunately always when i press the bluetooth headsets button a
redial (call) is made.
I'm already calling registerMediaButtonEventReceiver(...); in my
onCreate.

For test purposes i added the intent
android.bluetooth.adapter.action.STATE_CHANGED to my
broadcastreceiver in the manifest.
Using this intent my App starts whenever i switch off bluetooth.

It would be grate if anyone has an idea!

On 4 Jan., 01:19, mrqzzz marcus.ob...@gmail.com wrote:
 Hi.
 I already found this question, but without any working answer in this
 group:

 How do i intercept a blutooth headset's button press (or eventually
 the action it calls) ?

 I already tried using a receiver for the action
 android.intent.action.MEDIA_BUTTON but it works only for the regular
 wired headset, not with the bluetooth headset.
 Also a receiver with android.intent.action.VOICE_COMMAND does not
 work.

 Thank you,
 Marcus.

-- 
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] Setting Custom ringtone to contacts

2010-12-13 Thread pierre
Hello,

I have created an activity that copies an MP3 file from the assets to
the SD card, then sets that MP3 file as the default ringtone.

// file is the file on the SD card
ContentValues values = new ContentValues();
values.put(MediaStore.MediaColumns.DATA,
file.getAbsolutePath());
values.put(MediaStore.MediaColumns.TITLE, my_title );
values.put(MediaStore.MediaColumns.SIZE, file.length());
values.put(MediaStore.MediaColumns.MIME_TYPE, audio/mp3);
values.put(MediaStore.Audio.Media.ARTIST, my_artist );
values.put(MediaStore.Audio.Media.DURATION, duration );
values.put(MediaStore.Audio.Media.IS_RINGTONE, true);
values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
values.put(MediaStore.Audio.Media.IS_ALARM, false);
values.put(MediaStore.Audio.Media.IS_MUSIC, false);
Uri uri =
MediaStore.Audio.Media.getContentUriForPath(file.getAbsolutePath());
Uri ringtoneUri = getContentResolver().insert(uri, values);
 
RingtoneManager.setActualDefaultRingtoneUri( this 
,RingtoneManager.TYPE_RINGTONE,
ringtoneUri );

That works fine.
What I want to do now is to set a custom ringtone for a specific
contact.
I tried this.

Uri contactUri =
ContentUris.withAppendedId(People.CONTENT_URI, 23 );
ContentValues values = new ContentValues();
values.put( ContactsContract.Contacts.CUSTOM_RINGTONE,
ringtoneUri.toString() );
values.put( Contacts.PeopleColumns.CUSTOM_RINGTONE,
ringtoneUri.toString() );
getContentResolver().update( contactUri, values, null,
null ); //where, args );

This does not work.
The ringtone is not assigned to the contact.
Can anyone help ?
What I am doing wrong ?

Thanks.

-- 
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: Setting Custom ringtone to contacts

2010-12-13 Thread pierre
Update:

This code works on Android 1.6, but not on 2.2.1.
Does anyone know how to update this code so it will work on 2.2.1 ?

Thanks.


On Dec 13, 12:17 am, pierre scoka...@gmail.com wrote:
 Hello,

 I have created an activity that copies an MP3 file from the assets to
 the SD card, then sets that MP3 file as the default ringtone.

         // file is the file on the SD card
         ContentValues values = new ContentValues();
         values.put(MediaStore.MediaColumns.DATA,
 file.getAbsolutePath());
         values.put(MediaStore.MediaColumns.TITLE, my_title );
         values.put(MediaStore.MediaColumns.SIZE, file.length());
         values.put(MediaStore.MediaColumns.MIME_TYPE, audio/mp3);
         values.put(MediaStore.Audio.Media.ARTIST, my_artist );
         values.put(MediaStore.Audio.Media.DURATION, duration );
         values.put(MediaStore.Audio.Media.IS_RINGTONE, true);
         values.put(MediaStore.Audio.Media.IS_NOTIFICATION, false);
         values.put(MediaStore.Audio.Media.IS_ALARM, false);
         values.put(MediaStore.Audio.Media.IS_MUSIC, false);
         Uri uri =
 MediaStore.Audio.Media.getContentUriForPath(file.getAbsolutePath());
         Uri ringtoneUri = getContentResolver().insert(uri, values);

 RingtoneManager.setActualDefaultRingtoneUri( this 
 ,RingtoneManager.TYPE_RINGTONE,
 ringtoneUri );

 That works fine.
 What I want to do now is to set a custom ringtone for a specific
 contact.
 I tried this.

                 Uri contactUri =
 ContentUris.withAppendedId(People.CONTENT_URI, 23 );
                 ContentValues values = new ContentValues();
                 values.put( ContactsContract.Contacts.CUSTOM_RINGTONE,
 ringtoneUri.toString() );
                 values.put( Contacts.PeopleColumns.CUSTOM_RINGTONE,
 ringtoneUri.toString() );
                 getContentResolver().update( contactUri, values, null,
 null ); //where, args );

 This does not work.
 The ringtone is not assigned to the contact.
 Can anyone help ?
 What I am doing wrong ?

 Thanks.

-- 
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] drawCircle call causes an extra elipse draw in a custom Drawable object for google map overlay using google map android API

2010-12-06 Thread Pierre-yves

Hi,

I'm trying to draw a circle on a MapView.

I created my own drawble object to be passed to an ItemizedOverlay

class MyDrawableMarker extends Drawable{

@Override
public void draw(Canvas canvas) {

Paint p = new Paint();

p.setColor(Color.RED);
p.setStyle(Paint.Style.FILL);
p.setAntiAlias(true);
p.setAlpha(100);

canvas.drawCircle(0, 0, 100, p);


}

@Override
public int getOpacity() {

return PixelFormat.TRANSPARENT ;
}

@Override
public void setAlpha(int alpha) {


}

@Override
public void setColorFilter(ColorFilter cf) {


}};

It works find but the drawCircle call also draw a elipse, and if a try
to draw a rectangle, an extra rectangle it also draw.

Is it a 2D/3D configuration problem?

-- 
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: [android-developers] Eclipse problems

2010-08-10 Thread georges pierre
Thank you very mutch adal for your answer ! Thanks :)

2010/8/9 Adal arpi...@gmail.com

 Could it be that you've tried to run with an xml file open an with focus?

 If it's the case, delete the extra .xml file that eclipse have created,
 then go to problems, and delete the problem.

 On Mon, Aug 9, 2010 at 12:28 PM, James dr.remis...@gmail.com wrote:

 Hi Everybody,
 I tried to run android application with eclipse but it always appear
 ''your project contains error(s), please fix them before running your
 application android'' !
 I can't open it ! i don't find the solution !

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


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


-- 
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] Determine if my application is visible on screen

2010-05-04 Thread Pierre
I need a system to determine if my application is visible on screen.
My app is running gps, network request, etc ... and I want to disable
them when my app is not running or visible on screen

Do you know how to do that ?

Thanks !

-- 
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: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-26 Thread Blake La Pierre
N1 in Connecticut.

On Thu, Mar 25, 2010 at 8:39 PM, Jason Arora jaso...@gmail.com wrote:

 There are 2 ways to uninstall applications:
 1) Market-Downloads (this will prompt you)
 2) Home-Menu-Settings-Manage Applications (no prompt)

 On Mar 23, 9:38 am, TreKing treking...@gmail.com wrote:
  On Tue, Mar 23, 2010 at 11:09 AM, Mark Murphy mmur...@commonsware.com
 wrote:
 
   David Horn wrote:
I never get that!
 
   I seem to get this sporadically. I haven't deduced a pattern yet. It's
   not free vs. paid, AFAICT.
 
  Really? Weird. I get it every time I uninstall something, free or paid.
  Maybe it's a phone thing? I'm on G1 with 1.6.
 
 
 -
  TreKing - Chicago transit tracking app for Android-powered deviceshttp://
 sites.google.com/site/rezmobileapps/treking

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-24 Thread Blake La Pierre
Where did you find live chat? All I can find is phone numbers to call.

On Wed, Mar 24, 2010 at 2:40 PM, Bryan Allen browne.al...@gmail.com wrote:

 Live chat with FedEx works great. Your address, the shipper name, and
 you're golden. I spent about 4 minutes on it and found out it's arriving
 today! Better than a 20 minute hold on the phone.

 -Bryan



 On Wed, Mar 24, 2010 at 1:14 PM, abowman abow...@gmail.com wrote:

 If you trust your neighbors, just leave a note for them to leave the
 package at your door.


 On Mar 24, 1:19 pm, JasonC jcohe...@gmail.com wrote:
  Ya Rocco, they will give you the info even without a tracking number.
  I called FedEx yesterday and waited on hold for 20 minutes. Gave them
  my name address and phone number and I found out that my phone will be
  delivered tomorrow between 8am and 6pm, unfortunately i will be at
  work so I will have to drive out to the hub on friday to pick it up.
 
  Jason
 
  On Mar 23, 9:18 pm, Rocco optikalsa...@gmail.com wrote:
 
   If you're in the US and Google sent you a confirmation number and you
   want to know when you're getting your handset, just give FedEx a call
   from the number you provided Google with when you filled out the form.
   Even without your tracking number, as long as you contact them from
   that number and give the customer service rep your delivery address
   they will be able to tell you when they expect to deliver it. They
   might have you verify the name of the shipper as well which in this
   case is Brightpoint.
 
   I just did this earlier and found out I should expect my phone between
   the hours of 8am-6pm on Friday March 26th, 2010. Now I no longer have
   to play the guessing game or check this message 8 times a day to see
   if anyone in Oregon got their handset ;)

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-24 Thread Blake La Pierre
You guys clogged the live help.


No representatives available!!!

On Wed, Mar 24, 2010 at 3:28 PM, bx ben.rosenb...@gmail.com wrote:

 excellent tip!

 I just did this, and they said mine's due on friday as well... can't
 wait!

 On Mar 23, 9:18 pm, Rocco optikalsa...@gmail.com wrote:
  If you're in the US and Google sent you a confirmation number and you
  want to know when you're getting your handset, just give FedEx a call
  from the number you provided Google with when you filled out the form.
  Even without your tracking number, as long as you contact them from
  that number and give the customer service rep your delivery address
  they will be able to tell you when they expect to deliver it. They
  might have you verify the name of the shipper as well which in this
  case is Brightpoint.
 
  I just did this earlier and found out I should expect my phone between
  the hours of 8am-6pm on Friday March 26th, 2010. Now I no longer have
  to play the guessing game or check this message 8 times a day to see
  if anyone in Oregon got their handset ;)

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-23 Thread Blake La Pierre
Sweet, anyone near NY get one today?

On Tue, Mar 23, 2010 at 12:17 PM, tristan tristanm...@gmail.com wrote:

 Received a nexus one today. Houston, Texas (Not for ADC2)

 On Mar 23, 10:35 am, JasonC jcohe...@gmail.com wrote:
  Has anyone in the US gotten any additional Confirmation?
 
  I love how we are just waiting with no replay from anyonelol
 
  On Mar 23, 7:37 am, TreKing treking...@gmail.com wrote:
 
   On Tue, Mar 23, 2010 at 8:54 AM, David Horn pga...@gmail.com wrote:
I've always been surprised that when a Market app is uninstalled, the
user isn't shown a screen asking them very briefly why they
uninstalled it.  For example:
 
   They are ...
   * I don't use it or want it
   * I need more space on my phone
   * It's defective
   * It's malicious
   * I'd rather not say
 
   Of course, only Google know what actually happens with this
 information, as
   developers are never provided with these details.
 
I'm also considering writing an SDK to reports back to developers
 when
the app crashes.
 
   There are plenty of options to do this already, like Flurry as g1bb
   mentioned.
 
  
 -
   TreKing - Chicago transit tracking app for Android-powered
 deviceshttp://sites.google.com/site/rezmobileapps/treking
 
 

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-23 Thread Blake La Pierre
Come on N1! If they are coming from Indiana, I am probably still another day
away though...

On Tue, Mar 23, 2010 at 1:11 PM, JasonC jcohe...@gmail.com wrote:

 NO!!

 Let me get my Droid cause I know my luck sucks and I will get one and
 Ill trade you :) I will even pay shipping on both. Seriously if I get
 a Droid I am willing to trade.!!

 On Mar 23, 9:59 am, snctln catlin.s...@gmail.com wrote:
  I just got a call from my wife telling me that a Nexus One just
  arrived to my place around Indianapolis, Indiana.  Not sure who
  delivered it.
 
  Was hoping for the Droid since I already have a Nexus One and Droid
  users seem to be the most vocal as far as negative comments go, will
  probably ebay this nexus one and pick up a droid.
 
  ---snctlnwww.snctln.com
 
  On Mar 23, 12:17 pm, tristan tristanm...@gmail.com wrote:
 
   Received a nexus one today. Houston, Texas (Not for ADC2)
 
   On Mar 23, 10:35 am, JasonC jcohe...@gmail.com wrote:
 
Has anyone in the US gotten any additional Confirmation?
 
I love how we are just waiting with no replay from anyonelol
 
On Mar 23, 7:37 am, TreKing treking...@gmail.com wrote:
 
 On Tue, Mar 23, 2010 at 8:54 AM, David Horn pga...@gmail.com
 wrote:
  I've always been surprised that when a Market app is uninstalled,
 the
  user isn't shown a screen asking them very briefly why they
  uninstalled it.  For example:
 
 They are ...
 * I don't use it or want it
 * I need more space on my phone
 * It's defective
 * It's malicious
 * I'd rather not say
 
 Of course, only Google know what actually happens with this
 information, as
 developers are never provided with these details.
 
  I'm also considering writing an SDK to reports back to developers
 when
  the app crashes.
 
 There are plenty of options to do this already, like Flurry as g1bb
 mentioned.
 

 -
 TreKing - Chicago transit tracking app for Android-powered
 deviceshttp://sites.google.com/site/rezmobileapps/treking

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-23 Thread Blake La Pierre
5:30 here in Connecticut, no package and no package slip :(

On Tue, Mar 23, 2010 at 5:23 PM, Sundog sunns...@gmail.com wrote:

 Sweet. I'm on the other end of Texas, fingers crossed.

 On Mar 23, 10:30 am, tristan tristanm...@gmail.com wrote:
  FedEx @ Home - Sent from Indiana
 
  On Mar 23, 11:25 am, Justin Giles jtgi...@gmail.com wrote:
 
   Who delivered it?  USPS? UPS? FedEx? DHL?
 
   On Tue, Mar 23, 2010 at 10:17 AM, tristan tristanm...@gmail.com
 wrote:
Received a nexus one today. Houston, Texas (Not for ADC2)
 
On Mar 23, 10:35 am, JasonC jcohe...@gmail.com wrote:
 Has anyone in the US gotten any additional Confirmation?
 
 I love how we are just waiting with no replay from anyonelol
 
 On Mar 23, 7:37 am, TreKing treking...@gmail.com wrote:
 
  On Tue, Mar 23, 2010 at 8:54 AM, David Horn pga...@gmail.com
 wrote:
   I've always been surprised that when a Market app is
 uninstalled, the
   user isn't shown a screen asking them very briefly why they
   uninstalled it.  For example:
 
  They are ...
  * I don't use it or want it
  * I need more space on my phone
  * It's defective
  * It's malicious
  * I'd rather not say
 
  Of course, only Google know what actually happens with this
information, as
  developers are never provided with these details.
 
   I'm also considering writing an SDK to reports back to
 developers
when
   the app crashes.
 
  There are plenty of options to do this already, like Flurry as
 g1bb
  mentioned.
 
   
 -
  TreKing - Chicago transit tracking app for Android-powered
deviceshttp://sites.google.com/site/rezmobileapps/treking
 
--
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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en
 
To unsubscribe from this group, send email to android-developers+
unsubscribegooglegroups.com or reply to this email with the words
 REMOVE
ME as the subject.

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-22 Thread Blake La Pierre
What phone only has 1.5?

2010/3/22 Justin Giles jtgi...@gmail.com

 Android adventurers log:
 Date: 2010-03-22

 Day 20,

 It's been 20 days since I got stranded on this thread.  I sent a distress
 signal to Google right after I found this thread and have only received one
 response from them: Help will arrive in 2-4 weeks.

 I'm not sure how much longer I can survive out here in this forum.  Rations
 are running low.  v1.5 can barely get me through the day now.  At night, I
 hear noises.  I think the iPhone trolls have found my location.  I hear
 their spotty service and dropped calls as I sleep.  My only hope is for the
 Droid or Nexus to get here soon.  Maybe with their Android 2.1 I can use the
 improved Maps app to get me out of this thread.

 Must hold on a few more days



 2010/3/22 Lucky-dog honglian...@gmail.com

 I'm still waiting(HK).

 On 3月22日, 下午8时39分, Matt (preinvent) m...@preinvent.com wrote:
  I'm still waiting (US).  I'm updating my info here:
 http://blog.preinvent.com/free_droid_or_nexus_one

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-22 Thread Blake La Pierre
Why didn't they get 1.6 like the G1?

On Mon, Mar 22, 2010 at 9:45 AM, Justin Giles jtgi...@gmail.com wrote:

 HTC Hero on Sprint, HTC Eris on Verizon to name a few.

 2010/3/22 Blake La Pierre blakelapie...@gmail.com

 What phone only has 1.5?

 2010/3/22 Justin Giles jtgi...@gmail.com

  Android adventurers log:
 Date: 2010-03-22

 Day 20,

 It's been 20 days since I got stranded on this thread.  I sent a distress
 signal to Google right after I found this thread and have only received one
 response from them: Help will arrive in 2-4 weeks.

 I'm not sure how much longer I can survive out here in this forum.
  Rations are running low.  v1.5 can barely get me through the day now.  At
 night, I hear noises.  I think the iPhone trolls have found my location.  I
 hear their spotty service and dropped calls as I sleep.  My only hope is for
 the Droid or Nexus to get here soon.  Maybe with their Android 2.1 I can use
 the improved Maps app to get me out of this thread.

 Must hold on a few more days



 2010/3/22 Lucky-dog honglian...@gmail.com

 I'm still waiting(HK).

 On 3月22日, 下午8时39分, Matt (preinvent) m...@preinvent.com wrote:
  I'm still waiting (US).  I'm updating my info here:
 http://blog.preinvent.com/free_droid_or_nexus_one

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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-19 Thread Blake La Pierre
Anyone in the US get their phone yet?

On Wed, Mar 17, 2010 at 7:40 PM, olivier.bo...@gmail.com 
olivier.bo...@gmail.com wrote:

 Hi,

 Has anyone received one and is not in the ADC2 top 200?
 I mean has anyone received one just because he has an application in
 the market matching the criteria?
 Everyone I see receiving the phone are people who were candidates for
 both ADC2 and Market seeding programs.


 On Mar 17, 10:50 pm, Thomas Riley tomrile...@googlemail.com wrote:
  Doesn't matter how you got it, both channels are part of the same
  device seeding program.
 
  Enjoy ;)
 
  On Mar 17, 8:56 pm, huberuto huberuto...@gmail.com wrote:
 
 
 
   I got it yesterday, but can't tell if this one is cause of ADC2 or top
   developers program. I'm from Poland.

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


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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-17 Thread Blake La Pierre
Anyone in the US get their phone yet?

On Wed, Mar 17, 2010 at 2:12 PM, Grzegorz Ae grzegorz.m...@gmail.comwrote:

 I'm from Poland and I got my nexus one. Hope You will get Yours.

 On 16 Mar, 12:17, Michael nicholls...@googlemail.com wrote:
  Hi
 
  I filled out the form on Sunday 7th March and got a confirmation email
  on Thursday 11th March.
 
  I am in the UK and I did receive an original Device Seeding email.
  Not sure if that info helps.
 
  It's nice to know that it might be shipped from Europe as it should
  cut down on the time to get here and maybe even some of the customs
  hassle.
 
  Mike
 
  On Mar 15, 4:34 pm, Android Nerd adamth...@gmail.com wrote:
 
 
 
   I also filled out my form on March 5th and I have not received a
   confirmation mail yet.  Is there anyone who filled out a form on or
   after March 5th who has received a confirmation e-mail?
 
   On Mar 10, 2:20 am, Arnon arnonse...@gmail.com wrote:
 
Hi
 
I have an app which on Feb. 28 had 9000+ downloads and a 4.2 stars
rating.
i didn't recieve any mail, so I contacted them and they asked me to
fill the form.
I filled the form last friday (March 5th)
Does anyone know how long does it take for them to send the
confirmation mail?

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


-- 
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] startActivityForResult

2010-02-27 Thread Pierre Henry
Encoutered a tricky result using startActivityForResult from an
Activity

In the called Activity , I set result like that:
__
setResult(RESULT_OK, getIntent().putExtra(getPackageName()+values,
values));
__

When running the on ActivityResult, the extra has disappeared from
intent in the method *onActivityResult*

In the api doc, it is telling that package name must be used , so I
used it (see code upwards ).

So why is that ?

-- 
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] PlayDriver

2010-02-23 Thread Pierre Henry
Hi,

I'm playing with 'MediaPlayer' class and 'm encoutering a curious
message in debug win:
__
02-23 11:34:06.288: ERROR/PlayerDriver(51): Invalid percentage value
82597
__

The message is scrolling with increasing value of the percentage
value.

The pid 51 is the /system/bin/mediaserver process.

Any idea?

-- 
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] MediaPlayer hanging abruptedly

2009-12-29 Thread Pierre Henry
I have a code running a MediaPlayer object with an mp3 uri somewhere
in an activity.

The player runs for 6/7 minutes and suddenly hangs off.

Is there a particular thing to do with a mp3 streaming server ?

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


[android-developers] Re: Touch screen inactive

2009-12-15 Thread Pierre Henry
Problem not known == problem

On Nov 18, 9:51 am, Pierre Henry Perret phper...@gmail.com wrote:
 In stacking tasks, at some point the touch screen dont work any more. It
 works again later without reason. Is this a known problem ?

-- 
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] Server/Client runs on device but client timeout on emulator

2009-11-30 Thread Pierre Henry
I have a server socket process running on device.
When I run a client socket on the same device  it works.

When I run the client on emulator it timeouts.

What is the reason ?

-- 
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: Server does not receive message from client

2009-11-26 Thread Pierre Henry
Hi,

Your server is up at 10.0.2.15 and the client try to connect to
10.0.2.2 ?

On 11 nov, 17:49, Mike88 michael...@gmail.com wrote:
 Hello, I have created a simple server and client both on android phone
 or emulators. The code is as follows

 Server:

 import java.io.BufferedReader;
 import java.io.InputStreamReader;
 import java.net.ServerSocket;
 import java.net.Socket;

 import android.app.Activity;
 import android.os.Bundle;
 import android.util.Log;
 import android.widget.TextView;

 public classAndroidServerextends Activity {
     /** Called when the activity is first created. */
         public static TextView tv;
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
 //        setContentView(R.layout.main);

         tv = new TextView(this);
         tv.setText(Main - server);
         setContentView(tv);

         Thread sThread = new Thread(new TCPServerTest());

         sThread.start();
     }

 }

 class TCPServerTest implements Runnable{

     public static final String SERVERIP = 10.0.2.15;
     public static final int SERVERPORT = ;

     public void run() {
          try {
               Log.d(TCP, S: Connecting...);

               ServerSocket serverSocket = new ServerSocket
 (SERVERPORT);
               while (true) {
                  Socket client = serverSocket.accept();
                  Log.d(TCP, S: Receiving...);
                  try {
                       BufferedReader in = new BufferedReader(new
 InputStreamReader(client.getInputStream()));
                       String str = in.readLine();
                       Log.d(TCP, S: Received: ' + str + ');
                      AndroidServer.tv.setText(str +  --  +
 SERVERIP);
                     } catch(Exception e) {
                         Log.e(TCP, S: Error, e);
                     } finally {
                          client.close();
                          Log.d(TCP, S: Done.);
                     }

               }

          } catch (Exception e) {
            Log.e(TCP, S: Error, e);
          }
     }

 }

 Client:

 import java.io.BufferedWriter;
 import java.io.OutputStreamWriter;
 import java.io.PrintWriter;
 import java.net.InetAddress;
 import java.net.Socket;

 import android.app.Activity;
 import android.os.Bundle;
 import android.util.Log;
 import android.widget.TextView;

 public class AndroidClient extends Activity {
     /** Called when the activity is first created. */
         public TextView tv;
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
 //        setContentView(R.layout.main);

         tv = new TextView(this);
         tv.setText(Main - client);
         setContentView(tv);

         Thread cThread = new Thread(new TCPClientTest());

         cThread.start();
     }

 }

 class TCPClientTest implements Runnable {

     public void run() {
          try {

            InetAddress serverAddr = InetAddress.getByName(10.0.2.2);

            Log.d(TCP, C: Connecting...);
            Socket socket = new Socket(serverAddr, );
            String message = Hello from Client;
                try {
                 Log.d(TCP, C: Sending: ' + message + ');
                 PrintWriter out = new PrintWriter( new BufferedWriter
 ( new OutputStreamWriter(socket.getOutputStream())),true);

                 out.println(message);
                 Log.d(TCP, C: Sent.);
                   Log.d(TCP, C: Done.);

              } catch(Exception e) {
                  Log.e(TCP, S: Error, e);
                 } finally {
                   socket.close();
                 }
          } catch (Exception e) {
               Log.e(TCP, C: Error, e);
          }
     }

 }

 The problem can be seen from the log files

 Server:

 D/TCP     (  700): S: Connecting...

 Clinet:

 D/TCP     (  703): C: Connecting...
 D/TCP     (  703): C: Sending: 'Hello from Client'
 I/global  (  703): Default buffer size used in BufferedWriter
 constructor. It would be better to be explicit if an 8k-char buffer is
 required.
 D/TCP     (  703): C: Sent.
 D/TCP     (  703): C: Done.

 Note when i run the program the server has id 5554 and the client id
 5556 from the emulators.

 I have used ./adb -s 5554 forward tcp: tcp:

 However the client message fails to send to the server. Does anyone
 have any idea why?

 I have tried doing  ./adb -s 5556 forward tcp: tcp: in case
 that was the problem but i had no luck.

 Help would be very much appreciated.

-- 
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: Caused by: java.io.NotSerializableException: android.os.Message

2009-11-25 Thread Pierre Henry
Thanks Mark.

So , If I understand correctly, the communications between processes
is governed by IPC mechanism.

If I want to connect to a server from external jvm process, say a
client in his own vm, I can use the classic socket mechanism
to realize a connection ?


On 24 nov, 12:45, Mark Murphy mmur...@commonsware.com wrote:
 Pierre Henry wrote:
  I get a * NotSerializableException* exception trying to send objects
  between two processes.

  Is it possible to do client/server sending of serializable objects
  between two processes ?

 Use AIDL and remote services for that:

 http://developer.android.com/guide/developing/tools/aidl.html

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Android Training in Germany, 18-22 January 2010:http://bignerdranch.com

-- 
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: Background Service is not working.

2009-11-24 Thread Pierre Henry
You can do that easily with NotificationManager

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


[android-developers] Debug config not stopping at break points

2009-11-24 Thread Pierre Henry
Why should the debugger dont make breakpoints stop when running an
android app on Eclipse ?

-- 
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] Caused by: java.io.NotSerializableException: android.os.Message

2009-11-24 Thread Pierre Henry
I get a * NotSerializableException* exception trying to send objects
between two processes.

Is it possible to do client/server sending of serializable objects
between two processes ?

-- 
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] Debug config not stopping at break points

2009-11-23 Thread Pierre Henry
All hi,

Breakpoints in code arent efficient, debugger doesnt stop at it.

__
Eclipse 3.5.2, Android sdk 2.0
Windows XP
__

Is this a know problem ?

-- 
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] contentView Required

2009-11-23 Thread Pierre Henry
Hello,

regarding the trace dump following, what does mean 'contentView
required' ?

__
java.lang.RuntimeException: Unable to create service
com.comp.app.MyService: java.lang.IllegalArgumentException:
contentView required: pkg=com.comp.app id=1 notification=Notification
(vibrate=null,sound=null,defaults=0x0)
_

Thanks

-- 
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] Touch screen inactive

2009-11-18 Thread Pierre Henry Perret
In stacking tasks, at some point the touch screen dont work any more. It
works again later without reason. Is this a known problem ?

-- 
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] Permission denial

2009-11-18 Thread Pierre Henry
All hi,

This error is logged when launching activity:

__
11-19 00:15:41.940: WARN/ActivityManager(71): Permission Denial:
starting Intent { flg=0x1000
cmp=com.soladhoc.affinity.ecf/.RemoteServiceBinding } from null
(pid=-1, uid=-1) requires android.permission.INTERNET
__


I have attributed to all activities the INTERNET permission but it
fails at some point.

_
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
android:versionCode=1 android:versionName=1.0
android:sharedUserId=@string/shared_id package=com.name.package

uses-permission android:name=android.permission.INTERNET /
uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION /
uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION /
uses-permission
android:name=android.permission.ACCESS_NETWORK_STATE /

application android:icon=@drawable/icon android:label=@string/
app_name
android:debuggable=true android:name=BootECF
android:permission=android.permission.INTERNET

service android:process=:remote android:name=RemoteService
android:permission=android.permission.INTERNET
intent-filter
action 
android:name=com.name.package.IRemoteService/
action 
android:name=com.name.package.REMOTE_SERVICE/
   /intent-filter
/service

activity android:name=RemoteServiceController
android:permission=android.permission.INTERNET
   intent-filteraction
android:name=android.intent.action.MAIN/action
   /intent-filter
/activity

activity android:name=RemoteServiceBinding
android:permission=android.permission.INTERNET
android:multiprocess=true
intent-filter
   action 
android:name=android.intent.action.MAIN/action
  category 
android:name=android.intent.category.LAUNCHER/
category
 action
android:name=android.intent.action.ALL_APPS/action
   /intent-filter
/activity

/application

uses-sdk android:minSdkVersion=4 /

/manifest

__

As I understand the permission is applied to all classes in the same
package.

But here, RemoteServiceBinding isn't autorized to start.

So , has somebody any idea of this problem ?

-- 
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: Can't receive UDP packets correctly

2009-11-15 Thread Pierre
byte[] array = new byte[500]; ?

On Nov 16, 7:37 am, Chopcsu st...@kilsby.com.au wrote:
 Does byte[] array actually only have 1 byte in it?

 Could be that the getLength call is just incorrect.

 On Nov 13, 6:16 am, Pierre pierredur...@gmail.com wrote:

  I use Android 1.5 on HTC Hero

  My code (udp server on my phone) :

  this.socket = new DatagramSocket(port);
  byte[] array = new byte[500];
  DatagramPacket packetIn = new DatagramPacket(array,500);
  this.socket.receive(packetIn);
  System.out.println(packet length  + packetIn.getLength());

  Packet length is ALWAYS 1, even if i send larger packets !
  I don't understand why ...

  When i use Wireshark, i see normal packets.

  Is it a bug ?
  This code works on Windows.



-- 
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: Can't receive UDP packets correctly

2009-11-14 Thread Pierre
No problem on the Android 2.0 emulator...
I'm testing on 1.5 emulator...

On 14 nov, 01:43, Pierre pierredur...@gmail.com wrote:
 Do you know if it's a bug ?

 Is it possible to receive UDP packet on android ?
 Is there any example ?

 On 12 nov, 22:27, Pierre pierredur...@gmail.com wrote:

  each time i call receive(), i receive the first byte of the received
  packet

  On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:

   Subsequent calls just block until the timeout?

   - Dan

   On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com wrote:
I receive only the first byte of my udp packet...

On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
 We've had issues with UDP packets coming in off the socket
non-reassembled.

 See what happens with multiple reads, see if you get back the expected
 packet length in total...

 - Dan

 On Thu, Nov 12, 2009 at 2:16 PM, Pierre pierredur...@gmail.com 
 wrote:
  I use Android 1.5 on HTC Hero

  My code (udp server on my phone) :

  this.socket = new DatagramSocket(port);
  byte[] array = new byte[500];
  DatagramPacket packetIn = new DatagramPacket(array,500);
  this.socket.receive(packetIn);
  System.out.println(packet length  + packetIn.getLength());

  Packet length is ALWAYS 1, even if i send larger packets !
  I don't understand why ...

  When i use Wireshark, i see normal packets.

  Is it a bug ?
  This code works on Windows.

  --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

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



-- 
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: Can't receive UDP packets correctly

2009-11-14 Thread Pierre
Please, tell me i'm wrong :

It looks that received packet are truncated after n bytes.
n is the size of the first received packet.

Seriously, this bug make me mad !
It only happens on MY phone !

On 14 nov, 13:59, Pierre pierredur...@gmail.com wrote:
 No problem on the Android 2.0 emulator...
 I'm testing on 1.5 emulator...

 On 14 nov, 01:43, Pierre pierredur...@gmail.com wrote:

  Do you know if it's a bug ?

  Is it possible to receive UDP packet on android ?
  Is there any example ?

  On 12 nov, 22:27, Pierre pierredur...@gmail.com wrote:

   each time i call receive(), i receive the first byte of the received
   packet

   On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:

Subsequent calls just block until the timeout?

- Dan

On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com wrote:
 I receive only the first byte of my udp packet...

 On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
  We've had issues with UDP packets coming in off the socket
 non-reassembled.

  See what happens with multiple reads, see if you get back the 
  expected
  packet length in total...

  - Dan

  On Thu, Nov 12, 2009 at 2:16 PM, Pierre pierredur...@gmail.com 
  wrote:
   I use Android 1.5 on HTC Hero

   My code (udp server on my phone) :

   this.socket = new DatagramSocket(port);
   byte[] array = new byte[500];
   DatagramPacket packetIn = new DatagramPacket(array,500);
   this.socket.receive(packetIn);
   System.out.println(packet length  + packetIn.getLength());

   Packet length is ALWAYS 1, even if i send larger packets !
   I don't understand why ...

   When i use Wireshark, i see normal packets.

   Is it a bug ?
   This code works on Windows.

   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

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



-- 
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: Can't receive UDP packets correctly

2009-11-14 Thread Pierre
I can reproduce this bug in the Android 1.5 emulator !

On 14 nov, 15:26, Pierre pierredur...@gmail.com wrote:
 Please, tell me i'm wrong :

 It looks that received packet are truncated after n bytes.
 n is the size of the first received packet.

 Seriously, this bug make me mad !
 It only happens on MY phone !

 On 14 nov, 13:59, Pierre pierredur...@gmail.com wrote:

  No problem on the Android 2.0 emulator...
  I'm testing on 1.5 emulator...

  On 14 nov, 01:43, Pierre pierredur...@gmail.com wrote:

   Do you know if it's a bug ?

   Is it possible to receive UDP packet on android ?
   Is there any example ?

   On 12 nov, 22:27, Pierre pierredur...@gmail.com wrote:

each time i call receive(), i receive the first byte of the received
packet

On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:

 Subsequent calls just block until the timeout?

 - Dan

 On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com 
 wrote:
  I receive only the first byte of my udp packet...

  On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
   We've had issues with UDP packets coming in off the socket
  non-reassembled.

   See what happens with multiple reads, see if you get back the 
   expected
   packet length in total...

   - Dan

   On Thu, Nov 12, 2009 at 2:16 PM, Pierre pierredur...@gmail.com 
   wrote:
I use Android 1.5 on HTC Hero

My code (udp server on my phone) :

this.socket = new DatagramSocket(port);
byte[] array = new byte[500];
DatagramPacket packetIn = new DatagramPacket(array,500);
this.socket.receive(packetIn);
System.out.println(packet length  + packetIn.getLength());

Packet length is ALWAYS 1, even if i send larger packets !
I don't understand why ...

When i use Wireshark, i see normal packets.

Is it a bug ?
This code works on Windows.

--
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.comandroid-developers%2bunsubscr...@googlegroups.com
  android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

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



-- 
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: Can't receive UDP packets correctly

2009-11-14 Thread Pierre
Ok, to sumarize :
My program receive UDP packets.
On my HTC Hero (Android 1.5) and on emulator 1.5-1.6, i can't receive
UDP packets correctly.
They are truncated after the first byte (i receive only 1 byte
packets).

No problem in the Android 2.0 emulator

On 14 nov, 15:57, Pierre pierredur...@gmail.com wrote:
 I can reproduce this bug in the Android 1.5 emulator !

 On 14 nov, 15:26, Pierre pierredur...@gmail.com wrote:

  Please, tell me i'm wrong :

  It looks that received packet are truncated after n bytes.
  n is the size of the first received packet.

  Seriously, this bug make me mad !
  It only happens on MY phone !

  On 14 nov, 13:59, Pierre pierredur...@gmail.com wrote:

   No problem on the Android 2.0 emulator...
   I'm testing on 1.5 emulator...

   On 14 nov, 01:43, Pierre pierredur...@gmail.com wrote:

Do you know if it's a bug ?

Is it possible to receive UDP packet on android ?
Is there any example ?

On 12 nov, 22:27, Pierre pierredur...@gmail.com wrote:

 each time i call receive(), i receive the first byte of the received
 packet

 On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:

  Subsequent calls just block until the timeout?

  - Dan

  On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com 
  wrote:
   I receive only the first byte of my udp packet...

   On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
We've had issues with UDP packets coming in off the socket
   non-reassembled.

See what happens with multiple reads, see if you get back the 
expected
packet length in total...

- Dan

On Thu, Nov 12, 2009 at 2:16 PM, Pierre 
pierredur...@gmail.com wrote:
 I use Android 1.5 on HTC Hero

 My code (udp server on my phone) :

 this.socket = new DatagramSocket(port);
 byte[] array = new byte[500];
 DatagramPacket packetIn = new DatagramPacket(array,500);
 this.socket.receive(packetIn);
 System.out.println(packet length  + packetIn.getLength());

 Packet length is ALWAYS 1, even if i send larger packets !
 I don't understand why ...

 When i use Wireshark, i see normal packets.

 Is it a bug ?
 This code works on Windows.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
   android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

 For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

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



-- 
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: Can't receive UDP packets correctly

2009-11-13 Thread Pierre
Do you know if it's a bug ?

Is it possible to receive UDP packet on android ?
Is there any example ?

On 12 nov, 22:27, Pierre pierredur...@gmail.com wrote:
 each time i call receive(), i receive the first byte of the received
 packet

 On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:

  Subsequent calls just block until the timeout?

  - Dan

  On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com wrote:
   I receive only the first byte of my udp packet...

   On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
We've had issues with UDP packets coming in off the socket
   non-reassembled.

See what happens with multiple reads, see if you get back the expected
packet length in total...

- Dan

On Thu, Nov 12, 2009 at 2:16 PM, Pierre pierredur...@gmail.com wrote:
 I use Android 1.5 on HTC Hero

 My code (udp server on my phone) :

 this.socket = new DatagramSocket(port);
 byte[] array = new byte[500];
 DatagramPacket packetIn = new DatagramPacket(array,500);
 this.socket.receive(packetIn);
 System.out.println(packet length  + packetIn.getLength());

 Packet length is ALWAYS 1, even if i send larger packets !
 I don't understand why ...

 When i use Wireshark, i see normal packets.

 Is it a bug ?
 This code works on Windows.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
   android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

 For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

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



-- 
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: custom protocol handler...

2009-11-12 Thread Pierre Henry
sdphil hi,

Have you setup a server for protocol yourprotocol:// ?

On 12 nov, 07:39, sdphil phil.pellouch...@gmail.com wrote:
 anybody?  andybody?? :)

 On Nov 11, 9:09 am, sdphil phil.pellouch...@gmail.com wrote:



  i want to do the following thing -

  when a user navigates to a web page, I want to have a link in there
  that looks like this:

      pa href=myprotocol://blah=42Click here for fun./a/p

  Then when the user clicks on that from the phone browser, I want it to
  launch my intent with that full url.

  In my AndroidManifest.xml file, I have the following info:

      activity android:name=com.test.MyActivity style=@style/
  MyStyle
                  !-- custom protocol association --
                  intent-filter
                      action
  android:name=android.intent.action.VIEW/action
                      category
  android:name=android.intent.category.DEFAULT/category
                      category
  android:name=android.intent.category.BROWSABLE/category
                      data android:scheme=myprotocol/
                  /intent-filter
      /activity

  When I try this, when I click on the link on the web page from the
  phone browser, it says --

  Web page not available
  The Web page at myprotocol://blah=42 might be temporarily down or it
  may have moved permanently to a new web address.

  Any help here would be appreciated.

  tia.

-- 
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: [android-developers] Re: custom protocol handler...

2009-11-12 Thread Pierre Henry Perret
Just implement a verver for yourprotocol://

Pierre

2009/11/12 sdphil phil.pellouch...@gmail.com

 starting to wonder if what I'm really trying to get at is being able
 to start an activity via. an intent from a web page  thoughts?

 On Nov 12, 8:42 am, sdphil phil.pellouch...@gmail.com wrote:
  it looks like I could use a content provider and declare it in my
  manifest this way --
 
   http://developer.android.com/intl/fr/guide/topics/manifest/provider-e.
 ..
 
  but then it looks like my URLs have to look like this: content://...
  instead of myprotocol://...
 
  On Nov 12, 8:29 am, sdphil phil.pellouch...@gmail.com wrote:
 
   do I want a content provider or a content resolver?
 
   On Nov 12, 3:08 am, skink psk...@gmail.com wrote:
 
Pierre Henry wrote:
 sdphil hi,
 
 Have you setup a server for protocol yourprotocol:// ?
 
server? what server?
 
i'd suggest writing your own ContentProvider
 
pskink
 
 

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


-- 
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] Can't receive UDP packets correctly

2009-11-12 Thread Pierre
I use Android 1.5 on HTC Hero

My code (udp server on my phone) :

this.socket = new DatagramSocket(port);
byte[] array = new byte[500];
DatagramPacket packetIn = new DatagramPacket(array,500);
this.socket.receive(packetIn);
System.out.println(packet length  + packetIn.getLength());

Packet length is ALWAYS 1, even if i send larger packets !
I don't understand why ...

When i use Wireshark, i see normal packets.

Is it a bug ?
This code works on Windows.

-- 
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: Can't receive UDP packets correctly

2009-11-12 Thread Pierre
I receive only the first byte of my udp packet...

On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
 We've had issues with UDP packets coming in off the socket non-reassembled.

 See what happens with multiple reads, see if you get back the expected
 packet length in total...

 - Dan

 On Thu, Nov 12, 2009 at 2:16 PM, Pierre pierredur...@gmail.com wrote:
  I use Android 1.5 on HTC Hero

  My code (udp server on my phone) :

  this.socket = new DatagramSocket(port);
  byte[] array = new byte[500];
  DatagramPacket packetIn = new DatagramPacket(array,500);
  this.socket.receive(packetIn);
  System.out.println(packet length  + packetIn.getLength());

  Packet length is ALWAYS 1, even if i send larger packets !
  I don't understand why ...

  When i use Wireshark, i see normal packets.

  Is it a bug ?
  This code works on Windows.

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



-- 
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: Can't receive UDP packets correctly

2009-11-12 Thread Pierre
each time i call receive(), i receive the first byte of the received
packet

On Nov 12, 10:14 pm, Dan Sherman impact...@gmail.com wrote:
 Subsequent calls just block until the timeout?

 - Dan

 On Thu, Nov 12, 2009 at 3:52 PM, Pierre pierredur...@gmail.com wrote:
  I receive only the first byte of my udp packet...

  On Nov 12, 8:18 pm, Dan Sherman impact...@gmail.com wrote:
   We've had issues with UDP packets coming in off the socket
  non-reassembled.

   See what happens with multiple reads, see if you get back the expected
   packet length in total...

   - Dan

   On Thu, Nov 12, 2009 at 2:16 PM, Pierre pierredur...@gmail.com wrote:
I use Android 1.5 on HTC Hero

My code (udp server on my phone) :

this.socket = new DatagramSocket(port);
byte[] array = new byte[500];
DatagramPacket packetIn = new DatagramPacket(array,500);
this.socket.receive(packetIn);
System.out.println(packet length  + packetIn.getLength());

Packet length is ALWAYS 1, even if i send larger packets !
I don't understand why ...

When i use Wireshark, i see normal packets.

Is it a bug ?
This code works on Windows.

--
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.comandroid-developers%2bunsubscr...@googlegroups.com
  android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com

For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en

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



-- 
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] Eclipse version

2009-11-09 Thread Pierre Henry Perret
All hi,

What is the minimal version of eclipse SDK should be used to build android ?


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

[android-developers] Re: Unable to chmod sdcard: Read-only file system

2009-10-27 Thread Pierre Henry


Nima,

Try a *chmod 0777 sdcard* instead...

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



[android-developers] Re: Donut upgrade and ADC2

2009-09-18 Thread Jean-Pierre



On Sep 17, 10:11 pm, niko20 nikolatesl...@yahoo.com wrote:
 I dont see why they will just crash.

My app just crash under 1.6 :(
See my post here : 
http://groups.google.com/group/android-developers/browse_thread/thread/5b3f2f772eb923f9#

JP.

--~--~-~--~~~---~--~~
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] Android SDK 1.6 and ADC2

2009-09-17 Thread Jean-Pierre

Hello,

The SDK 1.6 is now out, but does someone knows when it will be pushed
on hardware ? I am a bit concerned, because I submitted and
application to the ADC2 that crash when I run it on 1.6. It works well
on 1.5.
I hope Google will not update users phone before the end of the ADC2,
otherwise our application will not work.

For the records, here is the problem and the solution.
The problem lies in the Camera.startPreview : an error is reported in
logcat
E/CameraService(  554): registerBuffers failed with status -38
followed by an exception :
java.lang.RuntimeException: startPreview failed

The problem is solved by changing the surface holder type :
mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);

On 1.5, commenting this line just hide the camera preview from the
surface, but do not crash.

Regards,
JP.

--~--~-~--~~~---~--~~
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: Experimental Bluetooth Library

2009-08-05 Thread pierre

Hi !
Do you have any solution for setting up the SCO channel for a
Bluetooth headset ?
Would it be possible with reflexion on ScoSocket.java instead of
RfcommSocket.java for example ?

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



[android-developers] filenotfound ... but creating with recorder !!!

2009-08-03 Thread pierre

Hi,

I don't understand how this can happen (it has just happened once,
works properly other times) :
- /sdcard/mydir/ is an existing directory
- myRecord.3gp doesn't exist, of course.


ERROR :
java.io.FileNotFoundException: /sdcard/mydir/myRecord.3gp
at org.apache.harmony.luni.platform.OSFileSystem.open
(OSFileSystem.java:231)
at java.io.FileOutputStream.init(FileOutputStream.java:96)
at java.io.FileOutputStream.init(FileOutputStream.java:169)
at java.io.FileOutputStream.init(FileOutputStream.java:147)
at android.media.MediaRecorder.prepare(MediaRecorder.java:364)

CODE :
 recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
 recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
 recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
 recorder.setOutputFile(pathToMyRecord);
 try {
recorder.prepare();
recorder.start();
  }
...


I did notice some other errors when using sdcard files, is this a know
sdcard problem ?

--~--~-~--~~~---~--~~
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: Multicast receive broken in Android 1.5?

2009-07-30 Thread pierre

Same issue here too.

When I retrieve my kernel config file from my Cupcake-upgraded G1
device (by using adb pull /proc/config.gz .) and when I look for
CONFIG_IP_MULTICAST, then I find the following line:
# CONFIG_IP_MULTICAST is not set
Therefore I guess that multicast is disabled in the kernel.
It would be interresting to check with a G1 which has not been
upgraded to Cupcake.
If CONFIG_IP_MULTICAST=yes is found, it would confirm that the
kernel has lost IP Multicast during the Cupcake upgrade.

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



[android-developers] IOException(S) with sdcard files

2009-07-07 Thread pierre

Hi,

I have, sometimes, quite often, some IOExceptions when I access sdcard
files, for example when I do :
- MediaPlayer.prepare() (with path to sdcard file set before)
- File.mkDir()
- MediaRecorder.prepare() (with path to sdcard file set before)

If I retry later it works fine.
Do you have any idea ? Any way to avoid this ?

Thanks !
--~--~-~--~~~---~--~~
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: RTP streaming with Cupcake

2009-06-24 Thread pierre

Sorry, there is no RTSP problem with Cupcake.
My problem was due to the viedo file which was not really identical to
the one used before.

Regards.

On 17 juin, 12:57, pierre pierre.rou...@gmail.com wrote:
 Hello all,

 isRTPstreamingknown to be working on Cupcake devices?

 I have not been able to start anRTPmultimedia session with my G1
 since Cupcake upgrade. It was working before the upgrade, e.g. by
 using the VideoView class and providing an RTSP URL. But the same test
 which was working before fails now. The RTSP OPTIONS and DESCRIBES
 exchanges are OK, and then there is a PVMFFailure in the Log, and a
 popup saying Sorry, this Video can't be played...

 Thanks in advance

 (Note: I removed a similar message that I sent yesterday because it
 contained broken links)
--~--~-~--~~~---~--~~
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] RTP streaming with Cupcake

2009-06-17 Thread pierre

Hello all,

is RTP streaming known to be working on Cupcake devices?

I have not been able to start an RTP multimedia session with my G1
since Cupcake upgrade. It was working before the upgrade, e.g. by
using the VideoView class and providing an RTSP URL. But the same test
which was working before fails now. The RTSP OPTIONS and DESCRIBES
exchanges are OK, and then there is a PVMFFailure in the Log, and a
popup saying Sorry, this Video can't be played...

Thanks in advance

(Note: I removed a similar message that I sent yesterday because it
contained broken links)
--~--~-~--~~~---~--~~
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] RTSP and RTP streaming on the Cupcake-upgraded

2009-06-16 Thread pierre

Hello all,

I am trying to test RTP streaming on the Android G1 dev phone with no
success.
I used to do that successfully before to upgrade to Cupcake. But now
the same test doesn't work anymore.
Is it supposed to work?

Here is a detailed description of the test:

1) The device is the G1 dev phone upgraded to Cupcake.
2) It is connected via WiFi
3) The RTSP session is started with the VideoView activity from the
sample code (http://developer.android.com/guide/samples/ApiDemos/src/
com/example/android/apis/media/VideoViewDemo.html). The only
modification consists in specifying the RTSP URL for the path string.
4) The Darwin Streaming Server version 5.5.5 is used as an RTSP
server.
5) The mp4 file which is streamed complies with the specifications in
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/media/VideoViewDemo.html
. It is hinted.
6) Wireshark is used to monitor RTSP exchanges. The OPTIONS and
DESCRIBES commands take place normally. Then nothing more.
7) The following error appears in the Android error Log:
E/PlayerDriver(   35): Command PLAYER_INIT completed with an error or
info PVMFFailure
8) A popup windows says: Cannot play video. Sorry, this video cannot
be played.

Notes:

1) The same test was successfull with the 1.1 Android version before
upgrading to Cupcake.
2) There is a web server collocated with the RTSP server. The same
file streams OK over http with the web server.

Thanks in advance for any clue.

--~--~-~--~~~---~--~~
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: Install Android on Windows XP

2009-05-17 Thread Pierre Bonnefoy

The link you used can no longuer work with the new version of the sdk
because the parameters to pass to the emulator when you launch it have
changed.

Basically, what was described could work (the other methods described
in the answers requires that you install eclipse, which is not
mandatory if you just want to do in browser testings).

I know that the details of the correst command line have been
exchanged already on those lists, so with a fine search, you should be
able to find it, or one cool guy on this list should be able to give
it to you.

Regards


2009/5/17 Raphael r...@android.com:

 If you install via an ADT zip file, make sure you get the latest (0.9.1).

 Rather than using the zip file, use the update size in Eclipse to
 automatically get the latest version
 (https://dl-ssl.google.com/android/eclipse/). Remember that for most
 people this fails via https so just use the http link
 (http://dl-ssl.google.com/android/eclipse/).

 R/

 On Sat, May 16, 2009 at 10:03 PM, Nithin Varamballi nithi...@gmail.com 
 wrote:

 HI..

  I installed 1.5sdk successfully... First remove older ADT
 files...  And download the 0.9 ADT.. Its zip file.. After removing the
 old  ADT following steps
 i followed... In eclipse

 1- Help
 2- Software updates
 3- Available Software
 4- Add site
 5- Archive(add the ADTzip file located in your disk)
 6- Ok

 After installing i change the older 1.1 SDK path to 1.5

 1- windows
 2- preferences
 3- click android
 4- set sdk location from your disk
 5- Apply
 6- restart eclipse

 Thank You
 Nithin N V
 - Show quoted text -

 


 


--~--~-~--~~~---~--~~
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: Cupcake coming in April? Where is the SDK?

2009-03-24 Thread Pierre Bonnefoy

Romain, Jean-Baptiste,

Just to clarify, the G2 is announced for April in some countries.
The G2 is using virtual keyboard.
Will the G2 be at first available with an update of 1.1 or will it be
a derivative of cupcake ?

Thanks

2009/3/24 Jean-Baptiste Queru j...@android.com:

 I'll very gladly try to answer those questions on the android-platform
 list, which I believe is the most appropriate group for them, so that
 this group can remain focused on the concerns of developers writing
 apps with the official SDK (or, in this case, expressing concerns
 about a new official SDK).

 Thanks,
 JBQ

 On Tue, Mar 24, 2009 at 11:22 AM, Simon Depiets sdepi...@gmail.com wrote:

 I think this is true,
 can you tell us more than git commit messages tell us ?
 do you intend to freeze android at some point, afterwards there will
 only be bug fixes ?
 do you WANT/do you NEED contributions, or is android open source but
 with a proprietary-like development model ?

 I have the impression that the community is very active around
 android-oriented APPS, but not about android itself, maybe there's
 also a problem with this mailing list being filled by requests on the
 use of the SDK but not the development of the SDK, maybe there should
 be a newsgroup dedicated to the android-dev, while this one seems more
 like android-apps-dev.

 These are just ideas and questions, not a troll at all.

 2009/3/24 Disconnect dc.disconn...@gmail.com:
 Thats the sort of thing you do with alpha/beta/rc tags. And community
 participation.

 At some point, someone at google says This is, barring problems, what we
 want to be 1.5. Now lets get it fixed. That can continue to happen
 privately between google and the carriers, and you keep periodically
 throwing releases to the community.  This is how proprietary projects run.
 (Such as Symbian.)

 Or, Google can step up and actually release an open, community framework.
 Tags for alpha, beta, rc releases. Limited platform/configuration support in
 early stages. Community feedback, patches and bug reports throughout.

 Its cheaper, its faster, and you get fewer debacles like the g1 release
 patchfest. Even if the problems are deep inside the guru code, and there's
 no chance anyone else can fix it, you STILL gain by offloading the rest of
 the work. (Go read LKML for a while if you want -lots- of examples of that.
 Its not common for someone new to the project to make deep, guru-level fixes
 and patches. But it -is- common for newcomers to take care of their own
 bugs, make incremental improvements, help others and generally take load off
 the older members of the community.)

 And to skip ahead in the thread:
 {Quote Romainguy}

 So far, only the 1.1 SDK was released after the firmware (and not long
 after at that.) I don't understand the point of this discussion. We
 know that the SDK should be released before the bits are placed on
 actual devices and you know that as well. Since there's been no
 announcement of Cupcake availability on actual handsets, why all this
 fuss?

 Because in a -community- project, things such as timelines, release
 deadlines, requirements and so forth are public. In a proprietary project,
 they are generally private. (Although in the software/mobile space,
 generally much less private than Android.) Google bills this as a community
 project but treats it as a proprietary one. So all the fuss is because
 people went Ooh! A community project! I'll help! and got told to shove off
 until it gets released.

 On Tue, Mar 24, 2009 at 12:01 PM, David Turner di...@android.com wrote:

 Hmm.. Despite the fact that this is what we want, we cannot make a
 guarantee that the Cupcake SDK will be officially released strictly before
 the platform is available on retail phones.

 Properly testing and packaging a SDK takes a lot of time, we may encounter
 blocker bugs that have nothing to do with the software on the phone (e.g.
 emulator crashes on platform X, ADB doesn't see emulator/devices on 
 platform
 Y, etc..). While we test the SDK frequently during development, doing the
 necessary job to ensure that it's not going to break on the machines of all
 people who download it from the official repository takes some time. And
 then, the web site needs to be updated, especially the documentation needs
 to reflect the new features / fixes / etc...

 But apart from that, I don't see a reason why this SDK would lag behind,
 and as I said, we want it to be released ASAP.

 On Tue, Mar 24, 2009 at 4:47 PM, Al Sutton a...@funkyandroid.com wrote:

 JBQ,

 Can you pass up the chain that the 'phrase

 ...you can be sure that you'll have an official SDK for a
 cupcake-originated release as soon as possible.

 should be planned to be a point in time (hopefully a couple of weeks)
 before
 a carrier releases a device with it on.

 I'm sure you're aware there's no bigger recipe for pain than when the
 first
 people to test applications on a new release of a platform are users who
 are
 trying out a 

[android-developers] Re: migrate android to hardware

2009-01-30 Thread Pierre Bonnefoy
Hi,
My two cents :
- use the correct group, android-porting, which is full of discussions like
this one.
- you can also have a look at sites like http://elinux.org/Android_on_OMAP

But if you look at the discussions on android-porting, you will find loads
of ressources, informations and people already trying to achieve what you
are asking for ;-).

Regards,

Pierre

2009/1/30 jacky jacky_w...@ovt.com.cn

 Hi all:

I'am going to migrate android to OMAP2430. how could I get start?
Is there any migration step I can follow ? Is that possible to share
 some resource with me?
Thanks
 


--~--~-~--~~~---~--~~
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 Dev Phone 1™

2008-12-09 Thread Pierre Bonnefoy
Considering it statesThe device currently costs $399 (USD) (including free
shipping in the US), and will be available for purchase in 18 international
markets, including the US, UK, Germany, Japan, India, Canada, France,
Taiwan, Spain, Australia, Singapore, Switzerland, Netherlands, Austria,
Sweden, Finland, Poland, and Hungary. We will continue to expand this
program into new geographies over time. Check this page for updated
information.

As New Zealand is not in the list, I would consider that it won't ship
there. Sure that is frustrating. So a little word from a google staff member
clarifying how often this list could be updated would be welcome.

Thx

2008/12/9 Josh Roesslein [EMAIL PROTECTED]

 If they are shipping internationally to other counties, I don't see why not
 ship it to New Zealand.
 Not sure if the phone will work there, depends if its band frequencies
 match up with your carriers.
 Hopefully a Google staff member can clear this up.


 On Mon, Dec 8, 2008 at 5:52 PM, Izard [EMAIL PROTECTED] wrote:


 The page (http://code.google.com/android/dev-devices.html) suggests
 it's possible to ship the device in US, UK, Germany, Japan, India,
 Canada, France, Taiwan, Spain, Australia, Singapore, Switzerland,
 Netherlands, Austria, Sweden, Finland, Poland, and Hungary.

 What about other countries, e.g. will it ship to me to New Zealand?
 Thanks!
 Alexander

 On Dec 9, 12:02 pm, Justin (Google Employee) [EMAIL PROTECTED]
 wrote:
  To your second question, the frequencies supported are listed in the
  device's specs. Specifically, it is quad-band GSM, so you should get
  EDGE speeds anywhere in the world with GSM and EDGE. It supports UMTS
  on 1700Mhz and 2100Mhz frequencies (bands I and IV). ATT operates
  their 3G network on bands II and V.
 
  Cheers,
  Justin
  Android Team @ Google
 
  On Dec 8, 2:57 pm, szeldon [EMAIL PROTECTED] wrote:
 
   I know just an answer for the first question:
 
  http://groups.google.com/group/android-developers/browse_thread/threa.
 ..
 
   On Dec 8, 8:49 pm, Pastymage [EMAIL PROTECTED] wrote:
 
  Does anyone have a more detailed FAQ than the text onhttp://
 android.brightstarcorp.com/? My main concern is that GPS is
not listed anywhere in the hardware features - does it actually
support GPS, or not?
 
  Aside from that, I'm unclear on how the 3G bands work - what would
the actual bandwidth of this device be on ATT, for example?
 
-Dave




 


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



[android-developers] Re: Building on Ant

2008-12-09 Thread Pierre Bonnefoy
You'd rather keep the build.xml file where it currently is.You'd rather
indicate ant how to find the buildfile using an option. Should be --build or
--buildfile (???).
ant --help should help you find out the correct option to use.

2008/12/9 Tharun Kumar [EMAIL PROTECTED]


 Hi,

 I'm trying to build on Ant. But I'm stuck with a thing. When I try to
 run ant, I'm getting following error note on command prompt.

 I've copied the build.xml inside java folder.

 D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\binant
 Unable to locate tools.jar. Expected to find it in C:\Program
 Files\Java\jre1.6.
 0_02\lib\tools.jar
 Buildfile: build.xml does not exist!
 Build failed

 Prior to this, I've set JAVA_HOME environment variable.

 Which is the right path to copy the build.xml?

 Can you someone help on this?

 Regards,
 Tharun

 


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



[android-developers] Re: New SDK Available

2008-12-07 Thread Pierre Bonnefoy
A SIM is necessary if you want to make phone calls on a standard cellular
networks (I mean, you can still make phone calls on WiFi without a SIM).
2008/12/7 Xavier Mathews [EMAIL PROTECTED]


 I thought that iphone was also an ipod and has over 10,000 apps what
 is the point of a sim?



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



[android-developers] Re: Bug in IM client

2008-11-30 Thread Pierre Bonnefoy
http://source.android.com/report-bugs

2008/12/1 bradycl_84043 [EMAIL PROTECTED]


 Can you give me a link to instructions for doing so?

 Thanks!

 Brady W. Clark
 [EMAIL PROTECTED]

 On Nov 30, 3:22 pm, Xavier Mathews [EMAIL PROTECTED] wrote:
  Post This In The Issue Tracker! And it will be taken care of!
 
  Xavier A. Mathews
  Student/Browser Specialist/Developer/Web-Master
  Google Group Client Based Tech Support Specialist
  Hazel Crest Illinois
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
  Fear of a name, only increases fear of the thing itself.
 
  On Sun, Nov 30, 2008 at 2:21 AM, bradycl_84043 [EMAIL PROTECTED]
 wrote:
 
 
 
 
 
   Just wanted to report a bug in the IM client.
 
   I have a yahoo ID of bradycl_98012.  When I moved to a new zip code a
   few years ago I created an alias within that yahoo ID of
   bradycl_84043.  I log into yahoo messenger using bradycl_84043, I am
   on almost all of my friends buddy lists as bradycl_84043.  When I log
   onto yahoo IM on my G1 as bradycl_84043 and send an IM to one of my
   friends, they receive it from bradycl_98012.
 
   I can see that if someone had privacy reasons for having multiple
   aliases this could be considered a very serious bug.
 
   Please let me know if my description was unclear, or if this should be
   posted or sent to some other location.
 
   Thanks!
   Brady W. Clark
   [EMAIL PROTECTED] Hide quoted text -
 
  - Show quoted text -
 


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



[android-developers] Re: android htc touch HD

2008-11-25 Thread Pierre Bonnefoy
Hi,

You should look there
http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux

and in this related thread on their forum

http://forum.xda-developers.com/showthread.php?t=402002

Pierre

2008/11/24 Josh Joy [EMAIL PROTECTED]

 Hi,

 Was wondering if anyone was working on putting android on the htc touch HD?
 If there are any efforts,  I would be willing to help out.

 Thanks,
 Josh

 


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



[android-developers] Re: How to control the image size in a ListView?

2008-07-22 Thread Pierre

Hi, Guillaume and Frantz

Thank you very much.
I made a little mistake in my code. That is why some error occured
when displaying the images.
I have solved it. Thank you!

Pierre

On 7月21日, 下午4时38分, Guillaume Perrot [EMAIL PROTECTED] wrote:
 Ok Frantz but this doesn't answer me why Pierre's code doesn't work.
 To understand Pierre's problem I have to see Pierre's code.

 On 21 juil, 15:41, Fräntz Miccoli [EMAIL PROTECTED] wrote:



  Look at my codeGuillaume, this exactly what I've done.

  On 21 juil, 11:15,GuillaumePerrot[EMAIL PROTECTED] wrote:

   Hi, Pierre.
   It was not that layout file I was thinking of but rather the one you
   may have used with an ArrayAdapter to render each list entry.

   On 21 juil, 10:50, Pierre [EMAIL PROTECTED] wrote:

Hi,GuillaumePerrot,

Thanks for you reply.
Here is my layout for the ImageList:
?xml version=1.0 encoding=utf-8?

LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
        android:orientation=vertical 
android:layout_width=fill_parent
        android:layout_height=fill_parent

TextView
        android:layout_width=wrap_content
        android:layout_height=wrap_content
        android:text=@string/image/

ListView android:id=@+id/android:list
          android:layout_width=fill_parent
          android:layout_height=fill_parent/

/LinearLayout

Hope that you can help me more!

Pierre

On 7月20日, 上午11时39分,GuillaumePerrot[EMAIL PROTECTED] wrote:

 Could you send the layout file you use with your adapter ?
 Do you override the ArrayAdapter class to use images in list view ?
 I had no problem working with images in list view.

 On 18 juil, 16:28, Pierre [EMAIL PROTECTED] wrote:

  Hi all,

  I am making a listView withimagein it. But I run into a problem with
  controlling theimagesizein the list.
  The images in my list are always very small. I can not see the 
  images
  because the images in my drawable file are big.
  Is it possible to customize theimagesizein the ListView?
  Can anyone tell me how to solve this problem?

  Thanks!

  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: How to control the image size in a ListView?

2008-07-21 Thread Pierre

Hi, Guillaume Perrot,

Thanks for you reply.
Here is my layout for the ImageList:
?xml version=1.0 encoding=utf-8?

LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:orientation=vertical android:layout_width=fill_parent
android:layout_height=fill_parent

TextView
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=@string/image/

ListView android:id=@+id/android:list
  android:layout_width=fill_parent
  android:layout_height=fill_parent/

/LinearLayout

Hope that you can help me more!

Pierre

On 7月20日, 上午11时39分, Guillaume Perrot [EMAIL PROTECTED] wrote:
 Could you send the layout file you use with your adapter ?
 Do you override the ArrayAdapter class to use images in list view ?
 I had no problem working with images in list view.

 On 18 juil, 16:28, Pierre [EMAIL PROTECTED] wrote:



  Hi all,

  I am making a listView withimagein it. But I run into a problem with
  controlling theimagesizein the list.
  The images in my list are always very small. I can not see the images
  because the images in my drawable file are big.
  Is it possible to customize theimagesizein the ListView?
  Can anyone tell me how to solve this problem?

  Thanks!

  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] How to control the image size in a ListView?

2008-07-18 Thread Pierre

Hi all,

I am making a listView with image in it. But I run into a problem with
controlling the image size in the list.
The images in my list are always very small. I can not see the images
because the images in my drawable file are big.
Is it possible to customize the image size in the ListView?
Can anyone tell me how to solve this problem?

Thanks!

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] How to put images in the ListView?

2008-07-16 Thread Pierre

Hi, all,

I would like to make a ListView with images in the list?
I have no idea how to put images in the list.
Anyone can tell me how to do it?

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] How to use Bundle and intent?

2008-06-23 Thread Pierre

Hi, all,

Anyone can tell me how to put data into a Bundle and then put it into
an intent?
Can you give me some simple code of how to use it?
I can not understand very well android.os.bundle and intent in the
SDK document.

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] How to broadcast an intent?

2008-06-16 Thread Pierre

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] Is there any class which implements sending a MMS in Android?

2008-04-24 Thread Pierre

Hi, all

Is there any class which implements sending a MMS in Android?
I would like to send a MMS(text, image, video ect) between Android
device,
How to implement this?

Any one can help me?
Thanks
--~--~-~--~~~---~--~~
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] How to communicate between two android devcies?

2008-04-22 Thread Pierre

Hi, all,

If I want to send a multimedia message(text, image, video) from one
devcie to another devcie, how to do that?
How to make all the things(text, image, video) together to send them?
Is it possible to send a file(image or video or text) as an
attachment?

Tkank you!
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] How to insert image?

2008-04-21 Thread Pierre

Hi, all

I want to design an interface which can input text and insert image.
But I don't know how to insert an existed image. Which class should I
use?

Anyone can heip me?

Thanks
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: How to insert image?

2008-04-21 Thread Pierre

Thank you, Gibson! I'll go to see the demo.

On 4月21日, 上午11时09分, Gibson [EMAIL PROTECTED] wrote:
 Well. Maybe you can using ImageView i think. There are lots of demo in
 ApiDemo application. You can try it. Good luck.

 On Apr 21, 4:54 pm, Pierre [EMAIL PROTECTED] wrote:



  Hi, all

  I want to design an interface which can input text and insert image.
  But I don't know how to insert an existed image. Which class should I
  use?

  Anyone can heip me?

  Thanks
  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] questions of inserting image

2008-04-17 Thread Pierre

I want to design an simple multimedia message interface for testing
the network. And now I have a question of how to insert image into the
message. Is there anyone who can tell me about it? Many thanks.
--~--~-~--~~~---~--~~
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: About iPhone OS and SDK

2008-04-16 Thread Pierre N
Objective-C :
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/chapter_1_section_1.html

On Wed, Apr 16, 2008 at 7:17 AM, pramod shinde [EMAIL PROTECTED] wrote:


 Hi everyone,
 Can anybody let me know what is development language used by Apple  for
 developing there applications?


 Regards,

 Pramod K.Shinde


 between -00-00 and -99-99
 


--~--~-~--~~~---~--~~
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: Problem:ActivityManager Error type 3

2008-03-25 Thread Pierre Neihouser

Without your code or your Manifest.xml file it's almost impossible to help you.
It looks like you are referring somewhere to LayoutAndy.Layoutandy, my first 
guess would be a lower instead of upper case issue with Layoutandy.
 
On Tuesday, March 25, 2008, at 06:49AM, Dagger [EMAIL PROTECTED] wrote:

somebody having some idea.
need help on this.

On Mar 24, 3:17 pm, Dagger [EMAIL PROTECTED] wrote:
 I am having this problem while running th code in emulator.
 Maybe it is a repetition of question but I can't find the solution.

 [2008-03-24 15:26:28 - LayoutAndy] --
 [2008-03-24 15:26:28 - LayoutAndy] Android Launch!
 [2008-03-24 15:26:29 - LayoutAndy] Launching: LayoutAndy.Layoutandy
 [2008-03-24 15:26:55 - LayoutAndy] --
 [2008-03-24 15:26:55 - LayoutAndy] Android Launch!
 [2008-03-24 15:26:55 - LayoutAndy] Launching: LayoutAndy.Layoutandy
 [2008-03-24 15:26:56 - LayoutAndy] Pushing LayoutAndy.apk to /data/app
 on the device
 [2008-03-24 15:26:56 - LayoutAndy] Starting activity on device:
 LayoutAndy.Layoutandy
 [2008-03-24 15:26:57 - LayoutAndy] WARNING: Package LayoutAndy is
 already registered by usage: pm -l: Display all registered
 packages.
 [2008-03-24 15:26:57 - LayoutAndy] WARNING: Package LayoutAndy is
 already registered by usage: pm -lf   : Display all registered
 packages and their associated file.
 [2008-03-24 15:26:57 - LayoutAndy] ActivityManager: Starting: Intent
 { comp={LayoutAndy/LayoutAndy.Layoutandy} }
 [2008-03-24 15:26:57 - LayoutAndy] WARNING: Package LayoutAndy is
 already registered by pm -p PACKAGE  : Display the file that
 registered the specified package.
 [2008-03-24 15:26:57 - LayoutAndy] ActivityManager: Error type 3
 [2008-03-24 15:26:57 - LayoutAndy] ActivityManager: Error: Activity
 class {LayoutAndy/LayoutAndy.Layoutandy} does not exist.
 [2008-03-24 15:26:57 - LayoutAndy] WARNING: Package LayoutAndy is
 already registered by [1]   Killed  pm -p LayoutAndy

 \What to do to debug this problem.
 Thanks for replies.




--~--~-~--~~~---~--~~
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: to phone

2008-03-25 Thread Pierre Neihouser

You can't, see third Frequently Asked Question here :
http://code.google.com/android/kb/general.html
 
On Tuesday, March 25, 2008, at 03:11PM, Danny Jr [EMAIL PROTECTED] wrote:

Just wondering how I can get Andriod on my phone i have a motorola q




--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---