Re: [android-beginners] buttons

2010-07-15 Thread Yousuf Faheem
but behind them On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com wrote: would that get rid of the grey area around the image? On Wed, Jul 14, 2010 at 8:01 PM, Yousuf Faheem yousuf.syed@gmail.com wrote: Hi, you can try using this instead. android:background

Re: [android-beginners] buttons

2010-07-14 Thread Yousuf Faheem
Hi, you can try using this instead. android:background=@drawable/image_name Thanks Regards, Yousuf Syed 773-719-4786 On Wed, Jul 14, 2010 at 8:23 PM, Mark Murphy mmur...@commonsware.comwrote: Use ImageButton. On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com wrote: i

Re: [android-beginners] buttons

2010-07-14 Thread Yousuf Faheem
, 2010 at 8:01 PM, Yousuf Faheem yousuf.syed@gmail.comwrote: Hi, you can try using this instead. android:background=@drawable/image_name Thanks Regards, Yousuf Syed 773-719-4786 On Wed, Jul 14, 2010 at 8:23 PM, Mark Murphy mmur...@commonsware.comwrote: Use ImageButton

Re: [android-beginners] findViewById returns null

2010-07-12 Thread Yousuf Faheem
Hi Conny, Are you placing the text fields in a layout or just declaring them as provided below. If you are not using a layout enclose these TextViews with in a Layout and try. I guess it should work. Also try refreshing R.java build you subset.xml Check if the price variable is reflected in

Re: [android-beginners] Re: Exception when using a BroadcastReceiver for battery-change events

2010-07-07 Thread Yousuf Faheem
Hi, I guess its because you are either using String for some other data type or using some other data type instead of String. Possibly in the CommonTempLogic(); Place CommonTempLogic in the try catch block and see. Caused by: java.lang.ClassCastException: java.lang.String this is what I can

Re: [android-beginners] Passing an int value from one activity to another

2010-07-07 Thread Yousuf Faheem
Hi, Use putIntExtra instead of putExtra() Thanks Regards, Yousuf Syed On Wed, Jul 7, 2010 at 7:44 PM, Traveler jadkins...@gmail.com wrote: I am a relative newbie to Android and am trying to learn how to pass an int value to another activity. Main activity uses a ListView. The following

[android-beginners] How can I access the images of a specific directory from sdcard

2010-05-04 Thread Yousuf Faheem
Hi All, I am creating an application that access the sdcard and retrieves all the image files presents in all the directories. Now I want the user to select the directory from which he wants to view the pictures and display the images of that folder. I am using cursor =

[android-beginners] Some Weird results for Calendar Class!! Can some one help

2010-03-30 Thread Yousuf Faheem
Hi, I am developing an app which shows a month calendar and can go back and forth. But when I try to go from March to February it shows March only. And the same happens when I try to move from Jan to Feb it goes to March instead of going to Feb. apart from this every thing else works as expected.

Re: [android-beginners] Re: RSS feeds

2010-03-14 Thread Yousuf Faheem
Hi, I think you can try using HttpRequest object to establish the connection using your URL and InputStreamReader to read the result(which would be a rss feed in your situation). Hope this is helpful. Thanks Regards, Yousuf Syed On Sun, Mar 14, 2010 at 9:36 AM, murali raju

Re: [android-beginners] activitynotfound exception

2010-03-10 Thread Yousuf Faheem
Hi check the package name that your activity has and the package name the manifest file has. Also check what package name you are giving in your intent. Thanks Regards, Yousuf Syed 773-719-4786 On Tue, Mar 9, 2010 at 1:23 AM, cnbishop cnbis...@gmail.com wrote: hi, i am trying to implement

Re: [android-beginners] listview is getting me mad plase help

2010-02-02 Thread Yousuf Faheem
Hi, try writting onClick event within getView method of the adapter Thanks Regards, Yousuf On Sat, Jan 30, 2010 at 11:08 AM, David Fire ddf...@gmail.com wrote: hi i cant press any item on my listview nor in the emulator nor in a real phone. item layout ?xml version=1.0

Re: [android-beginners] ArrayList items are missing

2010-01-26 Thread Yousuf Faheem
Hi, one thing that you can do is make the Arraylist static or send the information to the next activity using a bundle and again send it to your activity or use storedpreferences. Thanks, Yousuf. On Tue, Jan 26, 2010 at 2:18 PM, Kritzli pfister.ta...@googlemail.comwrote: At the moment,

[android-beginners] getNeighboringCellInfo method of the telephony service always returns empty list

