[android-developers] unsubscribe

2009-11-16 Thread jphdsn
how to unsubscribe to developper group?

-- 
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] start and stop BOOT_COMPLETED in broadcast receiver

2009-06-22 Thread jphdsn


Hi,

Could we, and how (-:)) start and stop a broadcast receiver receving
the android.intent.action.BOOT_COMPLETED ?  As I want have control on
a service awaken by the BOOT_COMPLETED.

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

2009-06-21 Thread jphdsn

Hi,

Could we, and how (-:)) start and stop a broadcast receiver receving
the android.intent.action.BOOT_COMPLETED ?  As I want have control on
a service awaken by the BOOT_COMPLETED.

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: zoomcontrol position in a mapView

2009-06-19 Thread jphdsn

 I will use setBuidInZoomControls...
Thanks,

On 19 juin, 14:25, "Mark Murphy"  wrote:
> > Could we with the 1.5 sdk change the position of the zoomcontrol in a
> > mapView as The setBuidInZoomControls (different of getControl()method
> > is not a child of a view?
>
> The Android 1.1-era getZoomControls() method is still available in Android
> 1.5, though it is deprecated. Instead of calling setBuiltInZoomControls(),
> you call getZoomControls() and add them to the container of your choice,
> positioned somewhere on-screen.
>
> That being said, because getZoomControls() is deprecated, and
> setBuiltInZoomControls() is now standard, and since
> setBuiltInZoomControls() puts the zoom controls centered on the bottom,
> users will start expecting the zoom controls to be centered on the bottom.
> Hence, if you elect to do something differently, be sure to let your users
> know.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~---~--~~
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] zoomcontrol position in a mapView

2009-06-19 Thread jphdsn

Could we with the 1.5 sdk change the position of the zoomcontrol in a
mapView as The setBuidInZoomControls (different of getControl()method
is not a child of a view?

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] Position of tha zoom in a mapView

2009-06-19 Thread jphdsn

Hi

If anyone knows how to change the position of the zoom in a mapView.

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] mapView and zoom widget position

2009-06-18 Thread jphdsn

hi

Could we, in a mapView, change the position of the widget wich
controls the zoom?
(as the setBuitInControls(true) just set the widget!)

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] TabHost and MapView

2009-06-11 Thread jphdsn

Hi

Could we play two different Maps in a ame TabHost? One for each
TabSpec?

Thank
--~--~-~--~~~---~--~~
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: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn

Hi.

I saw with the netstat -a command that the port 5037 was occupied.
It's OK now.

thanks

On 10 juin, 16:11, "H N Kavya-DXN738"  wrote:
> Try killing the daemon many times. And again try starting it. It may
> help
>
> -Original Message-
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of jphdsn
> Sent: Wednesday, June 10, 2009 7:36 PM
> To: Android Developers
> Subject: [android-developers] ADB server didn't ACK, cannot bind tcp...
>
> Hi
> Coud anyone tell me if he had been teh same problem witj the adb command
> line?
>
> jphdsn$ /Developer/android-sdk-mac_x86-1.5_r2/tools/adb shell
> * daemon not running. starting it now *
> cannot bind 'tcp:5037'
> ADB server didn't ACK
> * failed to start daemon *
> error: cannot connect to daemon
>
> And if there is a solution
>
> 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: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn

Hi.

I saw with the netstat -a command that the port 5037 was occupied.
It's OK now.

thanks

On 10 juin, 16:11, "H N Kavya-DXN738"  wrote:
> Try killing the daemon many times. And again try starting it. It may
> help
>
> -Original Message-
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of jphdsn
> Sent: Wednesday, June 10, 2009 7:36 PM
> To: Android Developers
> Subject: [android-developers] ADB server didn't ACK, cannot bind tcp...
>
> Hi
> Coud anyone tell me if he had been teh same problem witj the adb command
> line?
>
> jphdsn$ /Developer/android-sdk-mac_x86-1.5_r2/tools/adb shell
> * daemon not running. starting it now *
> cannot bind 'tcp:5037'
> ADB server didn't ACK
> * failed to start daemon *
> error: cannot connect to daemon
>
> And if there is a solution
>
> 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: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn

Precision, I'm on macintosh...

