[android-developers] getting error (-19,0), while playing wav file from sdcard

2013-07-21 Thread Narendra Singh Rathore
Hello, I am trying to play a music file, that exists in sdcard, as follows MediaPlayer mp = new MediaPlayer(this); mp.setDataSource(path to file in sdcard); mp.prepare(); mp.start(); I have also specified the *Write External Storage *permission in my manifest.xml file. But..., I am

Re: [android-developers] Re: getting error (-19,0), while playing wav file from sdcard

2013-07-21 Thread Narendra Singh Rathore
, 2013 5:23:59 PM UTC+1, Narendra Singh Rathore wrote: Hello, I am trying to play a music file, that exists in sdcard, as follows MediaPlayer mp = new MediaPlayer(this); mp.setDataSource(path to file in sdcard); mp.prepare(); mp.start(); I have also specified the *Write External Storage

Re: [android-developers] how to delete all the data from listview

2013-03-09 Thread Narendra Singh Rathore
On Sat, Mar 9, 2013 at 1:35 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi friends, can some one tell me that how to automatically delete all listview data when i came out from whole application.pls guys help me if someone have any idea. Hi Sadhna, can you explain

Re: [android-developers] AutoCompleteTextview to have prefix then start suggestion

2013-02-26 Thread Narendra Singh Rathore
It seems, you need *MultiAutoCompleteTextView*, instead of * AutoCompleteTextView.* -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] Dialog Box Position

2013-02-26 Thread Narendra Singh Rathore
On Wed, Jan 4, 2012 at 6:18 PM, aru padam deepesh...@gmail.com wrote: Hi all, How can set a dialog box at the bottom of the screen?. Please help me.. Hi Deepesh, refer the following link: http://stackoverflow.com/questions/9467026/change-dialog-position-on-the-screen -- -- You

Re: [android-developers] Re: android using url.openstream isn't throwing IOException if no internet connection. Why?

2013-02-26 Thread Narendra Singh Rathore
Using the following solved my problem public HttpResponse getResp(String request) throws IOException { HttpGet httpGet = new HttpGet(request); HttpParams httpParameters = new BasicHttpParams(); // Set the timeout in milliseconds until a connection is established. // The default value is

[android-developers] android using url.openstream isn't throwing IOException if no internet connection. Why?

2013-02-01 Thread Narendra Singh Rathore
Hi all, I am using url.openstream for requesting on to server. In case no internet connection while this, I want data to be stored in database, and hence doing the storage in catch clause of IOException, but instead of being caught here, it just hangs on url.openstream. I even waited for a

Re: [android-developers] Reading data from external databases

2013-01-23 Thread Narendra Singh Rathore
Hi Diljith, I guess, this may be useful for you. http://www.vogella.com/articles/JavaExcel/article.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] location updates using network provider

2013-01-09 Thread Narendra Singh Rathore
Hello all, my requirement is to get location updates every 90 seconds. I am using network provider for this. I am doing this as given below: locationManager.requestLocationUpdates( LocationManager.NETWORK_PROVIDER, MINIMUM_TIME_BETWEEN_UPDATES,

[android-developers] Re: deleting a ringtone programmatically

2012-12-25 Thread Narendra Singh Rathore
how do you insert a ringtone programmatically? Hi Skink, I used the following code for inserting/setting the ringtone. String filepath =/sdcard/my music/Dard-E-Tanhai.mp3; File ringtoneFile = new File(filepath); ContentValues content = new ContentValues();

Re: [android-developers] Re: deleting a ringtone programmatically

2012-12-25 Thread Narendra Singh Rathore
Now, what I actually want is to replace the current ringtone, and want to insert that with the same title as that of the previous one. Now, I guess there must be two ways to do that - i) updating the ringtone path to the new ringtone path, using its title (i.e. 'test' in my case) ii)

[android-developers] deleting a ringtone programmatically

