[android-developers] Re: Which book to use.

2009-12-07 Thread Maps.Huge.Info (Maps API Guru)
I was in your position six months ago and purchased Mark's books as
well as Unlocking Android. I found them quite useful. In addition, I
suggest going over the samples included in the SDK, searching
google.code for examples and also the hundreds of other useful sources
around. Once you start something and run into a problem or question,
post here on this forum and you'll get excellent help.

-John Coryat

Radar Now! (currently #11 in News  Weather, #308 overall, 40,000+
downloads)

What Zip Code?

-- 
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: Is there any posibility to know the size of the video file?

2009-12-07 Thread manoj
Hi  Dexter#39;s Brain,

I already tried MediaStore. But couldn't succeeded.


On Dec 3, 5:09 pm, Dexter#39;s Brain coomar@gmail.com wrote:
 You have to query the MediaStore and get the value of the resolution
 from it.

 http://developer.android.com/reference/android/provider/MediaStore.Vi...

 Have you tried this? I don't know if it works, but i think this is the
 right way.

 Thanks,
 Kumar Bibek.

 http://tech-droid.blogspot.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: linux kernel how to communicate with Android application?

2009-12-07 Thread JW
Is it possible use openbinder(IPC) to work it out?


On 12月4日, 下午5時50分, JW jov...@gmail.com wrote:
 I want to deliver some event to androidapplication.
 I thought it should pass the event to android framework library and
 then transfer the event to androidapplication.

 Is there any clear sample about such scenario?
 or anyone can show me the hint how to make it work.

-- 
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: AudioRecord producing no-sound data. Why?? [SOLUTION]

2009-12-07 Thread Raul
Nobody will know what you want to do untill you give more info.

On 12月7日, 上午10时34分, Hunter  Peress hunt...@gmail.com wrote:
 Logic:
         for (int i = 0; i  tempBuffer.length; i++) {
                                 saveBuffer[saveBufferPos] = tempBuffer[i];
                                 saveBufferPos++;
                         }

 On Dec 6, 6:23 pm, Hunter  Peress hunt...@gmail.com wrote:



  Here is my AudioRecorder class, using audio record, why is it not
  producing any sound data?

  import java.io.FileOutputStream;
  import java.io.IOException;

  import android.content.Context;
  import android.media.AudioFormat;
  import android.media.AudioRecord;
  import android.media.MediaRecorder;

  public class AudioRecorder implements Runnable
  {

          public boolean isRecording = false;

          byte[] tempBuffer = new byte[AudioRecord.getMinBufferSize(44100,
  AudioFormat.CHANNEL_CONFIGURATION_STEREO,
  AudioFormat.ENCODING_PCM_16BIT)];
          byte[] saveBuffer = new byte[tempBuffer.length * 1000];
          int saveBufferPos=0;
          Context ctx;
          String filePath;
          /**
           * Handler is passed to pass messages to main screen Recording is
  done
           */
          public AudioRecorder(Context ctx,String filePath)
          {
                  super();
                  this.filePath = filePath;
                  this.ctx = ctx;
          }

          public void run()
          {
                  AudioRecord recordInstance = null;
                  // We're important...
                  android.os.Process.setThreadPriority
  (android.os.Process.THREAD_PRIORITY_URGENT_AUDIO);
                  recordInstance = new 
  AudioRecord(MediaRecorder.AudioSource.MIC,
  44100, AudioFormat.CHANNEL_CONFIGURATION_STEREO,
  AudioFormat.ENCODING_PCM_16BIT,tempBuffer.length);
                  recordInstance.startRecording();
                  // Continue till STOP button is pressed.
                  this.isRecording = true;
                  long cms = System.currentTimeMillis();
                  while (System.currentTimeMillis() - cms  5000) {
                          for (int i = 0; i  tempBuffer.length; i++) {
                                  tempBuffer[i] = 0;
                          }
                          recordInstance.read(tempBuffer, 0, 
  tempBuffer.length);
                          for (int i = saveBufferPos; i  tempBuffer.length; 
  i++) {
                                  saveBuffer[i] = tempBuffer[i-saveBufferPos];
                                  saveBufferPos++;
                          }
                  }
                  recordInstance.stop();
                  try {
                          FileOutputStream ofo = new 
  FileOutputStream(filePath);
                          ofo.write(saveBuffer);
                          ofo.close();
                  } catch (IOException e) {
                          e.printStackTrace();
                  }
          }

  }- 隐藏被引用文字 -

 - 显示引用的文字 -

-- 
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] Problem with fwrite onto sdcard

2009-12-07 Thread Dianne Hackborn
Be sure you are requesting the WRITE_SDCARD permission, which is needed for
an application to be able to modify data in the SD card.

On Fri, Dec 4, 2009 at 3:56 AM, KK krishnakumar.ramachand...@gmail.comwrote:

 Hi,

  I am very new to Android. I am trying the following code in the
 android ndk.

 FILE* fp = fopen(/sdcard/test, wb)
 if(NULL == fp)
 {
  return errno;
 }
 int written = fwrite(Test, 1, 4, fp);
 if(4 != written)
 {
  return -1;
 }
 fclose(fp);

 return 0;

 I am trying this on emulator and I have created and sdcard for the
 emulator. The function returns 0. When I check the sdcard, a file with
 the name is created, but it is empty. Can anyone please help me on
 this?

 Thanks in advance

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




-- 
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, and so won't reply to such e-mails.  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

Re: [android-developers] What is radio image, flash image, system image?

2009-12-07 Thread Dianne Hackborn
You probably want to be asking this on android-porting.

On Sun, Dec 6, 2009 at 10:35 PM, Prashant p_khurp...@rediffmail.com wrote:

 Hi ,

 It will be helpful if any one can help me out in understanding the
 concept of radio,flash,system image in android mobile device. Also why
 are they required? and what is their role in Device?

 Thanks in Advance,
 Prashant

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




-- 
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, and so won't reply to such e-mails.  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

Re: [android-developers] modify the RecentTasks List

2009-12-07 Thread Dianne Hackborn
Though the code being discussed here is not part of the SDK, so you may want
to post to android-porting if you are talking about modifying the platform.

On Sun, Dec 6, 2009 at 10:21 PM, Romain Guy romain...@android.com wrote:

 Hi,

 No you cannot modify this list.

 On Sun, Dec 6, 2009 at 6:51 AM, Tung wongchunt...@gmail.com wrote:
  I know I can get recent tasks list by using
  ActivityManager - public ListRecentTaskInfo getRecentTasks(int
  maxNum, int flags);
 
  but can I modfiy it?
 
  I also check the source code to find out the storage of recent tasks.
  but I cannot understand it. Where the recent tasks from?
  I want to add a method setRecentTasks to ActivityManagerNative.java
 
  ActivityManagerNative.java
 public ListActivityManager.RecentTaskInfo getRecentTasks(int
  maxNum,
 int flags) throws RemoteException {
 Parcel data = Parcel.obtain();
 Parcel reply = Parcel.obtain();
 data.writeInterfaceToken(IActivityManager.descriptor);
 data.writeInt(maxNum);
 data.writeInt(flags);
 mRemote.transact(GET_RECENT_TASKS_TRANSACTION, data, reply,
  0);
 reply.readException();
 ArrayListActivityManager.RecentTaskInfo list
 = reply.createTypedArrayList
  (ActivityManager.RecentTaskInfo.CREATOR);
 data.recycle();
 reply.recycle();
 return list;
 }
 
  --
  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
 



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




-- 
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, and so won't reply to such e-mails.  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] Re: Register a service with Android framework

2009-12-07 Thread Bharath

I cannot call the third party services by getSystemService() method
but is there a way to
to register my service as System Service so that I can invoke the
service my above method?
I have to register my service with Android Framework.
I think I can do this by making changes to the Android framework and
compile the code.
Please help me out how I can change the Android source code. I already
got Android Source code (Cupcake)
and compiled images on my host machine.


On Dec 5, 10:38 pm, Dianne Hackborn hack...@android.com wrote:
 A third party app can't do that.  As the name says, getSystemService() is
 for system services only.





 On Sat, Dec 5, 2009 at 5:33 AM, Bharath bharath.pat...@gmail.com wrote:

  Hi

  I have a question regarding services.
  In Android I am able to use all the methods defined in the service by
  calling bindService().
  In bindService() we have to pass the ServiceConnection object and
  could able to get the reference of Service Interface through which we
  can invoke service methods.

  But Android framework services (System services) are started in a
  different manner by just calling the getSystemService(). How can I
  register my service with Android framework.

  Please help me on this issue.
  I already downloaded Android source code and compiled on my host
  system.

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

 --
 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, and so won't reply to such e-mails.  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


Re: [android-developers] Problem with fwrite onto sdcard

2009-12-07 Thread Krishnakumar Ramachandran
Hi Dianne,

  I am requesting WRITE_EXTERNAL_STORAGE permission. Is that enough or do i
need some other permission?

On Mon, Dec 7, 2009 at 1:52 PM, Dianne Hackborn hack...@android.com wrote:

 Be sure you are requesting the WRITE_SDCARD permission, which is needed for
 an application to be able to modify data in the SD card.


 On Fri, Dec 4, 2009 at 3:56 AM, KK krishnakumar.ramachand...@gmail.comwrote:

 Hi,

  I am very new to Android. I am trying the following code in the
 android ndk.

 FILE* fp = fopen(/sdcard/test, wb)
 if(NULL == fp)
 {
  return errno;
 }
 int written = fwrite(Test, 1, 4, fp);
 if(4 != written)
 {
  return -1;
 }
 fclose(fp);

 return 0;

 I am trying this on emulator and I have created and sdcard for the
 emulator. The function returns 0. When I check the sdcard, a file with
 the name is created, but it is empty. Can anyone please help me on
 this?

 Thanks in advance

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




 --
 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, and so won't reply to such e-mails.  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.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

Re: [android-developers] Device Specific System Settings

2009-12-07 Thread Dianne Hackborn
If they are not part of the standard system, there is no API for them.  It
is possible for a vendor to provide an ADT plugin with their own APIs, but
afaik HTC has not done this.

On Sat, Dec 5, 2009 at 10:24 AM, Tom Reay tomfr...@gmail.com wrote:

 Hi,
 I'm stuck on trying to change system settings that are not standard
 android ones, specifically trying to enable/disable the auto backlight
 setting on the HTC Hero in code,

 I can't see anyway to find out the string I need to use when doing
 Settings.System.get...

 Thanks for your help

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




-- 
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, and so won't reply to such e-mails.  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

Re: [android-developers] Problem with fwrite onto sdcard

2009-12-07 Thread Dianne Hackborn
Sorry yes that is the one.

You should probably be asking NDK questions on android-ndk, too.

On Mon, Dec 7, 2009 at 12:27 AM, Krishnakumar Ramachandran 
krishnakumar.ramachand...@gmail.com wrote:

 Hi Dianne,

   I am requesting WRITE_EXTERNAL_STORAGE permission. Is that enough or do i
 need some other permission?

 On Mon, Dec 7, 2009 at 1:52 PM, Dianne Hackborn hack...@android.comwrote:

 Be sure you are requesting the WRITE_SDCARD permission, which is needed
 for an application to be able to modify data in the SD card.


 On Fri, Dec 4, 2009 at 3:56 AM, KK 
 krishnakumar.ramachand...@gmail.comwrote:

 Hi,

  I am very new to Android. I am trying the following code in the
 android ndk.

 FILE* fp = fopen(/sdcard/test, wb)
 if(NULL == fp)
 {
  return errno;
 }
 int written = fwrite(Test, 1, 4, fp);
 if(4 != written)
 {
  return -1;
 }
 fclose(fp);

 return 0;

 I am trying this on emulator and I have created and sdcard for the
 emulator. The function returns 0. When I check the sdcard, a file with
 the name is created, but it is empty. Can anyone please help me on
 this?

 Thanks in advance

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




 --
 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, and so won't reply to such e-mails.  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.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




-- 
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, and so won't reply to such e-mails.  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

Re: [android-developers] Re: Register a service with Android framework

2009-12-07 Thread Dianne Hackborn
Again, third party applications can not doing this.  If you are not doing a
third party application, but modifying the platform, you should be posting
to android-porting.

On Mon, Dec 7, 2009 at 12:25 AM, Bharath bharath.pat...@gmail.com wrote:


 I cannot call the third party services by getSystemService() method
 but is there a way to
 to register my service as System Service so that I can invoke the
 service my above method?
 I have to register my service with Android Framework.
 I think I can do this by making changes to the Android framework and
 compile the code.
 Please help me out how I can change the Android source code. I already
 got Android Source code (Cupcake)
 and compiled images on my host machine.


 On Dec 5, 10:38 pm, Dianne Hackborn hack...@android.com wrote:
  A third party app can't do that.  As the name says, getSystemService() is
  for system services only.
 
 
 
 
 
  On Sat, Dec 5, 2009 at 5:33 AM, Bharath bharath.pat...@gmail.com
 wrote:
 
   Hi
 
   I have a question regarding services.
   In Android I am able to use all the methods defined in the service by
   calling bindService().
   In bindService() we have to pass the ServiceConnection object and
   could able to get the reference of Service Interface through which we
   can invoke service methods.
 
   But Android framework services (System services) are started in a
   different manner by just calling the getSystemService(). How can I
   register my service with Android framework.
 
   Please help me on this issue.
   I already downloaded Android source code and compiled on my host
   system.
 
   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.comandroid-developers%2bunsubscr...@googlegroups.comandroid-developers%2Bunsubs
 cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
  --
  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, and so won't reply to such e-mails.  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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
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, and so won't reply to such e-mails.  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] Re: Memory Problem ? and content media provider died