On 10 juin, 16:29, jphdsn  wrote:
> I don't think so but how can I be sure of that?
>
> thanks
>
> On 10 juin, 16:22, David Turner  wrote:
>
> > The ADB server binds and listen to port 5037. The error message seems to
> > indicate that another process is already using this port.
> > Do you have specific services / background programs running your machine ?
>
> > On Wed, Jun 10, 2009 at 4:06 PM, jphdsn  wrote:
>
> > > Hi
> > > Coud anyone tell me if he had been teh same problem witj the adb
> > > command line?
>
> > > jphdsn$ /Developer/android-sdk-mac_x86-1.5_r2/tools/adb shell
> > > * daemon not running. starting it now *
> > > cannot bind 'tcp:5037'
> > > ADB server didn't ACK
> > > * failed to start daemon *
> > > error: cannot connect to daemon
>
> > > And if there is a solution
>
> > > 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: ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn

I don't think so but how can I be sure of that?

thanks

On 10 juin, 16:22, David Turner  wrote:
> The ADB server binds and listen to port 5037. The error message seems to
> indicate that another process is already using this port.
> Do you have specific services / background programs running your machine ?
>
> On Wed, Jun 10, 2009 at 4:06 PM, jphdsn  wrote:
>
> > Hi
> > Coud anyone tell me if he had been teh same problem witj the adb
> > command line?
>
> > jphdsn$ /Developer/android-sdk-mac_x86-1.5_r2/tools/adb shell
> > * daemon not running. starting it now *
> > cannot bind 'tcp:5037'
> > ADB server didn't ACK
> > * failed to start daemon *
> > error: cannot connect to daemon
>
> > And if there is a solution
>
> > 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] ADB server didn't ACK, cannot bind tcp...

2009-06-10 Thread jphdsn

Hi
Coud anyone tell me if he had been teh same problem witj the adb
command line?

jphdsn$ /Developer/android-sdk-mac_x86-1.5_r2/tools/adb shell
* daemon not running. starting it now *
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon

And if there is a solution

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] SDK 1.5 and Eclipse problem

2009-06-10 Thread jphdsn

Hi,

I'm just trying the SDK 1.5 with a new installation of Eclipse and the
eclipse plugin

When I import a project and run it, I have an error message :

[2009-06-10 12:20:09 - Lunc] The connection to adb is down, and a
severe error has occured.
[2009-06-10 12:20:09 - Lunc] You must restart adb and Eclipse.
[2009-06-10 12:20:09 - Lunc] Please ensure that adb is correctly
located at '/Developer/android-sdk-mac_x86-1.5_r2/tools/adb' and can
be executed.

The problem is that adb is correctly located... And when I restart
Eclipse the problem is still the same.


Does anyone know a solution of that problem?

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] SDK 1.5 and mac osx problem

2009-06-10 Thread jphdsn

Hi,

I'm just buying a new macintosh and I want to install android.
Previously I used on my old mac, the Android sdk 1.1. So I install
Eclipse and Android sdk 1.5.

But when I import a project and build it, I have an error message :

[2009-06-10 12:20:09 - LunchList] The connection to adb is down, and a
severe error has occured.
[2009-06-10 12:20:09 - LunchList] You must restart adb and Eclipse.
[2009-06-10 12:20:09 - LunchList] Please ensure that adb is correctly
located at '/Developer/android-sdk-mac_x86-1.5_r2/tools/adb' and can
be executed.

The problem is that adb is correctly located... And when I restart the
problem is still the same.


Do someone knows an issue for 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
-~--~~~~--~~--~--~---



[android-developers] Content Provider and Files

2009-06-07 Thread jphdsn

Hi,

I want create a Content Provider for JSON files. In that case, where
could I store the files?

First, I thought that I could store the files in an SDCARD, but not
all the devices have or will have an SDCARD.

Second, if I create this files in the app, can I use Content Provider?
And what's the maximum of  kilobits the files could have?

Third, Is there another solution?

Thanks and regard


--~--~-~--~~~---~--~~
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: Receive email permission?

2009-01-08 Thread jphdsn

hi, I hadn't seen the title...

maybe pemissions about internet

like "android.permission.INTERNET"

look at the list of permissions

http://code.google.com/android/reference/android/Manifest.permission.html


