[android-developers] Need help for dispatchKeyEvent method for activity..

2011-09-20 Thread prachi
Hi Iam facing one problem...Iam handling home key event for my activity and want to display a dialogue when home key is pressed.Iam handling that in dispatchKeyEvent method of the activity.The problem is that sometimes this method is being called but sometimes it s not at all called and dialogue i

[android-developers] startService() runs the service in a seperate process?

2011-07-13 Thread prachi
Hi I have a doubt...I dont know why i am getting confused!!! I have a service in app A.Now my app B starts the service in app A. Does the service starts in the same process as app B or does it run in the different process?Assuming app A is jst installed and not runnning. My next question is tha

[android-developers] GPS:Getting SHA1 instead of MD5 fingerprint, wants to get Google MAP API..

2011-06-11 Thread Prachi
I am getting following results: C:\Program Files\Java\jdk1.7.0\bin>keytool -list -alias androiddebugkey -keystor e "C:\Documents and Settings \Administrator.android\debug.keystore" -storepass a ndroid -keypass android androiddebugkey, May 27, 2011, PrivateKeyEntry, Certificate fingerprint (SHA1):

[android-developers] Re: How to get the list of notifications dispalyed on status bar......

2011-05-18 Thread Prachi
 am, Dianne Hackborn wrote: > Sorry there is no API for this. > > > > On Mon, May 16, 2011 at 11:20 PM, Prachi wrote: > > Hi all > > > Is it possible to retrieve the list of notifications/updates displayed > > on status bar?Does notification manger keeps a tr

[android-developers] How to get the list of notifications dispalyed on status bar......

2011-05-17 Thread Prachi
Hi all Is it possible to retrieve the list of notifications/updates displayed on status bar?Does notification manger keeps a track of whatever notifications it displays and stores them somewhere if yes then can we get the list of notifications displayed? -- You received this message because you

[android-developers] Re: Converting screen coordinates to world coordinates?

2011-01-18 Thread prachi
end to be more complicated for Lat/Long. > > You need to establish a datum reference on the screen you can use.  If > you are bringing a map onto the screen the map needs to be registered > and scaled in world units > > Are you using Google Maps or ?? > > Larry > > On Jan

[android-developers] hiding points behind camera.....AR

2011-01-18 Thread prachi
Hi all Iam a novice in understanding the calculations for projecting a 3d point to camera view.But i still i understood something and came out with some calculations. According to android documentation Iam getting the azimuth,pitch and roll values from getOrientation method and using them for cal

[android-developers] Re: Converting screen coordinates to world coordinates?