2009-12-07 Thread olivier
I have checked the memory used, I can't see any problem;
All my cursor are closed after being used.

In addition, the last log file I receive show me that this problem
arrived the fifth time the application tryed to use the media
provider.

Is anyone from Google who could give an hilight about this problem ?

Regards,

Olivier

-- 
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: loop sound

2009-12-07 Thread niko20
Hi,

Dont know the answer to that one, I haven't used AudioTrack in
MODE_STATIC much.

-niko

On Dec 6, 11:39 pm, JacobGladish jacobglad...@yahoo.com wrote:
 What is the setLoopPoints (int startInFrames, int endInFrames, int
 loopCount) on the AudioTrack? Will this cause the play() on a static
 AudioTrack to loop or do I need to create a streaming AudioTrack and
 manage my own timer calling write() repeatedly?

 On Dec 7, 12:13 am, JacobGladish jacobglad...@yahoo.com wrote:

  I'm using mostly oggs and it still does it. I'm going to try the
  AudioTrack route.

  On Dec 6, 9:19 pm, niko20 nikolatesl...@yahoo.com wrote:

   Hi,

   Using only the built in Audio stuff (MediaPlayer, SoundPool), the only
   way to get seamless looping is to use samples in OGG format. Otherwise
   you'll need to load the data yourself and play it by shoving it out
   continously into a AudioTrack stream.

   -niko

   On Dec 6, 8:03 pm, JacobGladish jacobglad...@yahoo.com wrote:

Has anyone been able to play a looping sound without any noticeable
delays or ticking sounds when it resets? I tried using the MediaPlayer
with setLookup(true). That seems to require that I manually fade-in
the sound-bite with volume control slowing incresing in order to work
around a nasty tick sound when I call play(), but there's still a very
noticeable sound when the it loops. The SoundPool doesn't do any
better and also seems to require some unknown delay between loading
the sound and playing it.

I think my SoundPool issue is very similar to this:

   http://code.google.com/p/android/issues/detail?id=1484

I was hoping to get some feedback from someone who had any experience
with this before trying the AudioTrack route.- Hide quoted text -

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


[android-developers] Re: Encoding for MP4 progressive download

2009-12-07 Thread arnouf
Hi Mark,

Just for your info, the link
http://android-unleashed.com/tag/convert-video-to-android-g1
is not available anymore.

BR

On Dec 6, 12:09 pm, Mark Murphy mmur...@commonsware.com wrote:
  Yesterday I found a problem to load a remote MP4 file (video).
  Apparently, the file must have a specific format to be read from a
  remote server (using http).

  This post :
 http://groups.google.com/group/android-challenge/browse_thread/thread...

  explains that the file must have a specific format, related moov and
  mdat atoms to be readed correctly.

  So, do you know how to convert a vid correctly with the progressive
  feature and use it in my application ?

  Best regards and thanks by advance for your help.

 mp4box -hint mediafile.mp4

 Where MP4Box binaries for Linux/OS X/Windows are available from:

 http://www.tkn.tu-berlin.de/research/evalvid/

 This looks like an excellent post on the subject, along with how to set up
 Darwin Streaming Server and related bits:

 http://justdevelopment.blogspot.com/2009/10/video-streaming-with-andr...

 Here's some more links that may help:

 https://help.ubuntu.com/community/AndroidVideoEncodinghttp://android-unleashed.com/tag/convert-video-to-android-g1http://www.harelmalka.com/?p=120http://www.apple.com/quicktime/tutorials/hinttracks.html

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html

-- 
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 can I get the video file properties (codec, resolution...etc)

2009-12-07 Thread Dexter#39;s Brain
Hi,

Please refer to the MediaStore Content Provider in Android docs.

Thanks,
Kumar Bibek.
http://tech-droid.blogspot.com

On Dec 7, 10:43 am, manoj manojkumar.m...@gmail.com wrote:
 Hi,

 I would like to know how can we get the video file resolution (width
 and height), and its codec.

 Is there any API available in android which we can the required info
 about the media file as I described above.

 Thanks,
 Manoj.

-- 
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 get the event when the _current_ application install finished.

2009-12-07 Thread feng tian
Hi, All:

I want to do something immediately after my application installed into the
system. Is there such intent or hook to do this?
With many thanks.

BR, Feng.

-- 
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] Smack 3.1.0 an Android

2009-12-07 Thread rtreffer
Hi,

I've hacked together a working smack 3.1.0 lib for Android.

http://github.com/rtreffer/asmack

Here's what's inside:
- apache harmony spec for javax.security.sasl
- qpid and novell openldap/jldap for SaslClient impl. (Plain  Digest-
MD5)
- smack(x)
- various patches  shell scripts to glue that
- some minor glue code (fake Sasl.java, AndroidDebugger.java (so
you'll get all stanzas on the logcat when debug is enabled))

What's not working ATM:
- DigestMD5 (currently PLAIN works, if you know how to debug this, plz
help, it's propably the biggest drawback atm, it is currently patched
out in the SASLAuthentication code of smack)
- DNS/SRV (porting http://www.xbill.org/dnsjava/ is on my radar)

What's working: ( code on http://buddycloud.googlecode.com )
- logn via sasl/PLAIN
- Roster
- Geoloc stanzas (custom stanzas)
- Debugging (all stanzas on logcat)
UI is one of the next things :-)

Keep in mind that the radio connection is slow, so you may run into
timing problems (look at your logcat)

Rebuild requires a current android jar, just cp /your/sdk/platform/
2.0.1/android.jar lib/android-201.jar ./build.sh should work.

A first download is available from http://github.com/rtreffer/asmack/downloads

Patches/Ideas welcome.

Regards,
  Rene

-- 
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 the event when the _current_ application install finished.

2009-12-07 Thread feng tian
Or, in a fallback solution. Can my application automatically run after the
installation?
Thanks.

BR, Feng

2009/12/7 feng tian feng.of.t...@gmail.com

 Hi, All:

 I want to do something immediately after my application installed into the
 system. Is there such intent or hook to do this?
 With many thanks.

 BR, Feng.


-- 
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] ps3 remote control

2009-12-07 Thread Aspidoff
Does android 2.0 API allow to developer an app that controls your PS3.
If so, is anyone willing to develop something like this for a fee?

-- 
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] html5 and video tag working example

2009-12-07 Thread phiil leaz
i tried this code but without success in the emulator.

Does this code work on hardware ?



video src='http://tinyvid.tv/vfe/big_buck_bunny.mp4' poster='
http://camendesign.com/code/video_for_everybody/poster.jpg'/video


2009/12/2 Abderrahim Baallal baallal.abderra...@gmail.com

 video src='yourVideo.m4v' poster='yourImage.jpg'/video


 i hope that will help you

 --
 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: ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2009-12-07 Thread Dexter#39;s Brain
Hi,

Your project should be compiled(API Version) with atleast equal to the
Device API version. Else, you will not be able to install it.

Suppose you have a device with version 4, then an apk to run on this
device, it can be 1,2,3,4 but not greater than 4.

Just go to your project properties, and change the application API.

Thanks,
Kumar Bibek

http://tech-droid.blogspot.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: How to change developer account associated with app

2009-12-07 Thread Dexter#39;s Brain
I guess, Android Market forum will be better equipped to address this
issue.

But again, they don't seem to be active enough. :)

As far as I can think, the thing you want to achieve is not possible
without loss of those comments and ratings.

Thanks and Regards,
Kumar Bibek.

http://tech-droid.blogspot.com

On Dec 5, 9:52 pm, dfbs d...@formalbowlersoftware.com wrote:
 We were in a bit of a rush to publish our app at first, and my
 associate absentmindedly created a developer account under his
 personal google account.  Naturally, he doesn't want anyone else to
 have access to his google account, but it means only he can access the
 developer account.  The only problem here is we have an app published
 with a few hundred users.  What I'd like to know is how to migrate the
 management of that app over to a different android development
 account.

 I know one can't change the association between developer account and
 google account, that's not what I'm asking about.  I'd just like to
 preserve the app feedback that already exists, and not alienate any of
 the current users.  Anybody know what I can do?

 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: add item to hyperlink context menu

2009-12-07 Thread Dexter#39;s Brain
Hi Duarte,

Can you please explain your requirement more clearly?

Thanks,
Kumar Bibek

http://tech-droid.blogspot.com

On Dec 4, 11:42 pm, Duarte Aragão dara...@gmail.com wrote:
 Hi,

  Does any one know how to add item to hyperlink context menu?
  This is a question that as already been posted here, but I didn't
 found any solution, and it is really useful!

 Thanks
 duarte

-- 
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: unavailable shared library

2009-12-07 Thread Dexter#39;s Brain
Hi,

I suppose you are working on 2.0. Please create a proper AVD and then
try.

Create an AVD with Google APIs (API level 5)

Thanks,
Kumar Bibek
http://tech-droid.blogspot.com

On Dec 7, 10:36 am, Sasikumar.S sasikumar.it1...@gmail.com wrote:
 Hi,

 when i tried to execute my project.

 It is showing error as:-

 Package pack.com requires unavailable shared library
 com.google.android.maps; failing!

 Any one know about this?...

 Thanks in advance...

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


[android-developers] Re: RadioButton

2009-12-07 Thread Dexter#39;s Brain
Not directly,

But you can create your Custom Radio button by extending the
RadioButton class, and using your own layout.

Thanks
Kumar Bibek
http://tech-droid.blogspot.com

On Dec 6, 7:35 pm, Business Talk roman.businesst...@gmail.com wrote:
 Is There any way to possition a text of a RadioButton at the bottom,
 centered in the middle, short of writing my own custom buttom?

-- 
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] Large SQLite3 DB handling

2009-12-07 Thread nagamatu
I'd like to handle a large SQLite3 database on Android. But
CursorWindow that is used internal of SQLiteCursor has the limitation
for window size (MAX_WINDOW_SIZE).

Handling large database causes following error message.

E/CursorWindow( 6330): not growing since there are already 1630 row
(s), max size 1048576

Is there any way to handle db greater than MAX_WINDOW_SIZE?

-- 
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: Attention developers: Orange is looking for great Apps !

2009-12-07 Thread Ellimac
Hi Shane,
The Orange App Shop will be preinstalled on future Android devices
from Orange. It will include carefully selected and pre-tested
applications that we know will be appealing to our customers. Any
purchases from the Orange App Shop will also be paid on the Orange
phone bill.
But It is also possible to access applications from Android Market on
those Android devices.

Consider you'll have two App markets icons on one device: the Orange
App Shop  the Android Market ; )


On 5 déc, 09:29, Shane shanemenchi...@gmail.com wrote:
 Camille,

 Is the App Shop you mention a replacement for the Android Market app?
 Are Orange handsets given to customers without the Android Market
 application installed on the phone by default?

 Shane

 On Dec 4, 6:17 am, Ellimac camille.bosq...@bluenove.com wrote:

  Orange is looking forward to talking to you at LeWeb (Paris, 9th and
  10th of December) - showing you the new on-device App Shop client, and
  hearing all about your apps. If you're in Paris next week, come and
  see us.

  Can't attend LeWeb? Come and talk to us now on the new Orange App Shop
  Developer Community Platform...http://appshopcommunity.orangepartner.com

  All the questions you've always want to ask Orange are just a few
  clicks away. Join us and also talk to a 100 other developers in the
  platform.

  See you online !

  Camille Bosquet
  (Orange Developer Platform Community Manager)

-- 
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: Inconsistent results from date additions loop

2009-12-07 Thread Dexter#39;s Brain
Doing it the millisecond way might be more confortable.

Convert both the dates to milliseconds, and then subtract one from the
other, and then calculate the no of days.

Thanks
Kumar Bibek
http://tech-droid.blogspot.co

On Dec 7, 4:52 am, andrew android andygoldm...@gmail.com wrote:
 I am running code to return date-based calculations.  The method is
 designed to calculate the number of work days given a beginning and
 ending date and I pass in the elements of the dates, create two
 calendar objects from the two dates and compare them.

 Can anybody tell me if there is a bug causing inconsistent results
 from

 c2.add(Calendar.DATE, 1);

 or possibly the Calendar.after method ...?

 c2.set(ccyy, mm, dd);
 c4.set(ccyyNew,mmNew, ddNew);

 c4.after(c2)

 Please 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] Offline maps

2009-12-07 Thread Julien Dupouy
Hi,

I would like to know if there is a way to use the android google maps
API to display offline personal maps. I'm developping an application
that should mostly function offline and display maps that are not
issued from Google (more specifics maps).

Rougly, I want to make a map viewer based upon the android google maps
API to see my own maps in order to keep the tools offered by the API
(georeferenced maps over all !).

Is there a way to do this ? Should I use a specific format ?

Regards,

Julien.

-- 
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: Display a route between 2 points on a map

2009-12-07 Thread Dexter#39;s Brain
I dont think it is currently possible to achieve until Google Maps
support such feature.