On Jan 8, 11:14 pm, jphdsn  wrote:
>put  that permission in your manifest !
>
> 
>
> On Jan 6, 9:38 pm, Matt Hall  wrote:
>
> > Hi All,
>
> > I'm looking for a permission or something similar to the SMS
> > equivalent java.lang.String RECEIVE_SMS. I'd like to be able to
> > process incoming emails in my app and am wondering if there's a way to
> > do that.
>
> > Thanks very much,
> > Matt
--~--~-~--~~~---~--~~
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: Receive email permission?

2009-01-08 Thread jphdsn

   put  that permission in your manifest !



On Jan 6, 9:38 pm, Matt Hall  wrote:
> Hi All,
>
> I'm looking for a permission or something similar to the SMS
> equivalent java.lang.String RECEIVE_SMS. I'd like to be able to
> process incoming emails in my app and am wondering if there's a way to
> do that.
>
> Thanks very much,
> Matt
--~--~-~--~~~---~--~~
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] how to have the type of DATA (for email?)

2009-01-08 Thread jphdsn

Hi, How to recognize the type of an Email?

The code above doesn't work cause Contacts.ContactMethods.TYPE makes
it bug

Cursor  nameCursor = managedQuery
(Contacts.ContactMethods.CONTENT_EMAIL_URI,
new String[]
Contacts.ContactMethods._ID,Contacts.ContactMethods.DATA,
 
Contacts.ContactMethods.TYPE,Contacts.ContactMethods.NAME,

  },
null, null, null);

So I can't ask for the TYPE of email.

Do we must built a content CONTENT_DIRECTORY for a contact that?

someting like that?   Uri.Builder builder =
Contacts.ContactMethods.CONTENT_EMAIL_URI,.buildUpon();
ContentUris.appendId(builder, nameCursor

.getLong(nameColumnIndex));
builder.appendEncodedPath
(Contacts.ContactMethods.CONTENT_DIRECTORY);

Uri phoneNumbersUri = builder.build();
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] hey Google men! Autocomplete problem. thanks

2009-01-06 Thread jphdsn

hi
,
How to use AutoCompleteTextWiew  with a cursor ?

I tried for instance for the cursor addr

contact.addTextChangedListener(this);
contact.setAdapter(new SimpleCursorAdapter
(this,R.layout.selectmail_item,addr,
new String[]
{Contacts.ContactMethods.NAME},new int[]
{R.id.name}));

but all my contacts names are played. A

Autocomplete works with ArrayList? when I trie it doesn't work.

Is this a bug? Or something that I don't understand?

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] AutocompleteTextView with cursor

2009-01-06 Thread jphdsn

hi
,
How to use AutoCompleteTextWiew  with a cursor ?

I tried for instance for the cursor addr

contact.addTextChangedListener(this);
contact.setAdapter(new SimpleCursorAdapter
(this,R.layout.selectmail_item,addr,
new String[]
{Contacts.ContactMethods.NAME},new int[]
{R.id.name}));

but all my contacts names are played

If somebody knows how to resolve this kind of problem It will be
fine!!

--~--~-~--~~~---~--~~
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] Autocomplete with simpleCursorAdapter or ArrayList

2009-01-05 Thread jphdsn

hi,

to use an AutoCompleteTextWiew  with an Array of string (mString)  we
can use for instance

contact.addTextChangedListener(this);
setAdapter(new ArrayAdapter(this,
 android.R.layout.simple_list_item_1,
 mString));   }

It works, but, how to use it with a cursor or an ArrayList ?

I tried for instance for the cursor addr

contact.addTextChangedListener(this);
contact.setAdapter(new SimpleCursorAdapter
(this,R.layout.selectmail_item,addr,
new String[] {Contacts.ContactMethods.NAME},new int[]
{R.id.name}));

but all my contacts names are played

and for instance for the ArrayList  mStrings = new ArrayList
();

contact.addTextChangedListener(this);
contact.setAdapter(new ArrayAdapter
(this,R.layout.selectmail_item,R.id.name,mStrings));


it doesn't work at all,I've tried a lot of things for nothing... If
somebody knows how to resolve this kind of problem It will be
fine!!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Problem with list.setOnItemSelectedListener (new OnItemSelectedListener() {});

2009-01-03 Thread jphdsn

Hi,
somebody knows why when nothing is selected on the list LIST the
variable TextView ADNAME doesn't set the text "toto" in the code
above? But the first String in position 0 of the String[]name?

Why this code works only when a row of the list is selected?