2011-01-17 Thread prachi
, TreKing wrote: > On Mon, Jan 17, 2011 at 5:54 AM, prachi wrote: > > I have the screen x,y value and i need to fetch the corresponding world > > coordinates(x,y,z) for the same. > > Technically speaking, there is no "corresponding" [X, Y, Z] for a given [X, &g

[android-developers] Re: Converting screen coordinates to world coordinates?

2011-01-17 Thread prachi
h i guess convey the right meaning.And I do read my posts before posting them. But anyways I will take care of it. On Jan 17, 6:48 pm, TreKing wrote: > On Mon, Jan 17, 2011 at 5:54 AM, prachi wrote: > > I have the screen x,y value and i need to fetch the corresponding world > &

[android-developers] Converting screen coordinates to world coordinates?

2011-01-17 Thread prachi
Hi Im developing an augmented reality application where in I need to perform the opposite of converting world coordinates to screen coordinates I have the screen x,y value and i need to fetch the corresponding world coordinates(x,y,z) for the same. Ny idea how to do dis??? -- You received

[android-developers] Re: Calculating screen coordiantes in augmented reality???

2011-01-12 Thread prachi
augmented reality browse On Jan 12, 7:14 pm, JP wrote: > On Jan 12, 2:59 am, prachi wrote: > > > > > > > Hi > > > Iam developing an augmented reality browser on my ownn...But > > not able to get the screen cooridinates > > > I will

[android-developers] Calculating screen coordiantes in augmented reality???

2011-01-12 Thread prachi
Hi Iam developing an augmented reality browser on my ownn...But not able to get the screen cooridinates I will discuss my whole problem here.as im not sure at which point i stuck up... I hav a set of latitude longitude values for different points.Taking them Iam calculating x,y,z

[android-developers] How to test activity with multiple threads using ActivityInstrumentationTestCase2 class

2010-10-28 Thread Prachi
IF an activity has multiple threads then , how can I wait for all of them to finish in my test class. waitForIdle() , runOnUIThread() functions are not working for me.The test method executes before the other threads in activity finish and the test fails . I cannot change the production code. --

[android-developers] Touch not working for listitem??

2010-07-26 Thread prachi
Hey hi all I have a list activity listing various list items.My problem is that on listItemClick() method is being called when Iam using that trackball to select the list item but my list item is not getting selected when Iam touching them.. What could be the problem?? plzz help..its a bit urgent

[android-developers] How to convert a xml page to speech???

2010-07-22 Thread prachi
Hi all I have an xml page which im able to display on webview and also able to convert it to sppech by using text to speech API provided by android. I have stored that xml page in a string variable and hence able to convert it to speech which takes string variable as an input. But my problem is

[android-developers] Is face recognition and tagging of faces possible through API?

2010-07-19 Thread prachi
Hii Im looking for some help to detect faces in group photograph and then add some comments to each face as we do in picasa. As pere as detecting faces is concerned i found the API in android but to tag each face with some comments i could not find any API. Please help me. Is it possible i

[android-developers] Re: multiple mapviews

2010-07-14 Thread prachi
Hii In order to show two mapview u need to implement it in the same draw() method of the map activity.Put some condition check for two map views as suited to u for setting paramaeters for scaling up and scaling down taking the same canvas object. On Jul 14, 1:50 am, Michael wrote: > Good idea. I

[android-developers] Re: webview

2010-07-14 Thread prachi
Hii Do u have webviews as a part of ur list items? If dat is d case den ur onItemSelected() for list item click wont work bcozz dat gets disabled if any of the list item is clickable. On Jul 15, 1:33 am, Mookie wrote: > can i disable the webview onClick Activity(); > > I have a couple of webview

[android-developers] Re: How to parse the html ?

2010-07-14 Thread prachi
hii It would be better if u use xml in place of html bcoz it is easy to parse it. On Jul 15, 8:12 am, 苗忠良 wrote: > hi: >use json. > > 2010/7/15 zhou haitao > > > I want to get the data which I need from a html, how can I do it ? > > > Thanks > > > -- > > You received this message because y

[android-developers] Re: How to play audio from sd card?

2010-07-12 Thread prachi
Hi You must use the method setDatasource(String path) to set the path to the sd card and then use the following functions prepare and start. If you are getting this exception then try using onPrepared method of OnPreoardListener and invoke the start method in this method and check if palyer drive

[android-developers] Re: getting a single xml node

2010-07-12 Thread prachi
hey hii android supports apis for xml parsing.You can use those apis for parsing xml and can get node. On Jul 12, 3:08 pm, Andy Best wrote: > Hi guys I'm newbie to android development and I need some help... > > I want to make an app that will use data from an xml database and > there are two po

[android-developers] Re: multiple mapviews

2010-07-12 Thread prachi
hiii could u please throw some light on your problem??? On Jul 13, 7:37 am, rukiman wrote: > I know I cannot create two MapViews in a MapActivity. And I cannot > create two MapActivities in a process. Is there a work around that > will enable me to display two mapviews side by side? -- You rec

[android-developers] Re: Passing data with PendingIntent

2010-06-28 Thread prachi
hiii we cant set extras with pending indentbt yaa there is one option in flags to retain the extras of the first indent...or the last one jst go through the option available for flag variable may b dat can help u. On Jun 29, 8:24 am, "info.sktechnol...@gmail.co

[android-developers] Re: Accessing Dynamic TextView

2010-06-14 Thread prachi
Hey hiii im not sure whether this will work but still give it a try i think instaed of adding the textviews through xml layout u add them in ur program using an array of textviews and then update them on each button click with the help of loop and setting each textview element value. On Jun 9, 6:1

[android-developers] Re: broken pipe exception

2010-06-14 Thread prachi
hey h canu u plzz throw some light on dis in detail On Jun 9, 11:27 am, ravish mahajan wrote: > hii >   i am making a application based on remote desktop protocol > in that i am getting a error broken pipe exception > is this the error of emulator /network whther i have to port the code >

[android-developers] Re: how can we set the background of button with bitmap image........which is cre

2010-06-14 Thread prachi
hey hiii u can try dis... b = new ImageButton(MixView.this); Bitmap bmp = BitmapFactory.decodeResource(this.getResources(),R.drawable.mapicon1); b.setImageBitmap(bmp); On Jun 11, 1:17 am, Dixit Wadhwani wrote: > -->  for bitmap image..this code is not working > >     publi

[android-developers] Re: how to enable onItemClick for custom list view

2010-06-03 Thread prachi
> figure out exactly whatitemwas pressed by tagging theitem-views with the > position, and then checking the tag in the onClick() callback. > > /Anders > > > > -Original Message- > From: android-developers@googlegroups.com > [mailto:android-develop...@googlegrou

[android-developers] how to enable onItemClick for custom list view

2010-06-03 Thread prachi
Hey hiii all I hav a list view,each list item has a text view and a button. My onItemClick() for list item is not responding.But if i remove the button from list item it is responding.. Pl helppp bcoz i want both to function :(:(:( Any help would be appreciated:):):) -- You

[android-developers] Re: Accessing internet in my application being behind proxy

2010-05-17 Thread prachi
hi u need to include one permission in manifest file:- On May 17, 11:49 am, Explore Android wrote: > Hi, > > I am trying to connect to internet through android emulator being > behind proxy. I am using Android 1.6 SDK. > I set my proxy details going to Home Screen->Menu Key->Settings- > >

[android-developers] Re: Accessing internet in my application being behind proxy

2010-05-17 Thread prachi
Hey hi For ur application to connect to internet you need to use one permission in ur manu\ifest file:- I hope this will work... On May 17, 11:49 am, Explore Android wrote: > Hi, > > I am trying to connect to internet through android emulator being > behind proxy. I am using Android 1

[android-developers] Re: Determine if my application is visible on screen

2010-05-05 Thread prachi
Hi You can disable your GPS in the onPause or onStop of ur actvity...Go through the documentation to disable the gps i guess it is locationMgr.removeUpdates(this); locationMgr=null; where locationMgr is the LocationManager object. On May 4, 8:42 pm, TreKing wrote: > On Tue, May 4, 2010

[android-developers] Re: Loading and displaying an image from a resource

2010-05-05 Thread prachi
Hi Simon Can u please tell the messages being displayed in adb logcat??? On Apr 29, 6:20 pm, sj wrote: > Currently I'm successfully loading and displaying an image from a > webserver using the code below. > > URL imgURL = new URL("http://www.xxx.com/myimage.png";); > URLConnection conn = aURL.op

[android-developers] Re: Getting information from webview

2010-05-05 Thread prachi
hiii Yeah it can be done..If that edit text is inside your webview--- Inside the layout file give ur edittext and button inside the webview tag and in your program refer to that editText by its id given in xml file. Let me know if this is wat u want??? On May 5, 11:44 am, absn wrote: > Hi a

[android-developers] Re: How to implement a queue using SQLite?

2010-05-05 Thread prachi
Hii If u want to store a queue in a databast then consider a table as a queue with one column of string type in which insert query is applicable only at the rear end that is at the last and delete query should have a where condition such that it deletes the first record onlyyy. Ohterwise i dont

[android-developers] Re: send the email with speech Recognition

2010-05-05 Thread prachi
Can u please throw some more light on want u want??? On May 5, 12:38 pm, rajesh chandrasekaran wrote: > Hi all, > >      I am new in android.i need few help from you, > >      In my android Application,I need to send the email, for the body > content i need to use Speech Recognition. how to do th

[android-developers] Re: internet connection in emulator

2010-05-05 Thread prachi
Hi Jags the reason could be that may be your organisation has blocked the internet sites and moreover definitely ur emulator will show the internal sites bcozz all ur systems might be connected through LAN to get the internal sites web pages but to open internet sites u need to have internet conne

[android-developers] Re: ADT Problem: Creating new Android Project

2010-05-05 Thread prachi
Hi harjeet While creating a new project u must specify the target SDK under build target list.It has a list of checkboxes specifying the the various paltforms.choose any one of them On May 3, 2:05 pm, harjeet wrote: > Hello, > While trying to create a new Android Project., Get a error  - > An SD

[android-developers] Re: How to parse JSON in Java?

2010-04-11 Thread prachi
To parse the json file it is very much similar to parsing the xml file . first of all u need to create a json array which will captur all ur elements for array posts and then make a json object for each element of jsin array using the function jsonarray.getJSONObject(i) where i is the index I

[android-developers] plzzzz helpppp regarding sensors for compass

2010-03-23 Thread prachi
Hey hiii a Im tryin to get the directional information using compass on my android phone.Bt it gives me the error - could not enable sensor 2 for the method-> sensorMan.registerListener( listener, sensorMan.getDefaultSensor(

[android-developers] Re: Deleting an entire table in a content provider?

2010-03-16 Thread prachi
H Yaa u can delete the whole table table using delete method supplying table name and where and whereargs as null.Inside the delete method of your contentprovider call the delete method of SQLiteDatabase. I guess this will work. On Mar 16, 1:04 pm, Makas Tzavellas wrote: > Can't say that I

[android-developers] Camera inaccessible---plzz help

2010-03-15 Thread prachi
Hiii I jst wanna know that is it lyk that camera application does not work for platform 2.1 or something? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsub

[android-developers] Re: Not able to access camera-----plzzz help

2010-03-15 Thread prachi
i hav placed the permissions as mentioned in the manifest file by you bt dnt know where the code is crashing... Anywayzz thanx for ur help mark On Mar 15, 3:22 pm, Mark Murphy wrote: > prachi wrote: > > I have gone through the manifest file.Im also including the same set > >

[android-developers] Re: Not able to access camera-----plzzz help

2010-03-15 Thread prachi
ok thanx mark On Mar 15, 3:22 pm, Mark Murphy wrote: > prachi wrote: > > I have gone through the manifest file.Im also including the same set > > of permissions in my manifest fileee... > > Perhaps they are in the wrong place in the file. > > > Could there be

[android-developers] Re: Not able to access camera-----plzzz help

2010-03-15 Thread prachi
Hii Mark I have gone through the manifest file.Im also including the same set of permissions in my manifest fileee... Could there be some other reason else dan dis? On Mar 15, 2:55 pm, Mark Murphy wrote: > prachi wrote: > > But is is showing me an exception--Permissi

[android-developers] Not able to access camera-----plzzz help

2010-03-15 Thread prachi
Hii alll I hav a peice of code to draw a view on camera preview.It as follows:-- import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.hardware.Camera; import android.os.Bun

[android-developers] Re: Notepadv3 tutorial...

2010-03-08 Thread prachi
Hiii The code will work if u give ur snippet of code in onMenuItemSelected and not onContextItemSelected(). Or else you create your context menu in the method onCreateContextMenu instead of onCreateOptionMenu() method. Try it out. On Mar 6, 12:59 am, MaTT wrote: > I was working through the Note

[android-developers] Re: setbackgrounddrawable from sd card

2010-03-08 Thread prachi
Hii Before using the method setBackgroundDrawable() method to set tthe background of your layout screen which takes Drawable object you need to first create the drawable object fron the filename using the static method createFromPath(String pathname) present in Drawable class.In the pathname speci

[android-developers] Re: How to play a media file on emulator

2010-02-17 Thread prachi
red on server side m.prepare(); m.start(); Error it shows is>>>java.io.IOException:Prepare Failed:status=0x1 can u plzz tell dat this error is coming bcozz dere is some problem with the emulator. On Feb 4, 10:37 am, prachi wrote: > Hey hii all > > I hav a code toruna start

[android-developers] How to play a media file on emulator

2010-02-03 Thread prachi
Hey hii all I hav a code to run a start a media player a play an audio file saved in my local disk.But the code is not running and it is showing an exception: PlayerDriver< PVMFInfoErrorHandlingComplete Plzz help me out!! -- You received this message because you are subscribed to the Googl

[android-developers] emulator not getting launched with 2.1 platform

2010-01-24 Thread prachi
Hi all I have updated my android sdk to 2.1 version and was trying to build one application on that target.My application was bulid properly bt i am unable to launch tha emulator with the target 2.1. Its showing the message as:- "System image file too large for device's hardware configuration <74M

[android-developers] Re: How to display XML

2010-01-18 Thread prachi
Hii i think it can be done. We can use the function loadUrl and give the url of the xml to be displayed. Or we can store the xml to be displayed in the string variable and display it using the method loadData giving mimetype as text/html. On Jan 16, 4:43 am, Temitope Akinwande wrote: > Hi all, >

[android-developers] Re: controling the user language

2010-01-18 Thread prachi
Hi Your application can support multiple languge. The only thing you need to do is specify strings of that language in strings.xml and use those string's names where ever required in your application. Eg:-R.string.hello-->where hello is the string name having value in some other language. On

[android-developers] Re: Intent Call Action

2010-01-08 Thread prachi
Hi as per my understanding of the question intent can be used to launch any activity,service,brodcast receiver. The methods used for launching any activity component are: 1.startActivity(myIntent):-myintent is the Intent object containing descriptions about the activity to belaunched ad the op

[android-developers] To read XML file using xslt

2010-01-08 Thread prachi
Hii all I want to read XML file using XSLT concept and display it as a web page using webview. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this