2010-01-19 Thread Yousuf Faheem
Hi All, getNeighboringCellInfo method of the telephony service always returns empty list. Does anyone know why its giving empty list, I have included the required permission. Also I am using HTC Hero to test it. Thanks Regards, Yousuf -- You received this message because you are subscribed

[android-beginners] Problem reading from files when using within service.

2010-01-12 Thread Yousuf Faheem
Hi All, I am trying to read file from my service. I am also passing my service context to the class that is performing the read operation. I am storing a timeout,day, month and year value in the file. Initially the file is empty and all values are assigned to 0 and timeout =500. But whenever I

[android-beginners] how to turn gps on/off programatically

2010-01-07 Thread Yousuf Faheem
Hi, I am writting a code which has to turn gps on when its needed and turn gps off when its not needed. This is different from enabling or disabling the gps. Is there any api that is used for this purpose. Thanks Regards, Yousuf. -- You received this message because you are subscribed to the

Re: [android-beginners] how to turn gps on/off programatically

2010-01-07 Thread Yousuf Faheem
, Yousuf Syed On Thu, Jan 7, 2010 at 10:59 AM, Sean Hodges seanhodge...@googlemail.comwrote: On Thu, Jan 7, 2010 at 3:42 PM, Yousuf Faheem yousuf.syed@gmail.com wrote: Hi, I am writting a code which has to turn gps on when its needed and turn gps off when its not needed

Re: [android-beginners] Re: Giving selection priority in XML Layout

2010-01-03 Thread Yousuf Faheem
:57 am, Caius 'kaio' Chance k...@kaio.me wrote: (2010年01月03日 08:56), Yousuf Faheem wrote: call btn.requestFocus(); BTW, create the btn with getViewById() first. -- Caius 'kaio' Chance ☺ かいお Fedora Project Contributorhttp://fedoraproject.org/wiki/User:kaio kaio

Re: [android-beginners] Facing serious problem with static objects

2010-01-02 Thread Yousuf Faheem
Hi, Try initiallizing them to null before the change of activity takes place or at the start of home activity. Since your application is not closed(scope of the static objects), the static objects are there in memory allocated to that process and hence retain the value that you give. Thanks

Re: [android-beginners] Re: MapActivity cannot be resolved to a type .

2010-01-02 Thread Yousuf Faheem
Hi, There is a regular android api and there is google api.. if you go to the build target you should see android api 1.1, 1.5, 1.6,2.0 and Google api 1.5, 1.6, 2.0 you should select google apis not the regular one's. Thanks Regards, Yousuf Syed On Sat, Jan 2, 2010 at 5:49 AM, sanjay rao

Re: [android-beginners] Giving selection priority in XML Layout

2010-01-02 Thread Yousuf Faheem
Hi, call btn.requestFocus(); Thanks Regards, Yousuf Syed 773-719-4786 On Fri, Jan 1, 2010 at 6:40 PM, Roman Romano very.cross...@googlemail.comwrote: I have declared a LinearLayout consisting of 3 widgets: a button, an edittext and a final button. Whenever i launch and intent which uses

Re: [android-beginners] Re: Unable to see Google Map - but eveything else seems to be working....

2010-01-02 Thread Yousuf Faheem
Hi, I think you have problem with the MD5 fingerprint follow the procedure for creating your MD5 fingerprint. Thanks Regards, Yousuf Syed 773-719-4786 On Thu, Dec 31, 2009 at 5:16 AM, Vaikunth Parmar sai.vaiku...@gmail.comwrote: Hi, I am running my application in Emulator. While I am

[android-beginners] Volunteers needed to test my Android application(Cube Links)

2010-01-01 Thread Yousuf Faheem
Hi, I would like to request the group members to help me with feed backs on my android application(Cube Links). This is a Beta version and hope there are lots of bugs or Issues that have not been addressed. The application is free and can be downloaded from android market. I would like to

[android-beginners] help regarding implementation of SAX parser in android

2009-12-31 Thread Yousuf Faheem
Hi, Happy New Year to all. I am trying to implement a SAX parser in my android application. I placed my xml file in res/xml folder and declared my path as /res/xml/book.xml. SAXParserFactory spf = SAXParserFactory.newInstance(); try { SAXParser sp = spf.newSAXParser();

Re: [android-beginners] Newbees Revolt!! Part Du...

2009-12-25 Thread Yousuf Faheem
Hi Pankaj, We are hear to help each other. Not to point our finger at anyone. I agree that it might have felt bad to you but Justin is the one of the most active members of this group. If you feel that you cant get any help from this group then I would suggest you better leave the group. Instead