[android-developers] change scroll speed in gallery.

2010-07-16 Thread murali raju
Hi, Can i change the scroll speed in gallery view? i want a constant change in the gallery views irrespective of the speed the user fligs it. -- 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] How change android Home default application (launcher.apk)

2010-07-04 Thread murali raju
add this in intent filter in manifest file category android:name=android.intent.category.HOME / category android:name=android.intent.category.DEFAULT/ and this in activity tag android:launchMode=singleInstance this should work On Fri, Jul 2, 2010 at 4:33 PM, Arun achoudhary2...@gmail.com wrote:

Re: [android-developers] newbie android help

2010-07-04 Thread murali raju
save the rss news in a database(preferred) or any plain text. read the data and display in offline mode.. On Thu, Jul 1, 2010 at 12:53 PM, anu anu0a...@gmail.com wrote: hello, i m developing an RSS Reader for the purpose of learning more about this platform. Till now i have been able to parse

Re: [android-developers] Re: where is the sdcard in emulator 2.2?

2010-05-30 Thread murali raju
update the adt plug-in's. On Sun, May 30, 2010 at 1:28 PM, String sterling.ud...@googlemail.comwrote: On May 28, 10:37 am, coolbanana ralf...@web.de wrote: but i can't find the sdcard in eclipse unter DDMS/File Explorer In 2.2 it's been moved from /sdcard to /mnt/sdcard. Is that what you

Re: [android-developers] problem in layout alignment

2010-05-04 Thread murali raju
its bcoz ur height param return the height without notification bar n title bar. just disable those, getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); this.requestWindowFeature(Window.FEATURE_NO_TITLE); On Tue, May 4, 2010 at 4:17

Re: [android-developers] How to set logo in the title bar dynamically

2010-05-01 Thread murali raju
this.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); RelativeLayout titleLayout = (RelativeLayout) getLayoutInflater().inflate(R.layout.iocn,null); try { int titleContainerId = (Integer) Class.forName(com.android.internal.R$id).

Re: [android-developers] Re: the problem about click item in listview

2010-04-24 Thread murali raju
did u try onItemClickListener On Sun, Apr 25, 2010 at 10:19 AM, Reiny Song reiny.s...@gmail.com wrote: I should provide more detail about what I did, my listview contains the MyAdapter( extends simpleAdapter ) I tried something (the followings are), but nothing helped me. 1. I set the

Re: [android-developers] Scroll text inside the button

2010-04-14 Thread murali raju
No On Wed, Apr 14, 2010 at 4:28 PM, Mayank Agarwal mayank77fromin...@gmail.com wrote: Hi, Is it possible to scroll the text inside the button. Thanks and Regards, Mayank -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] how to remove/invisible the scroll bar

2010-04-14 Thread murali raju
Since ur horizontal scroll is the parent for your buttons, you can't remove/invisible it, it will remove all the button. On Fri, Apr 9, 2010 at 11:46 AM, Vijay S vijay...@gmail.com wrote: Hi i added some buttons in HorizontalScrollView and its working fine.. But I want to remove/invisible

Re: [android-developers] Image is not coming at center of the screen.

2010-04-14 Thread murali raju
frame layout always draws views at the top left corner only. use linear On Sat, Apr 10, 2010 at 12:05 PM, karthick sppkarth...@gmail.com wrote: Hi, while do rotate, I am not getting image at center of the screen. My xml code is: FrameLayout android:layout_width=fill_parent

Re: [android-developers] Disable scroll in webview

2010-04-13 Thread murali raju
You mean you have a large HTML. But you want to show content in a single screen. For user, it seems there are several pages. User only needs to click your button to change page. Right? No. suppose i have 500 lines in a html file( which is too large, so the scroll bar appears). I want

Re: [android-developers] Re: Disable scroll in webview

2010-04-13 Thread murali raju
But they don't seem to work for webview. the scroll bar still remains. On Tue, Apr 13, 2010 at 8:55 AM, grace grace.a...@wipro.com wrote: ya u can do that.. using methods like public void setHorizontalScrollBarEnabled (boolean horizontalScrollBarEnabled) and public void

Re: [android-developers] Disable scroll in webview

2010-04-12 Thread murali raju
ya it will be. my requirement is i want to display a large html file in number of pages such that each page would fit exactly into a single screen. I will place a button so that when clicked it would show the next page. On Mon, Apr 12, 2010 at 8:22 PM, A.TNG tang.j...@gmail.com wrote: On Mon,

Re: [android-developers] screen pixel size