LIST.setOnItemSelectedListener (new OnItemSelectedListener() {
 public void onItemSelected(
 AdapterView parent, View view, int position,
long id) {

String[] name= mStrings.get(position);

ADNAME.setText(name[1].toString());

 }

 public void onNothingSelected(AdapterView parent) {

   ADNAME.setText("toto");
 }
 });

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] email adress from Contacts.ContactMethods. (again!)

2008-12-21 Thread jphdsn

to get email adress ao one contact, I tried

String[] PROJECTION = new String[] {Contacts.ContactMethods._ID };

Cursor cu =
getContentResolver().query
(Contacts.ContactMethods.CONTENT_EMAIL_URI,
PROJECTION,Contacts.ContactMethods.PERSON_ID
+"=\'"+IDPerson+"\'",null,null);

startManagingCursor(cu);



I found one person that I selected  by a cursor that I build before

 Cursor nameCursor = managedQuery(People.CONTENT_URI, new String[] {
People._ID, People.NAME 
}, null, null, null);

 and I selected one  id

String IDPerson = nameCursor.getString(nameCursor.getColumnIndex
(People._ID));

Could I use this code to get The mail adress  of the person with the
ID: IDPerson  and how!

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] email adresses from Contacts.ContactMethods

2008-12-21 Thread jphdsn

hi,
how to get the email adresses from Contacts.ContactMethods
I tried a lot of things without success...


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: How to get all list of running applications onto the emulator.

2008-12-21 Thread jphdsn

this file manager lists all files in android, by sorting the appyou
can do your work.
http://www.anddev.org/generalized_file_manager_2_-_gfm20-t397.html

On Dec 21, 9:20 am, "Dianne Hackborn"  wrote:
> Use the PackageManager class to find out about installed apps, and
> ActivityManager has some information about running stuff, though it won't be
> until cupcake that we have a list of running apps available.
>
> On Sat, Dec 20, 2008 at 2:45 AM, Raj  wrote:
>
> > Hi,
> >   I want make a list of applications. How many applications installed
> > on to the emulator and among that how many are in running mode at the
> > background. How to get the applications list ?
>
> > Please reply us..
> > Raj
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~-~--~~~---~--~~
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] Contacts.ContactMethods. for Email

2008-12-20 Thread jphdsn

hi, I code an app and want to retrieve email from Contacts app of
android. If somebody knows how to retrieve the mails of a contact...
it will be cool or if someone could tell me why the code below doesn't
work and how  it could be work...

String selection = Contacts.ContactMethods.KIND
+"="+Contacts.ContactMethods.CONTENT_EMAIL_TYPE;

Cursor groupCursor1 = managedQuery(
   Contacts.ContactMethods.CONTENT_URI, null,selection,null, null);

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: setImageURI()

2008-12-15 Thread jphdsn

precisions...

Images that I use are in SDCARD,

I had obtained the URI (I think there is no error with the URI), by

Uri uriImage=Media.EXTERNAL_CONTENT_URI;
uriImage=Uri.withAppendedPath(uriImage,idImage);

and they are jpg.

im in the code above is an ImageView

thanks



On Dec 15, 3:29 pm, jphdsn  wrote:
> hi
>
> I try to use the method setImageURI(URI of the image) but the image
> doesn't play itself?
>
> my code
> 
> im=new ImageView(SelectImage.this);
> im.setImageURI(uriImage);
> im.setAdjustViewBounds(true);
> ---
>
> Anybody has an 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] setImageURI()

2008-12-15 Thread jphdsn

hi

I try to use the method setImageURI(URI of the image) but the image
doesn't play itself?

my code

im=new ImageView(SelectImage.this);
im.setImageURI(uriImage);
im.setAdjustViewBounds(true);
---

Anybody has an 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] MediaStore.Images.Media.INTERNA L_CONTENT¨_URI

2008-12-14 Thread jphdsn

hi,

how put images in

MediaStore.Images.Media.INTERNAL_CONTENT¨_URI


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

2008-12-14 Thread jphdsn

Problem,

how could I put images in
MediaStore.Images.Media..INTERNAL_CONTENT¨_URI or
MediaStore.Images.Media..EXTERNAL_CONTENT¨_URI

is there any link the app Pictures?

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

2008-10-27 Thread jphdsn

and you don't find a solution?

On Oct 27, 12:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I was wondering the same thing yesterday. I'm trying to make minor
> changes to the notepad tutorial and this was one of them!
--~--~-~--~~~---~--~~
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] EditText

