[android-developers] Re: Multiple data for an intent

2009-09-09 Thread Dexter's Brain

But, I don't have control over the target application. Suppose, I want
to send 3 geo points info to the google maps application, will this
solve my problem?

Thanks,
Dexter.

On Sep 10, 10:20 am, AJ ajeet.invinci...@gmail.com wrote:
 You could put all data in Bundle and send this Bundle with the Intent.
 This will solve your problem.

 Thanks,
 AJ

 On Sep 10, 10:02 am, Dexter#39;s Brain coomar@gmail.com
 wrote:

  Hi All,

  I was just wondering if it is possible to give the intent a set of
  data, instead of just one. A particular scenario where this could be
  applicable would be a music application.

  You select a list of songs, and pass all these data (file path) to the
  Music Player's application.

  Another scenario: You need to plot more than one address on the Google
  Maps. You launch the application with a set of data for the intent.

  Is this possible??

  Thanks,
  Dexter.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Multiple data for an intent

2009-09-10 Thread Dexter's Brain

Thanks Dianne,
That, I guess answers my question.

Dexter.

On Sep 10, 10:59 am, Dianne Hackborn hack...@android.com wrote:
 Any application you are going to send multiple pieces of data to would need
 to be written to explicitly support it -- it's not like maps is magically
 going to do anything sane with multiple geo URIs even if there was a way to
 get them to it.

 Intent supports one data field.  I doubt this will change.

 In Eclair I believe there will be a new intent protocol for sharing multiple
 data items, but it puts that data in the bundle, and applications must
 explicitly support it.

 On Wed, Sep 9, 2009 at 10:44 PM, Dexter's Brain coomar@gmail.comwrote:





  But, I don't have control over the target application. Suppose, I want
  to send 3 geo points info to the google maps application, will this
  solve my problem?

  Thanks,
  Dexter.

  On Sep 10, 10:20 am, AJ ajeet.invinci...@gmail.com wrote:
   You could put all data in Bundle and send this Bundle with the Intent.
   This will solve your problem.

   Thanks,
   AJ

   On Sep 10, 10:02 am, Dexter#39;s Brain coomar@gmail.com
   wrote:

Hi All,

I was just wondering if it is possible to give the intent a set of
data, instead of just one. A particular scenario where this could be
applicable would be a music application.

You select a list of songs, and pass all these data (file path) to the
Music Player's application.

Another scenario: You need to plot more than one address on the Google
Maps. You launch the application with a set of data for the intent.

Is this possible??

Thanks,
Dexter.

 --
 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: cant know whats problem with the content provider in my code ... Plz help

2009-09-12 Thread Dexter's Brain

Before calling the function getColumnData(), you should be calling
startManagingCursor(), so that the cursor is initialized.

That should solve your problem,

Dexter.

On Sep 11, 9:14 am, wahib.t...@gmail.com wahib.t...@gmail.com
wrote:
 I am a newbie to android programming. I want to search the name of
 contact member by taking phonenumber from the user. I dont know whats
 the issue and when run it just displays error ..
 Application has stopped unexpectedly !. My code is like this ...

 Uri myperson = Uri.withAppendedPath(People.CONTENT_URI, numtext.getText
 ().toString()); //numtext is the textbox object

 Cursor managedCursor = managedQuery(contacts, projection, null, null,
 People.NAME + ASC);
 getColumnData(managedCursor);

 ///
 String[] projection = new String[] {People.NAME, People._ID};

     private void getColumnData(Cursor cur) {
         if(cur.moveToFirst())
         {
                 String name;
                 String id;
                 int nameColumn = cur.getColumnIndex(People.NAME);
                 int ideColumn = cur.getColumnIndex(People._ID);

                 do
                 {
                         name = cur.getString(nameColumn);
                         id = cur.getString(idColumn);
                         Toast.makeText(searchbynum.this, name, 
 Toast.LENGTH_LONG).show
 ();
                 }
                 while(cur.moveToNext());

         }

     }
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Signed vs. Unsigned

2009-09-13 Thread Dexter's Brain

Hey,

With the Eclipse plugin, it's all very easy. If you still have any
problems, I can help you..