2012-12-21 Thread Narendra Singh Rathore
Hi all, I know inserting a ringtone programmatically, but want to know about deleting a specific ringtone from the system ringtone list. What I know, is the title of the ringtone. I googled a lot about it, but unluckily, couldn't find any way to achieve exactly what I want. Please, guide me

[android-developers] password protect text/excel file

2012-12-13 Thread Narendra Singh Rathore
Hi all, Is it possible to password protect an existing file in SDCard or to create a file with password protection through code. If yes, how to do that? Plz guide me the way to do this. Thanks and Regards, NSR -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] password protect text/excel file

2012-12-13 Thread Narendra Singh Rathore
On Thu, Dec 13, 2012 at 7:11 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Dec 13, 2012 at 8:04 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Is it possible to password protect an existing file in SDCard No. or to create a file with password protection through code

Re: [android-developers] password protect text/excel file

2012-12-13 Thread Narendra Singh Rathore
On Thu, Dec 13, 2012 at 7:24 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Dec 13, 2012 at 8:47 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: so is it possible to do that in Internal storage? By definition, nobody but your app and rooted device users can get at internal

Re: [android-developers] Re: using ffmpeg library for converting no. of images into a video containing music

2012-12-12 Thread Narendra Singh Rathore
On Thu, Dec 13, 2012 at 11:58 AM, rakesh kumar dogra.rakes...@gmail.comwrote: Hi Narendra, I have to covert no of images into video. Can you Please share your code on my mail Id:rakesh_dogr...@yahoo.co.in Hi Rakesh, I already shared the link, which I used to convert images into video. Try

Re: [android-developers] Google Map

2012-11-26 Thread Narendra Singh Rathore
On Mon, Nov 26, 2012 at 12:11 AM, Ehsan Ghasisin ehsan@gmail.comwrote: Hi Every one . I created Google map in android and test with emulator and it worked currently , but when install in my phone (Samsung galaxy ) my program didn't show anything just show a simple page . Tnx

Re: [android-developers] Google Map

2012-11-26 Thread Narendra Singh Rathore
On Tue, Nov 27, 2012 at 1:10 AM, asha b ash...@gmail.com wrote: Make sure you are using proper map key for mapview and keystore for application. Simple page without mapview means problem is with mapkey. Hi Asha, but if the problem is with mapkey, then why it is being displayed on

Re: [android-developers] Google Map

2012-11-26 Thread Narendra Singh Rathore
On Tue, Nov 27, 2012 at 12:42 PM, Ehsan Ghasisin ehsan@gmail.comwrote: Hi , my program work without any error in emulator. i have problem when install my program on my device Hi Ehsan, have you tried on any other device? If yes, what was the response of that? -- You received this

[android-developers] Re: ImageMagick and NDK

2012-11-20 Thread Narendra Singh Rathore
Same question from me too. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: ffmpeg converted video not working on default player

2012-11-20 Thread Narendra Singh Rathore
Thanks a lot, Pedro. It helped me achieving my task, as I found http://www.badllama.com/content/convert-video-android-ffmpeg. Regards, NSR -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] ffmpeg converted video not working on default player

2012-11-19 Thread Narendra Singh Rathore
Hi all, I have successfully converted a sequence of images into a video (.mp4 format) using ffmpeg. But, there came an issue while playing them in device's default player, whereas, if I use another player, it works fine. Please suggest me, what may be the reason behind this, as well as how can I

[android-developers] save image with transition effect

2012-11-16 Thread Narendra Singh Rathore
Hi all, I have the requirement of applying transition effect to a static image, and further save it with that effect. Please guide me how to do this. Thanks Regards, NSR -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: save image with transition effect

2012-11-16 Thread Narendra Singh Rathore
Hi Pedro, I want to apply effects on image like reflection, rotation, round corner, blur and so on. And also to save that image with that effect. I hope, you got my query this time. Thanks and Regards, NSR -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: save image with transition effect