2008-10-26 Thread jphdsn

Anyone knows if we could set an EditText where the first wrote words
would be on the top totthe and the left

exemple in this EditText the first wrote word would be on the the left
but in the middle



regards
--~--~-~--~~~---~--~~
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] use dependencies

2008-10-24 Thread jphdsn

Anyone knows how to use dependencies in Android.

I need to

import org.apache.http.entity.mime.MultipartEntity;
import org.apache.http.entity.mime.content.FileBody;

but I don't know how import classes that are not in Android.

thank's


--~--~-~--~~~---~--~~
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] stream audio with wifi connection

2008-10-24 Thread jphdsn

hello

Has anyone tried to stream audio with wifi connection?

When I run my app stream-audio with adsl connection it works, but with
wifi connection it doesn't.

if someone could give me a response it would be fine

thank's

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

2008-10-24 Thread jphdsn

Has anyone try to stream audio with wifi connection?

When I run my app stream-audio with adsl connection it's work, but
with wifi connection it doesn't.

if someone could give me a response it would be fine

tahnk's


--~--~-~--~~~---~--~~
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] how import org.apache.commons.httpclient ?

2008-10-19 Thread jphdsn

Anyone has imported the package org.apache.commons.httpclient?

Is there a special mnipulation? If someone could give me a response it
will be fine.

thank's
--~--~-~--~~~---~--~~
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] Sql et android sdk 1.0

2008-09-24 Thread jphdsn

Hello,

In the Notepad Sample there is a a method to open Database and create
a table if it doesn't exist.

public NotesDbAdapter open() throws SQLException {
try {
mDb = mCtx.openDatabase(DATABASE_NAME, null);
} catch (FileNotFoundException e) {
try {
mDb =
mCtx.createDatabase(DATABASE_NAME,
DATABASE_VERSION, 0,
null);
   mDb.execSQL(DATABASE_CREATE);
} catch (FileNotFoundException e1) {
throw new SQLException("Could not create database");
}
}
return this;
}

How do this with the new methods since we open and create DATABASE in
the same time?

Anyone have an idea?  thank's
--~--~-~--~~~---~--~~
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: Recorder Audio

2008-09-23 Thread jphdsn

read arm format works, in bad quality

On Sep 23, 8:17 am, jphdsn <[EMAIL PROTECTED]> wrote:
> have you find a solution?
>
> On Sep 22, 11:50 am, ZIN <[EMAIL PROTECTED]> wrote:
>
> > I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only
> > format audio recorder type is .AMR
> > But the music media in Android can't play this format?
> > What can i solve 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Recorder Audio

2008-09-22 Thread jphdsn

have you find a solution?

On Sep 22, 11:50 am, ZIN <[EMAIL PROTECTED]> wrote:
> I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only
> format audio recorder type is .AMR
> But the music media in Android can't play this format?
> What can i solve 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Recorder Audio

2008-09-22 Thread jphdsn

do you have a solution?

On Sep 22, 11:50 am, ZIN <[EMAIL PROTECTED]> wrote:
> I saw in the properties MediaRecorder.AudioEncoder.AMR_NB, so the only
> format audio recorder type is .AMR
> But the music media in Android can't play this format?
> What can i solve 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem when running SoundRecordingAPISample of Megha

2008-09-22 Thread jphdsn

Hello,
I try the same sample and I have nearly the same result.
have you installed an sdcard and try another time? Have you a positive
result?
I try to install an sdcard but I've always the same line In the
logcat: "sdcard access error"
I think I've an error in the path but don't arrive to resolve it.

If you have the solution can you guide me. Thank's



On Sep 17, 11:18 am, ZIN <[EMAIL PROTECTED]> wrote:
> I have downloaded this project, and try running it in Android
> Emulator.
> When i click on the StopRecording Button, an alert appears :" process
> com.android.samples.audio has stopped unexpectedly ".
> I wonder there is a problem in this project.
> Can someone help me to fix 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] send SMS

2008-09-07 Thread jphdsn

hello, I'm a new french developer on android.


I try the "SMSAPISample" but it doesn't work.

"import android.app.PendingIntent" is not recognize.

I 've take a look to the documentation and It seems that there is no
other way to send SMS.

Someone have tried and succeed with the sample or with another method?

Someone have a response?  thank's



--~--~-~--~~~---~--~~
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 Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---