[android-developers] Render Script samples does't show anything

2011-02-27 Thread mmkr
Hi all,

   I tried to run the render script samples, but it doesn't show
anything and crashes.
Did any one face this issue? Or is there any other way to run those
sample ?

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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] get all applications supporting a specific format.

2010-08-06 Thread mmkr
HI all,

  Is there any way i can get all the applications installed on the
device that support a specific format. Like if i have a docx file and
3 applications on the device that support it, can i get those 3
application names so that the user can choose which one to launch.

Thanks in advance.

-- 
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] change scroll speed in gallery.

2010-07-16 Thread mmkr
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 flings
it.

Thanks in advance.

-- 
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 run .exe in android and what is opengl o/p format?

2010-04-20 Thread mmkr
Hi all,

  I'm new to opengl. Is it possible to run the output file of
opengl program implemented on desktop ( ie.. .exe file )
in android.  Another doubt is what is format of opengl output in
android, i mean for windows it is .exe, so what in android.

Thanks in advance.

-- 
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] Disable scroll in webview

2010-04-12 Thread mmkr
Hi all,

Is it possible to disable the scrollbar in the webview? If
possible how?

-- 
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

To unsubscribe, reply using "remove me" as the subject.


[android-developers] number of lines in a webview Urgent

2010-04-12 Thread mmkr
Hi all,

 I'm using webview which loads a html file. When the html file
is too large the user has to scroll down all the time. I want to
implement it similar to a e-book reader ie.. as pages, by placing a
button so that when clicked it shows the next page. But i am unable to
remove the scroll bar of the webview.  When i reduce the width, the
webview width decreases but the scroll bar still remains. How can i
disable the scrollbar. Can i control the number of lines to be
displayed in a webview.

Please help its very urgent

Thanks in advance.

-- 
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

To unsubscribe, reply using "remove me" as the subject.


[android-developers] Problem with scrollbar.

2010-04-10 Thread mmkr
Hi all,

  I have a layout with scrollbar

   
 

 

 I add some views to the layout. the views can be
dragged( like in home screen ). My problem is when the view is dragged
vertically it works fine, but while dragging it horizontally the
scrollbar moves not the view. Since it the parent for the layout i am
not able to disable it. Is there any way to disable the scrollbar when
the view is being dragged. Or any other solution?

Thanks in advance.



-- 
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

To unsubscribe, reply using "remove me" as the subject.


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

2010-03-19 Thread mmkr
Hi all,

In my application i want to display all the properties of the
sdcard like sizeof sdcard, used space in sdcard , free space etc.. I'm
able to get the used space of sdcard, but unable to get the total size
of sdcard ( size given at the creation time of AVD ). How can i do
that?

Thanks in advance.

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-developers] Custom Spinner

2010-03-09 Thread mmkr
Hi all,

The default drop down view of the spinner occupies the entire
width of the screen. I tried to create a custom spinner which occupies
only some portion of the width of the screen, but I'm unable to do. I
want to see the objects behind the drop down. Here is what i tried, I
changed the drop down view as,

 
adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item);
instead of

 
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);

 In the layout.simple_spinner_dropdown_item.xml file I specified the
width, but it still occupies the entire width. Can any one help. Is
there any other view which is similar to spinner but I should be able
to see the background objects like a alert dialog. Is it really
possible? Please reply.

Thank you.

-- 
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] Dragging a particular view in a viewgroup

2010-02-23 Thread mmkr
 Hi,

  I want to create a  custom layout(View group) in which dragging of
a particular view is possible like that in home screen.I tried by
creating custom layout in which I added views but i'm not able to drag
views.So if any one knows the solution please suggest me.

 thanks in advance

-- 
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] differentiating single click and long click.

2010-02-18 Thread mmkr
Hi all,
I have an array list of a view in my application. The view has
both single click and long click
listeners. To detect a particular view that is selected I'm using
isPressed() for single click listener. Now how can I detect that a
particular view is longclicked from the array list of view?

thanks in advance

-- 
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] Exiting an onDraw()

2010-01-21 Thread mmkr
Hi,
 In my application I want to exit the onDraw method when a certain
condition is achieved, But the method keeps on calling. How can I exit
from onDraw()?

Thanks in advance.

-- 
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] Defining width for spinners options.