Thanks,
Kumar Bibek
http://tech-droid.blogspot.com

On Dec 6, 7:55 pm, stournie sttour...@gmail.com wrote:
 Hello guys

 I'm trying to develop an application which display the locations of
 contacts on a map (a Msn-like but for geo-localisation).
 I search to display a route between my own location and a contact
 location I want to join but I find yet no solution to do this.

 In the Android API and Maps add-on API I just find classes to display
 and listen Location, Distance, GeoPoint, etc but no possibility to
 display a route between two points.

 Has anyone an idea? Is it possible or not provided by the API?

 Thank you for help!

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


[android-developers] Re: Ebook reader

2009-12-07 Thread Sukitha Udugamasooriya
I'm interested in making a epub reader... can u help me where to start?

-- 
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] Emulator problem

2009-12-07 Thread karthikr
Hi Guys,

I have been creating some custom skins for 2.0 and have been testing
them for quite sometime.

But suddenly there seems to be some issue and all my icons are
arranged wierdly.

When i tried opening the dialer on the emulator(240*320) i see that
even that is all out of sorts.

My laptop display is 13.3 1280*800.

What am I doing wrong?

I have given screen parameters as true for all the values in the
manifest file and these were working sometime back, before I faced
this issue.

Regards,
R.Karthik

-- 
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: SMS Interception

2009-12-07 Thread Dexter#39;s Brain
Hi Raj,

This is not possible, since this SMS broadcast is an unordered
broadcast. So you can't intercept it, and prevent the broadcast to
reach the default SMS application.


Thanks,
Kumar Bibek
http://tech-droid.blogspot.com

On Dec 3, 9:03 pm, Raj rajesh.kamin...@gmail.com wrote:
 Hi

 My app needs to intercept SMS messages but the problem is that the SMS
 are intercepted while my App is active and running.   Otherwise, the
 SMS messages are delivered to the SMS app only.

 How do you configure the Android Manifest file to let the system send
 certain SMS messages to be send to a particular App.   Say.. all
 messages matching certain attribute with in SMS like.. mime-type to be
 send to my App.

 Thanks
 Raj

-- 
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] Getting and saving bookmarks

2009-12-07 Thread chris price
Hi,

Can someone tell me how to get access to bookmarks and also add
bookmarks?

Thanks alot

chris

-- 
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] Epub reader

2009-12-07 Thread Sukitha Udugamasooriya
Hi,

Has anyone tried to make a epub reader software?

cheers

-- 
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] GK:How to change the existing application present in Emulator Using AOSP

2009-12-07 Thread Jack Ganesh
HI All,
Am facing another problem.

My Requiement is:
i want do some changes in the existing application present in
emulator.

Where i need to change and how to see the updated output. ?

please help me out.

Am totally confused to achieve this

Tnx in Advance..,

Cheers,
Ganesh

-- 
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: ADT installation on Ubuntu 9.10

2009-12-07 Thread wescorp
Hello,

I too was having the rmentioned issues with Karmic when I found these
updated Eclipse releases with the required files already included.
Made for a great Android install.

Here's the link.
http://www.eclipse.org/pdt/downloads/

I used:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-php-galileo-SR1-linux-gtk-x86_64.tar.gz

which seem to fix all the issues except for device recognition.
Now on to that.

Cheers,
Wes

On Dec 1, 2:54 pm, boyjunkie ganesh.vija...@gmail.com wrote:
 Hi Christine and dmtrlbdv,

 Thanks for your inputs. I installed GEF from Eclipse site 
 (http://www.eclipse.org/gef/downloads/- GEF + Draw2D SDK (Runtime + Source))
 and now I am able to install the ADT succesfully.

 Hi Lee,

 I tried to update Eclipse, but it didn't work and had to use the
 aforementioned method.

 Thanks,
 Ganesh

 On Nov 30, 2:38 am, dmtrl...@gmail.com dmtrl...@gmail.com wrote:

  May be its not correct, but its works... - I just loaded eclipse from
  official site and just copied all missed jars. And after that
  installed GEF directly.

  On 29 ноя, 01:18, Lee Olayvar leeolay...@gmail.com wrote:

   I had the same problem. I forget what exactly is needed, and where i found
   the fix, but i guess Eclipse in the repos is missing something ADT needs.

   To fix it, i went to Install New Software, and then 
   addedhttp://download.eclipse.org/releases/galileoasthelocation. You 
   probably
   only need a specific install, but i went ahead and installed the entire 
   list
   found. Once that was done, my problems went away. :)

   On Sat, Nov 28, 2009 at 2:11 PM, Christine 
   christine.kar...@gmail.comwrote:

I don't think you need gef for the adt plugin, but if you want it, how
about eclipse.org/gef?

There are some problems withKarmicKoala and Eclipse regarding the
GUI. These should be fixed in Eclipse 3.5.2.

On Nov 27, 7:13 am,boyjunkieganesh.vija...@gmail.com wrote:
 Hi,

 I have installedKarmicKoala (Ubuntu 9.10) and have installed Eclipse
 3.5 (Galileo) on the same. When I tried to install ADT, I am getting
 the following  error message:

  Cannot complete the install because one or more required items could
 not be found.
   Software being installed: Android Development Tools
 0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group
 0.9.4.v200910220141-17704)
   Missing requirement: Android Development Tools
 0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group
 0.9.4.v200910220141-17704) requires 'org.eclipse.gef 0.0.0' but it
 could not be found

 Can someone point me to where I can find this missing plugin?

 Thanks,
 Ganesh

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

   --
   Lee Olayvar

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

2009-12-07 Thread Business Talk
Thanks Kumar, that's what I thought.

On Dec 7, 6:13 am, Dexter#39;s Brain coomar@gmail.com wrote:
 Not directly,

 But you can create your Custom Radio button by extending the
 RadioButton class, and using your own layout.

 Thanks
 Kumar Bibekhttp://tech-droid.blogspot.com

 On Dec 6, 7:35 pm, Business Talk roman.businesst...@gmail.com wrote:



  Is There any way to possition a text of a RadioButton at the bottom,
  centered in the middle, short of writing my own custom buttom?- 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Adding a Search, Bookmark Feature

2009-12-07 Thread Maxood
I have my entire data stored in the form of strings in an array. I am
fetching each string randomly from the array on the onTouch/onClick
event. Now i want to enable my user to bookmark the desired data.

Also I want to enable my user to search the desired data from the
array by providing a search criteria.

Thank you

-- 
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] GK:How to recognize voice when you are on a call

2009-12-07 Thread Jack Ganesh
Hi All,
  Am trying to recognize the voice when am in a call by running the
service in background.
Is it possible to achieve ?
If you have any idea  on  this please  provide me ASAP.

Cheers,
Ganesh

-- 
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: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-07 Thread wusch
Thanks Dianne for the heads up.  Do you know if there are plans to
expose an intent to play a video directly instead of having to
redirect through the browser?  Having the browser intercept my VIEW
intent on a video/mp4 MIME type, just to turn around and launch the
video player seems kind of silly.

If I use a RTSP:// protocol in my URL it will launch the player
directly, but alas the MovieView class chokes on the MP4 video type,
obviously because I am hosting the file off a standard HTTP server and
not a streaming media server.

Your insights are greatly appreciated,
Jeff


On Dec 6, 6:35 pm, Dianne Hackborn hack...@android.com wrote:
 requires null means that there is no permission, but that particular
 component is not exported from the .apk, so -nobody- else can use it.





 On Sun, Dec 6, 2009 at 10:00 AM, wusch jwu...@gmail.com wrote:
  In looking at my exception some more, it almost looks like a Null
  Pointer error on their part.

  12-06 11:12:24.869: WARN/ActivityManager(52): Permission Denial:
  starting Intent { act=android.intent.action.VIEW dat=http://
  videos.captureacard.com/video/CaptureACardTraining-Intro.mp4
  cmp=com.android.camera/.MovieView } from ProcessRecord{44de1bb0
  227:com.jww.sos.CaCActivity/10026} (pid=227, uid=10026) requires null

  See the requires null part at the end, I have seen in other cases
  with Intent Permissions, it at least tells you what permission you
  require.

  But I guess this is what I get for going outside the SDK.

  Thanks for all your help.

  Jeff

  On Dec 6, 12:51 pm, Mark Murphy mmur...@commonsware.com wrote:
Wow, in comparing Google Code search and the Git Repos, looks like the
Google Code search has newer source.  Those Google Labs guys are so
much more on the ball!!

   Yeah, but that hardly seems possible. If they aren't indexing the HEAD of
   the associated git repo, where are they pulling it from? Unless the
   problem is the GitWeb on source.android.com. I don't keep a copy of the
   full source on my PC, so I can't compare with that.

Correct me if I am wrong, but shouldn't this projects
AndroidManifest.xml be documenting that accessing this class needs
permission?  I thought there was the permission tag that dictated
what permission was required to access a class.

   There are other ways of applying a permission, though having them in the
   manifest is far and away the most common:

  http://developer.android.com/guide/topics/security/security.html#decl...

Do you know where these permissions are located in source?

   Beats me -- sorry.

   --
   Mark Murphy (a Commons Guy)http://commonsware.com
   Android App Developer Books:http://commonsware.com/books.html

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

 --
 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, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.- 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Installing Apps on Acer Netbook Running Android

2009-12-07 Thread Charlie
I have an Acer Aspire netbook which dual boots Android and XP.  I am
trying to figure out how to (1) look at the file system (with a file
manager type of interface), and (2) install an app on it (specifically
one that I am developing).  It seems like all this should be obvious,
but the netbook isn't something that I can just hook up to my SDK
using USB so apps don't install on it the same way that they do on
(say) a Droid.  The environment seems to be relatively closed compared
to other devices.

Maybe there is a way to ssh into it over the network?

Thanks for any help.

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


[android-developers] Re: ListActivity mandatory for listView ?

2009-12-07 Thread Jags
For example, I am doing a app where i need to store things to do, I
need to have a add, delete and edit functionality for the app. Should
I use 3 different activities or 3 different layouts for these
functionality ?

regards

On Dec 3, 10:58 pm, Mark Murphy mmur...@commonsware.com wrote:
  I am starting with ListActivity.

  I saw apidemos and saw that it is based on ListActivity. My doubt is,
  in my first screen I need a few labels and texts under that a list.
  How to approach this ? I cant do a setContentlayut(R.id.main) if my
  activity extends ListActivity, no ?

 Yes, you can. Your ListView needs to have android:id=@android:id/list.
 For an example, see:

 http://github.com/commonsguy/cw-android/tree/master/Selection/List/

  more over I found the tutorial posted in the forums for ListActivity a
  bit outdated. Where is 1.5 / 1.6 based tutorials ? because I am new,
  it is taking too much time to correct 1.1 codes.

 In your SDK. There is a set of ApiDemos for each version of the Android
 SDK API that you have downloaded.

  lastly, if i have a todo type appfor adding deleting and deleting,
  should i use 3 different layouts or activities ?

 That is difficult to answer without a lot more detail.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html

-- 
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 can i fill an outlined font?

2009-12-07 Thread keianhzo
Hi everybody,

I'm trying to use a Helvetica outlined ttf and i want the background
of the font to be yellow and the outline part be black. I'm doing it
loading the font in a TypeFace from assets and applying it to a
TextView in the following way:

mTextViewMessage.setTypeface(myTypeFace);
mTextViewMessage.getPaint().bgColor = Color.YELLOW;
mTextViewMessage.setTextColor(Color.BLACK);
mTextViewMessage.setTextSize(26);
mTextViewMessage.setText(message);

but it does not work, the font is drawn with the black outline but no
yellow background. In fact I am not even sure what does the bgColor
field from TextPaint is for, i haven't found information about it in
the doc. I've also tried to use the setBackgroundColor(Color) method
from TextView but it doesn't fill the font inner part but all the
TextView space.

So is there any way of doing it?.

Thanks for your help.

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


[android-developers] Re: Android 2.0.1 emulator: Not able to get Proxy settings to work (tried -http-proxy and APN proxy)

2009-12-07 Thread Clark Hunter
I had tried -http-proxy before without success. My command line:
Emulator -avd Android201 -debug-proxy -http-proxy 
http://uid:pwd@10.0.6.251:3128

Initial startup console messages:
proxy_http_setup: creating http proxy service connecting to:
10.0.6.251:3128
server name '10.0.6.251' resolved to 10.0.6.251:3128
proxy_http_setup: creating HTTP Proxy Service Footer is (len=55):
'Proxy-authorization: Basic Base64UidPwd

If I open a link to a GOOD connection inside the firewall, I see:
http_service_connect: trying to connect to 10.10.0.252:80
http_service_connect: using HTTP rewriter
tcp:10.10.0.252:80(1416): cannot connect to proxy: unknown error
adb logcat doesn't show any unusual messages.

If I do a BAD connection (e.g. google), I don't see any console
messages?
adb logcat shows:
E/browser (  192): onReceivedError -2 http://www.google.com/ The URL
could not be found.