On Sep 13, 6:57 am, Ken H hunt1...@gmail.com wrote:
 I think I got it figured. I just have to do it the way the dev guide
 says do it -- create a key in the keystore and apply that to the
 application. I'm new to the whole signing thing and using the Export
 Signed Application Package confused me because there is no keystore
 created (at least not one I can find...and I search the whole
 computer), so I was confused on how to re-deploy my app.

 Unfortunately I think the users of my app will have to reinstall.

 Ken

 On Sep 12, 4:53 pm, Jack Ha jack...@t-mobile.com wrote:

  Your app needs to be digitally signed.

  If you use Eclipse with the ADT plugin, skip to the Compiling and
  signing with Eclipse ADT section. Otherwise, follow the instructions
  to export an unsigned .apk and then sign it with jarsigner.

  --
  Jack Ha
  Open Source Development Center
  ·T· · ·Mobile· stick together
  The coverage you need at the price you want

  The views, opinions and statements in this email are those of
  the author solely in their individual capacity, and do not
  necessarily represent those of T-Mobile USA, Inc.

  On Sep 12, 3:40 pm, Ken H hunt1...@gmail.com wrote:

   Ok, stupid question time: what's the difference being Export Signed
   Application Package and Export Unsigned Application Package? Under
   'Signing for Public Release' in the dev guide it says you must:

   1. Compile the application in release mode
   2. Obtain a suitable private key
   3. *Sign* the application with your private key

   But then it continues:

   To prepare your application for release...To export an unsigned .apk
   from Eclipse, right-click the project in the Package Explorer and
   select Android Tools  Export Unsigned Application Package.

   But below this under Compiling and signing with Eclipse ADT it says
   to To create a signed .apk, right-click the project in the Package
   Explorer and select Android Tools  Export Signed Application
   Package...When you complete the Export Wizard, you'll have a
   signed .apk that's ready for distribution

   Huh? Do I need my app signed or unsigned for distribution on market
   place?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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 won't finish booting...

2009-09-16 Thread Dexter's Brain

I also have the same problem sometimes. I just close the emulator and
restart it. That usually solves the problem