2012-11-16 Thread Narendra Singh Rathore
Ok, got it now. Thanks for your valuable suggestion, Pedro. 1. create a Bitmap 2. create a Canvas using Canvas(Bitmap bitmap) constructor 3. draw whatever you want using that canvas 4. write a bitmap using compress() method -- You received this message because you are subscribed to the

Re: [android-developers] single selection listveiw

2012-10-31 Thread Narendra Singh Rathore
On Wed, Oct 31, 2012 at 10:51 AM, rauf qureshi qureshira...@gmail.comwrote: hello friends, I am developing listview with customerAdapter which extends baseAdapter,in each item of list there is two textview and one check box is there , so i want to select one check box at a time but i am

Re: [android-developers] Re: using ffmpeg library for converting no. of images into a video containing music

2012-10-25 Thread Narendra Singh Rathore
On Fri, Oct 19, 2012 at 7:50 PM, Chris Sarbora top...@gmail.com wrote: It looks like you're passing the format string directly to the FS. If there's not a file in that directory named literally %0d.jpeg, I'd expect it to fail. Hey Chris, there is a file name 0.jpeg, 1.jpeg and so on, on

[android-developers] ffmpeg not working on device

2012-10-24 Thread Narendra Singh Rathore
Hello all, I am actually running the following command using ffmpeg on terminal for making a video from a no. of images. ffmpeg -f image2 -r 08 -i %05d.jpg -vcodec mpeg4 test12.mp4 This is working fine, if I save the images inside ffmpeg and try to make a video at the same location, using

[android-developers] using ffmpeg library for converting no. of images into a video containing music

2012-10-19 Thread Narendra Singh Rathore
Hello all, I have used the following link for converting images into video https://github.com/guardianproject/SSCVideoProto But, the problem is that it runs properly on version 2.3.6, where as gives problem while running on the version 2.3.3, it gives the following error

Re: [android-developers] applying effects to camera images

2012-10-07 Thread Narendra Singh Rathore
Thanks Richard and Harri, I will follow what you suggested, and hoping that will somewhat help in my goal. Thanks n Regards, NSR. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] applying effects to camera images

2012-10-06 Thread Narendra Singh Rathore
Hi all, May anyone please tell, how to apply effects like sepia, mono, negative, etc, while using camera in my app. Please suggest me the way, if anyone know about this Thanks n Regards NSR -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] applying effects to camera images

2012-10-06 Thread Narendra Singh Rathore
On Sat, Oct 6, 2012 at 5:12 PM, lokesh gupta lokeshgupt...@gmail.comwrote: Go to camera settings effects Great answer Lokesh, but I just wanted to do it in my app. I wasn't asking how to use android camera, instead how to work with camera effects. So, please tell this from developer's point

Re: [android-developers] compiler compliance problem

2012-10-04 Thread Narendra Singh Rathore
Try this. It will help you out. Thanks and Regards NSR -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] compiler compliance problem

2012-10-04 Thread Narendra Singh Rathore
On Thu, Oct 4, 2012 at 3:06 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: http://stackoverflow.com/questions/7637144/android-requires-compiler-compliance-level-5-0-or-6-0-found-1-7-instead-plea Try this. It will help you out. Thanks and Regards NSR -- You received

Re: [android-developers] Re: how to make textview clickable

2012-09-24 Thread Narendra Singh Rathore
On Sun, Sep 23, 2012 at 11:32 PM, vaish vaishalisharma...@gmail.com wrote: hey evry1.. actually i 've tried onClick property on my textview but still it's not wrking.. even i've directly used onclicklistener also on my text view, like this- overWtLink=(TextView)

[android-developers] handler pause and resume event

2012-09-19 Thread Narendra Singh Rathore
Hi all devs, I am currently using handlers to pausing and playing Runnable. I have two buttons - play and pause. On pause button click, I want to pause the event/runnable, which I am doing as follows: *handler.removeCallbacks(runnable);* * * but this seems to stop my current runnable, and when

[android-developers] specifyng id in case of include directive

