[android-developers] [Socket/Client-Server communication ] how to verify if url and port is working fine
Problem is can not able to write/read data to server. Want to verify if url and portNo is working so it can be confirmed that error is in code. basically i have inetAddress = 38.92.76.143 port 99 and data e_device = Test. Can anybody tell me how can i verify this data by sending a request manually, may be creating like a webURL or via any tool. kind of helpful, Thanks, Ankit -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] drawBitmapMesh
Have you able to do this? On Sun, Feb 20, 2011 at 11:41 AM, loril...@gmail.com loril...@gmail.comwrote: Hi, I want to apply a bulge effect on my image using a circular brush. I found a useful method drawBitmapMesh using which I can define a mesh and apply the warp effect. But I'm not sure how to define a bulge effect. Can anyone 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 -- Thanks Regards, Ankit Awasthi -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] [Android-source][android-framework]Seeking Help :- need to add files/folders in framework.
Hi All, I am in need of a little help, I have some source code/library downloaded, which basically I want to add into Android JB source code source code(I have downloaded Jelly Bean source code). This library only have java and aidl files, So i thought to add in framework/base/core/java folder. i doubt how to make it compiled and publicly available so can add a app also in development which can make use of this library. If anybody knows and can share what changes need to be done for this. it will be helpful. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: [Android-source][android-framework]Seeking Help :- need to add files/folders in framework.
On Wed, Jan 23, 2013 at 7:29 PM, RichardC richard.crit...@googlemail.comwrote: : Thanks Richard :) -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] detect weather incoming call fron landline number or mobile number
Sorry, no api to detect this. On Tue, Aug 28, 2012 at 11:21 PM, Aashish kumar testchetu...@gmail.comwrote: Hi, Anyone help me ,how to detect wether the incoming call from landline number or moblie number, is there any API for 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 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] TWO APPS WITH SAME NAME
Vivek, If you get three application for Facebook and only one from facebook. How would u differentiate them :P. Don't u look for developer name or Development company name. Regards, Ankit Don't judge people from their Answers ;) On Tue, Aug 28, 2012 at 12:30 AM, TreKing treking...@gmail.com wrote: On Mon, Aug 27, 2012 at 1:40 PM, vivek singh vivek.r...@gmail.com wrote: but the actual query is still unanswered how someone would differentiate between two apps if say someone (who is unaware of package nomenclature) that go to google play and search for my app by typing BillBoard Hot 100 in search box ? The same way people distinguish between Tip Calculator X and Tip Calculator Y, or Todo List A and Todo List B - your description, screenshots, and downloading and trying the app itself. If it bothers you that much, come up with a more unique name. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] MMS on Network
Any one.. On Wed, Jul 13, 2011 at 12:24 PM, A N K ! T ankit.awasth...@gmail.comwrote: Thanks Kirubakaran, I have tried that. i dont want to open dialog of available apps. i Just want to send it through Messaging Client. any clue? On Tue, Jul 12, 2011 at 3:02 PM, kirubakaran S kirubakaran1...@gmail.comwrote: Hi, Use the same intent. Attach the message content in extras field of Intent. Intent is the best way to send MMS. On Tue, Jul 12, 2011 at 2:50 PM, A N K ! T ankit.awasth...@gmail.comwrote: Hi All, I have an issue. I want to send MMS. if i use Intent then it is starting application which can send MMS. I need to sent it by default. I have gone through the code of MMS native app there is a Class called MMSMessageSender which is responsible for sending mms(I think). but dont know how to use that class or which code should i use to do the task. -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- cheers Kirubakaran.S http://kirubakaran-blessedblogger.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 -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] MMS on Network
Thanks Kirubakaran, I have tried that. i dont want to open dialog of available apps. i Just want to send it through Messaging Client. any clue? On Tue, Jul 12, 2011 at 3:02 PM, kirubakaran S kirubakaran1...@gmail.comwrote: Hi, Use the same intent. Attach the message content in extras field of Intent. Intent is the best way to send MMS. On Tue, Jul 12, 2011 at 2:50 PM, A N K ! T ankit.awasth...@gmail.comwrote: Hi All, I have an issue. I want to send MMS. if i use Intent then it is starting application which can send MMS. I need to sent it by default. I have gone through the code of MMS native app there is a Class called MMSMessageSender which is responsible for sending mms(I think). but dont know how to use that class or which code should i use to do the task. -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- cheers Kirubakaran.S http://kirubakaran-blessedblogger.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 -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] No projects are found to import in Eclipse
Create new project from existing source... then it will work fine... On Wed, Jul 13, 2011 at 4:46 PM, arun kumar hariarun2...@gmail.com wrote: you not import project by click import menu you goto file-new-android project-create project from existing resource and give exact path its perfectly open. On Wed, Jul 13, 2011 at 4:41 PM, Perumss Naren peru2...@gmail.com wrote: Hi, Sorry you not get my point.. *No projects are found to import *projects is there but i could not open that project Regards, Perumal.N On Wed, Jul 13, 2011 at 4:35 PM, arun kumar hariarun2...@gmail.comwrote: check www.developer.android.com for sample projects. On Wed, Jul 13, 2011 at 4:22 PM, Perumss Naren peru2...@gmail.comwrote: HI , I can't open the sample projects in *android-sdk_r11-windows* it shows *No projects are found to import* what i did : * File- import-Existing project into workspace-next- * then i Browse the sample projects from android-sdk_r11-windows - samples - finally it shows *No projects are found to import* can u please guide me what to do Thanks and Regards, Perumal.N -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] How to create Dynamic Arrays?
@ shruthi as Durgadoss gave u clear example. u can add any number of item at run time. with specifying it. go through documentation of ArrayList -- Regards, Ankit On Wed, Jul 13, 2011 at 7:34 PM, Justin Anderson magouyaw...@gmail.comwrote: You are getting arrays and ArrayList mixed up... ArrayList is dynamic and you can modify it at runtime. http://developer.android.com/reference/java/util/ArrayList.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jul 13, 2011 at 8:00 AM, Shruthi Varma shruthi.tlis...@gmail.comwrote: Hi, You didn't get my point. After parsing that xml, I will get a number of magazines (images). I have to store all the images of each magazine in a separate ArrayList. If I know in advance that I will get 3 magazines, I can initialize 3 ArrayList and store images in it as you said. But the number of magazines can change from time to time (in the server side). So, how can I initialize n number of ArrayList where n is determined at runtime. :( Regards, Shruthi. On Wed, Jul 13, 2011 at 6:41 PM, Durgadoss Ramanathan r.durgad...@gmail.com wrote: Hi Shruti, I do not clearly understand what you mean by not usable at runtime For example, In the Beginning, you initialize an ArrayList like this: ArrayListString mNames = new ArrayListString(); In your parsing code, as when you discover an item, you can do: mNames.add(item.toString()); I hope this helps you to an extent.. -- Regards Durgadoss -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] MMS on Network
Hi All, I have an issue. I want to send MMS. if i use Intent then it is starting application which can send MMS. I need to sent it by default. I have gone through the code of MMS native app there is a Class called MMSMessageSender which is responsible for sending mms(I think). but dont know how to use that class or which code should i use to do the task. -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: MMS on Network
I have seen many posts.. nothing working/helpful On Tue, Jul 12, 2011 at 2:50 PM, A N K ! T ankit.awasth...@gmail.comwrote: Hi All, I have an issue. I want to send MMS. if i use Intent then it is starting application which can send MMS. I need to sent it by default. I have gone through the code of MMS native app there is a Class called MMSMessageSender which is responsible for sending mms(I think). but dont know how to use that class or which code should i use to do the task. -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: MMS on Network
any clues ! On Tue, Jul 12, 2011 at 9:25 PM, A N K ! T ankit.awasth...@gmail.comwrote: I have seen many posts.. nothing working/helpful On Tue, Jul 12, 2011 at 2:50 PM, A N K ! T ankit.awasth...@gmail.comwrote: Hi All, I have an issue. I want to send MMS. if i use Intent then it is starting application which can send MMS. I need to sent it by default. I have gone through the code of MMS native app there is a Class called MMSMessageSender which is responsible for sending mms(I think). but dont know how to use that class or which code should i use to do the task. -- Thanks Regards, Ankit Awasthi -- Thanks Regards, Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Service Process Vs background process
i think it is same as in android background processes is know as service... may be i couldn't get ur question... On Thu, Feb 17, 2011 at 4:40 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 17 February 2011 12:08, Sivaprakash sivaprakashshanmu...@gmail.com wrote: Can some one tell how exactly service process and background process Service differs - Process Life Cycle Stand point? Because both of them are the to serve same purpose? What exactly you mean by background process if you mean something different than service? -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Problem reading shared preferences in Gingerbread
is there any key in that preferences named tag_name...may be this is causing a problem... On Thu, Feb 17, 2011 at 11:11 AM, Reddy devireddy@gmail.com wrote: I am reading the static file (default.xml) which will be present in system/etc/.../package_name folder. Not writing any values into the file On Feb 16, 4:23 pm, Kostya Vasilyev kmans...@gmail.com wrote: What's your code to store values? 16.02.2011 14:16, Reddy пишет: Hello everyone, I am facing a problem when i am reading the shared preferences (defaults.xml) in Gingerbread. Following is the code snippet, what i am using. SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); mystring = prefs.getString(tag_name,default_value); When this is executed, always i am getting the default value. The same piece of code is working in Froyo. Has any one is having any idea, what is the difference between Gingerbread and Froyo in this case? Thanks in advance, Regards, Reddy -- Kostya Vasilyev --http://kmansoft.wordpress.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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Regarding Database
its a tough question...:P do one thing 1 first read about Edittext class and its methods... 2 den read about what is database and how it is work in android... but before that please try to know what is Classes, what is methods and what is objects...and how u can use these things .. then probably u ll do the things... On Thu, Feb 17, 2011 at 7:03 AM, DanH danhi...@ieee.org wrote: You learn to program. On Feb 16, 4:24 am, yogendra G yogi2...@gmail.com wrote: hi, Am new to android please help me in my help query: *how to take data from edit text and store it in database*? Regards, Yogendra G(9916168647) -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Regarding Server connection
y dont u tell us task what u want to do...and we ll do it for u...:P.. it will easy for members... On Thu, Feb 17, 2011 at 2:44 AM, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 2:09 AM, yogendra G yogi2...@gmail.com wrote: I need sum code or explanation for writing server code and how to right it server code and where to write server code. Seriously: http://www.catb.org/~esr/faqs/smart-questions.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] TimerTask
i am Starting a TimerTask but after few runs it got stops...is there a way to know task is running or i shud start it again -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] TimerTask
nO I dont want to add background Service...so i started it from Outgoing Call Receiver.. but after certain number of times it goes stopeed On Thu, Feb 3, 2011 at 6:18 PM, Kostya Vasilyev kmans...@gmail.com wrote: Is this in a background service? 03.02.2011 15:40, A N K ! T пишет: i am Starting a TimerTask but after few runs it got stops...is there a way to know task is running or i shud start it again -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 user Email id.
i want to take Mobile owner/user email id through which he registered for gmail or any account -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 user Email id.
i got it through AccountManager and Account Classes... thanks On Mon, Jan 31, 2011 at 9:08 PM, Sarwar Erfan erfanonl...@gmail.com wrote: This is what you want. http://stackoverflow.com/questions/2112965/how-to-get-the-android-devices-primary-e-mail-address Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Eclipse ADT update ruins XML layout files development
link is not open-able On Mon, Jan 3, 2011 at 8:35 AM, sisko adeod...@gmail.com wrote: This image (http://www.mathcs.org/java/android/images/ xml_converter_outline.jpg) shows what I am refering to. The update has removed all the images and associated functionality for the plus, minus, up and down buttons on the outline tab. On Jan 2, 8:19 pm, sisko adeod...@gmail.com wrote: I recently updated my eclipse installation with which I develop my Android apps. Soon I found my layout files have lost the up and down arrows associated with each VIEW and LAYOUT which helps to organize my layouts. I don't know whatelse the update, if anything, has messed up but I wonder and would appreciate any information on how to fix this issue so I can get my developments back on track, please. 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.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] application in Long press Home button(Recent task info)
ya thanks by setting these two attribute in manifest it is working fine now android:excludeFromRecents=true android:taskAffinity=com.callH 2010/11/25 Kostya Vasilyev kmans...@gmail.com Try setting both: FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS -- Kostya 25.11.2010 7:49, A N K ! T пишет: yes that what i meantbut if i set any flag except FLAG_ACTIVITY_NEW_TASK that activity wont start 2010/11/24 Kostya Vasilyev kmans...@gmail.com That's not a running task list - it's a recent task list. I *think* there is a flag you can set in the Intent when launching the activity to prevent it from showing up in this list. Look up Intent in the reference, the flag starts with FLAG_ACTIVITY_ -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.11.2010 19:50 пользователь A N K ! T ankit.awasth...@gmail.com написал: i am trying to start an activity from Receiver.. with listening to phone state change...but i am having an issue with itwhen activity started from reciever and finished after operation performed my application comes in running tasks...which i dont want ... can anybody help in this issue that activity can start and finish after certain action performed but application should not come in long press home button screen.. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] application in Long press Home button(Recent task info)
i am trying to start an activity from Receiver.. with listening to phone state change...but i am having an issue with itwhen activity started from reciever and finished after operation performed my application comes in running tasks...which i dont want ... can anybody help in this issue that activity can start and finish after certain action performed but application should not come in long press home button screen.. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] application in Long press Home button(Recent task info)
yes that what i meantbut if i set any flag except FLAG_ACTIVITY_NEW_TASK that activity wont start 2010/11/24 Kostya Vasilyev kmans...@gmail.com That's not a running task list - it's a recent task list. I *think* there is a flag you can set in the Intent when launching the activity to prevent it from showing up in this list. Look up Intent in the reference, the flag starts with FLAG_ACTIVITY_ -- Kostya Vasilyev -- http://kmansoft.wordpress.com 24.11.2010 19:50 пользователь A N K ! T ankit.awasth...@gmail.com написал: i am trying to start an activity from Receiver.. with listening to phone state change...but i am having an issue with itwhen activity started from reciever and finished after operation performed my application comes in running tasks...which i dont want ... can anybody help in this issue that activity can start and finish after certain action performed but application should not come in long press home button screen.. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] View.bringToFront() not working
for what u r using it..show some code here On Thu, Nov 11, 2010 at 1:28 PM, kavitha b kkavith...@gmail.com wrote: How to bring a View to front? i tried with View.bringToFront() method. But it is not working. Please help me. It is very urgent. Thanks Kavitha -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] internal error
try cleanin the project then build it again On Wed, Nov 10, 2010 at 6:15 PM, Alok Upadhyay maddy.luck...@gmail.comwrote: Hi,i am getting error as below and what i seem that there is no gen folder.but i check my folders there is gen folder with r.java file then why i am not able to run my project.see 1st line of stack trace [gen [in MagicYoga] does not exist] stack trace is as: Java Model Exception: Java Model Status [gen [in MagicYoga] does not exist] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java: 502) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java: 246) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java: 515) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java: 252) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java: 238) at org.eclipse.jdt.internal.core.PackageFragmentRoot.getKind(PackageFragmentRoot.java: 477) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java: 645) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.handleAffectedChildren(PackageExplorerContentProvider.java: 791) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java: 734) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.handleAffectedChildren(PackageExplorerContentProvider.java: 791) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java: 734) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.elementChanged(PackageExplorerContentProvider.java: 124) at org.eclipse.jdt.internal.core.DeltaProcessor $3.run(DeltaProcessor.java:1557) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java: 1547) at org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java: 1381) at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java: 1357) at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java: 1958) at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java: 470) at org.eclipse.core.internal.events.NotificationManager $2.run(NotificationManager.java:291) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java: 285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java: 149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java: 313) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java: 1022) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: 45) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] reading contacts...
while am trying to pick a contact from phone book it is returning another contact... i dont know what happening.. this is my code .//*contactData is uri getting from onActivity result* *String[] parts = contactData.toString().split(/); long id = Long.parseLong(parts[parts.length - 1]); Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, id); Uri entityUri = Uri.withAppendedPath(rawContactUri, Entity.CONTENT_DIRECTORY); Cursor c = activity .managedQuery( entityUri, new String[] { Entity.MIMETYPE, Entity.DATA1, Phone.TYPE }, Entity.MIMETYPE + =? OR + Entity.MIMETYPE + =?, new String[] { ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE }, null); String NumbersData[][] = new String[c.getCount() - 1][2]; number_type = new String[c.getCount() - 1]; if (c.moveToFirst()) { do { String mimeType = c.getString(0); if (mimeType .equals(ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)) { NAME = c.getString(1); Log.d(TAG, Name: + NumbersData); } else if (mimeType .equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) { NumbersData[i][0] = c.getString(2);// this is number type NumbersData[i][1] = c.getString(1); //this is the number i++; Log.d(TAG, Phone: + NumbersData); } } while (c.moveToNext());* -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] reading contacts...
am using this way to get _id of selected contact String column[]={RawContacts._ID}; Cursor temp=activity.managedQuery(contactData, column, null, null, null); if(temp.moveToFirst()) { id=temp.getLong(0);} and then creating rawContacturi... Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, id); On Tue, Oct 26, 2010 at 5:25 PM, Prakash Iyer thei...@gmail.com wrote: You might be using the contact id as id of raw contact. Isn't clear that's the problem as I didn't bother to go thru your logic for contactData but that would result in a problem like what you are describing... On Oct 26, 2010 7:40 AM, A N K ! T ankit.awasth...@gmail.com wrote: while am trying to pick a contact from phone book it is returning another contact... i dont know what happening.. this is my code .//*contactData is uri getting from onActivity result* *String[] parts = contactData.toString().split(/); long id = Long.parseLong(parts[parts.length - 1]); Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, id); Uri entityUri = Uri.withAppendedPath(rawContactUri, Entity.CONTENT_DIRECTORY); Cursor c = activity .managedQuery( entityUri, new String[] { Entity.MIMETYPE, Entity.DATA1, Phone.TYPE }, Entity.MIMETYPE + =? OR + Entity.MIMETYPE + =?, new String[] { ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE }, null); String NumbersData[][] = new String[c.getCount() - 1][2]; number_type = new String[c.getCount() - 1]; if (c.moveToFirst()) { do { String mimeType = c.getString(0); if (mimeType .equals(ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)) { NAME = c.getString(1); Log.d(TAG, Name: + NumbersData); } else if (mimeType .equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) { NumbersData[i][0] = c.getString(2); // this is number type NumbersData[i][1] = c.getString(1); //this is the number i++; Log.d(TAG, Phone: + NumbersData); } } while (c.moveToNext());* -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 change location provider provider...
i have developed an app which just notify when location changed... it used GPS_PROVIDERS as provider.. but as devices go inside of some building. it stop listening .. i want to change the provider at that time to network provider.. so should i write locationManager.requestLocationUpdate method there in status change method of listener.with provider to network provider... or something else will do the task... -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] prefetch database values
why dont you save the same blocked numbers in a local DB. On Mon, Oct 18, 2010 at 3:34 PM, nimish khandelwal nimishk...@gmail.comwrote: hi...i m developing an app in which when incoming call will there on user android mobile. my app will check it from database and if incoming number is in blocked list.call will blocked.it is running successfully. but is there a way so that i can prefetch database value in an XML file or any other way, becoz if user got 100 calls a day it will always connect to server ,which is not possible every time. so plz help me how could i implement this. regards nimi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 focus color of button in theme
Hi there, I want to extract the current theme's button focus colour (ie 'orange' in the dark theme) so I can use it draw the focused state of a custom control. Can anyone give me or point me to some code that will extract that particular colour from the current theme's StyledAttributes? There don't seem to be too many examples out there. (I realise that focused buttons are probably drawn using drawables, but is the focus colour stored separately as a colour resource in the current theme's styles?) -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Detect a received outgoing call
and do add some static variable that will tell you that it is not an incoming call OFFHOOK state.. On Fri, Oct 15, 2010 at 3:29 PM, Nicolas Zerr nicolas.z...@gmail.comwrote: Hello, You should use a PhoneStateListener and watch for the CALL_STATE_OFFHOOK statement. public class MyPhoneStateListener extends PhoneStateListener { @Override public void onCallStateChanged(int state, String incomingNumber) { switch (state) { case TelephonyManager.CALL_STATE_IDLE : break; case TelephonyManager.CALL_STATE_OFFHOOK : doSomething(); break; case TelephonyManager.CALL_STATE_RINGING : break; default : break; } } } Also, don't forget to register your receiver, or add the receiver tag and the READ_PHONE_STATE permission in the Manifest. On 14 oct, 17:08, Robotten mortenrasmuss...@gmail.com wrote: I havn´t been able to find out, how to detect the event (if there are any), when an outgoing call is answered - does anybody know how to do 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 current location
@Kumar Bibek yes i agreed with you...but my question was that if phone reboot or my app forced closed.. than my app will not get notify to location change.. but i need to send some data to server after each location change even if my application activity is not in the front. On Thu, Oct 14, 2010 at 10:23 AM, Kumar Bibek coomar@gmail.com wrote: If you want an instant fix, query for the Last know location. This obviously won't work always, if you are travelling in a jet. Eventually, you will have to wait for a GPS or Network fix. And after boot, if the last know location is cleared off, you really don't have any other option than to wait for a fix. You also might think about caching the last known location in your app. On Oct 13, 5:05 pm, A N K ! T ankit.awasth...@gmail.com wrote: hey mark ...thanks a lot...i did that application and it is showing exact locations.. one thing that remaining is after restarting of mobile...or after getting my application close.. it is not getting notify on location changed.so wot to do for that thanks agarin.. On Wed, Oct 13, 2010 at 4:45 PM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Oct 13, 2010 at 5:51 AM, A N K ! T ankit.awasth...@gmail.com wrote: am trying to develop an app that show current location. but i am having one prob. my application is showing location on location change occur. but how to show location first time. i want to take location manually..not by onlocationchange Method in location manager wot to do? There is no current location most of the time. For example, the GPS radio is normally off, to save power. Please wait for the first fix to arrive to your LocationListener. -- Mark Murphy (a Commons Guy) http://commonsware.com|http://github.com/commonsguy http://commonsware.com/blog|http://twitter.com/commonsguyhttp://commonsware.com/blog%7Chttp://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Location problem
here is your solution.. http://www.androidcompetencycenter.com/?s=GPS On Thu, Oct 14, 2010 at 1:29 PM, abhishek abhishek.patil.1...@gmail.comwrote: Hi!! i am new to android and not being able to display current location on map so can you provide me the code for displaying Location with manifest.xml and main.xml... please reply fast! it nis urgent -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 current location
hey kumar...again i am in a problem now i am using a service which notify when locationchange occure.. but i am not getting how to show that location on map...as am calling the draw method of activity from service..than it is causing nullpointer exception... how to show the location change on map if activity is open... On Thu, Oct 14, 2010 at 1:17 PM, Kumar Bibek coomar@gmail.com wrote: Then you should go for a service which gets the location at regular intervals and sends it to your server. On Thu, Oct 14, 2010 at 1:16 PM, A N K ! T ankit.awasth...@gmail.comwrote: @Kumar Bibek yes i agreed with you...but my question was that if phone reboot or my app forced closed.. than my app will not get notify to location change.. but i need to send some data to server after each location change even if my application activity is not in the front. On Thu, Oct 14, 2010 at 10:23 AM, Kumar Bibek coomar@gmail.comwrote: If you want an instant fix, query for the Last know location. This obviously won't work always, if you are travelling in a jet. Eventually, you will have to wait for a GPS or Network fix. And after boot, if the last know location is cleared off, you really don't have any other option than to wait for a fix. You also might think about caching the last known location in your app. On Oct 13, 5:05 pm, A N K ! T ankit.awasth...@gmail.com wrote: hey mark ...thanks a lot...i did that application and it is showing exact locations.. one thing that remaining is after restarting of mobile...or after getting my application close.. it is not getting notify on location changed.so wot to do for that thanks agarin.. On Wed, Oct 13, 2010 at 4:45 PM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Oct 13, 2010 at 5:51 AM, A N K ! T ankit.awasth...@gmail.com wrote: am trying to develop an app that show current location. but i am having one prob. my application is showing location on location change occur. but how to show location first time. i want to take location manually..not by onlocationchange Method in location manager wot to do? There is no current location most of the time. For example, the GPS radio is normally off, to save power. Please wait for the first fix to arrive to your LocationListener. -- Mark Murphy (a Commons Guy) http://commonsware.com|http://github.com/commonsguy http://commonsware.com/blog|http://twitter.com/commonsguyhttp://commonsware.com/blog%7Chttp://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 current location
i got it...thanks On Thu, Oct 14, 2010 at 4:38 PM, Kumar Bibek coomar@gmail.com wrote: You should probably read a little bit more about receivers, services before integrating all these things. You cannot directly call a method in your activity from within a service. On Thu, Oct 14, 2010 at 4:34 PM, A N K ! T ankit.awasth...@gmail.comwrote: hey kumar...again i am in a problem now i am using a service which notify when locationchange occure.. but i am not getting how to show that location on map...as am calling the draw method of activity from service..than it is causing nullpointer exception... how to show the location change on map if activity is open... On Thu, Oct 14, 2010 at 1:17 PM, Kumar Bibek coomar@gmail.comwrote: Then you should go for a service which gets the location at regular intervals and sends it to your server. On Thu, Oct 14, 2010 at 1:16 PM, A N K ! T ankit.awasth...@gmail.comwrote: @Kumar Bibek yes i agreed with you...but my question was that if phone reboot or my app forced closed.. than my app will not get notify to location change.. but i need to send some data to server after each location change even if my application activity is not in the front. On Thu, Oct 14, 2010 at 10:23 AM, Kumar Bibek coomar@gmail.comwrote: If you want an instant fix, query for the Last know location. This obviously won't work always, if you are travelling in a jet. Eventually, you will have to wait for a GPS or Network fix. And after boot, if the last know location is cleared off, you really don't have any other option than to wait for a fix. You also might think about caching the last known location in your app. On Oct 13, 5:05 pm, A N K ! T ankit.awasth...@gmail.com wrote: hey mark ...thanks a lot...i did that application and it is showing exact locations.. one thing that remaining is after restarting of mobile...or after getting my application close.. it is not getting notify on location changed.so wot to do for that thanks agarin.. On Wed, Oct 13, 2010 at 4:45 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Oct 13, 2010 at 5:51 AM, A N K ! T ankit.awasth...@gmail.com wrote: am trying to develop an app that show current location. but i am having one prob. my application is showing location on location change occur. but how to show location first time. i want to take location manually..not by onlocationchange Method in location manager wot to do? There is no current location most of the time. For example, the GPS radio is normally off, to save power. Please wait for the first fix to arrive to your LocationListener. -- Mark Murphy (a Commons Guy) http://commonsware.com|http://github.com/commonsguy http://commonsware.com/blog|http://twitter.com/commonsguyhttp://commonsware.com/blog%7Chttp://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You
Re: [android-developers] speech to text app
heheh :) On Thu, Oct 14, 2010 at 11:41 AM, TreKing treking...@gmail.com wrote: On Wed, Oct 13, 2010 at 9:06 AM, Aamir Sohail reh...@gmail.com wrote: hii friends its aamir, I gathered as much from your display name :-) i want to create speech to text app in android. OK then. can anybody tell me about its possiblity. Um. It's possible. If you want a better answer than that you'll have to ask a better question. thank you You're welcome. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] divider for forms
View android:layout_height=2dip android:background=# android:id=@+id/seperator2 android:layout_width=fill_parent android:layout_y=195dip/ *use this with background color u want and the y position,,,* On Fri, Oct 15, 2010 at 10:42 AM, TreKing treking...@gmail.com wrote: On Wed, Oct 13, 2010 at 6:03 PM, Varun Khanduja varunkhand...@gmail.comwrote: I am wondering if someone has insights into how I can put a line divider between each line( row) You can simply add a 1 or 2 pixel high TextView iwth no text and a unique background color. Or an ImageView with a custom drawable that defines the divider. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] location receiver
how to get current location first time...i can be notified when location change but what abt first location.. i am using getlastKnownLocation but it is returning nullis there any other method to use On Tue, Oct 12, 2010 at 7:01 PM, Mark Murphy mmur...@commonsware.comwrote: Use MyLocationOverlay. On Tue, Oct 12, 2010 at 9:28 AM, A N K ! T ankit.awasth...@gmail.com wrote: not workingi just want to do the thingmenu item my location do on google map.. is there any example for that On Tue, Oct 12, 2010 at 6:13 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 12, 2010 at 8:29 AM, A N K ! T ankit.awasth...@gmail.com wrote: 2) if location change and user open my app it shud show him current location like google maps shows.. but i am not getting how to make zoom till that label.. Call setCenter() and setZoom() on your MapController, obtained via getMapController() from your MapView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 current location
am trying to develop an app that show current location. but i am having one prob. my application is showing location on location change occur.* but how to show location first time. * i want to take location manually..not by onlocationchange Method in location manager wot to do? -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] how to get current location
hey mark ...thanks a lot...i did that application and it is showing exact locations.. one thing that remaining is after restarting of mobile...or after getting my application close.. it is not getting notify on location changed.so wot to do for that thanks agarin.. On Wed, Oct 13, 2010 at 4:45 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Oct 13, 2010 at 5:51 AM, A N K ! T ankit.awasth...@gmail.com wrote: am trying to develop an app that show current location. but i am having one prob. my application is showing location on location change occur. but how to show location first time. i want to take location manually..not by onlocationchange Method in location manager wot to do? There is no current location most of the time. For example, the GPS radio is normally off, to save power. Please wait for the first fix to arrive to your LocationListener. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] location receiver
i have created a broadcast receiver registered it statically.. it is not get called on location changed have a look on code snippet and help me out to solve the issu.. public class LocationReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub Toast.makeText(context,Receiver, Toast.LENGTH_LONG).show(); } } //*xml:manifest* receiver android:name=LocationReceiver intent-filter action android:name=android.intent.action.LOCATION_CHANGED / category android:name=android.intent.category.DEFAULT/ /intent-filter -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] location receiver
so should i send a broadcast from activity .. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. On Tue, Oct 12, 2010 at 4:53 PM, Mark Murphy mmur...@commonsware.comwrote: There is no android.intent.action.LOCATION_CHANGED in Android. Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. On Tue, Oct 12, 2010 at 7:18 AM, A N K ! T ankit.awasth...@gmail.com wrote: i have created a broadcast receiver registered it statically.. it is not get called on location changed have a look on code snippet and help me out to solve the issu.. public class LocationReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub Toast.makeText(context,Receiver, Toast.LENGTH_LONG).show(); } } //xml:manifest receiver android:name=LocationReceiver intent-filter action android:name=android.intent.action.LOCATION_CHANGED / category android:name=android.intent.category.DEFAULT/ /intent-filter -- A N K ! T.. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] location receiver
ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very helpful. On Tue, Oct 12, 2010 at 5:15 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] location receiver
hey sorry i dint read the documentation of that method... it is working fine... thank a lot for help... On Tue, Oct 12, 2010 at 5:34 PM, guru sagar gurusagar...@gmail.com wrote: keep that method in @Overide public void onStart(){ } in Your activity On 10/12/10, A N K ! T ankit.awasth...@gmail.com wrote: ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very helpful. On Tue, Oct 12, 2010 at 5:15 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] location receiver
i have one more problem...actually i am creating an app that have two task 1) first is it just send current location to server after each location change occur.. it is working fine now. 2) if location change and user open my app it shud show him current location like google maps shows.. but i am not getting how to make zoom till that label.. On Tue, Oct 12, 2010 at 5:55 PM, A N K ! T ankit.awasth...@gmail.comwrote: hey sorry i dint read the documentation of that method... it is working fine... thank a lot for help... On Tue, Oct 12, 2010 at 5:34 PM, guru sagar gurusagar...@gmail.comwrote: keep that method in @Overide public void onStart(){ } in Your activity On 10/12/10, A N K ! T ankit.awasth...@gmail.com wrote: ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very helpful. On Tue, Oct 12, 2010 at 5:15 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] location receiver
not workingi just want to do the thingmenu item my location do on google map.. is there any example for that On Tue, Oct 12, 2010 at 6:13 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Oct 12, 2010 at 8:29 AM, A N K ! T ankit.awasth...@gmail.com wrote: 2) if location change and user open my app it shud show him current location like google maps shows.. but i am not getting how to make zoom till that label.. Call setCenter() and setZoom() on your MapController, obtained via getMapController() from your MapView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] getdeviceid() causing invocation target exception
hey i am trying to get imei no of the phone.. for that i am using telephonyManagerObject.getDeviceID() but it is causing invocationTargetExceptioni am using it in my MapActivity class what is wrong with it -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Example of adding custom contact group using sdk 1.6
it will surely not work in higher versions of sdk... u can get lot of examples here just use the search tab... On Wed, Oct 6, 2010 at 1:27 AM, magic llmagi...@gmail.com wrote: Hello, I am using the android sdk 1.6 to develop a contact app. Is anyone can provide an example of adding the new groups for contacts (not starred)? and will the app have problems in the higher version using the contact API of 1.6?? Thanks for your answers !! It will help a lot. : ) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] button focus
thanks it is very helpful On Wed, Oct 6, 2010 at 4:44 PM, Kumar Bibek coomar@gmail.com wrote: Look at the state list drawables. Buttons and other widgets have a default statelist drawable. If you are using your own drawable, (just a image), the button doesn't know what to show when in different states. Rather than setting a drawable(picture) as a background, you should be using a state list drawable which specifies which images to use for different states. On Wed, Oct 6, 2010 at 11:28 AM, A N K ! T ankit.awasth...@gmail.comwrote: i have set background as transparent for the button .. (button.setbacgroundcolor(Color.transparent) )... now it is not showing focus on the same button..what to do.. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] button focus
i have set background as transparent for the button .. (button.setbacgroundcolor(Color.transparent) )... now it is not showing focus on the same button..what to do.. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] can i create FOLDER for some message ....
am creating a sms application in which am trying to move some msg according to users choice to predefined Folderbut am not getting any way to do this task.. please some one guide me. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag ?
com.android.server.status.TickerView android:id=@+id/ tickerText android:layout_width=0dip android:layout_weight=1 android:layout_height=wrap_content android:paddingTop=2dip android:paddingRight=10dip TextView android:layout_width=match_parent android:layout_height=wrap_content android:singleLine=true android:textColor=#ff00 / TextView android:layout_width=match_parent android:layout_height=wrap_content android:singleLine=true android:textColor=#ff00 / /com.android.server.status.TickerView /LinearLayout com.android.server.status.DateView android:id=@+id/date android:layout_width=wrap_content android:layout_height=match_parent android:singleLine=true android:textSize=16sp android:textStyle=bold android:gravity=center_vertical|left android:paddingLeft=6px android:paddingRight=6px android:textColor=?android:attr/textColorPrimaryInverse android:background=@drawable/statusbar_background / /com.android.server.status.StatusBarView -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag ?
then try to use webview On Tue, Sep 21, 2010 at 5:18 PM, mani smanikanda...@gmail.com wrote: Yes i tried now.!! It dint work...:( - mani On Sep 21, 7:36 pm, A N K ! T ankit.awasth...@gmail.com wrote: have u try to put this line after defining intent. browserIntent .setFlag(Intent.FLAG_ACTIVITY_NEW_TASK); On Tue, Sep 21, 2010 at 4:39 PM, mani smanikanda...@gmail.com wrote: Hi all, I tried to create a edittextbox, and button next to it, in the status bar. !! I created it and tried to launch the browser activity, when somebody enters a URL in the textbox click that button. I get runtime exception as below.Can anyone please help what is the issue with this exception ? I know that Status bar is not a seperate activity. It is part of 'PhoneWindow'. But then i couldnt figure out what is the issue ? Framework experts coud you pls help here...!! E/AndroidRuntime( 70): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread E/AndroidRuntime( 70): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? E/AndroidRuntime( 70):at android.app.ContextImpl.startActivity(ContextImpl.java:617) E/AndroidRuntime( 70):at com.android.server.status.StatusBarService $1.onClick(StatusBarService.java:289) E/AndroidRuntime( 70):at android.view.View.performClick(View.java: 2408) E/AndroidRuntime( 70):at android.view.View $PerformClick.run(View.java:8816) E/AndroidRuntime( 70):at android.os.Handler.handleCallback(Handler.java:587) E/AndroidRuntime( 70):at android.os.Handler.dispatchMessage(Handler.java:92) E/AndroidRuntime( 70):at android.os.Looper.loop(Looper.java:123) E/AndroidRuntime( 70):at com.android.server.ServerThread.run(SystemServer.java:506) private void makeStatusBarView(Context context) { urlTextbox = (EditText)sb.findViewById(R.id.urltextbox); Button mButton = (Button) sb.findViewById(R.id.Go); mButton.setOnClickListener(new Button.OnClickListener(){ public void onClick(View v) { System.out.println(Status Bar - Onclick of GO); String url = urlTextbox.getText().toString(); Intent browserIntent = new Intent(android.intent.action.VIEW, Uri.parse(url)); mContext.startActivity(browserIntent); } }); -- - } /frameworks/base/services/java/com/android/server/status/ StatusBarService.java -- I was trying to implement it like this. status_bar.xml: com.android.server.status.StatusBarView xmlns:android=http:// schemas.android.com/apk/res/android android:background=@drawable/statusbar_background android:orientation=vertical android:focusable=true android:descendantFocusability=afterDescendants LinearLayout android:id=@+id/icons android:layout_width=match_parent android:layout_height=match_parent android:orientation=horizontal com.android.server.status.IconMerger android:id=@+id/ notificationIcons android:layout_width=0dip android:layout_weight=1 android:layout_height=match_parent android:layout_alignParentLeft=true android:paddingLeft=6dip android:gravity=center_vertical android:orientation=horizontal/ EditText android:id=@+id/urltextbox android:hint=eg.www.google.com, android:layout_width=150dip android:layout_height=wrap_content android:maxLines=1/ Button android:id=@+id/Go android:layout_width=50dip android:layout_height=wrap_content android:text=@string/go/ LinearLayout android:id=@+id/statusIcons android:layout_width=wrap_content android:layout_height=match_parent android:layout_alignParentRight=true android:paddingRight=6dip android:gravity=center_vertical android:orientation=horizontal/ /LinearLayout LinearLayout android:id=@+id/ticker android:layout_width=match_parent android:layout_height=match_parent android:paddingLeft=6dip android:animationCache=false android:orientation=horizontal ImageSwitcher android:id=@+id/tickerIcon android:layout_width=wrap_content android:layout_height=match_parent
[android-developers] some time my Phone state receiver not receiving any broadcast message wot to do
i have create a receiver which receive on phone state change i have register it in xml by android.intent.action.PHONE_STATE but some time it dont receive any broadcast message log mesages are::: 09-10 11:20:36.968: WARN/ActivityManager(74): Timeout of broadcast BroadcastRecord{43347258 android.intent.action.PHONE_STATE - receiver=android.os.binderpr...@4334ebd0 09-10 11:20:36.968: WARN/ActivityManager(74): Receiver during timeout: ResolveInfo{432dd748 com.callHandller.PhoneStateReciever p=0 o=0 m=0x108000} 09-10 11:20:36.968: INFO/Process(74): Sending signal. PID: 2223 SIG: 9 09-10 11:20:36.988: ERROR/JavaBinder(74): !!! FAILED BINDER TRANSACTION !!! 09-10 11:20:37.008: INFO/ActivityManager(74): Process com.callHandller (pid 2223) has died. 09-10 11:20:37.008: INFO/WindowManager(74): WIN DEATH: Window{4324f470 com.callHandller/com.incallHandller.callHandler paused=false} 09-10 11:20:37.958: WARN/ActivityManager(74): Activity destroy timeout for HistoryRecord{4321c7c0 com.callHandller/com.incallHandller.callHandler} 09-10 11:20:42.288: DEBUG/dalvikvm(136): GC freed 2543 objects / 143320 bytes in 179ms here com.callhandller is my application package where i have Receiver... guide me wot to do. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: some time my Phone state receiver not receiving any broadcast message wot to do
no one know how to resolve this On Fri, Sep 10, 2010 at 12:10 PM, A N K ! T ankit.awasth...@gmail.comwrote: i have create a receiver which receive on phone state change i have register it in xml by android.intent.action.PHONE_STATE but some time it dont receive any broadcast message log mesages are::: 09-10 11:20:36.968: WARN/ActivityManager(74): Timeout of broadcast BroadcastRecord{43347258 android.intent.action.PHONE_STATE - receiver=android.os.binderpr...@4334ebd0 09-10 11:20:36.968: WARN/ActivityManager(74): Receiver during timeout: ResolveInfo{432dd748 com.callHandller.PhoneStateReciever p=0 o=0 m=0x108000} 09-10 11:20:36.968: INFO/Process(74): Sending signal. PID: 2223 SIG: 9 09-10 11:20:36.988: ERROR/JavaBinder(74): !!! FAILED BINDER TRANSACTION !!! 09-10 11:20:37.008: INFO/ActivityManager(74): Process com.callHandller (pid 2223) has died. 09-10 11:20:37.008: INFO/WindowManager(74): WIN DEATH: Window{4324f470 com.callHandller/com.incallHandller.callHandler paused=false} 09-10 11:20:37.958: WARN/ActivityManager(74): Activity destroy timeout for HistoryRecord{4321c7c0 com.callHandller/com.incallHandller.callHandler} 09-10 11:20:42.288: DEBUG/dalvikvm(136): GC freed 2543 objects / 143320 bytes in 179ms here com.callhandller is my application package where i have Receiver... guide me wot to do. -- A N K ! T.. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 press menu key programmatically..
yes i mean to unlock the screen by pressing menu key... i can achieve this task by the methods keyGuardDisable in KeyGuardLock class but i dont think this is the right way to do this... On Tue, Sep 7, 2010 at 9:32 PM, Zhenyu Jiang jfo...@gmail.com wrote: maybe he means unlock the screen by pressing the menu key. i think you cannot achieve it by your app, since the key event is poped up by the system and delivered to upper layer apps. 2010/9/7, Yahel kaye...@gmail.com: i think pressing menu key Not sure what you mean by open lock, but the way to call the menu programmatically is : Activity.openOptionsMenu(); Good luck. Yahel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 make conference.......
hey am trying to make conference of two calls what i have done isi can pick the first call and can dial another call programmatically but not getting how to merge these calls... please guide me out -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 press menu key programmatically..
i am trying to open lock in my app . i think pressing menu key by code will do that...but i dont know how to do this so can anybody guide me for that.. -- thanks A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 number type for a contacts number..
in my application it is opening phone contacts and when i choose one contact i can get all detail of the contact but not getting the number type of numbers; more specific if the user have four numbers,,, i can get all number but not getting number type of these numbers i.e. (HOME,WORK,MOBILE) please let me know how to do it... -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] listView: how to add text view on top of the list
*am making a list by this code* public class myList extends ListActivity{ private static EfficientAdapter efficientAdapter; private static class EfficientAdapter extends BaseAdapter { static Bitmap bmp[] = new Bitmap[3]; private LayoutInflater mInflater; public EfficientAdapter(Context context) { mInflater = LayoutInflater.from(context); bmp[1] = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon1); bmp[2] = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon2); bmp[3] = BitmapFactory.decodeResource(context.getResources(),R.drawable.icon3); } public int getCount() { return DATA.length; } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } iew(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.mainscreen, null); holder = new ViewHolder(); holder.text = (TextView) convertView.findViewById(R.id.label); holder.icon = (ImageView) convertView.findViewById(R.id.icon); holder.text.setGravity(Gravity.CENTER_VERTICAL); holder.text.setHeight(64); holder.icon.setMinimumHeight(64); convertView.setTag(holder); } else { holder = (ViewHolder) convertView.getTag(); } holder.text.setText(DATA[position]); holder.icon.setImageBitmap((bmp[position])); return convertView; } static class ViewHolder { TextView text; ImageView icon; } } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); efficientAdapter = new EfficientAdapter(this); setListAdapter(efficientAdapter); * and want to add a text view on the top of list...but it should not be the list item* -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] listView: how to add text view on top of the list
but how where to write it layout code is LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_height=wrap_content android:layout_width=fill_parent ImageView android:id=@+id/icon android:layout_width=40sp android:layout_height=wrap_content android:src=@drawable/on android:visibility=visible/ TextView android:id=@+id/label android:layout_width=wrap_content android:layout_height=wrap_content android:textSize=20sp/ /LinearLayout On Fri, Sep 3, 2010 at 6:00 PM, Mark Murphy mmur...@commonsware.com wrote: If you want it to scroll with the list, use addHeaderView(). If you do not want it to scroll with the list, put it above the ListView using a LinearLayout or RelativeLayout. On Fri, Sep 3, 2010 at 8:28 AM, A N K ! T ankit.awasth...@gmail.com wrote: am making a list by this code public class myList extends ListActivity{ private static EfficientAdapter efficientAdapter; private static class EfficientAdapter extends BaseAdapter { static Bitmap bmp[] = new Bitmap[3]; private LayoutInflater mInflater; public EfficientAdapter(Context context) { mInflater = LayoutInflater.from(context); bmp[1] = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon1); bmp[2] = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon2); bmp[3] = BitmapFactory.decodeResource(context.getResources(),R.drawable.icon3); } public int getCount() { return DATA.length; } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } iew(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.mainscreen, null); holder = new ViewHolder(); holder.text = (TextView) convertView.findViewById(R.id.label); holder.icon = (ImageView) convertView.findViewById(R.id.icon); holder.text.setGravity(Gravity.CENTER_VERTICAL); holder.text.setHeight(64); holder.icon.setMinimumHeight(64); convertView.setTag(holder); } else { holder = (ViewHolder) convertView.getTag(); } holder.text.setText(DATA[position]); holder.icon.setImageBitmap((bmp[position])); return convertView; } static class ViewHolder { TextView text; ImageView icon; } } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); efficientAdapter = new EfficientAdapter(this); setListAdapter(efficientAdapter); and want to add a text view on the top of list...but it should not be the list item -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] listView: how to add text view on top of the list
@ Franklin Thanks i ll wait... @ Mark i need to just put some code in my java file... xml is right.. i am creating list adapter though subclass i.e efficient adapter... so tell me sone java code for that.. thanks On Fri, Sep 3, 2010 at 6:34 PM, Mark Murphy mmur...@commonsware.com wrote: There is no ListView in this layout. Hence, this is not the correct layout. Here is a sample project showing a ListView with a TextView above it: http://github.com/commonsguy/cw-android/tree/master/Selection/List/ On Fri, Sep 3, 2010 at 8:56 AM, A N K ! T ankit.awasth...@gmail.com wrote: but how where to write it layout code is LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_height=wrap_content android:layout_width=fill_parent ImageView android:id=@+id/icon android:layout_width=40sp android:layout_height=wrap_content android:src=@drawable/on android:visibility=visible/ TextView android:id=@+id/label android:layout_width=wrap_content android:layout_height=wrap_content android:textSize=20sp/ /LinearLayout On Fri, Sep 3, 2010 at 6:00 PM, Mark Murphy mmur...@commonsware.com wrote: If you want it to scroll with the list, use addHeaderView(). If you do not want it to scroll with the list, put it above the ListView using a LinearLayout or RelativeLayout. On Fri, Sep 3, 2010 at 8:28 AM, A N K ! T ankit.awasth...@gmail.com wrote: am making a list by this code public class myList extends ListActivity{ private static EfficientAdapter efficientAdapter; private static class EfficientAdapter extends BaseAdapter { static Bitmap bmp[] = new Bitmap[3]; private LayoutInflater mInflater; public EfficientAdapter(Context context) { mInflater = LayoutInflater.from(context); bmp[1] = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon1); bmp[2] = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon2); bmp[3] = BitmapFactory.decodeResource(context.getResources(),R.drawable.icon3); } public int getCount() { return DATA.length; } public Object getItem(int position) { return position; } public long getItemId(int position) { return position; } iew(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.mainscreen, null); holder = new ViewHolder(); holder.text = (TextView) convertView.findViewById(R.id.label); holder.icon = (ImageView) convertView.findViewById(R.id.icon); holder.text.setGravity(Gravity.CENTER_VERTICAL); holder.text.setHeight(64); holder.icon.setMinimumHeight(64); convertView.setTag(holder); } else { holder = (ViewHolder) convertView.getTag(); } holder.text.setText(DATA[position]); holder.icon.setImageBitmap((bmp[position])); return convertView; } static class ViewHolder { TextView text; ImageView icon; } } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); efficientAdapter = new EfficientAdapter(this); setListAdapter(efficientAdapter); and want to add a text view on the top of list...but it should not be the list item -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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
[android-developers] how to get contact detail from incoming number
am trying to get contact detail from an incoming number while calls come i get the number from phone state Receiver through that number am trying to get detail of that number in contacts but not getting anything due to number format. the number i get from phone statelistener is like 99887 but number in contact is like 99-887- how to do it...please someone help me out -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: persistence storage...........
but i need to store some secure informationthat will need to find is perticular mobile used trial version of my app...so that mobile cant install app again as a trial version On Mon, Aug 16, 2010 at 10:54 AM, William Ferguson william.ferguson.au@ gmail.com wrote: Store the database on the external storage instead of as part of your app. On Aug 16, 2:46 pm, A N K ! T ankit.awasth...@gmail.com wrote: i wan,t my app database remains in phone even after uninstallation .for activation code or something like that... what should i use for that thanks -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 read all numbers of particular contact
am stuck in reading phone contacts ,,,i tried 1.6 api for it... and getting all detail of contacts .. but i am not getting all numbers of contact i need to get all numbers(mobile,work,home,other) of particular contact. help me out. thanks -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] persistence storage...........
i wan,t my app database remains in phone even after uninstallation .for activation code or something like that... what should i use for that thanks -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] track-ball and qwerty keypad..causing error in tabview
in my application am making a tab view. but when i type anything in edit text through keypad it is causing problem .but when i type through touch screen it is working fine... same problem in emulator as well as device -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] screen design
i am developing some UI screens.. but i am not getting ..should i make screens for all resolutions or some keywords like things are there by which i can make UI so that it can support all resolutions. guide me.. thanks -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] listview....want to set different icon in each item in list.
thanks i have done it by taking bitmap array... On Tue, Aug 3, 2010 at 3:59 PM, Shashidhar shashi.zep...@gmail.com wrote: http://stackoverflow.com/questions/459729/how-to-display-list-of-images-in-listview-in-android http://stackoverflow.com/questions/459729/how-to-display-list-of-images-in-listview-in-android -Shashi On Tue, Aug 3, 2010 at 1:25 PM, A N K ! T ankit.awasth...@gmail.comwrote: am trying to set 6 icon in 6 different items in list...but not getting how to do it. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] edit text,and button's size
i am trying to set size of edit text and buttons according to screen size so what i want to know is there any way to set EditText Width dynamically according to screen size... -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] listview....want to set different icon in each item in list.
am trying to set 6 icon in 6 different items in list...but not getting how to do it. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: contacts.people is deprecated...........
//i am using this code for opening phone contacts. intentforcontact= new Intent(Intent.ACTION_PICK,Contacts.CONTENT_URI); startActivityForResult(intentforcontact, PICK_CONTACT); //in this code am trying to get phone numbers of contact,,but not getting any number.it is returning 23 fields but no one containing contact numbers @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); switch(requestCode) { case (1) : { if (resultCode == Activity.RESULT_OK) { try{ Uri contactData = data.getData(); Cursor c = managedQuery(contactData, null, null, null, null); c.moveToFirst(); // String sr[]=c.getColumnNames(); String Number=c.getString(c.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER)); .. help me to find out contact numbers of phone On Mon, Aug 2, 2010 at 2:56 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Cursor cx = getContentResolver().query(RawContacts.CONTENT_URI, new String[]{RawContacts._ID}, null, null, null); if(cx.moveToFirst()){ do{ Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, cx.getLong(0)); Uri entityUri = Uri.withAppendedPath(rawContactUri, Entity.CONTENT_DIRECTORY); Cursor c = getContentResolver().query(entityUri, new String[]{RawContacts.SOURCE_ID, Entity.DATA_ID, Entity.MIMETYPE, Entity.DATA1}, Entity.MIMETYPE + =? OR + Entity.MIMETYPE + =?, new String[] {ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE}, null); try { String name = ; String phoneNumber = ; while (c.moveToNext()) { String sourceId = c.getString(0); if (!c.isNull(1)) { String mimeType = c.getString(2); if(mimeType.equals(ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)) { name = c.getString(3); //this is the name } else if(mimeType.equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) { phoneNumber = c.getString(3); } } } Log.d(CONTACT, name + - + phoneNumber); } finally { c.close(); } }while(cx.moveToNext()); } What exactly do you want to do? If you can specify more clearly (or show the code you did with Contacts.People, then may be I can suggest smaller code snippet. Regards Sarwar Erfan On Aug 2, 11:53 am, A N K ! T ankit.awasth...@gmail.com wrote: when i am using this class it is written there use contactscontract but am not getting how to use this class to fetch contacts number from phone. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: contacts.people is deprecated...........
so tell me how to get number by contactscontract...am getting name and other info but not phone number..please help me On Mon, Aug 2, 2010 at 4:18 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Hi, If you want to your strategy (using deprecated classes), then make two changes: Change 1: change the intent --- intentforcontact= new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI); Change 2: change the column index --- String Number = c.getString(c.getColumnIndex(Phones.NUMBER)); = But, you should not be using deprecated classes Regards Sarwar Erfan On Aug 2, 3:55 pm, A N K ! T ankit.awasth...@gmail.com wrote: //i am using this code for opening phone contacts. intentforcontact= new Intent(Intent.ACTION_PICK,Contacts.CONTENT_URI); startActivityForResult(intentforcontact, PICK_CONTACT); //in this code am trying to get phone numbers of contact,,but not getting any number.it is returning 23 fields but no one containing contact numbers @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); switch(requestCode) { case (1) : { if (resultCode == Activity.RESULT_OK) { try{ Uri contactData = data.getData(); Cursor c = managedQuery(contactData, null, null, null, null); c.moveToFirst(); // String sr[]=c.getColumnNames(); String Number=c.getString(c.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER)); .. help me to find out contact numbers of phone On Mon, Aug 2, 2010 at 2:56 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Cursor cx = getContentResolver().query(RawContacts.CONTENT_URI, new String[]{RawContacts._ID}, null, null, null); if(cx.moveToFirst()){ do{ Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, cx.getLong(0)); Uri entityUri = Uri.withAppendedPath(rawContactUri, Entity.CONTENT_DIRECTORY); Cursor c = getContentResolver().query(entityUri, new String[]{RawContacts.SOURCE_ID, Entity.DATA_ID, Entity.MIMETYPE, Entity.DATA1}, Entity.MIMETYPE + =? OR + Entity.MIMETYPE + =?, new String[] {ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE}, null); try { String name = ; String phoneNumber = ; while (c.moveToNext()) { String sourceId = c.getString(0); if (!c.isNull(1)) { String mimeType = c.getString(2); if(mimeType.equals(ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)) { name = c.getString(3); //this is the name } else if(mimeType.equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) { phoneNumber = c.getString(3); } } } Log.d(CONTACT, name + - + phoneNumber); } finally { c.close(); } }while(cx.moveToNext()); } What exactly do you want to do? If you can specify more clearly (or show the code you did with Contacts.People, then may be I can suggest smaller code snippet. Regards Sarwar Erfan On Aug 2, 11:53 am, A N K ! T ankit.awasth...@gmail.com wrote: when i am using this class it is written there use contactscontract but am not getting how to use this class to fetch contacts number from phone. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http
Re: [android-developers] Re: contacts.people is deprecated...........
please sumbody help me out On Mon, Aug 2, 2010 at 4:23 PM, A N K ! T ankit.awasth...@gmail.com wrote: so tell me how to get number by contactscontract...am getting name and other info but not phone number..please help me On Mon, Aug 2, 2010 at 4:18 PM, Sarwar Erfan erfanonl...@gmail.comwrote: Hi, If you want to your strategy (using deprecated classes), then make two changes: Change 1: change the intent --- intentforcontact= new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI); Change 2: change the column index --- String Number = c.getString(c.getColumnIndex(Phones.NUMBER)); = But, you should not be using deprecated classes Regards Sarwar Erfan On Aug 2, 3:55 pm, A N K ! T ankit.awasth...@gmail.com wrote: //i am using this code for opening phone contacts. intentforcontact= new Intent(Intent.ACTION_PICK,Contacts.CONTENT_URI); startActivityForResult(intentforcontact, PICK_CONTACT); //in this code am trying to get phone numbers of contact,,but not getting any number.it is returning 23 fields but no one containing contact numbers @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { // TODO Auto-generated method stub super.onActivityResult(requestCode, resultCode, data); switch(requestCode) { case (1) : { if (resultCode == Activity.RESULT_OK) { try{ Uri contactData = data.getData(); Cursor c = managedQuery(contactData, null, null, null, null); c.moveToFirst(); // String sr[]=c.getColumnNames(); String Number=c.getString(c.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER)); .. help me to find out contact numbers of phone On Mon, Aug 2, 2010 at 2:56 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Cursor cx = getContentResolver().query(RawContacts.CONTENT_URI, new String[]{RawContacts._ID}, null, null, null); if(cx.moveToFirst()){ do{ Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, cx.getLong(0)); Uri entityUri = Uri.withAppendedPath(rawContactUri, Entity.CONTENT_DIRECTORY); Cursor c = getContentResolver().query(entityUri, new String[]{RawContacts.SOURCE_ID, Entity.DATA_ID, Entity.MIMETYPE, Entity.DATA1}, Entity.MIMETYPE + =? OR + Entity.MIMETYPE + =?, new String[] {ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE}, null); try { String name = ; String phoneNumber = ; while (c.moveToNext()) { String sourceId = c.getString(0); if (!c.isNull(1)) { String mimeType = c.getString(2); if(mimeType.equals(ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)) { name = c.getString(3); //this is the name } else if(mimeType.equals(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) { phoneNumber = c.getString(3); } } } Log.d(CONTACT, name + - + phoneNumber); } finally { c.close(); } }while(cx.moveToNext()); } What exactly do you want to do? If you can specify more clearly (or show the code you did with Contacts.People, then may be I can suggest smaller code snippet. Regards Sarwar Erfan On Aug 2, 11:53 am, A N K ! T ankit.awasth...@gmail.com wrote: when i am using this class it is written there use contactscontract but am not getting how to use this class to fetch contacts number from phone. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr
Re: [android-developers] Re: contacts.people is deprecated...........
thanks a-lot erfan...now it is working fine.. do me a one more favor i need all the number of contact and name too.. but through this code am getting only mobile number.. thanks alot... On Mon, Aug 2, 2010 at 5:08 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Here is your intent: intentforcontact= new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI); Here is your result handling: // === @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); switch(requestCode) { case (1) : if (resultCode == Activity.RESULT_OK) { Uri contactData = data.getData(); String []parts = contactData.toString().split(/); long id = Long.parseLong(parts[parts.length-1]); Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, id); Uri entityUri = Uri.withAppendedPath(rawContactUri, Entity.CONTENT_DIRECTORY); Cursor c = managedQuery(entityUri, new String[] {Entity.DATA1}, Entity.MIMETYPE + =?, new String[] {ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE}, null); try{ c.moveToFirst(); String Number = c.getString(0); } catch(Exception ex){ } } break; } } //=== Beware, it is not mandatory for a contact to have a number :) You can add a contact without phone number. It in that case, you will end up inside catch(Exception ex){} Regards Sarwar Erfan On Aug 2, 4:53 pm, A N K ! T ankit.awasth...@gmail.com wrote: so tell me how to get number by contactscontract...am getting name and other info but not phone number..please help me -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] need guidence in list-view
i am trying to make a listview with icon in every item of this list view. i mean i want to put an icon in every item of listview. please let me know wot should i do for that. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] contacts.people is deprecated...........
when i am using this class it is written there use contactscontractbut am not getting how to use this class to fetch contacts number from phone. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] problem using listview...
am trying to show a list view in my layout .but not getting why it is not showing the listview here is my code please guide me...i know am missing something but not getting it what.!!! public class ShowNumberList extends Activity{ ListView list; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.specialnolayout); list=(ListView)findViewById(R.id.ListView01); list.setAdapter(new ArrayAdapterString(this,R.layout.specialnolayout, numbers)); //numbers having some numbers which i am taking from databse. } //*layout file*::named specialnolayout LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/LinearLayout01 android:layout_width=wrap_content android:layout_height=wrap_content android:orientation=vertical ListView android:id=@+id/ListView01 android:choiceMode=singleChoice android:layout_width=fill_parent android:layout_height=fill_parent /ListView TextView android:text=@+id/TextView11 android:id=@+id/TextView01 android:layout_width=wrap_content android:layout_height=wrap_content/TextView /LinearLa -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] people.NUMBER is deprecated....what else i can use in place of it
am trying to fetch phone contact.bu when i am using people.Number it is showing people.Number is deprecated.then wot should i use. -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] R.java file of my project is deleted.......how to get it back
hey R.java has deleted autometically...how to get it back -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] R.java file of my project is deleted.......how to get it back
actually problem was that i created a xml file and by mistake named it capital alphabets..and after creating it i clicked on clean than R.java deleted autometically... i tried everything but nothing good happend than i renamed my xml file in small ..it came by its own.. nyways thanks alot for replying. On Thu, Jul 29, 2010 at 5:59 PM, Asad Ali syedasadalib...@gmail.com wrote: On Thu, Jul 29, 2010 at 5:19 PM, A N K ! T ankit.awasth...@gmail.comwrote: hey R.java has deleted autometically...how to get it back -- A N K ! T.. simple compile the code it will create R.java for you (Goto Project - Clean Build ) Have a Good Time, Syed Asad Ali, -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] How to see database files of my phone?
go to command promt then in tools folder of ur SDK.then type *adb shell* u r in boot then use basic linux command to see whot u wanna see... On Thu, Jul 22, 2010 at 11:54 AM, Nency Robert angelgirl4...@gmail.comwrote: How to root the phone? Any command for that? On Wed, Jul 21, 2010 at 5:18 PM, Webnet Android webnet.andr...@gmail.comwrote: On 21 July 2010 13:44, Nency Robert avayam...@gmail.com wrote: HI, I want to see the database files of my phone is it possible? You have to root your phone. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Ankit -- You received this message because you are subscribed to the Google Groups Android Developers group. 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]
refer this link and do what is written there it is too easy to install. *http://www.vogella.de/articles/Android/article.html#overview_android* On Thu, Jul 22, 2010 at 2:06 PM, Rajesh Pelluru mail2pell...@gmail.comwrote: What's ur confusion ??? They clearly mentioned steps in android developer portal. http://developer.android.com/sdk/index.html On Thu, Jul 22, 2010 at 1:54 PM, poonam sinha sinhapoon...@gmail.comwrote: does anyone knows how to install android 2.2 I am little bit confuse -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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] i want to put my application in front just after incoming call
am trying to make my application in front just after incoming call.i mean when user cut the phone my application should come in front can it be possible -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: i want to put my application in front just after incoming call
ya i know am using the same ..and i am trying to put some code when state is ringing,,,but what code i shud write there i am not getting that... is there any method or anything that bring my application in front.. On Thu, Jul 22, 2010 at 7:09 PM, Namrata puranik.namr...@gmail.com wrote: Use PhoneStateListener with state onCallStateChanged() Namrata On Jul 22, 6:27 pm, A N K ! T ankit.awasth...@gmail.com wrote: am trying to make my application in front just after incoming call.i mean when user cut the phone my application should come in front can it be possible -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] am trying to start my service on device boot up.
.i write a app but it is not doing anything..code is given below if anybody can help. *manifest file:::* application android:icon=@drawable/icon android:label=@string/app_name receiver android:name=myBR intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.HOME/ /intent-filter /receiver service android:name=myService action android:name=com.serceatboot.myService/ /service activity android:name=myactivity/activity /application uses-sdk android:minSdkVersion=4 / uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/uses-permission * Broadcast reciever*::: public class myBR extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub Intent serviceIntent=new Intent(); serviceIntent.setAction(com.serviceatboot.myService); intent.setClass(context,myService.class); context.startService(serviceIntent); } } * and service*:::public class myService extends Service{ @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub return null; } @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); Toast.makeText(this, service created, Toast.LENGTH_SHORT).show(); } @Override public void onStart(Intent intent, int startId) { // TODO Auto-generated method stub super.onStart(intent, startId); Toast.makeText(this, service started, Toast.LENGTH_SHORT).show(); } @Override public void onDestroy() { // TODO Auto-generated method stub Toast.makeText(this, service Destroyed, Toast.LENGTH_SHORT).show(); super.onDestroy(); } } *please let me know if am doing anything wrong or missed something...* -- Ankit -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] i am trying to write an application in which it shud start service by recieving boot_completed action
.i write a app but it is not doing anything..code is given below if anybody can help. *manifest file:::* application android:icon=@drawable/icon android:label=@string/app_name receiver android:name=myBR intent-filter action android:name=android.intent.action.BOOT_COMPLETED/ category android:name=android.intent.category.HOME/ /intent-filter /receiver service android:name=myService action android:name=com.serceatboot.myService/ /service activity android:name=myactivity/activity /application uses-sdk android:minSdkVersion=4 / uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/uses-permission * Broadcast reciever*::: public class myBR extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub Intent serviceIntent=new Intent(); serviceIntent.setAction(com.serviceatboot.myService); intent.setClass(context,myService.class); context.startService(serviceIntent); } } * and service*:::public class myService extends Service{ @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub return null; } @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); Toast.makeText(this, service created, Toast.LENGTH_SHORT).show(); } @Override public void onStart(Intent intent, int startId) { // TODO Auto-generated method stub super.onStart(intent, startId); Toast.makeText(this, service started, Toast.LENGTH_SHORT).show(); } @Override public void onDestroy() { // TODO Auto-generated method stub Toast.makeText(this, service Destroyed, Toast.LENGTH_SHORT).show(); super.onDestroy(); } } *please let me know if am doing anything wrong or missed something...* -- Ankit -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: am trying to start my service on device boot up.
ya i have added itactually problem was sumthing else after restarting the pc it is working fine .thanks to all On Wed, Jul 21, 2010 at 4:40 PM, mac-systems jens.h...@gmx.de wrote: Add: uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / To you Manifest -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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] can we start application after installing .apk file
i am trying to make application run just after installing it. -- Thanks Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] can we start application after installing .apk file
but it is starting .when am installing apk file ..application is starting cause i can see the app by long pressing home button. but its UI is not showing in front... On Wed, Jul 21, 2010 at 6:16 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Jul 21, 2010 at 8:44 AM, A N K ! T ankit.awasth...@gmail.com wrote: i am trying to make application run just after installing it. That is not possible, sorry. Please allow the user to click on your icon in the launcher to start your application after installing it, if the user so chooses. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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
Re: [android-developers] can we start application after installing .apk file
it is just showing in background , when i long press home button it is showing there but it is not working till i once click on it... i want to make it run just after installing...it shoud work...wot can i do for this On Wed, Jul 21, 2010 at 6:30 PM, A N K ! T ankit.awasth...@gmail.comwrote: but it is starting .when am installing apk file ..application is starting cause i can see the app by long pressing home button. but its UI is not showing in front... On Wed, Jul 21, 2010 at 6:16 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Jul 21, 2010 at 8:44 AM, A N K ! T ankit.awasth...@gmail.com wrote: i am trying to make application run just after installing it. That is not possible, sorry. Please allow the user to click on your icon in the launcher to start your application after installing it, if the user so chooses. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 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 -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.com -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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
Re: [android-developers] Re: can we start application after installing .apk file
*...@ranjan :: *1. how can i start a service after installation...if it is possible than it can start my aplication too please make comment if u any idea abt it. * @ Mark ,,and ..Kostya * cant we show any message to user regarding our application that he want to start it or not...after installation... On Thu, Jul 22, 2010 at 2:20 AM, Paul Turchenko paul.turche...@gmail.comwrote: You can't On Jul 21, 9:40 pm, ranjan ar ranjan@gmail.com wrote: You can start a service rather.. On Wed, Jul 21, 2010 at 5:44 AM, A N K ! T ankit.awasth...@gmail.com wrote: i am trying to make application run just after installing it. -- Thanks Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Ankit -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: trying to override OEM(Incoming call screen) screen
thanks buddy .can u tell me in brief wot actually u mean. On Tue, Jul 20, 2010 at 3:57 PM, Yi Ling lingyi@gmail.com wrote: when the call is comming, you app should capture the signal and make it blind to the default one. im not sure, but may it help! have fun! 2010/7/20 A N K ! T ankit.awasth...@gmail.com please somebody guide me in thisat least a way in which i should make efforts. On Tue, Jul 20, 2010 at 9:56 AM, A N K ! T ankit.awasth...@gmail.comwrote: no, not get yet On Mon, Jul 19, 2010 at 4:44 PM, mike hasitharand...@gmail.com wrote: hi Ankit, did u found a way to do this? regards, Mik -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Ankit Awasthi -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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.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 -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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
Re: [android-developers] problem in using getcurrentfocus().... guide me...
ya thanks i have got it...actually i was taking it like it will return the whole window object but later i knew that it will return a focused view only.. am currently trying to take object of OEM screen while incoming callbut not getting it in nay way..i want to do override/overlay the OEM screen with my apps screen if u can help in this thing please guide me in which way i should make efforts... On Tue, Jul 20, 2010 at 10:49 PM, TreKing treking...@gmail.com wrote: On Mon, Jul 19, 2010 at 4:47 AM, A N K ! T ankit.awasth...@gmail.comwrote: while am trying to fetch current focus object i.e View by usinggetcurrent focus method ...but view object not getting any value it is showing null value Step 1: Read the documentation: Activity.getCurrentFocushttp://developer.android.com/reference/android/app/Activity.html#getCurrentFocus%28%29 Calls getCurrentFocus()http://developer.android.com/reference/android/view/Window.html#getCurrentFocus%28%29 on the Window of this Activity to return the currently focused view. OK, so let's look at Window.getCurrentFocushttp://developer.android.com/reference/android/view/Window.html#getCurrentFocus%28%29 : Return the view in this Window that currently has focus, or null if there are none. Oh, so if there is no focus, you get null. Since you are getting null, you have no focused view. Problem solved. please let me know what shu i do now Check for null. Time taken posting on the group: about a day and a half. Time taken reading the documentation: about a minute and a half. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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] problem in using getcurrentfocus().... guide me...
while am trying to fetch current focus object i.e View by using getcurrent focus method ...but view object not getting any value it is showing null value please let me know what shu i do nowcode is given bellow *public* *class* CurrentView *extends* Activity { /** Called when the activity is first created. */ View view; Button bt; @Override *public* *void* onCreate(Bundle savedInstanceState) { *super*.onCreate(savedInstanceState); setContentView(R.layout.*main*); bt=(Button)findViewById(R.id.*Button01*); bt.setText(Get View); bt.setOnClickListener(*new* View.OnClickListener() { @Override *public* *void* onClick(View v) { // *TODO* Auto-generated method stub *view**=(View)getCurrentFocus(); //here view is not getting any value!!* } }); } -- Ankit -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: trying to override OEM(Incoming call screen) screen
no, not get yet On Mon, Jul 19, 2010 at 4:44 PM, mike hasitharand...@gmail.com wrote: hi Ankit, did u found a way to do this? regards, Mik -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Ankit Awasthi -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: trying to override OEM(Incoming call screen) screen
please somebody guide me in thisat least a way in which i should make efforts. On Tue, Jul 20, 2010 at 9:56 AM, A N K ! T ankit.awasth...@gmail.comwrote: no, not get yet On Mon, Jul 19, 2010 at 4:44 PM, mike hasitharand...@gmail.com wrote: hi Ankit, did u found a way to do this? regards, Mik -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Ankit Awasthi -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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
Re: [android-developers] Re: the emulator doesnt show up
download another version of sdk from AVDavailable software .and then create new emulatorthen try to start it 2010/7/16 Harsha harsha.bl...@gmail.com Can anyone suggest something i changed the DEP but its not working. I cant disable the antivirus as its work place Laptop. On Jul 15, 10:44 am, Harsha harsha.bl...@gmail.com wrote: Ya the antivirus was updated, do you think that might be the issue. On Jul 15, 10:27 am, Harsha harsha.bl...@gmail.com wrote: emulator -avd avd_name is the command, No use no emulator window popped up and no error is displayed On Jul 15, 9:45 am, Kostya Vasilyev kmans...@gmail.com wrote: Can you try launching the emulator from the command line? This way you should see the errors, if any. I think it's android start 'name', but I could be wrong. 15.07.2010 20:40 пользователь Harsha harsha.bl...@gmail.com написал: in eclipse it says Launching a new emulator with Virtual Device 'Phone1' in console thats it an d there is no other error. Not even in error log or logcat In avd manager, there is this cmd window which is blank which pops up and the emulator window doesnt show up and there is no errors as in i dont know where is the log file to check errors in android manager On Jul 15, 9:12 am, Kostya Vasilyev kmans...@gmail.com wrote: Does it show up in AVD Manager in ... -- You received this message because you are subscribed to the Google Groups Android Developers g... -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Thanks Regards Ankit Awasthi Bangalore Contact No.: 07676955989 E-mail: ankit.awasth...@gmail.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