again, my Android 1.6 emulator works with the APN settings and didn't
honor the -http-proxy setting.
On Dec 4, 8:10 pm, David Turner di...@android.com wrote:
 Try using the -http-proxy proxy option when starting the emulator.
 This implements a transparent HTTP proxy that doesn't need modifying
 settings in the emulated system at all.
 It used to be buggy in previous releases of the emulator (mainly when used
 with MS proxy servers) but this should
 have been fixed in the latest SDK Tools release.

 If this still doesn't work, try to use -debug-proxy as well, this will dump
 the proxied traffic, and send it here so I can
 have a look at it.

 Also see -help-proxy for details about the proxy parameter.

 Hope this helps.

 On Fri, Dec 4, 2009 at 10:19 AM, Clark Hunter chbrigh...@gmail.com wrote:
  This link has some suggestions for proxy setting for early (pre-1.5)
  and later (1.5 thru 1.6) Android emulators:

 http://www.coderanch.com/t/462906/Android/Mobile/connect-internet-beh...

  Basically, the older emulator used a “com.android.provider.setting.db”
  database or -http-proxy command line switch to set proxy/port/userid/
  password.

  Android 1.5 and 1.6 used:  Home-Menu-Settings-WirelessControls-
  MobileNetworks-Access Point Names to set multiple proxy/port/userid/
  password configurations.
  My 1.6 emulator is working behind our corporate firewall/proxy.

  Android 2.0 has some issue where the APN didn't display.
  I used sqlite3 /data/data/com.android.providers.telephony/databases/
  telephony.db to manually set fields and make the entries editable
  (current=1).
  I could access local servers, but not get thru the firewall?

  Android 2.0.1 shows the APN with a default 'TelKila' entry. I can add
  my proxy information, but still can't get past the firewall (shows Web
  page not 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.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: Writing to file Assets folder

2009-12-07 Thread Bytes
Hi ,

My application has a shared library developed in C.

The native library uses some configuration files (pref.cfg) to read
and update it whenever user changes, so that these preferences will be
preserved for next application startup.

I want to automate this process, that is user just need to install my
apk, and he should not bother about all these files.

Is there provision in ManifestFile or apk to bundle my configuration
files and whenever apk is installed they will be kept in some writable
directory ?

On browsing I found that /data/data/my apk/my private folder is
writable ?

But how can I initially keep my configuration files in this
directory ?

Thanks for your time
-Bytes






What is the best way to achieve this...






On Nov 16, 4:30 pm, Mark Murphy mmur...@commonsware.com wrote:
 Mohammad Siddiqui wrote:
  can any one give the code to read and write to a file in the Android
  assets foler

 You can't, at runtime.

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

 App Widgets Deep Dive Seminar, 27 January 2010:http://bit.ly/deepdive

-- 
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] db insert auto increment

2009-12-07 Thread Jags
i am doing sqlite3

my tables's pk is auto-increment. What shpuld i pass its value while
inserting so that auto increment executes properly ?

public void writeRecord(Row rec) {
try {
Object[] bindArgs = new Object[] {-1, rec.name, rec.email};
myDB.execSQL(INSERT INTO 
+ MY_TABLE
+  VALUES (?, ?, ?);, bindArgs);
}
catch(Exception e) {
Log.d(Exception: , e.getMessage());
}
}

moreover, i need to extract this newly generated pk value, how can i
get that ?

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


[android-developers] Re: Google Finance doing credit checks?

2009-12-07 Thread Courtney Dev
I've searched, and figured all (or at least most) android developers
are dealing with google checkout in some capacity.  Hence this might
be a common concern.



On Dec 4, 12:40 pm, Ryan Beesley ryan.bees...@swypeinc.com wrote:
 Well, my initial thought is that this isn't really android-developers 
 related.  I expect there are better forums to have this answered in.

 /Ryan

 -Original Message-
 From: Courtney Dev [mailto:cba...@gmail.com]
 Sent: Thursday, December 03, 2009 7:11 AM
 To: Android Developers
 Subject: [android-developers] Google Finance doing creditchecks?

 For those who applied to get your payout limit removed, Google Finance
 required personal information (like SSN) with the understanding that
 they may be performing routinecredithistory verifications.

 Does this concern you?  I understand eachcreditcheckrun on you by
 any institution (bank, mortgage, etc) lowers yourcreditscore.  I
 can't understand how (or why) Google finance needs to do this.

 Also, does anyone know how often they do thesecreditchecks?

 Any insight or thoughts would be 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 
 athttp://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] Remote display for demo

2009-12-07 Thread RickGillaspy
Is there an easy way to view/control an android device from the
connected computer?

I've searched a bit and see that some people have put a vnc server on
the device, but it appears to require rooting the phone, which I'd
rather not do.

In the SDK, using DDMS, I see I can take a screen shot quite easily.

If you want to show an app to someone running on a real device, and
they're not standing right next to you, what do you do?

The only 2 options I can think of are 1)a camera, or 2)use the
emulator.

Does anyone have a better 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


Re: [android-developers] db insert auto increment

2009-12-07 Thread Ederson Ferreira
Hi,

You don't need to pass anything.
Try to use myDB.insert instead of myDB.execSQL, for instance:

ContentValues values = new ContentValues();
values.put(field1, value_for_field1);
values.put(field2, value_for_field2);
myDB.insert(MY_TABLE, null, values);

Realize that you do not need to inform what is the value for your PK field.
After calling myDB.insert you will get, as return, the PK value used to
create your record.

You also can find more detailed information on
http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#insert(java.lang.String,
java.lang.String, android.content.ContentValues)

Éderson

On Mon, Dec 7, 2009 at 12:11 PM, Jags jag...@gmail.com wrote:

 i am doing sqlite3

 my tables's pk is auto-increment. What shpuld i pass its value while
 inserting so that auto increment executes properly ?

public void writeRecord(Row rec) {
try {
Object[] bindArgs = new Object[] {-1, rec.name, rec.email};
 myDB.execSQL(INSERT INTO 

   + MY_TABLE
+  VALUES (?, ?, ?);, bindArgs);
}
catch(Exception e) {
Log.d(Exception: , e.getMessage());
}
}

 moreover, i need to extract this newly generated pk value, how can i
 get that ?

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

Re: [android-developers] Epub reader

2009-12-07 Thread Edo Noordhuizen
Have a look:
http://code.google.com/p/android-daisy-epub-reader/

Regards,
Edo Noordhuizen


On Mon, Dec 7, 2009 at 1:03 PM, Sukitha Udugamasooriya suk...@gmail.comwrote:

 Hi,

 Has anyone tried to make a epub reader software?

 cheers

 --
 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: loop sound

2009-12-07 Thread JacobGladish
MODE_STATIC still has a clicking sound when it loops. What I think I
need to do is continuously stream the data via AudioTrack.write(). Any
ideas on how how to manage the timing of this? I was thinking that I
should use setPositionNotificationPeriod() to call a callback every n
frames, and in that callback load up n more frames from my buffer.

On Dec 7, 3:34 am, niko20 nikolatesl...@yahoo.com wrote:
 Hi,

 Dont know the answer to that one, I haven't used AudioTrack in
 MODE_STATIC much.

 -niko

 On Dec 6, 11:39 pm, JacobGladish jacobglad...@yahoo.com wrote:



  What is the setLoopPoints (int startInFrames, int endInFrames, int
  loopCount) on the AudioTrack? Will this cause the play() on a static
  AudioTrack to loop or do I need to create a streaming AudioTrack and
  manage my own timer calling write() repeatedly?

  On Dec 7, 12:13 am, JacobGladish jacobglad...@yahoo.com wrote:

   I'm using mostly oggs and it still does it. I'm going to try the
   AudioTrack route.

   On Dec 6, 9:19 pm, niko20 nikolatesl...@yahoo.com wrote:

Hi,

Using only the built in Audio stuff (MediaPlayer, SoundPool), the only
way to get seamless looping is to use samples in OGG format. Otherwise
you'll need to load the data yourself and play it by shoving it out
continously into a AudioTrack stream.

-niko

On Dec 6, 8:03 pm, JacobGladish jacobglad...@yahoo.com wrote:

 Has anyone been able to play a looping sound without any noticeable
 delays or ticking sounds when it resets? I tried using the MediaPlayer
 with setLookup(true). That seems to require that I manually fade-in
 the sound-bite with volume control slowing incresing in order to work
 around a nasty tick sound when I call play(), but there's still a very
 noticeable sound when the it loops. The SoundPool doesn't do any
 better and also seems to require some unknown delay between loading
 the sound and playing it.

 I think my SoundPool issue is very similar to this:

http://code.google.com/p/android/issues/detail?id=1484

 I was hoping to get some feedback from someone who had any experience
 with this before trying the AudioTrack route.- Hide quoted text -

- Show quoted text -- Hide quoted text -

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


[android-developers] Re: HTML sanitization

2009-12-07 Thread Samuh
Many thanks Matt and sbruno.

-- 
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 Manifest] How to set same XML attributes to all activities ?

2009-12-07 Thread Syl
In my application, I don't want the activity to restart when user
changes his mobile's orientation or when he opens his physical
keyboard.

So, I have to assign the following XML attribute to all my activities
in the manifest file :

android:configChanges=keyboard|keyboardHidden|orientation


I have a dozen of activities. So, my question is :

Is it possible to assign the same XML attribute value to all
activities ?
Or should I copy the attribute in all the activity tags of the
manifest ?

Thanks !

PS : I try to set the attribute value in the application tag but it
doesn't work.

-- 
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: Help! No files return from apache commons net FTPClient

2009-12-07 Thread Chander Pechetty
As far as I can tell, there is no compatibility problem. Enable server
logging and see if you get a 250 or [some number]  directory OK, and
hopefully its the same code you are running with the same account; it
could be a minor bug somewhere else:-)


-Chander
www.unisaran.com

On Dec 6, 8:26 pm, armstrong armstrongh...@gmail.com wrote:
 Hi, all

 I am writing a ftp client on android sdk 1.5 with apache-commons-net-
 ftp-2.0. I can successfully connect to my testing ftp server but with
 I use listFiles() it return an empty FTPFile[].

 I put the same code in a normal java program and it works fine. I
 don't know where is wrong. Any compatible problem when apache-commons-
 net-ftp-2.0 and android works together?

 Here is my test code:

                         FTPClient ftpClient = new FTPClient();
                         try {
                                 ftpClient.connect(192.168.1.102, 21);
                                 ftpClient.login(testftp, testftp);
                                 Thread.currentThread().sleep(5000);
                                 System.out.println(bb:  + 
 ftpClient.getReplyString());
                                 FTPFile[] ftpFiles = ftpClient.listFiles();
                                 System.out.println(aa:  + 
 ftpFiles.length);
                         } catch (Exception e) {
                                 e.printStackTrace();
                         }

 android output:
                         bb: 230 Login successfully.
                         aa: 0

 j2se output:
                         bb: 230 Login successfully.
                         aa: 5

 It is actually 4 files and 1 directory in the ftp root!

 Maybe someone asked the same thing before. Some suggestion?

 Thanks in advance!

-- 
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: Socket refused connection

2009-12-07 Thread Business Talk
Pierr,

the following is a question to your question, as well as to anybody
willing to share the experience with network connectivity. Do you have
any tips regarding the P2P implementation in terms of getting IP
address information of the connection target devices (a friend's
device, for example). Security setup and any other info you care to
share.

Can contact information be used in any way to infere the ip?

I have implemented the udp client/service, both on the emulator. It
works fine.

On Dec 7, 9:54 am, Pierre Henry phper...@gmail.com wrote:
 I wondered if there could be a specific reason why a server socket
 could refused a client request connection , the server running on one
 android device the other on the emulator ..?

-- 
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] Custom Adapter

2009-12-07 Thread Business Talk
I have implemented a custom adapter the extends from the BaseAdapter
and implements the getView method. It works fine except for one thing,
not once do I get the convert View (a parameter to the getView method)
that is not null ( that can be reused). Anybody experienced that same?

-- 
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: loop sound

2009-12-07 Thread niko20
Hi, you don't need a callback. write() blocks until more data is
needed. So you could just make a separate thread that pushes the data
out as fast as write() will let it.

-niko

On Dec 7, 9:02 am, JacobGladish jacobglad...@yahoo.com wrote:
 MODE_STATIC still has a clicking sound when it loops. What I think I
 need to do is continuously stream the data via AudioTrack.write(). Any
 ideas on how how to manage the timing of this? I was thinking that I
 should use setPositionNotificationPeriod() to call a callback every n
 frames, and in that callback load up n more frames from my buffer.

 On Dec 7, 3:34 am, niko20 nikolatesl...@yahoo.com wrote:



  Hi,

  Dont know the answer to that one, I haven't used AudioTrack in
  MODE_STATIC much.

  -niko

  On Dec 6, 11:39 pm, JacobGladish jacobglad...@yahoo.com wrote:

   What is the setLoopPoints (int startInFrames, int endInFrames, int
   loopCount) on the AudioTrack? Will this cause the play() on a static
   AudioTrack to loop or do I need to create a streaming AudioTrack and
   manage my own timer calling write() repeatedly?

   On Dec 7, 12:13 am, JacobGladish jacobglad...@yahoo.com wrote:

I'm using mostly oggs and it still does it. I'm going to try the
AudioTrack route.