2012-09-09 Thread Narendra Singh Rathore
Hi all, I just wanted to know, how to specify id, while using *include *directive, as suppose I have two buttons ok and cancel in two different layouts. and I need to make a layout (xml file) for ok and cancel button. Now, how to specify id from two different layouts for both the buttons together,

Re: [android-developers] gridview onItemClick gets executed even on empty space after the last item

2012-08-31 Thread Narendra Singh Rathore
On Wed, Aug 29, 2012 at 10:03 PM, Justin Anderson magouyaw...@gmail.comwrote: Please post the relevant code where you are setting up and handling your item click. All right, following is my onItemClick event of gridview, on which I am adding the clicked image in the gallery situated on the

Re: [android-developers] hi

2012-08-31 Thread Narendra Singh Rathore
I have an idea for that. Why don't you use database for that. Database should contain at least 2 tables - one will contain chapter name with no.(primary key) Other will contain the chapter no. as foreign key, and contents (one by one) Then, on clicking chapter name from the list, extract its

Re: [android-developers] hi

2012-08-31 Thread Narendra Singh Rathore
On Fri, Aug 31, 2012 at 4:54 PM, sree android android.sreeni...@gmail.comwrote: thank you for information. Its my pleasure! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] gridview onItemClick gets executed even on empty space after the last item

2012-08-29 Thread Narendra Singh Rathore
Hi all developers, I am performing item click of gridview, all is working well unless when I click the empty space after the last item of gridview. On the above mentioned circumstance of clicking empty space, my OnItemClickListener executes (even if there is not any item, returning a wrong

Re: [android-developers] More Than One Spinners

2012-08-24 Thread Narendra Singh Rathore
On Sat, Aug 18, 2012 at 2:32 AM, S Awan juwerian.so...@gmail.com wrote: Hi, i wanna set more than one spinner with different strings and different icons ..i hve done this all in one spinner correctly but when i set the second spinner with different strings and icons it loads the same

[android-developers] how to view the most remote item of gridview

2012-08-22 Thread Narendra Singh Rathore
Hi all, Please let me know how to view / focus the last item of the gridview on some event, in case there are a lot of items in the gridview For example, I have 100 items in my gridview, and currently 1st item is having focus. I want to view the last (100th) item, on some event (*without

Re: [android-developers] List of views to change in layout

2012-08-18 Thread Narendra Singh Rathore
On Sat, Aug 18, 2012 at 2:20 AM, Budd buddf...@gmail.com wrote: Hi, I got a question about how to change to view dymaically. I have a empty FrameLayout in my activity. I want to do is every 10 seconds 1) Remove all the view in the layout 2) create new videoview or webview (depend on what

Re: [android-developers] Re: getting assets file in Uri ......FileNotFoundException

2012-08-07 Thread Narendra Singh Rathore
On Tue, Aug 7, 2012 at 12:43 PM, skink psk...@gmail.com wrote: what statement throws FileNotFoundException? try { fis = new FileInputStream(mUris[0].toString()); } catch (FileNotFoundException e) { e.printStackTrace();

[android-developers] getting assets file in Uri ......FileNotFoundException

2012-08-06 Thread Narendra Singh Rathore
Hi all, I am not getting what is wrong here in the following statement. Please tell if anyone know about the cause of this behaviour. *mUris[0]=Uri.parse(file:///android_asset/bottom_logo.png);* I am getting *FileNotFoundException* for the above statement. Am I giving the wrong path or something

Re: [android-developers] getting assets file in Uri ......FileNotFoundException

2012-08-06 Thread Narendra Singh Rathore
On Mon, Aug 6, 2012 at 11:59 PM, Justin Anderson magouyaw...@gmail.comwrote: Here, Let Me Google That For You... http://lmgtfy.com/?q=android+access+assets Maybe one day, you'll be able to learn how to fish too... Hey Justin, let me tell you one thing, I do ask questions here after googling

Re: [android-developers] Re: getting assets file in Uri ......FileNotFoundException

2012-08-06 Thread Narendra Singh Rathore
Care to elaborate on what you've done? Ok, I clear to you what I want. This one is working very fine. I mean *no FileNotFoundException*. *mUris[0]=Uri.parse(Environment.getExternalStorageDirectory()+/last_slide.png); * But, this one is not working, giving me file not found.

Re: [android-developers] Re: how to display a toast after 10 seconds from starting Asynctask

2012-08-02 Thread Narendra Singh Rathore
Okay, I will try this. Anyways, thankyou all for valuable suggestions. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] how to display a toast after 10 seconds from starting Asynctask

2012-07-31 Thread Narendra Singh Rathore
Hi all, please suggest me how to execute something after 10 seconds from the start of AsyncTask. I have used AsyncTask for different purpose. But, now I want to update my UI after 10 seconds. Or to show a toast after specific time. I actually want to perform some other task after 10 seconds,

Re: [android-developers] Application to start with

2012-07-21 Thread Narendra Singh Rathore
On Thu, Jul 19, 2012 at 3:49 PM, tj mailme.ta...@gmail.com wrote: I am new to android development. I have worked before on java and .NET but am a bit confused with android programming. Can you plz suggest some ideas as to on what basic application should I start working on. I made basic

[android-developers] How to get the platform signing key

2012-07-20 Thread Narendra Singh Rathore
Hi all, I need to know how can I get the platform signing key. I googled a lot, but unable to find the step by step process for that. Please guide me the way to do that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] How to change ProgressDialog background color

2012-07-19 Thread Narendra Singh Rathore
style name=android:MyProgressStyle parent=@android:style/ Widget.ProgressBar item name=android:background#F7F7F7/item /style The result was the background of LinearLayout and ProgressBar changed to that color. I only want to change the background color of the ProgressDialog. All

Re: [android-developers] Show Spinner Initial Text

2012-07-17 Thread Narendra Singh Rathore
On Tue, Jul 17, 2012 at 12:01 PM, abhijeet tomar abhijeet...@gmail.comwrote: Hello Members, I have a little problemI want to display Initial text when Spinner display. Generally it shows nothing...it not good to show Please Help... Hi Abhijeet, if you want to show the title of

[android-developers] remove percentage shown below the progress dialog

2012-07-13 Thread Narendra Singh Rathore
Hi all, I am getting the percentage below the horizontal progress dialog, as shown in the attached image. I want to remove that. I got the method setProgressPercentFormat(null), but that work in api level 11 or higher. I need to do in api level 8. So, how can I do that? Please help me. -- You

Re: [android-developers] remove percentage shown below the progress dialog

2012-07-13 Thread Narendra Singh Rathore
On Fri, Jul 13, 2012 at 7:42 PM, Raghav Sood raghavs...@gmail.com wrote: Stop updating the progress bar from your code? What do you mean by that? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] detect home screen arrival