2010-04-12 Thread murali raju
DisplayMetrics dis = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dis); Log.i(width = ,+ (width = dis.widthPixels)); Log.i(height = ,+ (height = dis.heightPixels)); On Tue, Apr 13, 2010 at 3:35 AM, Bob bshumsk...@yahoo.com wrote: Hi, I need to

Re: [android-developers] Re: Custom Spinner

2010-04-12 Thread murali raju
I tried it, it just reduces the width of the text in the drop down but not the width of drop down. On Tue, Apr 13, 2010 at 6:20 AM, skyhigh skyhigh1...@gmail.com wrote: To customize the way that the spinner drop down looks I think you need to use your own custom layout instead of using the

Re: [android-developers] create TextView

2010-03-28 Thread murali raju
try, TextView b = new TextView(getApplicationContext()); On Sat, Mar 27, 2010 at 7:58 PM, rubeN_vl rvanluch...@hotmail.com wrote: Hi, i'm trying to create a new TextView when a button is clicked. TextView b = new TextView(this); isnt working cause 'this' refers to new

Re: [android-developers] Re: stuck in OnTouchEvent OnClikc method. please help

2010-03-28 Thread murali raju
hi satish, i guess there is no need to use both the methods. click = touch down + touch up. so using just ontouch is enough On Sat, Mar 27, 2010 at 2:08 PM, satish bhoyar getsatonl...@gmail.comwrote: Guys pls help ... On Fri, Mar 26, 2010 at 5:02 PM, satish bhoyar

Re: [android-developers] Displaying Installed Packages name

2010-03-23 Thread murali raju
PackageManager pack = getPackageManager(); On Wed, Mar 24, 2010 at 7:32 AM, perumal316 perumal...@gmail.com wrote: Hi, I want to display all the installed packages to user. Below is the code snippet I used but not sure why it is not working. int flags=0; PackageManager pack

Re: [android-developers] Re: how to get the total size of sdcard?

2010-03-22 Thread murali raju
thanks MrChaz.. its working On Fri, Mar 19, 2010 at 3:34 PM, MrChaz mrchazmob...@googlemail.com wrote: Something like this should work: StatFs stat = new StatFs(Environment.getExternalStorageDirectory().getPath()); long bytesAvailable =

Re: [android-developers] showing media volume controller

2010-03-15 Thread murali raju
use seekbar widget and media player class, to control the the volume use setvolume() http://developer.android.com/reference/android/media/MediaPlayer.html On Mon, Mar 15, 2010 at 11:14 AM, kavitha kavith...@gmail.com wrote: Thanks for response Murali raju,,, Please tell how to create our

Re: [android-developers] Re: setting an icon in the application.

2010-03-15 Thread murali raju
or a simple way would be use compound drawable of textview. On Mon, Mar 15, 2010 at 5:31 PM, NewDev kna...@gmail.com wrote: Sorry for the previous mail. I got it how to do it :-) Now I am able to achieve what I wanted it :-) Thanks again, On Mar 11, 10:08 pm, Makas Tzavellas

Re: [android-developers] Get item selected from spinner

2010-03-14 Thread murali raju
ya, thank you for that On Sun, Mar 14, 2010 at 12:18 PM, TreKing treking...@gmail.com wrote: On Sat, Mar 13, 2010 at 11:07 PM, murali raju manutd...@gmail.com wrote: use spinner.setOnItemClickListener(new OnItemClickListener() No, this won't work, read the documentation: A spinner does

Re: [android-developers] Image Edition

2010-03-14 Thread murali raju
1) use intents for moving from one activity to another. So that you can send the image to second activity. 2)to display many images on a single screen use grid view or gallary. that would be the best way.( since u said u are new to android, i would suggest to see API demos application of sdk

Re: [android-developers] Re: write/read log files in res folder

2010-03-14 Thread murali raju
resource folder of the project i guess... On Sat, Mar 13, 2010 at 6:09 PM, Farproc farp...@gmail.com wrote: What is the res folder? /sdcard/res? On Mar 13, 3:07 pm, aswani kumar tholeti ensisinf...@gmail.com wrote: Hi all, how to write/read log data into txt file in res folder

Re: [android-developers] Re: Custom Spinner

2010-03-13 Thread murali raju
Hi, Thanks for your reply. I need a spinner, which when clicked I get a drop down view which do not cover the entire width of the screen. In my application i display all the items of the sdcard in table layout. I have a spinner on top of my application with some options. So when i

Re: [android-developers] Re: Custom Spinner

2010-03-13 Thread murali raju
Hi Bob, Even i gave up on that. Finally i created a custom layout which displays the list of items( the items which i want to display in the spinner ), in a listview, at any position on the screen. We can create a listview with any height and width, using LayoutParams , my

Re: [android-developers] showing media volume controller

2010-03-13 Thread murali raju
Hi, We have to create our view for volume control. i dont think we can display the android media player volume screen. On Sat, Mar 13, 2010 at 3:24 PM, kavitha kavith...@gmail.com wrote: Hi All, how to show media volume controller on my screen in android? Thanks kavitha -- You

Re: [android-developers] How can i call one activity to other activity without using intents and services

2010-03-13 Thread murali raju
Hi satish, It is not possible.. On Fri, Mar 12, 2010 at 1:31 PM, satish k satish@gmail.com wrote: On Fri, Mar 12, 2010 at 1:30 PM, satish k satish@gmail.com wrote: Hi All, How can i call one activity to other activity without using intents and services is there any solution

Re: [android-developers] Get item selected from spinner

2010-03-13 Thread murali raju
Hi, use spinner.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView? parent, View v, int position, long id) { } }); here the argument position gives the selected item in the spinner. On Fri,