On Dec 6, 9:19 pm, niko20 nikolatesl...@yahoo.com wrote:

 Hi,

 Using only the built in Audio stuff (MediaPlayer, SoundPool), the only
 way to get seamless looping is to use samples in OGG format. Otherwise
 you'll need to load the data yourself and play it by shoving it out
 continously into a AudioTrack stream.

 -niko

 On Dec 6, 8:03 pm, JacobGladish jacobglad...@yahoo.com wrote:

  Has anyone been able to play a looping sound without any noticeable
  delays or ticking sounds when it resets? I tried using the 
  MediaPlayer
  with setLookup(true). That seems to require that I manually fade-in
  the sound-bite with volume control slowing incresing in order to 
  work
  around a nasty tick sound when I call play(), but there's still a 
  very
  noticeable sound when the it loops. The SoundPool doesn't do any
  better and also seems to require some unknown delay between loading
  the sound and playing it.

  I think my SoundPool issue is very similar to this:

 http://code.google.com/p/android/issues/detail?id=1484

  I was hoping to get some feedback from someone who had any 
  experience
  with this before trying the AudioTrack route.- Hide quoted text -

 - Show quoted text -- Hide quoted text -

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


[android-developers] Re: loop sound

2009-12-07 Thread niko20
One other thing - are you sure your sound is really loopable? Load it
into Audacity and play it in looped mode, does it not have the click
then? Just to check!

-niko

On Dec 7, 9:51 am, niko20 nikolatesl...@yahoo.com wrote:
 Hi, you don't need a callback. write() blocks until more data is
 needed. So you could just make a separate thread that pushes the data
 out as fast as write() will let it.

 -niko

 On Dec 7, 9:02 am, JacobGladish jacobglad...@yahoo.com wrote:



  MODE_STATIC still has a clicking sound when it loops. What I think I
  need to do is continuously stream the data via AudioTrack.write(). Any
  ideas on how how to manage the timing of this? I was thinking that I
  should use setPositionNotificationPeriod() to call a callback every n
  frames, and in that callback load up n more frames from my buffer.

  On Dec 7, 3:34 am, niko20 nikolatesl...@yahoo.com wrote:

   Hi,

   Dont know the answer to that one, I haven't used AudioTrack in
   MODE_STATIC much.

   -niko

   On Dec 6, 11:39 pm, JacobGladish jacobglad...@yahoo.com wrote:

What is the setLoopPoints (int startInFrames, int endInFrames, int
loopCount) on the AudioTrack? Will this cause the play() on a static
AudioTrack to loop or do I need to create a streaming AudioTrack and
manage my own timer calling write() repeatedly?

On Dec 7, 12:13 am, JacobGladish jacobglad...@yahoo.com wrote:

 I'm using mostly oggs and it still does it. I'm going to try the
 AudioTrack route.

 On Dec 6, 9:19 pm, niko20 nikolatesl...@yahoo.com wrote:

  Hi,

  Using only the built in Audio stuff (MediaPlayer, SoundPool), the 
  only
  way to get seamless looping is to use samples in OGG format. 
  Otherwise
  you'll need to load the data yourself and play it by shoving it out
  continously into a AudioTrack stream.

  -niko

  On Dec 6, 8:03 pm, JacobGladish jacobglad...@yahoo.com wrote:

   Has anyone been able to play a looping sound without any 
   noticeable
   delays or ticking sounds when it resets? I tried using the 
   MediaPlayer
   with setLookup(true). That seems to require that I manually 
   fade-in
   the sound-bite with volume control slowing incresing in order to 
   work
   around a nasty tick sound when I call play(), but there's still a 
   very
   noticeable sound when the it loops. The SoundPool doesn't do any
   better and also seems to require some unknown delay between 
   loading
   the sound and playing it.

   I think my SoundPool issue is very similar to this:

  http://code.google.com/p/android/issues/detail?id=1484

   I was hoping to get some feedback from someone who had any 
   experience
   with this before trying the AudioTrack route.- Hide quoted text -

  - Show quoted text -- Hide quoted text -

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


[android-developers] Re: Accessing contact's phone numbers

2009-12-07 Thread agirardello
Sorry for being away...

I managed to get it to work, however I complain with the approach used
in developing the API! Apparently, searching for a contact based on
the phone number has changed in Android 2.0 and the old good way of
doing that isn't working anymore (Why). I agree that now it is
much more intuitive, however it is a mess for the compatibility
(unless I was doing it wrong in API level 3 and 4, any lines of code
to share?).

Here the code for API level = 5:

Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI,
Uri.encode(number));
Cursor c = context.getContentResolver().query(lookupUri, null, null,
null, null);
if (c.getCount()  0) {
   c.moveToFirst();
   return c.getString(c.getColumnIndex( PhoneLookup.DISPLAY_NAME ));
} else {
   // Not found, do something else...
}

In any case, to be compatible with API level = 4 PhoneLookup cannot
be referenced in the code (as well as other things) and must be loaded
through reflection. Am I wrong? Other solution?

Looking forward to hear something from a more experienced Android
developer...

Best,

Andrea ;-)




On Dec 5, 5:36 pm, ghassett greghass...@gmail.com wrote:
 Yes Dmitri, this is exactly what I am doing -- I am not manually
 inserting records into thecontactsdb like the test case does, but
 there is definitely a contact with a mobile phone number
 617939 (with real digits, not xs), and when I open a cursor on
 the query:

 Uri filterUri1 = Uri.withAppendedPath(Phones.CONTENT_FILTER_URL,
 617939); // with real digits, not xs

 I get back a valid cursor, but no rows (moveToFirst() returns false)
 -- on 2.0 emulator only.  On 1.6 emulator, it works fine.

 // greg //

 On Dec 4, 7:21 pm, Dmitri Plotnikov dplotni...@google.com wrote:

  Hi Greg,

  Take a look at the testPhonesFilterQuery unit test we have for
  verifying the behavior in question:

 http://android.git.kernel.org/?p=platform/packages/providers/Contacts...

  Is what it's doing correct? Is it different from what you are doing?

  Thank you,
  - Dmitri

  On Fri, Dec 4, 2009 at 4:00 PM, ghassett greghass...@gmail.com wrote:
   Hi Dmitri -- I am not sure that the old API is still functional.  I am
   using what I think is the standard way of getting a display name from
   a phone number -- see the code below -- and it functions on a 1.6
   emulator but on on a 2.0 emulator.  Am I doing something wrong?  Is
   there an example somewhere of how to get a contact name from a phone
   number that will function in 1.5, 1.6, and 2.0?

   Here's the code -- it works when run in the 1.6 emulator, but not in
   the 2.0 emulator (Cursor comes back non-null, but there are no records
   so moveToFirst returns false):

  public String getDisplayName (ContentResolver contentResolver)
  {
  String retval = mPhoneNumber;

  Cursor cursor = contentResolver.query(
  Uri.withAppendedPath 
   (Contacts.Phones.CONTENT_FILTER_URL,
   Uri.encode(mPhoneNumber)),
  new String[] {Contacts.Phones.DISPLAY_NAME 
   },
  null, null, null);

  if (cursor != nullcursor.moveToFirst())
  {
  retval = cursor.getString(0);
  }

  return retval;
  }

   // thanks // greg //

   On Oct 30, 3:05 pm, Dmitri Plotnikov dplotni...@google.com wrote:
   It's deprecated, not removed.  The old API is still functional, but with
   restrictions:

   1. If your app was using something non-public, that part is likely to 
   break.
We tested a bunch of apps on the market against the legacy API - most
   worked, but some did not.  Those were the cases when the app was using 
   some
   knowledge of the undocumented underlying database structure.
   2. Legacy API will only give you access to the primary account, i.e. 
   the
   first Google account you add to the phone.

   - Dmitri

   On Fri, Oct 30, 2009 at 11:40 AM, nEx.Software 
   email.nex.softw...@gmail.com

wrote:

Hold up... I'm confused. Are you saying thatContactsportion of the
SDK is deprecated? Whatever happened to stick to the SDK because
those are stable apis that won't break in future versions? Very
disappointing...

On Oct 30, 11:12 am, Jeff Sharkey jshar...@android.com wrote:
 Could you post the exact Uri you're passing to query()?  As the
 javadoc describes, you need to append a filter string to the
 CONTENT_FILTER_URI so it knows what to filter on.

 Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_URI,
phoneNumber);

 Also, you might be able to skip your second step, since you can
 directly ask for the PhoneLookup.DISPLAY_NAME column in the
 projection.

 j

 On Fri, Oct 30, 2009 at 8:05 AM, agirardello

 andrea.girarde...@gmail.com wrote:

  Dear all,

  I'm trying to adapt my application (Personalytics) for 

[android-developers] Re: loop sound

2009-12-07 Thread JacobGladish
I'll definitely test in audacity. I've been converting audio files to/
from just about every format over the past few days. It's possible it
has gotten corrupted along the way. Thanks for the suggestion.

On Dec 7, 10:53 am, niko20 nikolatesl...@yahoo.com wrote:
 One other thing - are you sure your sound is really loopable? Load it
 into Audacity and play it in looped mode, does it not have the click
 then? Just to check!

 -niko

 On Dec 7, 9:51 am, niko20 nikolatesl...@yahoo.com wrote:



  Hi, you don't need a callback. write() blocks until more data is
  needed. So you could just make a separate thread that pushes the data
  out as fast as write() will let it.

  -niko

  On Dec 7, 9:02 am, JacobGladish jacobglad...@yahoo.com wrote:

   MODE_STATIC still has a clicking sound when it loops. What I think I
   need to do is continuously stream the data via AudioTrack.write(). Any
   ideas on how how to manage the timing of this? I was thinking that I
   should use setPositionNotificationPeriod() to call a callback every n
   frames, and in that callback load up n more frames from my buffer.

   On Dec 7, 3:34 am, niko20 nikolatesl...@yahoo.com wrote:

Hi,

Dont know the answer to that one, I haven't used AudioTrack in
MODE_STATIC much.

-niko

On Dec 6, 11:39 pm, JacobGladish jacobglad...@yahoo.com wrote:

 What is the setLoopPoints (int startInFrames, int endInFrames, int
 loopCount) on the AudioTrack? Will this cause the play() on a static
 AudioTrack to loop or do I need to create a streaming AudioTrack and
 manage my own timer calling write() repeatedly?

 On Dec 7, 12:13 am, JacobGladish jacobglad...@yahoo.com wrote:

  I'm using mostly oggs and it still does it. I'm going to try the
  AudioTrack route.

  On Dec 6, 9:19 pm, niko20 nikolatesl...@yahoo.com wrote:

   Hi,

   Using only the built in Audio stuff (MediaPlayer, SoundPool), the 
   only
   way to get seamless looping is to use samples in OGG format. 
   Otherwise
   you'll need to load the data yourself and play it by shoving it 
   out
   continously into a AudioTrack stream.

   -niko

   On Dec 6, 8:03 pm, JacobGladish jacobglad...@yahoo.com wrote:

Has anyone been able to play a looping sound without any 
noticeable
delays or ticking sounds when it resets? I tried using the 
MediaPlayer
with setLookup(true). That seems to require that I manually 
fade-in
the sound-bite with volume control slowing incresing in order 
to work
around a nasty tick sound when I call play(), but there's still 
a very
noticeable sound when the it loops. The SoundPool doesn't do any
better and also seems to require some unknown delay between 
loading
the sound and playing it.

I think my SoundPool issue is very similar to this:

   http://code.google.com/p/android/issues/detail?id=1484

I was hoping to get some feedback from someone who had any 
experience
with this before trying the AudioTrack route.- Hide quoted text 
-

   - Show quoted text -- Hide quoted text -

  - Show quoted text -- Hide quoted text -

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


[android-developers] Re: Inconsistent results from date additions loop

2009-12-07 Thread Streets Of Boston
You don't know how many milliseconds there are in a day, or even how
many hours there are.

Most days have 24 hours, one may have 23 and an other may have 25
hours ( DST ). And this depends whether your timezone has DST or not.
The Calendar class should be able to figure all this out.

However, if you're just interested in 'before' or 'after', then
comparing the dates using the milliseconds is OK, since you don't need
to know the exact amount.

Andrew, post a code snippet and describe exactly what problem you see.

On Dec 7, 6:38 am, Dexter#39;s Brain coomar@gmail.com wrote:
 Doing it the millisecond way might be more confortable.

 Convert both the dates to milliseconds, and then subtract one from the
 other, and then calculate the no of days.

 Thanks
 Kumar Bibekhttp://tech-droid.blogspot.co

 On Dec 7, 4:52 am, andrew android andygoldm...@gmail.com wrote:



  I am running code to return date-based calculations.  The method is
  designed to calculate the number of work days given a beginning and
  ending date and I pass in the elements of the dates, create two
  calendar objects from the two dates and compare them.

  Can anybody tell me if there is a bug causing inconsistent results
  from

  c2.add(Calendar.DATE, 1);

  or possibly the Calendar.after method ...?

  c2.set(ccyy, mm, dd);
  c4.set(ccyyNew,mmNew, ddNew);

  c4.after(c2)

  Please help...- 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
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: Emulator on Linux 10 times slower than on Windows

2009-12-07 Thread Michael MacDonald
I've had bad Linux/hardware interactions with the emulator from audio. 
The emulator AFAIK uses the SDL audio libraries.  Try starting the
emulator from the command line with the -noaudio flag and see if that
works better.