2012-07-08 Thread Narendra Singh Rathore
On Sat, Jul 7, 2012 at 3:26 PM, Mark Murphy mmur...@commonsware.com wrote: Write your own home screen. Alright Mark, but how to do that? I am sure, there will be another better way to do, what I want, and will definitely get that. Anyways, thanks for suggestion. -- You received this

Re: [android-developers] ViewFlipper

2012-07-08 Thread Narendra Singh Rathore
On Sun, Jul 8, 2012 at 3:31 PM, chandur mani chandur.ind...@gmail.comwrote: Thanks to all. I got it , through my logical itself. Ok Chandur, thats good. Will you please tell us how did you do that? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] detect home screen arrival

2012-07-07 Thread Narendra Singh Rathore
Hello all, My requirement is to detect the home screen arrival in two cases - 1) After closing any application, 2) unlocking the home screen lock. Further, on home screen detection, I want to capture the time and save it for my use. I am using service (containing thread) for this purpose. I am

Re: [android-developers] Re: problm on spinners

2012-07-01 Thread Narendra Singh Rathore
On Sun, Jul 1, 2012 at 6:43 PM, Ina Gupta ina.mc...@gmail.com wrote: my problem is in a screen i have two spinners..in ist spinner i have a list of movies wen we selct a movie from that spinner..2nd spinner wil contails list of theaters related to that selcted movie only i m new to