On Sep 16, 9:06 pm, Walter androidremotecont...@gmail.com wrote:
 I have the same problem too. Usually It will be fine after I closed
 Pidgin, Google Talk and restart the emulator.

 if not, restart the computer and try again.

 On Sep 16, 7:03 am, furby wookie...@gmail.com wrote:

  I had the 1.5 android emulator starting from Eclipse perfectly
  nicely until yesterday when it suddenly won't finish booting. I
  haven't installed anything new (Running it on Windows Vista - i know,
  uck, but I'm waiting for Win 7 to hurry up), haven't even changed the
  java code I am trying to run...

  The emulator starts up, get's to the point where it shows Android
  with the nice lighting effect that goes from left to right over it and
  then just stays in that state. Last night I tested it by starting it
  up, going out to the living room, watching two hour long episodes of
  the first series of Doctor Who, and then coming back in (Essentially
  giving it 1.5 hours to do it's stuff) - it was still stuck in that
  state

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



[android-developers] Re: Default behaviour of the Back button

2009-09-18 Thread Dexter's Brain

Thanks for your answers.

On Sep 18, 4:11 am, Dianne Hackborn hack...@android.com wrote:
 The other key point is that generally our model is for data to be
 edit-in-place, so pressing back from something like contacts will close the
 screen but retain your edits (since the edits were performed as you did
 them).

 There will always be exceptions -- I think gmail confirming you want to
 cancel your message if you haven't yet saved it as a draft is a good one
 because otherwise you unintentionally end up with a lot of drafts -- but
 what you see in contacts is the general model.

 We do need to get UI guidelines out that describe all of this in much more
 detail.  I know this has been an issue for a while.

 Btw, the scenario of editing a contact and removing all data then pressing
 back is an edge case that to me is consistent with the model -- the contact
 has no more data, so it no longer exists.  When you press back you have
 already made the edits that make it empty so it is now gone.

 On Thu, Sep 17, 2009 at 1:04 PM, niko20 nikolatesl...@yahoo.com wrote:

  Hi,

  The back button is really not meant to be cancel usually, but only
  to exit the current screen you are working on.

  -niko

 --
 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: Can't get rid of SQLiteCursor IllegalStateExceptions in finalize method

2009-08-10 Thread Dexter's Brain

It seems that you are querying the db, but after you are done with the
cursors, you haven't closed them. Just close all the cursors, and the
errors will vanish.

Thanks,
Dexter.

On Aug 7, 7:45 pm, Paul Drummond paul.drumm...@iode.co.uk wrote:
 When I run my app in debug mode I constantly get the debugger breaking out
 due to a IllegalStateException:

 08-07 14:40:00.261: INFO/dalvikvm(808): Ljava/lang/IllegalStateException;:
 Finalizing cursor android.database.sqlite.sqlitecur...@437a2d80 on null that
 has not been deactivated or closed
 08-07 14:40:00.266: INFO/dalvikvm(808):     at
 android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
 08-07 14:40:00.266: INFO/dalvikvm(808):     at
 dalvik.system.NativeStart.run(Native Method)

 I have checked on this group and realise it must be because I have not
 closed a cursor somewhere but I have checked a million times and I am
 absolutely sure I always either call startManagingCursor() or close all my
 cursors explicitly.

 Yet I still get these exceptions and it's not just the odd one - sometimes I
 get 5 in a row!!!  The only thing I can think of it that I have
 mis-understood somewhere along the line and I am misusing cursors somehow!

 The only information I get is the above so I have no way of tracing where
 the actual resource leak is coming from.

 Can anyone point me in the right direction please?

 Thanks,
 Paul Drummond
 --
 Iode Software Ltd, registered in England No. 6299803.

 Registered Office Address: 12 Sancroft Drive, Houghton-le-Spring, Tyne 
 Wear, DH5 8NE.

 This message is intended only for the use of the person(s) (the intended
 recipient(s)) to whom it is addressed. It may contain information which is
 privileged and confidential within the meaning of applicable law. If you are
 not the intended recipient, please contact the sender as soon as possible.
 The views expressed in this communication may not necessarily be the views
 held by The Company.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Null Pointer Exception

2009-08-30 Thread Dexter's Brain

Without looking at your code, it si practically impossible to suggest
something to you...

Dexter.

On Aug 31, 9:51 am, Sasi Kumar sasikumar.it1...@gmail.com wrote:
 when i'm trying to call another class method.
 It is showing null pointer exception.

 Plz give some suggestion to get back from 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: get the path of a file

2009-09-01 Thread Dexter's Brain

The Uri seems to be incorrect. file://sdcard/myfile.zip

You can directly specify a file uri like Uri.fromFile(new File(/
sdcard/myfile.zip))

Regards,
Dexter.

On Sep 1, 11:35 am, SrilankanKK k2er...@gmail.com wrote:
 Hi

 I have create a zip file on the phone sdk. So i need to create a
 program to attach that zip file and mail it. For that i need the uri
 of that file. I used its physical path but it doesn't work.

 path to the file - sdcard/myfile.zip

 i used it in the code in foloowing way

  sendIntent.putExtra(Intent.EXTRA_STREAM,Uri.parse(file://sdcard/
 myfile.zip));

 when email is sent no attachment can be seen.
 Is it a problem with a uri.
 is it a problem with the MIME type

 Thank 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: how do you position an image src inside an ImageButton

2009-09-01 Thread Dexter's Brain

Remove the background tag. That should help.

Regards,
Dexter.

On Sep 1, 11:10 pm, sdphil phil.pellouch...@gmail.com wrote:
 I want the image to be right aligned within the image button.

 This --

                 ImageButton android:id=@+id/MyButton
                              android:layout_width=fill_parent
                              android:layout_height=fill_parent
                              android:layout_alignParentRight=true
                              android:layout_gravity=right
                              android:gravity=right
                              android:background=@color/transparent
                              android:visibility=invisible
                              android:src=@drawable/MyImage/

 doesn't work.

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



[android-developers] Re: How to build Uri to an image present at the APK ?

2009-09-01 Thread Dexter's Brain

Hi,

The code for starting the intent is correct. But I am not sure about
the data, i.e the Uri that you have passed. Normally, other
application cannot access your application specific files, unless you
expose them through a content provider. One option would be to save
your file to the sdcard, and pass the uri of that location.

Uri uri = Uri.fromFile(new File(/sdcard/filename);

This should work. Instead of specifying the exact file type, you can
set the type as image/*, and the picture viewer should take care of
the rest.

Regards,
Dexter.

On Sep 1, 3:36 pm, Umesh javaumesh-andr...@yahoo.co.in wrote:
 Hi all,

        I have been working on building an Uri to an image present at the APK, 
  in the following way.
 Uri path = Uri.parse(android.resource:// + package + / + ImageId);
  but when I pass this Uri to the Intent, I'm always getting 
 ActivityNotFoundException.  
 can someone help me in figuring out what is going wrong. I'm really 
 struggling hard to make this work, but always ending with fruitless efforts. 
 But interestingly same code works if i provide Uri of an image present at the 
 SDCARD. But for the following , app always crashes with the runtime exception.

 Thanks in advance.

 Code:

 public void displayImage(){

 String uriStr = android.resource://+ com.example.myapp+ / + 
 R.drawable.photo_h01;
 Uri uri = Uri.parse(uriStr);
 Intent intent = new Intent(Intent.ACTION_VIEW);
             intent.setDataAndType(uri, image/png);  //intent.setData(uri);
             mContext.startActivity(intent);

 }  

 and the exception is:

 Stack trace:
 I/ActivityManager(  917): Starting activity: Intent { 
 action=android.intent.action.VIEW 
 data=android.resource://com.onskreen.coverflow.homes.media/2130837509 
 type=image/png }
 D/AndroidRuntime( 1152): Shutting down VM
 W/dalvikvm( 1152): threadid=3: thread exiting with uncaughtexception 
 (group=0x4000fe70)
 E/AndroidRuntime( 1152): Uncaught handler: thread main exiting due to 
 uncaught exception
 E/AndroidRuntime( 1152): android.content.ActivityNotFoundException: No 
 Activity found to handle Intent { action=android.
 intent.action.VIEW data=android.resource://com.example.myapp/2130837509 
 type=image/png }
 E/AndroidRuntime( 1152):        at 
 android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1484)
 E/AndroidRuntime( 1152):        at 
 android.app.Instrumentation.execStartActivity(Instrumentation.java:1454)
 E/AndroidRuntime( 1152):        at 
 android.app.Activity.startActivityForResult(Activity.java:2656)
 E/AndroidRuntime( 1152):        at 
 android.app.Activity.startActivity(Activity.java:2700)
 E/AndroidRuntime( 1152):        at 
 com.example.myapp.CoverFlowView.launchAndroidApplication(CoverFlowView.java:434)
 E/AndroidRuntime( 1152):        at 
 com.example.myapp.MediaHome$4.onSelectionChanged(MediaHome.java:108)
 E/AndroidRuntime( 1152):        at 
 com.example.myapp.CoverFlowView.onSingleTapUp(CoverFlowView.java:184)
 E/AndroidRuntime( 1152):        at 
 android.view.GestureDetector.onTouchEvent(GestureDetector.java:503)
 E/AndroidRuntime( 1152):        at 
 com.example.myapp.CoverFlowView$1.onTouch(CoverFlowView.java:60)
 E/AndroidRuntime( 1152):        at 
 android.view.View.dispatchTouchEvent(View.java:3364)
 E/AndroidRuntime( 1152):        at 
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
 E/AndroidRuntime( 1152):        at 
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
 E/AndroidRuntime( 1152):        at 
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
 E/AndroidRuntime( 1152):        at 
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
 E/AndroidRuntime( 1152): at
 com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1707)
 E/AndroidRuntime( 1152):        at 
 com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1197)
 E/AndroidRuntime( 1152):        at 
 android.app.Activity.dispatchTouchEvent(Activity.java:1993)
 E/AndroidRuntime( 1152): at
 com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1691)
 E/AndroidRuntime( 1152):        at 
 android.view.ViewRoot.handleMessage(ViewRoot.java:1525)
 E/AndroidRuntime( 1152):        at 
 android.os.Handler.dispatchMessage(Handler.java:99)
 E/AndroidRuntime( 1152):        at android.os.Looper.loop(Looper.java:123)
 E/AndroidRuntime( 1152):        at 
 android.app.ActivityThread.main(ActivityThread.java:3948)
 E/AndroidRuntime( 1152):        at 
 java.lang.reflect.Method.invokeNative(Native Method)
 E/AndroidRuntime( 1152):        at 
 java.lang.reflect.Method.invoke(Method.java:521)
 E/AndroidRuntime( 1152):        at 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
 E/AndroidRuntime( 1152):        at 
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
 E/AndroidRuntime( 1152):        at dalvik.system.NativeStart.main(Native 
 Method)
 

[android-developers] Re: Real device vs Emulator

2008-03-24 Thread Dexter's Brain

Faster than the emulator??? I doubt. Any one else has anything to say
about this??
:-)


On Mar 24, 3:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 The real device would probably be faster then the emulator, certainly
 if you are developing on a 1,6GHz machine.

 On Mar 24, 11:19 am, Dexter's Brain [EMAIL PROTECTED] wrote:

  Hello All,

  I have an application which is I think would be a resource hogger for
  the mobile device. I do lots of I/O operations, creating and deleting
  files, etc. With the emulator, everything seems to be fine, i.e, I
  dont get stuck.

  I just wanted to know if the device will be capable of handling such
  CPU intensive apps. I have a 1.6Ghz/1.5GB RAM machine. And I hope the
  emulator doesn't process my code, hoping that the mobile device will
  have such high resources.

  In case, the emulator is peforming much faster than an actual device
  would do, I will have to rethink my logic and change my apps design.
  Please comment.

  Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Intent Receiver for android.intent.action.INSERT

2008-03-26 Thread Dexter's Brain

ok...Let me tell you what i wanted to doI have a local file that
has information about all the contacts on the phone. And my
application uses this local file and not the phone book data
directly

So I wanted that, whenever a new contact is added or an old one is
deleted, I should run a program that would update this local file .
But this seems to be impossible right now if there's no intent for
this. I will have to do a check for changes in the phone book and
update my local file, everytime my application startsThats a bit
of overhead on my appand will also affect the startup time...

hackbod wrote:
 No, it has nothing to do with writing a contacts provider.  The
 provider is the back-end data; an activity is the user interface.  You
 just write a new activity that operates on the existing content
 provider.

 On Mar 26, 3:24 am, Diego Torres Milano [EMAIL PROTECTED] wrote:
  If you want to write your own activity implementing those actions, how
  would you do that ?
  Implementing a new whole ContactsProvider ?
  If you only want to replace, say INSERT ?
  How your new ContactsProvider can coexist with the standard one if you
  want to extend its functionality ?
 
  On Mar 26, 7:35 am, hackbod [EMAIL PROTECTED] wrote:
 
   The android.intent.action.INSERT and android.intent.action.VIEW
   actions are not broadcasts, they are actions for starting activities
   to show a UI to insert a new entry, or view an existing entry,
   respectively.  Thus you don't register for them with a receiver, you
   launch them with startActivity().  (You can also write your own
   activity implementing those actions to replace the standard UI, but
   that's probably not what you are wanting.)
 
   On Mar 25, 8:35 pm, Dexter's Brain [EMAIL PROTECTED] wrote:
 
Thanks Megha...But, will it be provided in the subsequent releases???
 
Can you think of a situation where we would need this???
 
Dexter.
 
On Mar 26, 3:15 am, Megha Joshi [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I don't think that the intents for contacts added and contacts deleted
 intents are broadcasted.
 So you cannot receive these intents.
 
 Thanks,
 Megha
 
 On Mon, Mar 24, 2008 at 9:49 AM, Dexter's Brain [EMAIL PROTECTED]
 wrote:
 
  Hello All,
 
  I have an Intent Receiver which I will be triggered when a contact 
  is
  added or deleted.
 
  My reciever properties in the androidmanifest.xml are as follows.
 
   receiver android:name=.ContactAdded
 intent-filter
 action 
  ndroid:name=android.intent.action.INSERT
  /
 action 
  android:name=android.intent.action.VIEW
  /
 /intent-filter
 /receiver
 
  And in my Intent Reciever class, I have the following lines of code.
 
  public class ContactAdded {
 public void onReceiveIntent(Context context, Intent intent){
 try{
 Log.i(Received Intent, intent.getAction());
 }
 catch(Exception e){
 Log.i(Exception in 
  Intent,e.getLocalizedMessage
  ());
 }
 }
  }
 
  Now, when I try to add or delete a contact, I can see in the LogCat
  that the required Intent is broadcast, but I don't see my message
  Received Intent in the LogCat which I have coded in my reciever
  class.
 
  Am I doing something wrong???
 
  Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Intent Receiver for android.intent.action.INSERT

2008-03-26 Thread Dexter's Brain

What do you mean by sync???

On Mar 27, 12:12 am, jtaylor [EMAIL PROTECTED] wrote:
 Possibly using sync as well.

 - Juan

 On Mar 26, 1:42 pm, Peli [EMAIL PROTECTED] wrote:

  Could a ContentObserver be registered for cases like 
  these?http://code.google.com/android/reference/android/database/ContentObse..)

  Peli

  On Mar 26, 6:02 pm, Dexter's Brain [EMAIL PROTECTED] wrote:

   ok...Let me tell you what i wanted to doI have a local file that
   has information about all the contacts on the phone. And my
   application uses this local file and not the phone book data
   directly

   So I wanted that, whenever a new contact is added or an old one is
   deleted, I should run a program that would update this local file .
   But this seems to be impossible right now if there's no intent for
   this. I will have to do a check for changes in the phone book and
   update my local file, everytime my application startsThats a bit
   of overhead on my appand will also affect the startup time...

   hackbod wrote:
No, it has nothing to do with writing a contacts provider.  The
provider is the back-end data; an activity is the user interface.  You
just write a new activity that operates on the existing content
provider.

On Mar 26, 3:24 am, Diego Torres Milano [EMAIL PROTECTED] wrote:
 If you want to write your own activity implementing those actions, how
 would you do that ?
 Implementing a new whole ContactsProvider ?
 If you only want to replace, say INSERT ?
 How your new ContactsProvider can coexist with the standard one if you
 want to extend its functionality ?

 On Mar 26, 7:35 am, hackbod [EMAIL PROTECTED] wrote:

  The android.intent.action.INSERT and android.intent.action.VIEW
  actions are not broadcasts, they are actions for starting activities
  to show a UI to insert a new entry, or view an existing entry,
  respectively.  Thus you don't register for them with a receiver, 
  you
  launch them with startActivity().  (You can also write your own
  activity implementing those actions to replace the standard UI, but
  that's probably not what you are wanting.)

  On Mar 25, 8:35 pm, Dexter's Brain [EMAIL PROTECTED] wrote:

   Thanks Megha...But, will it be provided in the subsequent 
   releases???

   Can you think of a situation where we would need this???

   Dexter.

   On Mar 26, 3:15 am, Megha Joshi [EMAIL PROTECTED] wrote:

Hi,

I don't think that the intents for contacts added and contacts 
deleted
intents are broadcasted.
So you cannot receive these intents.

Thanks,
Megha

On Mon, Mar 24, 2008 at 9:49 AM, Dexter's Brain [EMAIL 
PROTECTED]
wrote:

 Hello All,

 I have an Intent Receiver which I will be triggered when a 
 contact is
 added or deleted.

 My reciever properties in the androidmanifest.xml are as 
 follows.

  receiver android:name=.ContactAdded
intent-filter
action 
 ndroid:name=android.intent.action.INSERT
 /
action 
 android:name=android.intent.action.VIEW
 /
/intent-filter
/receiver

 And in my Intent Reciever class, I have the following lines 
 of code.

 public class ContactAdded {
public void onReceiveIntent(Context context, Intent 
 intent){
try{
Log.i(Received Intent, 
 intent.getAction());
}
catch(Exception e){
Log.i(Exception in 
 Intent,e.getLocalizedMessage
 ());
}
}
 }

 Now, when I try to add or delete a contact, I can see in the 
 LogCat
 that the required Intent is broadcast, but I don't see my 
 message
 Received Intent in the LogCat which I have coded in my 
 reciever
 class.

 Am I doing something wrong???

 Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Intent Receiver for android.intent.action.INSERT

2008-03-26 Thread Dexter's Brain

I totally agree.To detect even a single change, I will surely have
to rescan everythingThats a lot of work of course

Dexter.

On Mar 27, 9:30 am, severian [EMAIL PROTECTED] wrote:
 The problem is that ContentObserver.onChange() doesn't tell you what
 changed. So how do you figure it out? Well, as far as I can tell you
 have to keep your own copy of everything you might care about in the
 database, and then when you get onChange() you read everything from
 the ContentProvider and then compare it to your local copy, looking
 for changes. That is, you have to rescan the database with every
 change, not just between instantiations. But if I'm wrong, please tell
 me!

 Since you (DB) are storing a local copy anyway, this might be
 feasible, but for most purposes this is just too onerous to be useful.

 I really hope they fix this API to indicate what has changed, because
 ContentObserver is a nice idea - it allows different frontend and
 backend applications to share a common data pool.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Is there a way to manually kill a service?

2008-03-28 Thread Dexter's Brain

of course...if u go to the DDMS perspective, it has one window that
displays all the processes that are currently running. And there's a
button called Stop Process .. Thanks god , the G-People didn't forget
that

On Mar 28, 8:14 pm, NTR [EMAIL PROTECTED] wrote:
 As the subject says, is there a way to kill a service, either from the
 DDM console or 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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Take a screenshot and save as a picture file

2008-04-06 Thread Dexter's Brain

Hello All,

From my aplication. I need to take a screenshot and save it as a
picture. Is it possible???

Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Documentation fpr android.provider.GMail

2008-04-06 Thread Dexter's Brain

Hello All,

Where can i find the documentation about this package..Does this
work???

I dont want to use any extra jars to be able to send a mail. Please
let me know, if this can be done using this package??
Dexter.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Take a screenshot and save as a picture file

2008-04-06 Thread Dexter's Brain

I am aware of that...but what i want is to do it from within an
application...on the press of a button.

Dexter.

On Apr 6, 2:04 pm, Harsh Jain [EMAIL PROTECTED] wrote:
 yes, go to DDMS perspective in eclipse, there is a screen capture tool.

 harsh

 On Sun, Apr 6, 2008 at 1:41 PM, Dexter's Brain [EMAIL PROTECTED] wrote:

  Hello All,

  From my aplication. I need to take a screenshot and save it as a
  picture. Is it possible???

  Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Take a screenshot and save as a picture file

2008-04-09 Thread Dexter's Brain

This will be only for a view i guessBut if i want that for the
whole screen, can it be done??

On Apr 9, 10:11 pm, Diego Pino [EMAIL PROTECTED] wrote:
 To take a snapshot of a View use

 View.getDrawingCache()

 You should have turned cache on before that

 View.setDrawingCacheEnabled(true)

 br
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to mark the location of google map?

2009-06-30 Thread Dexter's Brain

You can use the LocationManager to first get your location. Once you
get the location, extract the latitude and longitude information from
the Location object.

You have to create a MapOverlay, on which you can mark this new point.
Using the MapOverlay, you can mark multiple points on the map.

Let me know if you need any further explanation.

Thanks,
Dexter.

On Jun 29, 11:16 am, tstanly tsai.sta...@gmail.com wrote:
 hi all,

 i have a problem about the gps with the google map,
 that is,
 how gps can mark the user's location which is on the google map??

 is somebody have same experience can share?

 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: ListView Query

2009-06-30 Thread Dexter's Brain

Thanks,

I got it working.

Dexter.

On Jun 11, 5:05 pm, Mark Murphy mmur...@commonsware.com wrote:
 Dexter#39;s Brain wrote:
  I have a ListView whose layout contains several TextViews. When an
  item is clicked on the ListView, is it possible to capture on which
  TextView he has clicked?

 You will want to call setOnItemClickListener() and/or
 setOnItemSelectedListener() on the ListView. The former is for
 screen-taps on list items; the latter is when the user scrolls to the
 item via the trackball/d-pad and then clicks on it (again, with the
 trackball/d-pad).

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

 Looking for Android opportunties?http://wiki.andmob.org/hado
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: ListView Doubt : Listen to clicks inside a ListView Item

2009-06-30 Thread Dexter's Brain

Thanks Sujay,

I got it working. Thanks a lot.

On Jun 19, 10:01 am, Sujay Krishna Suresh sujay.coold...@gmail.com
wrote:
 u shd use d setonclicklistener for each view in ur adapter n if u hv 2
 fields, its best 2 use tablerow...

 On Fri, Jun 19, 2009 at 10:28 AM, Dexter#39;s Brain
 coomar@gmail.comwrote:





  Hi,

  I want to have the following functionality.

  I need to have a list view which should have two fields. I need to
  listen to clicks on these two fields(TextViews). Based on which text
  view was clicked, I need to start different activities. Is this
  possible in a ListView? I have my custom adapter for the ListView.

  When I set listeners on the ListViews for ItemClicks, I don't get any
  information on which TextView was clicked.

  I tried searching for a similar implementation in this group. But, I
  didn't find a concrete answer.

  Thanks,
  Kumar.

 --
 Regards,
 Sujay
 Rodney 
 Dangerfieldhttp://www.brainyquote.com/quotes/authors/r/rodney_dangerfield.html
 - What a dog I got, his favorite bone is in my arm.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: AlertDialog.Builder don't close on PositiveButton click

2009-06-30 Thread Dexter's Brain

Hi,

I guess, it is not possible to do it with setPositiveButton, since it
it's click, the dialog will be dismissed. What you can do it, you
should put an extra button on the Alert Dialog, and write your handler
for that. Clicking on that button wont close your dialog. And from the
handler of the new button listener,  based on a condition, you can
dismiss the dialog if you want.

Dexter.

On Jun 30, 1:10 am, skyman krzysiek.bieli...@gmail.com wrote:
 Hello,

 In my app i have an AlertDialog created using AlertDialog.Builder with
 custom view (form) inside.

 When user clicks OK (positive) button I want to validate field
 contents and close the button when everything is correct or show Toast
 otherwise and leave dialog open?

 Is it possible using standard setPositiveButton(text,
 DialogInterface.OnClickListener); ??

 Regs,

 Krzysiek Bielicki
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: ListView and ListActivity

2009-06-30 Thread Dexter's Brain

To have a look at your code will perhaps give us more information on
what are you doing. Please paste some code snippets.

Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: TabActivity - OnClickListener not working

2009-06-30 Thread Dexter's Brain

You should use, OnItemClicked event for list view.
   The onClick event is not for a list view.

Dexter.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: data between activities

2009-06-30 Thread Dexter's Brain

Perhaps, passing data within activities is supposed to be done through
Bundles. I guess, that is why they are there...

Dexter.

On Jun 30, 3:21 pm, Gavin Aiken gavin.ai...@imperial.ac.uk wrote:
 Yeah, I use an Application class which holds common data. There are a few
 options;

 http://developer.android.com/guide/appendix/faq/framework.html#3

 On Tue, Jun 30, 2009 at 8:26 AM, Saurav Mukherjee 

 to.saurav.mukher...@gmail.com wrote:
  if both the activities are in the same app, yes, its possible.

  On Tue, Jun 30, 2009 at 12:47 PM, Sukitha Udugamasooriya suk...@gmail.com
   wrote:

  Is it possible to transfer data between activities without using
  extars??
   I need to access MyOwnObject in Atctivity 1 from Activity2
   Possible with using static fields?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: Email Application

2009-07-21 Thread Dexter's Brain

Hi,

You can search for K9 Mail. It's an open source project. You should be
able to pick up guidelines from them.

Thanks,
Dexter.

On Jul 21, 1:11 pm, android.vinny vinny.s...@gmail.com wrote:
 HI
 Is it possible to do an application should download the mail from the
 mail server and should show on our mobile screen exacltly like outlook
 etc., applications on pc's
 if it possible how to do that guide me plz
 any application examples like that is there means give me the
 refference of that app.

 thanks a lot 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: Email Application

2009-07-21 Thread Dexter's Brain

Ya sure, you can do it..

For problems with K9 Mail, I think they already have a forum at the
project hosting site. My K9Mail is running fine though.

On Jul 21, 2:25 pm, Desu Vinod Kumar vinny.s...@gmail.com wrote:
 HI Dexter's Brain

 Thanks For Giving response .
 Is it possible to do some animations when we get a ne mail and some sounds
 for that 

 is it possible 

 On Tue, Jul 21, 2009 at 2:15 PM, Dexter's Brain coomar@gmail.comwrote:





  Hi,

  You can search for K9 Mail. It's an open source project. You should be
  able to pick up guidelines from them.

  Thanks,
  Dexter.

  On Jul 21, 1:11 pm, android.vinny vinny.s...@gmail.com wrote:
   HI
   Is it possible to do an application should download the mail from the
   mail server and should show on our mobile screen exacltly like outlook
   etc., applications on pc's
   if it possible how to do that guide me plz
   any application examples like that is there means give me the
   refference of that app.

   thanks a lot in advance...

 --
 Regards
 ---
 Desu Vinod Kumar
 vinny.s...@gmail.com
 09176147148
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
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: StackOverflow Exception while using TabActivity

2009-07-24 Thread Dexter's Brain

Hi Romain,

I just thought about that. I removed three layers, and it now runs
fine.

Thanks
Dexter

On Jul 21, 8:43 pm, Romain Guy romain...@google.com wrote:
 You have way too many nested viewsgroups/layout. Remove some of them :)

 On Mon, Jul 20, 2009 at 10:04 PM, Dexter#39;s



 Braincoomar@gmail.com wrote:

  Hi,

  I have a TabActivity, there are 4 tabs. In each tab I have put a
  single Activity. One of the activities contains a Custom List View
  which uses a CustomAdapter which extends the BaseAdapter.

  I get this excpetion, when I try to open the tab containing this
  activity. It seems to be thrown at a point when probably the
  TabActivity is being re-drawn. Can anybody please suggest some
  alternatives, or solutions to avoid this problem. Here is the stack
  trace.

  java.lang.StackOverflowError
  at android.text.SpannableStringBuilder.drawText
  (SpannableStringBuilder.java:1042)
  at android.graphics.Canvas.drawText(Canvas.java:1273)
  at android.text.Styled.each(Styled.java:119)
  at android.text.Styled.foreach(Styled.java:249)
  at android.text.Styled.drawText(Styled.java:302)
  at android.text.Layout.drawText(Layout.java:1346)
  at android.text.Layout.draw(Layout.java:339)
  at android.widget.TextView.onDraw(TextView.java:3921)
  at android.view.View.draw(View.java:5838)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.widget.AbsListView.dispatchDraw(AbsListView.java:1319)
  at android.widget.ListView.dispatchDraw(ListView.java:2820)
  at android.view.View.draw(View.java:5944)
  at android.widget.AbsListView.draw(AbsListView.java:2121)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.View.draw(View.java:5841)
  at android.widget.FrameLayout.draw(FrameLayout.java:352)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.View.draw(View.java:5841)
  at android.widget.FrameLayout.draw(FrameLayout.java:352)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1486)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.ViewGroup.drawChild(ViewGroup.java:1484)
  at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1228)
  at android.view.View.draw(View.java:5841)
  at android.widget.FrameLayout.draw(FrameLayout.java:352)
  at com.android.internal.policy.impl.PhoneWindow$DecorView.draw
  (PhoneWindow.java:1847)
  at android.view.ViewRoot.draw(ViewRoot.java:1217)
  at android.view.ViewRoot.performTraversals(ViewRoot.java:1030)
  at android.view.ViewRoot.handleMessage(ViewRoot.java:1482)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loop(Looper.java:123)
  at android.app.ActivityThread.main(ActivityThread.java:3948)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:521)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
  (ZygoteInit.java:782)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
  at dalvik.system.NativeStart.main(Native Method)

  Thanks,

  Dexter

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