brian.schim...@googlemail.com wrote:
 To answer your questions:
 I was using Ubuntu two different hardware setups, both had 2 GB Ram
 installed, about 75% of which was free. See below for an output of
 free.

 As far as I can tell (that is, as far as java -version tells me),
 I'm using Sun's Java:

 java version 1.6.0_16
 Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
 Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

 But I think this wouldn't matter anyway, because the Android Emulator
 is based on Quemu which is native software, not Java. Or am I missing
 something?

 To make things even stranger than they were before, I removed my hard
 disk and attached it to yet another computer, which normally should
 perform about equally to the two systems I was using before, despite
 it only has 1 GB of Ram. I'm booting my Ubuntu from the hard disk
 attached via USB, and here everything runs smoothly, including the
 emulator. Even with method tracing turned on, performance is ok and
 very comparable to what I was used to have on XP.

 So the conclusion would be, that my first hardware setup can't be the
 bottleneck, since it runs the emulator fine under XP, and that my
 Ubuntu configuration can't be the bottleneck, since it runs the
 emulator fine on the third hardware configuration. Too bad that the
 first computer is broken now, and the third one doesn't belong to me,
 and the second one performs badly under ubuntu and currently has no
 XP.

 Just for completeness, here's the output of free, made on that nice
 third computer which runs it just fine:
  total   used   free sharedbuffers
 cached
 Mem:   1017192 971392  45800  0  18844
 310512
 -/+ buffers/cache: 642036 375156
 Swap:  2441840 218892948


 On 5 Dez., 17:23, theSmith chris.smith...@gmail.com wrote:
   
 My emulators behave just fine under 9.10 Karmic Kola, unless I start
 method tracing, then it really slows down.
  Are you using the java sun jdk and not the open jdk?

 On Dec 5, 11:12 am, Mark Murphy mmur...@commonsware.com wrote:

 
 I'm using a dual boot configuration with Windows XP and Ubuntu 9.04.
 On XP, the emualtor is somehow slower than a real G1 device, but it's
 completely ok.
 
 But on Ubuntu, the emulator is unusable slow. Note that other programs
 run just fine under my ubuntu. I have no exact measurements, but I
 think the emulator about 10 times slower than on Windows. Installing a
 small app takes more than 2 minutes, starting an app sometimes takes
 over 2 minutes, returning to the home screen takes up to 40 seconds,
 and there is not a single click I can do that takes less than 2
 seconds to trigger some kind of reaction. I get around 2 fps at most,
 no matter what I do.
 
 I am writing this email on a notebook, dual-boot Vista and Ubuntu 9.04,
 and if anything, the Ubuntu emulator is a bit faster.
   
 Also, I noticed that under heavy usage of the emulator, the usage of
 my real CPU never went above 30%.
 
 Is there any explanation for this slowness on Ubuntu? Or even a way to
 further investigate where the bottleneck might be?
 
 How much RAM do you have? What is the output of running 'free' in Ubuntu
 from a shell?
   
 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html
   

   

-- 
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: Emulator on Linux 10 times slower than on Windows

2009-12-07 Thread arnouf
I had this problem with Ubuntu 8.10, two things :
- check that you're using the good environment x86 / 64
- use preferly the SUN JDK 1.6  to compile Android development (you
can use the JDK 1.5 to work with sources).

Today I'm using a bipro intel, 4Gb, Ubuntu 9.10 and SUN JDK 1.5.0.20
and performance are really good.

BR

On Dec 7, 5:49 pm, Michael MacDonald googlec...@antlersoft.com
wrote:
 I've had bad Linux/hardware interactions with the emulator from audio.
 The emulator AFAIK uses the SDL audio libraries.  Try starting the
 emulator from the command line with the -noaudio flag and see if that
 works better.

 brian.schim...@googlemail.com wrote:
  To answer your questions:
  I was using Ubuntu two different hardware setups, both had 2 GB Ram
  installed, about 75% of which was free. See below for an output of
  free.

  As far as I can tell (that is, as far as java -version tells me),
  I'm using Sun's Java:

  java version 1.6.0_16
  Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
  Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

  But I think this wouldn't matter anyway, because the Android Emulator
  is based on Quemu which is native software, not Java. Or am I missing
  something?

  To make things even stranger than they were before, I removed my hard
  disk and attached it to yet another computer, which normally should
  perform about equally to the two systems I was using before, despite
  it only has 1 GB of Ram. I'm booting my Ubuntu from the hard disk
  attached via USB, and here everything runs smoothly, including the
  emulator. Even with method tracing turned on, performance is ok and
  very comparable to what I was used to have on XP.

  So the conclusion would be, that my first hardware setup can't be the
  bottleneck, since it runs the emulator fine under XP, and that my
  Ubuntu configuration can't be the bottleneck, since it runs the
  emulator fine on the third hardware configuration. Too bad that the
  first computer is broken now, and the third one doesn't belong to me,
  and the second one performs badly under ubuntu and currently has no
  XP.

  Just for completeness, here's the output of free, made on that nice
  third computer which runs it just fine:
               total       used       free     shared    buffers
  cached
  Mem:       1017192     971392      45800          0      18844
  310512
  -/+ buffers/cache:     642036     375156
  Swap:      2441840     218892    948

  On 5 Dez., 17:23, theSmith chris.smith...@gmail.com wrote:

  My emulators behave just fine under 9.10 Karmic Kola, unless I start
  method tracing, then it really slows down.
   Are you using the java sun jdk and not the open jdk?

  On Dec 5, 11:12 am, Mark Murphy mmur...@commonsware.com wrote:

  I'm using a dual boot configuration with Windows XP and Ubuntu 9.04.
  On XP, the emualtor is somehow slower than a real G1 device, but it's
  completely ok.

  But on Ubuntu, the emulator is unusable slow. Note that other programs
  run just fine under my ubuntu. I have no exact measurements, but I
  think the emulator about 10 times slower than on Windows. Installing a
  small app takes more than 2 minutes, starting an app sometimes takes
  over 2 minutes, returning to the home screen takes up to 40 seconds,
  and there is not a single click I can do that takes less than 2
  seconds to trigger some kind of reaction. I get around 2 fps at most,
  no matter what I do.

  I am writing this email on a notebook, dual-boot Vista and Ubuntu 9.04,
  and if anything, the Ubuntu emulator is a bit faster.

  Also, I noticed that under heavy usage of the emulator, the usage of
  my real CPU never went above 30%.

  Is there any explanation for this slowness on Ubuntu? Or even a way to
  further investigate where the bottleneck might be?

  How much RAM do you have? What is the output of running 'free' in Ubuntu
  from a shell?

  --
  Mark Murphy (a Commons Guy)http://commonsware.com
  Android App Developer Books:http://commonsware.com/books.html



-- 
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] strategy to keep a scale after an animation

2009-12-07 Thread arnouf
hi all,

I'm trying to keep on screen the last view after an animation.
An animation is started to scale a view and I want to keep the scale
after the animation (by default, an animation replace the view as it
starts).

if you have idea or quick solution, let me know.

Thanks by advance.

Arnaud

-- 
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: Extending contacts

2009-12-07 Thread Saty
Hi,

I have inserted some new mime types and related data into mietypes and
data tables of contact. Now i want to view them through default
android contacts app. Could u tell me the location of the exact XML
file which needs to be modified? Any help is highly appreciated.

Regards
Saty

On Oct 27, 8:23 pm, Jeff Sharkey jshar...@android.com wrote:
 If the VoIP app can complete calls to any normal phone number, it
 should have an intent-filter for normal tel: style Intents, which
 allows you to leverage any phone numbers already entered by the user.
 If the VoIP contact method is instead something like a username, you
 can insert a custom Data row under a RawContact.

 http://d.android.com/reference/android/provider/ContactsContract.html

 For that custom Data row to appear in the Contacts app, you'll need to
 associate your custom MIME-type with XML that describes how to render
 the UI.  The only current way of doing this is to define a sync
 adapter service and add meta-data definition inside, something
 like this:

 meta-data android:name=android.provider.CONTACTS_STRUCTURE
 android:resource=@xml/contacts /

 Then define the XML inside your app:

 --snip--
 ContactsSource xmlns:android=http://schemas.android.com/apk/res/android;
     ContactsDataKind
         android:mimeType=vnd.com.example.voip.cursor.item/voip_profile
         android:icon=@drawable/icon
         android:summaryColumn=data2
         android:detailColumn=data3 /
 /ContactsSource
 --snip--

 j

 On Wed, Oct 14, 2009 at 2:01 PM, dreamerns dreame...@gmail.com wrote:

  I know this question was asked couple of times in this list, but I
  haven't found any answer in archives, and last time this subject was
  debated almost a year ago. Does anyone knows is it now possible to
  somehow extend contacts functionality (for example: add custom field
  for VoIP phone number in which case user can use it to start custom
  activity for voip)? What are Contacts.ExtensionsColumns for?

  Thanks
  Nikola

 --
 Jeff Sharkey
 jshar...@android.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] Reproducable FC - bug in textview?

2009-12-07 Thread Al
Users of Droid/Milestone are reporting a crash in my app, which is
reproducable for them. The crash happens when they use the app in
landscape with the virtual keyboard. I've managed to get stack traces
(http://pastebin.ca/1705719), and it shows the crash happening because
TextView is calling SpannableStringBuilder#subSequence with a bad
range.

I've been unable to reproduce the problem on a 2.0(.1) emulator (I
don't have a droid device), but they can reproduce it every time. I
wrote a small dummy app (apk: http://min.ie/2tF, src: http://min.ie/2tG)
to see if it happens again, and it did, with the same stack trace.

Any ideas on how to work around this?

-- 
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: Camera Preview Filter Choppiness

2009-12-07 Thread Streets Of Boston
How fast is 'decodeYUV' method? You call this method while your canvas
is locked.
If 'decodeYUV' is slow, it not only makes your background thread
sluggish, but your main GUI-thread as well, because the canvas is
locked for too long.

Also, you don't synchronize on '_data'... Your implementation of
'onPreviewFrame' is filling '_data' and your background thread is
reading it. The filling(=arraycopy) of '_data' may not be finished
before your it's being read by your background thread.


On Dec 5, 9:41 pm, Greg madma...@gmail.com wrote:
 Hello,
 I've been working on creating a program that will output the Camera
 Preview with various user-chosen filters (SnapPhoto has this
 functionality) and I've run into some problems.

 I have the following set up.
 - Camera preview set to a SurfaceView (I had to set PUSH_BUFFERS or
 the program fails).
 - Have another SurfaceView lieing over the Camera preview SurfaceView
 (in a FrameLayout)
 - Registered a camera callback for the preview data

 My problem is that the output is extremely choppy and the program
 quickly becomes unresponsive. I've set up a thread to do the
 processing, but this doesn't seem to help. I've implemented the
 decoding (into rgb_) algorithm (courtesy of 
 dmanpearlhttp://groups.google.com/group/android-developers/msg/d3b29d3ddc8abf9b
 ) Is there anything I'm doing blatantly wrong or something I could fix
 to make this program run at a decent speed? Sorry if the code has poor
 style, I'm sort of an Android beginner and, for that matter, Java
 beginner.

 This code is inside the second SurfaceView, lieing over the Camera
 preview SurfaceView

 public void onPreviewFrame(byte[] data, Camera camera) {
                 if(hasSurface) {
                                 System.arraycopy(data, 0, _data, 0, 
 data.length);
                                 outputThread = new HandleOutput();
                                 outputThread.start();
                 }
         }

 where HandleOutput() extends Thread, and _data is a global array.

 and this is inside the Thread

 public void run() {
                         while(!done) {
                                 canvas = mHolder.lockCanvas();
                                 PixelManip.decodeYUV(rgb, _data, width, 
 height); //courtesy of
 dmanpearl (link above)
                                 PixelManip.applyFilter(filterID, _data, rgb);
                                 bitmap.setPixels(rgb, 0, width, 0, 0, width, 
 height);
                                 canvas.drawBitmap(bitmap, 0, 0, paint);
                                 mHolder.unlockCanvasAndPost(canvas);
                                 done = true;
                         }
                 }

 Thanks,
 Greg

 P.S. Let me know if I should post any more code.

-- 
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] [Android Manifest] How to set same XML attributes to all activities ?

2009-12-07 Thread Romain Guy
Hi,

You can simply create a theme for this. Look at the various samples in
the SDK and you'll find examples on how to do this.

On Mon, Dec 7, 2009 at 7:27 AM, Syl sylvain.guyoma...@altran.com wrote:
 In my application, I don't want the activity to restart when user
 changes his mobile's orientation or when he opens his physical
 keyboard.

 So, I have to assign the following XML attribute to all my activities
 in the manifest file :

 android:configChanges=keyboard|keyboardHidden|orientation


 I have a dozen of activities. So, my question is :

 Is it possible to assign the same XML attribute value to all
 activities ?
 Or should I copy the attribute in all the activity tags of the
 manifest ?

 Thanks !

 PS : I try to set the attribute value in the application tag but it
 doesn't work.

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




-- 
Romain Guy
Android framework engineer
romain...@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


Re: [android-developers] [Android Manifest] How to set same XML attributes to all activities ?

2009-12-07 Thread Dianne Hackborn
Sorry, I don't believe there is a way to do this.  (If there is, it would be
this attribute on the application tag.)  We strongly recommend that people
stick with the standard behavior of allowing the system to restart an
activity due to a configuration change, since:

(1) This takes care of a lot of things for you and you real.
(2) It is very unlikely you will be able to actually correctly handle all of
them yourself (such as a locale change), so you are going to need to behave
well anyway.
(3) This is really the same mechanism that is used to restore an application
when brought to the foreground after its process is killed, so if you aren't
correctly dealing with an activity restart then you are broken in this case
as well.

On Mon, Dec 7, 2009 at 7:27 AM, Syl sylvain.guyoma...@altran.com wrote:

 In my application, I don't want the activity to restart when user
 changes his mobile's orientation or when he opens his physical
 keyboard.

 So, I have to assign the following XML attribute to all my activities
 in the manifest file :

 android:configChanges=keyboard|keyboardHidden|orientation


 I have a dozen of activities. So, my question is :

 Is it possible to assign the same XML attribute value to all
 activities ?
 Or should I copy the attribute in all the activity tags of the
 manifest ?

 Thanks !

 PS : I try to set the attribute value in the application tag but it
 doesn't work.

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




-- 
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, and so won't reply to such e-mails.  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

Re: [android-developers] Re: How to get the event when the _current_ application install finished.

2009-12-07 Thread Dianne Hackborn
Sorry, you must wait for the user to explicitly launch your app.  This is
the intended design.

On Mon, Dec 7, 2009 at 1:31 AM, feng tian feng.of.t...@gmail.com wrote:

 Or, in a fallback solution. Can my application automatically run after the
 installation?
 Thanks.

 BR, Feng

 2009/12/7 feng tian feng.of.t...@gmail.com

 Hi, All:

 I want to do something immediately after my application installed into the
 system. Is there such intent or hook to do this?
 With many thanks.

 BR, Feng.


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




-- 
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, and so won't reply to such e-mails.  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

Re: [android-developers] Re: ListActivity mandatory for listView ?

2009-12-07 Thread Mark Murphy

 For example, I am doing a app where i need to store things to do, I
 need to have a add, delete and edit functionality for the app. Should
 I use 3 different activities or 3 different layouts for these
 functionality ?

Probably both: three different activities, each perhaps with its own layout.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
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: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-07 Thread Dianne Hackborn
Sorry I don't know much about the media stuff in android.

On Mon, Dec 7, 2009 at 5:32 AM, wusch jwu...@gmail.com wrote:

 Thanks Dianne for the heads up.  Do you know if there are plans to
 expose an intent to play a video directly instead of having to
 redirect through the browser?  Having the browser intercept my VIEW
 intent on a video/mp4 MIME type, just to turn around and launch the
 video player seems kind of silly.

 If I use a RTSP:// protocol in my URL it will launch the player
 directly, but alas the MovieView class chokes on the MP4 video type,
 obviously because I am hosting the file off a standard HTTP server and
 not a streaming media server.

 Your insights are greatly appreciated,
 Jeff


 On Dec 6, 6:35 pm, Dianne Hackborn hack...@android.com wrote:
  requires null means that there is no permission, but that particular
  component is not exported from the .apk, so -nobody- else can use it.
 
 
 
 
 
  On Sun, Dec 6, 2009 at 10:00 AM, wusch jwu...@gmail.com wrote:
   In looking at my exception some more, it almost looks like a Null
   Pointer error on their part.
 
   12-06 11:12:24.869: WARN/ActivityManager(52): Permission Denial:
   starting Intent { act=android.intent.action.VIEW dat=http://
   videos.captureacard.com/video/CaptureACardTraining-Intro.mp4
   cmp=com.android.camera/.MovieView } from ProcessRecord{44de1bb0
   227:com.jww.sos.CaCActivity/10026} (pid=227, uid=10026) requires null
 
   See the requires null part at the end, I have seen in other cases
   with Intent Permissions, it at least tells you what permission you
   require.
 
   But I guess this is what I get for going outside the SDK.
 
   Thanks for all your help.
 
   Jeff
 
   On Dec 6, 12:51 pm, Mark Murphy mmur...@commonsware.com wrote:
 Wow, in comparing Google Code search and the Git Repos, looks like
 the
 Google Code search has newer source.  Those Google Labs guys are so
 much more on the ball!!
 
Yeah, but that hardly seems possible. If they aren't indexing the
 HEAD of
the associated git repo, where are they pulling it from? Unless the
problem is the GitWeb on source.android.com. I don't keep a copy of
 the
full source on my PC, so I can't compare with that.
 
 Correct me if I am wrong, but shouldn't this projects
 AndroidManifest.xml be documenting that accessing this class needs
 permission?  I thought there was the permission tag that dictated
 what permission was required to access a class.
 
There are other ways of applying a permission, though having them in
 the
manifest is far and away the most common:
 
   
 http://developer.android.com/guide/topics/security/security.html#decl...
 
 Do you know where these permissions are located in source?
 
Beats me -- sorry.
 
--
Mark Murphy (a Commons Guy)http://commonsware.com
Android App Developer Books:http://commonsware.com/books.html
 
   --
   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%2bunsubs­cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
  --
  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, and so won't reply to such e-mails.  All such
  questions should be posted on public forums, where I and others can see
 and
  answer them.- 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
 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




-- 
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, and so won't reply to such e-mails.  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] Inflator

2009-12-07 Thread Business Talk
In my custom adapter, that implements the BaseAdapter and its getView,
I use the inflator to generate a new view from a layout. Is there any
way to avoid repetitive inflation step? specially when the convert
View (an argument to the getView) is always null, which mean it can’t
be reused and the view needs to be re-inflated. I was looking for
something like a copy or clone but fund none.

-- 
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] Large SQLite3 DB handling

2009-12-07 Thread Mark Murphy
 I'd like to handle a large SQLite3 database on Android. But
 CursorWindow that is used internal of SQLiteCursor has the limitation
 for window size (MAX_WINDOW_SIZE).

 Handling large database causes following error message.

 E/CursorWindow( 6330): not growing since there are already 1630 row
 (s), max size 1048576

 Is there any way to handle db greater than MAX_WINDOW_SIZE?

Don't ask for that many rows back at one time. If your query is bigger
than MAX_WINDOW_SIZE, your user will find your query results unusable,
IMHO. Find a UI pattern that allows the user to navigate into a smaller
scope (e.g., browse categories, then query on a category).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


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

2009-12-07 Thread Dexter#39;s Brain
Just check if convertView is null. If it is null, you have to inflate,
else use the convertView directly.

Thanks,
Kumar Bibek

http://tech-droid.blogspot.com

On Dec 7, 10:30 pm, Business Talk roman.businesst...@gmail.com
wrote:
 In my custom adapter, that implements the BaseAdapter and its getView,
 I use the inflator to generate a new view from a layout. Is there any
 way to avoid repetitive inflation step? specially when the convert
 View (an argument to the getView) is always null, which mean it can’t
 be reused and the view needs to be re-inflated. I was looking for
 something like a copy or clone but fund none.

-- 
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] Samsung devices and 3D performance

2009-12-07 Thread dan raaka
Do you have a apk for testing .. which shows difference in performance ?
-Dan


On Thu, Dec 3, 2009 at 9:16 PM, SoftwareForMe.com
sa...@softwareforme.comwrote:

 Greetings,

 We acquired a Samsung Moment today, and find that it's 3D performance is
 very poor compared to the HTC and Motorola devices. I've tried all the
 tricks I know (color depths, rendering options), but can't get much out of
 it. Rotating a single textured quad is jerky.

 I understand that the Galaxy was missing a software component, and that
 once a surrogate was added, the 3D performance was acceptable.

 Does anybody have the real low-down on this issue? Specifically:

 * Do others also find the Moment to be a poor 3D performer?
 * Is there any word about Samsung fixing this?
 * Am I missing something obvious?

 Thanks much,
 SoftwareForMe.com
 Makers of PhoneMyPC
  Imagine Multi-touch
 --
 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: Reproducable FC - bug in textview?

2009-12-07 Thread Dexter#39;s Brain
I think the problem is like this.

In the portrait orientation, if there is a spannable object, it might
be keeping indexes for displaying some styling.

So, say, you have bold style for chars from 4 to 39.

No when the orientation changes, this range now changes to 39 to 4.
And now if you are doing a substring anywhere and other such
operation, you will get this error.

So, I guess, if you can check the start and the end values, and always
make sure that the start is smaller than the end, by swapping the
values, you can avoid this.

I am not very sure about this issue. But you can try this.

Thanks,
Kumar Bibek

http://tech-droid.blogspot.com

On Dec 7, 10:08 pm, Al alcapw...@googlemail.com wrote:
 Users of Droid/Milestone are reporting a crash in my app, which is
 reproducable for them. The crash happens when they use the app in
 landscape with the virtual keyboard. I've managed to get stack traces
 (http://pastebin.ca/1705719), and it shows the crash happening because
 TextView is calling SpannableStringBuilder#subSequence with a bad
 range.

 I've been unable to reproduce the problem on a 2.0(.1) emulator (I
 don't have a droid device), but they can reproduce it every time. I
 wrote a small dummy app (apk:http://min.ie/2tF, src:http://min.ie/2tG)
 to see if it happens again, and it did, with the same stack trace.

 Any ideas on how to work around this?

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

2009-12-07 Thread Dexter#39;s Brain
Yes of course, you can re-use it.

If it is null, you have to inflate your layout if you have one, else
you can re-use the same convertView.

On Dec 7, 8:48 pm, Business Talk roman.businesst...@gmail.com wrote:
 I have implemented a custom adapter the extends from the BaseAdapter
 and implements the getView method. It works fine except for one thing,
 not once do I get the convert View (a parameter to the getView method)
 that is not null ( that can be reused). Anybody experienced that same?

-- 
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] Market Support Questions From Users/Buyers

2009-12-07 Thread Warren
I get a slow but steady stream of users who have purchased or tried to
purchase my app but have trouble with the market. Typically it's
because the app won't download, or didn't install properly. This is
not the norm. The vast majority of downloads work properly, so it is
not a broken .apk file or anything like that. They seem to be problems
directly related to the market and/or the phone.

I help when I can, but most of issues are beyond my control. Is this
common for other developers?  Do you get support questions related to
the market?  What do you do about it?

-- 
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] DatePicker: years before 2000

2009-12-07 Thread dan raaka
yes that is correct.
-Dan


On Sun, Dec 6, 2009 at 1:05 AM, Thomas kuenne...@googlemail.com wrote:

 My app (TKBirthdayreminder) is heavily relying on DatePicker and
 DatePickerDialog. A few users have reported problems while entering
 the birthday date, specifically years prior to 2000. I was told by one
 user that on a Samsung Moment hitting the minus button below the year
 field will lead to 2002 - 2001 - 2000 - 2099. Can a Samsung Moment
 owner please verify this assumption?

 The DevGuide contains a small sample app:
 http://developer.android.com/guide/tutorials/views/hello-datepicker.html

 Thank you very much.

 Regards
 Thomas

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

Re: [android-developers] SensorManager.registerListener gives unexpected results

2009-12-07 Thread dan raaka
The newer versions of the build dont exhibit this problem ..
-Dan


On Mon, Nov 30, 2009 at 6:30 AM, TonyDoc tony...@gmail.com wrote:

 I'm registering a sensor listener with this line of code.

 mSensorManager.registerListener(this,mSensorManager.getDefaultSensor
 (Sensor.TYPE_ACCELEROMETER), SensorManager.SENSOR_DELAY_FASTEST);

 The rate is set to SENSOR_DELAY_FASTEST with the expectation that I
 would receive events roughly every 20-30ms. It turns out that I
 receive events only every 200-220ms (just now, my event code simply
 logcats the system time).

 No matter which rate I use, SENSOR_DELAY_NORMAL, SENSOR_DELAY_UI,
 SENSOR_DELAY_GAME, or SENSOR_DELAY_FASTEST, I get the same result?

 Any ideas to what am I doing wrong?

 --
 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: Google Map not showing up....just the tiles

2009-12-07 Thread windstorm
If the tilesSteve mentioned is like grid without any street or city,
that's exactly the same problem I met with.

Dunno the solution yet, and I did have the internet permission

On Dec 6, 11:23 pm, Mark Wyszomierski mar...@gmail.com wrote:
 What do you mean you only get the tiles? You mean the actual map tile
 images (like roads and cities)? That would be odd. If you have your
 map key setup properly, and the tiles are what's not showing up (which
 is probably the case), make sure you have the internet access
 permission defined in your manifest, you need that for the map to work
 as well.

 On Dec 6, 3:30 pm, Steve Keener stevena.kee...@gmail.com wrote:



  So I'm an experienced Java developer.  I've worked with Google Maps /
  Earth before.

  Working through examples fo doing it on the Android platform has been
  pretty straightforward so far.  Nothing surprising really.
  Erexcept that my map won't actually appear.   I only get the
  tiles.

  keystore is set up, key is in the code.  I see the simple overlay just
  fine.

  Suggestions anybody?

-- 
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: Display a route between 2 points on a map

2009-12-07 Thread windstorm
But Mytrack app do supply this function

There should be some tricks to do this