Re: [android-developers] ContentValues issue

2012-06-30 Thread Narendra Singh Rathore
rideDate never gets assigned and the other values seem to not be assigned in order ie; distance may end up being the second element, when I would have expected rideDate to be the first and distance to be the fourth. This is how I use the newRideValues collection. new

Re: [android-developers] how to add image buttons in gridview in android

2012-06-30 Thread Narendra Singh Rathore
On Tue, Jun 26, 2012 at 11:23 AM, nanda tgraghunandangu...@gmail.comwrote: hi I am new to this android and i need to add image buttons in grid view by parsing an xml.how to do this?? Do the same as you have done in case of imageview, just replace it with imagebutton You don't have to put

Re: [android-developers] problm on spinners

2012-06-29 Thread Narendra Singh Rathore
On Fri, Jun 29, 2012 at 1:51 PM, Ina Gupta ina.mc...@gmail.com wrote: how to connect 2 spinners together. Meaning, the items inside 2nd spinner will depend on whatever item is chosen for the 1st spinner Have you tried it before asking? If yes, what problem are you facing in that? Just

Re: [android-developers] Passing Object

2012-06-29 Thread Narendra Singh Rathore
On Tue, Jun 26, 2012 at 12:54 PM, mohammed Nuhail nuhail...@gmail.comwrote: How to pass the object from one activity to another ? Use the methods putParcelable() and getParcelable() for that. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Is it possible implement an Android spinner with out using the XML layout file ?

2012-06-29 Thread Narendra Singh Rathore
On Wed, Dec 28, 2011 at 10:50 AM, Sreejith sreejithg@gmail.com wrote: Is it possible implement an Android spinner with out using the XML layout file ? In all examples their is a use of an XML file reference (like android.R.layout.simple_spinner_item) for setAdapter function usage.If not

Re: [android-developers] Is it possible implement an Android spinner with out using the XML layout file ?

2012-06-29 Thread Narendra Singh Rathore
of course it's possible, you don't have to use ArrayAdapter after all Oh, is it? So, please tell me the alternative of using ArrayAdapter. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Is it possible implement an Android spinner with out using the XML layout file ?

2012-06-29 Thread Narendra Singh Rathore
On Fri, Jun 29, 2012 at 4:24 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Jun 29, 2012 at 6:51 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: of course it's possible, you don't have to use ArrayAdapter after all Oh, is it? So, please tell me the alternative of using

Re: [android-developers] @NdroidDeepu--map view on buttonclick

2012-06-29 Thread Narendra Singh Rathore
On Fri, Jun 29, 2012 at 6:12 PM, DILEEP PT android.dil...@gmail.com wrote: Hei guys,... i am here with another pblm.. i have a edittext in wich i can type the country or place and a button to submit, when i click submit ,it has to show the place in my webview like googlemap. can

Re: [android-developers] @NdroidDeepu--map view on buttonclick

2012-06-29 Thread Narendra Singh Rathore
On Fri, Jun 29, 2012 at 6:22 PM, DILEEP PT android.dil...@gmail.com wrote: i have a edittext and a buttonif i put bangalore in my edittext and clik the button it has to show banglore like(google map) Ok, so what problem are you facing in that? -- You received this message because you

Re: [android-developers] Android Spinner not working

2012-06-28 Thread Narendra Singh Rathore
Let me have a look at your spinner code, so that I can suggest what's wrong. Thanks n Regards, NSR -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] New to developing , errors already

2012-06-28 Thread Narendra Singh Rathore
On Thu, Jun 28, 2012 at 6:22 AM, Nick Krawczyk ez4n...@gmail.com wrote: I'm trying to start by following this : http://developer.android.com/training/basics/firstapp/building-ui.html#Weight, building a simple interface. I have followed the instructions but when I click run somehow a new file