Re: [android-developers] Re: Custom Spinner

2010-03-13 Thread murali raju
Hi, Thanks for your reply. I need a spinner, which when clicked I get a drop down view which do not cover the entire width of the screen. In my application i display all the items of the sdcard in table layout. I have a spinner on top of my application with some options. So when i

Re: [android-developers] Usable Screen Size

2010-03-09 Thread murali raju
Hi, you can do it by using override method onTouch(), so that u get the coordinates and calculate the application area. On Tue, Mar 9, 2010 at 7:21 PM, neha neha31gu...@gmail.com wrote: How can i get the usable screen size in android? By usable screen size i mean the screen size - size of

Re: [android-developers] Usable Screen Size

2010-03-09 Thread murali raju
or the best way would be use window manager windowHeight = this.getWindowManager().getDefaultDisplay().getHeight(); this would be ur notification bar height. On Tue, Mar 9, 2010 at 7:21 PM, neha neha31gu...@gmail.com wrote: How can i get the usable screen size in android? By usable screen

Re: [android-developers] Scrollview and Listview

2010-03-09 Thread murali raju
When you have a listview long enough it creates a scroll by itself, there's not need for you to place it again in a scrollview. On Tue, Mar 9, 2010 at 7:31 PM, Sasikumar.S sasikumar.it1...@gmail.comwrote: Hi, How to add listview inside scrollview ? scrollview listview /listview

Re: [android-developers] Upload error icon in status bar?

2010-03-09 Thread murali raju
may be there is no icon for that message. On Tue, Mar 9, 2010 at 9:02 PM, Anna PS annapowellsm...@googlemail.comwrote: Anyone know how I can get the 'upload error' icon for the status bar? I've got the 'uploading' and the 'upload done' icons, like this: notifyDetails = new

Re: [android-developers] Re: Defining width for spinners options.

2009-12-11 Thread murali raju
\platforms\android-1.5\data\res\layout \simple_spinner_dropdown_item Change the width of the layout, and use this layout in your code, i.e while specifying the layout for your adapter. Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Dec 10, 9:26 pm, murali raju manutd

Re: [android-developers] Re: Defining width for spinners options.

2009-12-10 Thread murali raju
Hi, Thanks for your reply, but I didn't get what you were saying. Can you tell in a bit detail Thanks On Thu, Dec 10, 2009 at 8:42 PM, Kumar Bibek coomar@gmail.com wrote: Copy the underlying layout xml, and change the width. Now use this changed layout for populating your spinner.

[android-developers] Re: Physics engines for Android

2009-10-10 Thread murali raju
Hey thank u very much Andre its helped me a lot. thank u. On Fri, Oct 9, 2009 at 11:53 PM, André andre.rab...@googlemail.com wrote: I've heard that somebody ported C++ Box2d physics engine to NDK which sounds quite good in terms of performance. Maybe check the NDK group, too?

[android-developers] Re: Problem in horizontal scroll in android

2009-09-16 Thread murali raju
Place a HorizontalScrollView with in an ScrollView or vice versa in the .xml file you will get both scrollbars. On Wed, Sep 9, 2009 at 8:56 PM, mudit mudit.a...@gmail.com wrote: hello... i am using a table layout in a screen. i need to have both horizontal and vertical scrolls. By default