On Dec 7, 4:49 am, Dexter#39;s Brain coomar@gmail.com wrote:
 I dont think it is currently possible to achieve until Google Maps
 support such feature.

 Thanks,
 Kumar Bibekhttp://tech-droid.blogspot.com

 On Dec 6, 7:55 pm, stournie sttour...@gmail.com wrote:



  Hello guys

  I'm trying to develop an application which display the locations of
  contacts on a map (a Msn-like but for geo-localisation).
  I search to display a route between my own location and a contact
  location I want to join but I find yet no solution to do this.

  In the Android API and Maps add-on API I just find classes to display
  and listen Location, Distance, GeoPoint, etc but no possibility to
  display a route between two points.

  Has anyone an idea? Is it possible or not provided by the API?

  Thank you for help!

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


[android-developers] Re: Display a route between 2 points on a map

2009-12-07 Thread Dexter#39;s Brain
May be they are using overlays to achieve this. But the documentation
doesn't have any info on this. May be people from Google might give us
the correct answer.

:)

Thanks,
Kumar Bibek.
http://tech-droid.blogspot.com

On Dec 7, 10:48 pm, windstorm likunarmstr...@gmail.com wrote:
 But Mytrack app do supply this function

 There should be some tricks to do this

 On Dec 7, 4:49 am, Dexter#39;s Brain coomar@gmail.com wrote:

  I dont think it is currently possible to achieve until Google Maps
  support such feature.

  Thanks,
  Kumar Bibekhttp://tech-droid.blogspot.com

  On Dec 6, 7:55 pm, stournie sttour...@gmail.com wrote:

   Hello guys

   I'm trying to develop an application which display the locations of
   contacts on a map (a Msn-like but for geo-localisation).
   I search to display a route between my own location and a contact
   location I want to join but I find yet no solution to do this.

   In the Android API and Maps add-on API I just find classes to display
   and listen Location, Distance, GeoPoint, etc but no possibility to
   display a route between two points.

   Has anyone an idea? Is it possible or not provided by the API?

   Thank you for help!

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


[android-developers] Re: Inflator

2009-12-07 Thread Business Talk
thanks Kumar,

that's exactly what I am doing but the problem is that I am getting
the convertView as null all the time. Not once did I get the
convertView  not null (did you ever encounter such problem before).
Otherwise, the adapter works fine. Even so, the inflate step is very
expensive. It would be nice if I could inflate once in the constructor
and then clone the inflated view in the getView as needed (when the
convertView  is null). Wouldn't it be nice?


On Dec 7, 12:33 pm, Dexter#39;s Brain coomar@gmail.com wrote:
 Just check if convertView is null. If it is null, you have to inflate,
 else use the convertView directly.

 Thanks,
 Kumar Bibek

 http://tech-droid.blogspot.com

 On Dec 7, 10:30 pm, Business Talk roman.businesst...@gmail.com
 wrote:



  In my custom adapter, that implements the BaseAdapter and its getView,
  I use the inflator to generate a new view from a layout. Is there any
  way to avoid repetitive inflation step? specially when the convert
  View (an argument to the getView) is always null, which mean it can’t
  be reused and the view needs to be re-inflated. I was looking for
  something like a copy or clone but fund none.- 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Inflator

2009-12-07 Thread Dexter#39;s Brain
I only get the convertView as null, the first time. In the subsequent
calls, the convertView is not null.

If you can post some of your code, the part where you are using your
Custom Adapter, we will try to figure out what the problem is.

Thanks,
Kumar Bibek

On Dec 7, 11:07 pm, Business Talk roman.businesst...@gmail.com
wrote:
 thanks Kumar,

 that's exactly what I am doing but the problem is that I am getting
 the convertView as null all the time. Not once did I get the
 convertView  not null (did you ever encounter such problem before).
 Otherwise, the adapter works fine. Even so, the inflate step is very
 expensive. It would be nice if I could inflate once in the constructor
 and then clone the inflated view in the getView as needed (when the
 convertView  is null). Wouldn't it be nice?

 On Dec 7, 12:33 pm, Dexter#39;s Brain coomar@gmail.com wrote:

  Just check if convertView is null. If it is null, you have to inflate,
  else use the convertView directly.

  Thanks,
  Kumar Bibek

 http://tech-droid.blogspot.com

  On Dec 7, 10:30 pm, Business Talk roman.businesst...@gmail.com
  wrote:

   In my custom adapter, that implements the BaseAdapter and its getView,
   I use the inflator to generate a new view from a layout. Is there any
   way to avoid repetitive inflation step? specially when the convert
   View (an argument to the getView) is always null, which mean it can’t
   be reused and the view needs to be re-inflated. I was looking for
   something like a copy or clone but fund none.- 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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: motally analytics for Android

2009-12-07 Thread Peter Sankauskas
Hi Max,

I am using Motally for my game Remembory and I really like the
reports.

PAS

On Dec 3, 6:41 pm, Max Binshtok max.binsh...@gmail.com wrote:
 Is anyone using motally for analytics?

 If yes - did you experience any problems? I am just wondering how are
 they since I want to try them out.

 Thanks,
 Max.

-- 
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] Rotate GalleryView Vertically

2009-12-07 Thread Yash Patel
Hi,

Is there any way to rotate gallery view vertically instead of horizontal.

thanks in advance.

Yash

-- 
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: Google Map not showing up....just the tiles

2009-12-07 Thread Andrei
this is because u did not put correct license string for maps, which
is based on certificate u
use to sign app

On Dec 7, 12:47 pm, windstorm likunarmstr...@gmail.com wrote:
 If the tiles    Steve mentioned is like grid without any street or city,
 that's exactly the same problem I met with.

 Dunno the solution yet, and I did have the internet permission

 On Dec 6, 11:23 pm, Mark Wyszomierski mar...@gmail.com wrote:

  What do you mean you only get the tiles? You mean the actual map tile
  images (like roads and cities)? That would be odd. If you have your
  map key setup properly, and the tiles are what's not showing up (which
  is probably the case), make sure you have the internet access
  permission defined in your manifest, you need that for the map to work
  as well.

  On Dec 6, 3:30 pm, Steve Keener stevena.kee...@gmail.com wrote:

   So I'm an experienced Java developer.  I've worked with Google Maps /
   Earth before.

   Working through examples fo doing it on the Android platform has been
   pretty straightforward so far.  Nothing surprising really.
   Erexcept that my map won't actually appear.   I only get the
   tiles.

   keystore is set up, key is in the code.  I see the simple overlay just
   fine.

   Suggestions anybody?

-- 
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 with rokon game engine

2009-12-07 Thread Saurav
hi all,

i am trying to develop a game with rokon game engine. i need more
documentations and information on usage of the framework.

thanks in advance.



Regards,
Saurav Mukherjee.

-- 
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] Rotate GalleryView Vertically

2009-12-07 Thread Romain Guy
Hi,

Unfortunately this is not supported.

On Mon, Dec 7, 2009 at 10:26 AM, Yash Patel yashjpa...@gmail.com wrote:
 Hi,

 Is there any way to rotate gallery view vertically instead of horizontal.

 thanks in advance.

 Yash

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



-- 
Romain Guy
Android framework engineer
romain...@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] ActiveSync warnings on exchange server caused by Droid users only

2009-12-07 Thread ahahum
We have users setup on our coprorate email server connecting using
activesync. Most users are windows mobile and iPhones. We currently
have 2 droids for testing (one is mine!).

I get warnings in my exchange server application logs like this. It
only began when we started testing the droids.

Event Type: Warning
Event Source:   Server ActiveSync
Event Category: None
Event ID:   3033
Date:12/2/2009
Time:3:32:30 PM
User:username
Computer:   EXCHANGE
Description:
The average of the most recent [200] heartbeat intervals used by
clients is less than or equal to [540]. Make sure that your firewall
configuration is set to work correctly with Exchange ActiveSync and
direct push technology. Specifically, make sure that your firewall is
configured so that requests to Exchange ActiveSync do not expire
before they have the opportunity to be processed. For more information
about how to configure firewall settings when using Exchange
ActiveSync, see Microsoft Knowledge Base article 905013, Enterprise
Firewall Configuration for Exchange ActiveSync Direct Push
Technology (Enterprise firewall configuration for Exchange ActiveSync
Direct Push Technology).


I have modified my firewall here to meet MS's recommendations for
timeout values - mine are at 900 seconds. It seems that the droid's
activesync is doing something a little different than the standard
activesync session with the server.

Does anyone else manage an exchange server and have access to these
logs? Please look to see if you're getting the same warning. It's
logged about 1 time per hour. The only thing that I haven't tried is
restarting the server after the changes on our firewall. I don't
expect this to be an issue.

Thanks!

Adam

-- 
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] Phonestatelistener dies after a while .... can it be kept alive?

2009-12-07 Thread Bluetrail
Hi

am developing an app that needs to track incoming calls.

I have set up a phonelistener which is launched form a service like so

TelephonyManager tm = (TelephonyManager)getSystemService
(TELEPHONY_SERVICE);
tm.listen(mPhoneListener, PhoneStateListener.LISTEN_NONE);

This seems to work for a while but then fails to fire after - say an
hour.

I have tried relaunching the listening in a timertask every 60 seconds
but this does not seem to work.

Is there a way of keeping a listener alive for a long period of time.
I can only assume  the system is garbage collecting it.

Regards

Richard Spence
Bluetrail

-- 
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: Google Map not showing up....just the tiles

2009-12-07 Thread warunsl
Hi,

If u mean only the grid is appearing, then you would want to check if
you have specified your API-key in the layout.xml file. If yes, then
see if you have given the INTERNET permissions and uses-library in
the AndroidManifest.xml file.

Hope this helps..

Regards,
Varun

On Dec 7, 1:30 am, Steve Keener stevena.kee...@gmail.com wrote:
 So I'm an experienced Java developer.  I've worked with Google Maps /
 Earth before.

 Working through examples fo doing it on the Android platform has been
 pretty straightforward so far.  Nothing surprising really.
 Erexcept that my map won't actually appear.   I only get the
 tiles.

 keystore is set up, key is in the code.  I see the simple overlay just
 fine.

 Suggestions anybody?

-- 
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: Smack 3.1.0 an Android

2009-12-07 Thread Simon Tennant
On Dec 7, 10:28 am, rtreffer rtref...@googlemail.com wrote:
 Hi,

 I've hacked together a working smack 3.1.0 lib for Android.

 http://github.com/rtreffer/asmack

 Here's what's inside:
 - apache harmony spec for javax.security.sasl
 - qpid and novell openldap/jldap for SaslClient impl. (Plain  Digest-
 MD5)
 - smack(x)
 - various patches  shell scripts to glue that
 - some minor glue code (fake Sasl.java, AndroidDebugger.java (so
 you'll get all stanzas on the logcat when debug is enabled))

Great work Rene!  This finally makes more complicated XMPP projects
that include pub-sub and PEP possible in a clean way. I am looking
forward to the DNS SRV support so that Android xmpp projects can
simply ask for a JID and resolve the right server to use.

Woot!

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


[android-developers] Build your Android application in Chrome browser

2009-12-07 Thread android developers
Now, we are developing Android application on Android specific SDK,
but this SDK seems a little heavy weighted for web developers who are
familiar with their development environment (Firebug of FF, Web
Inspector of Safari), so whether web developer can build his Android
application without downloading and working under the Android SDK,
while only in Google Chrome browser ?

so I think it is a good idea to build android application directly in
Browser for android web application
Come to visit my website
http://www.mobinweaver.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] android:windowTitleStyle doesn't works for android:gravity = center

2009-12-07 Thread rags
Hi All,
Am trying to use a theme to my screen as below.
  style name=MyTheme parent=android:Theme.Light
item name=android:windowNoTitlefalse/item
item name=android:windowTitleStyle@style/header_style/
item
 /style

In custom header style(Which is applied to the window title style) am
trying to use, item name=android:gravitycenter/item so that the
header text will appear in between the Header area. This is not
working ..I have tried  item name=android:layout_gravitycenter/
item as well,, but no luck so far..

Could anybody please help me on this item?

Thanks.

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


[android-developers] Re: ADT Plugin for Exlipse installation fails

2009-12-07 Thread Mikael
Hi,

I had the same problem and I've solved it by reading this quote :

http://www.mail-archive.com/android-developers@googlegroups.com/msg69804.html

Go to Help/Install New Software...

Add http://download.eclipse.org/releases/galileo/ to the update sites
list (strange it's not installed by default on ubuntu)

From there, install WST (use the filter box to find the package)

Restart eclipse

Go back to Help/Install New Software... and install the Android ADT
as explained on the android website.

--
 Vineus


(thanks Vineus)

I hope it can help you,

Regards

On 6 déc, 05:53, Stefano stefano.me...@gmail.com wrote:
 I just resucitated an old laptop, wiped out the old corrupted XP,
 installed Ubuntu 9.1, installed Eclipse 3.5.1, installed the sun-java6-
 jdk from the Synaptic Manager, then I tried to install the ADT as
 described inhttp://developer.android.com/sdk/eclipse-adt.html, but
 the installation fails with the following message:

 Cannot complete the install because one or more required items could
 not be found.
   Software being installed: Android Development Tools
 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group
 0.9.5.v200911191123-20404)
   Missing requirement: Android Development Tools
 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group
 0.9.5.v200911191123-20404) requires 'org.eclipse.wst.xml.ui 0.0.0' but
 it could not be found

 I found another similar message without solution.
 Anybody out there can help me getting started?

 Thanks,
 Stefano

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


  1   2   3   >