Re: [android-developers] ViewFlipper

2012-06-27 Thread Narendra Singh Rathore
On Wed, Jun 27, 2012 at 12:36 AM, chandur mani chandur.ind...@gmail.comwrote: I have 5 content views in view flipper, here i use to see all 5 content through viewflipperinstance.showNext() and viewflipperinstance.showPrevious(). Here my problem is both next and previous buttons click, it

Re: [android-developers] detect if an app is launched

2012-06-27 Thread Narendra Singh Rathore
On Wed, Jun 27, 2012 at 10:31 AM, jagruti sangani jugni1sm...@gmail.comwrote: Hi, you can use the thread for periodically checking whether any new application is launch or not.If any found then compare with that and and if it is match then insert data in database or whatever you want to do

Re: [android-developers] android:onClick throws nullPointerExeption

2012-06-27 Thread Narendra Singh Rathore
On Mon, Jun 25, 2012 at 12:35 AM, CaynanVictor caynan...@gmail.com wrote: Hey, guys, i had a really strange problem i was trying to do this tutorial: http://developer.android.com/training/basics/firstapp/index.html , but as soon as i add content to the method that the android:onClick calls,

Re: [android-developers] detect if an app is launched

2012-06-27 Thread Narendra Singh Rathore
And, as multiple have mentioned, this will *not* be possible... Ok Kris, so does that mean, there is no other way to do what I want? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] detect if an app is launched

2012-06-27 Thread Narendra Singh Rathore
On Wed, Jun 27, 2012 at 7:01 PM, Kristopher Micinski krismicin...@gmail.com wrote: As we said, you can poll it, but it's not recommended. Why do you need to do this? Let me clarify you about my requirement. I actually want to monitor all the apps stored in the device, and retrieve their

Re: [android-developers] detect if an app is launched

2012-06-27 Thread Narendra Singh Rathore
But *why* do you want to do this. To display it to the user? Yes, to display it to the user. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] detect if an app is launched

2012-06-27 Thread Narendra Singh Rathore
All right, I got my answer. Thanks all for directing 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

Re: [android-developers] subject to device problem

2012-06-26 Thread Narendra Singh Rathore
Hi Rahul, what problem are you getting in displaying tablelayout contents dynamically. Please specify it clearly. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] detect if an app is launched

2012-06-26 Thread Narendra Singh Rathore
Hi all, I want to know if it is possible to detect an application launch, through its package name. Suppose, I have created a test app, in which I want to get some information about a specific app, For eg. Contact app of the devicelike how many times it has opened or closed, in a specific

[android-developers] Getting time-period when the home screen remains active

2012-06-25 Thread Narendra Singh Rathore
Hi all, I am having trouble in getting some sort of information in my application like when I close any opened application, and after sometime open another application or the same one. Now, I want to get the time period (between closing the app or opening another app) for which the home screen

Re: [android-developers] parsing xml in given url

2012-06-25 Thread Narendra Singh Rathore
Hi again Justin and Treking, I already apologized in the same thread for my mistake. So, I guess, its no need to continue this discussion further, only to show my mistake. I hope, you got what I mean. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] parsing xml in given url

2012-06-24 Thread Narendra Singh Rathore
On Sun, Jun 24, 2012 at 10:43 PM, Michael Banzon mich...@banzon.dk wrote: If you are in a hurry - and need the answer fast - you can use the same method I usually do. Check it out: http://bit.ly/Obf0Xq Thanks Michael for suggesting this. But, sorry to say, I think its time consuming task.

[android-developers] fetching image from URL as well as showing progress dialog

2012-06-23 Thread Narendra Singh Rathore
Hi all Please help me in getting image from a URL. As well as I want to show progress dialog for that, while image is loading Thanks in Advance. NSR -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: fetching image from URL as well as showing progress dialog

2012-06-23 Thread Narendra Singh Rathore
On Sat, Jun 23, 2012 at 4:26 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi all Please help me in getting image from a URL. As well as I want to show progress dialog for that, while image is loading Thanks in Advance. NSR Image should be downloaded. -- You received

