[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

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

2009-09-10 Thread Dexter's Brain
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

[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

[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

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

[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

[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

[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

[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

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

[android-developers] Re: Real device vs Emulator

2008-03-24 Thread Dexter's Brain
, 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

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

2008-03-26 Thread Dexter's Brain
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

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

2008-03-26 Thread Dexter's Brain
/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

[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

[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

[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

[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

[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

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

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

[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

[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

[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

[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

[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] 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;

[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

[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

[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