2009-12-10 Thread mmkr
Hi,

 I am using spinners in my application, but when I click the drop
down icon the options coverthe entire width of the screen. But I want
the options to cover only some part of the screen(ie.. width). By
using LayoutParams I am able to change only the spinner icon width but
not the options width. I even searched for it,but of no use. Any one
help me, I need it very badly.

Thanks in advance.

-- 
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] Exceptions in box2d through NDK.

2009-10-13 Thread mmkr

 I'm trying to implementing Box2D through NDK. But getting the
following exception,

10-14 10:59:22.983: ERROR/AndroidRuntime(745): Uncaught handler:
thread main exiting due to uncaught exception
10-14 10:59:23.042: ERROR/AndroidRuntime(745):
java.lang.RuntimeException: Unable to start activity ComponentInfo
{comNI.Box2dthrNDK/comNI.Box2dthrNDK.Box2dthrNDK}:
java.lang.NullPointerException

I am trying to access this method,

public void createWorld(float minX, float minY, float maxX,float maxY,
float gravityX, float gravityY);


I'm calling  from my view class as,

createWorld(0,0,50,50,0,10);

public native void createWorld(float minX, float minY, float maxX,
float maxY, float gravityX, float gravityY);

Any one please help me. This is my first app in NDK.

Thanks in advance.
--~--~-~--~~~---~--~~
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] Physics engines for Android

2009-10-08 Thread mmkr

Hi,

 I want to try any physics engine for 2D and 3D in Android. So far
I have learnt that JBullet and JBox2d can be used, and JBox2d is a
better one among them. But there in not much available documentation
available and it even uses some concepts which are not supported by
Android like Applets.Even some posts in various forums suggested that
there are still no ideal physics engines available for Android. Are
there any plans for implementing specific physics engines for Android?
Can OpenGL be used for these ?

   Help me out in deciding which physics engine is best suitable
for Android.

Thanks in advance.
--~--~-~--~~~---~--~~
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] tableLayout

2009-09-15 Thread mmkr

Hai,

In my application I need to use  tableLayouts. Either i need to create
array of table layouts so that it would be easy to give a id for each
or use a single table layout each time and change the id( unique id is
the most required).  I created a default tablelayout in .java file. My
doubt is can I create any array of tableLayouts(in .java file), so
that I can create unique id for each tablelayout. If there is no way i
can create array of layouts is there any other way i can create a
unique id for the same table layout each time it is called.

Thank you in advance
--~--~-~--~~~---~--~~
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] image in Edittext

2009-09-12 Thread mmkr

Hai Sir,

I am developing an application in which i want to insert
image in editext with wrap feature
will any body help me , with some example
--~--~-~--~~~---~--~~
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] importing java.image.io into android

2009-09-11 Thread mmkr

Hai,

In my application in need to use the java.image.io package, but it is
not suppoted by android. Is there any way i can import packages into
android. Please help me.

I need to do the image processing in my app, which can be done through
image.io. If it is not really possible please let me know. It would be
helpful for me.

Thanks in advance.
--~--~-~--~~~---~--~~
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 size of emulator?

2009-09-09 Thread mmkr

Hai,

How can i get the screen size of my emulator?
i used

Display display = ((WindowManager) getSystemService
(Context.WINDOW_SERVICE)).getDefaultDisplay();
int width = display.getWidth();
Log.i("width",""+width);

But it gives me different values each time. How to find the exact
value?
--~--~-~--~~~---~--~~
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] unable to access internet through emulator in linux

2009-09-08 Thread mmkr

Hi,

I'm unable to connect to the Internet through emulator in linux
( ubuntu 9.04 ). It shows me "web page not available". But works fine
in windows. Can any one tell me why it is so or any solution? please
help.

Thanks in advance.
--~--~-~--~~~---~--~~
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 view page source and what is @ hide?

2009-09-08 Thread mmkr

Hai,

In browsers when I type view-source: before any address it gives me
the page source. But i am not able to do it in android. It gives me
"web page not available" . Can any one please tell me why it is giving
that and any other way for me to view the page source in android?

One more doubt is what exactly is "@hide", even if I commented
it( /** @hide */) it is having some meaning( it is not visible in
another classes ). When I deleted it its working fine, it is visible.
what is the reason?

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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---