[android-developers] show progress dialog while image download

2012-06-23 Thread Narendra Singh Rathore
Hi devs, I actually want to show progress dialog, while downloading an image from URL I successfully downloaded the image, just want to know how to show progress dialog while its download? Please help me in doing this. With Thanks n Regards, NSR. -- You received this message because you are

[android-developers] parsing xml in given url

2012-06-23 Thread Narendra Singh Rathore
Please help me out in parsing xml from url -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] parsing xml in given url

2012-06-23 Thread Narendra Singh Rathore
On Sat, Jun 23, 2012 at 7:56 PM, TreKing treking...@gmail.com wrote: On Sat, Jun 23, 2012 at 9:02 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Please help me out in parsing xml from url You want to explain what help you actually need and what this has to do with Android

Re: [android-developers] refresh list

2012-06-19 Thread Narendra Singh Rathore
On Tue, Jun 19, 2012 at 1:38 PM, Live Happy livehap...@gmail.com wrote: i have list based on cursor adapter but the problem is when i add new item to the database i cant refresh the list, i try many way re-query the cursor and then notifyDataSetChanged.but not work so how i can refresh the

Re: [android-developers] refresh list

2012-06-19 Thread Narendra Singh Rathore
Just use this, where you want to refresh your list/activity. finish(); startActivity(getIntent()); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] refresh list

2012-06-19 Thread Narendra Singh Rathore
On Tue, Jun 19, 2012 at 2:27 PM, Live Happy livehap...@gmail.com wrote: refresh activity is not good solution coz i update the database from the same activity and i want the databe to be refreshed after a button clicked not all the acitvity All right, then you must use notifydatasetChanged

Re: [android-developers] problem while getting md5 key

2012-06-19 Thread Narendra Singh Rathore
On Fri, Dec 23, 2011 at 6:59 AM, enes enes...@gmail.com wrote: I' m tring to get md5 code but the cms show me sha1. the following output generate when I run command c:\Program Files\Java\jre7\binkeytool.exe -list -alias androiddebugkey -keystor e C:\debug.keystore -storepass android

[android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
Hello all, I want to trace the mobile location using phone number. What should be my approach for that. Please suggest me what to do for that. Or direct me the way, from where I should start proceeding. Thanks Regards, NSR -- You received this message because you are subscribed to the Google

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 1:03 PM, Parthi K parthisof...@gmail.com wrote: use gps code dude.. Great suggestion buddy...I know using GPS code. But, I guess, I have to remind my question to you. My problem is to get the location of phone no. So, how to use GPS code for finding particular phone

Re: [android-developers]

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 12:21 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, How to call another activity when i press the back button. It seems somewhat improperbut here is solution to your requirement. public void onBackPressed() { Log.d(CDA,

Re: [android-developers]

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 1:16 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Fri, Jun 15, 2012 at 12:21 PM, Vijay Krishnan vijay.vijay...@gmail.com wrote: Hi all, How to call another activity when i press the back button. It seems somewhat improperbut here

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
I guess, what I want is not directly possible, as suggested here on the following link. http://stackoverflow.com/questions/7173769/finding-a-phones-location-from-its-number-using-gps -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 4:59 PM, Raghav Sood raghavs...@gmail.com wrote: This has nothing to do with the Android SDK. You'll need to find an online website with an API that allows you to do this. This isn't the list to find that website. Ok, thanks for the suggestion. I realized what I

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure developer.it.a...@gmail.com wrote: plz Suggest me any one i wrote all code for mapview but it does not appeair on emulator it shows only blocks on emulator my code is below pls check is there any correction plz tell me .there is no any

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 6:44 PM, deepak mamdapure developer.it.a...@gmail.com wrote: in the logcat below msg will displayed then what i do 06-13 18:34:13.114: ERROR/MapActivity(388): Couldn't get connection factory client Amey has clarified you what to do in that case. Check your map api

  1   2   3   >