[android-beginners] Problem with scrollbar while dragging

2010-04-10 Thread mmkr
Hi all,

 I have a layout with scrollbar

  ScrollView android:id=@+id/scroll
 android:layout_height=455px
 android:layout_width=fill_parent
LinearLayout  android:id=@+id/relative

android:layout_height=wrap_content

android:layout_width=wrap_content
   /LinearLayout
/ScrollView

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 Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using remove me as the subject.


[android-beginners] 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 Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] 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 Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] how to import packages in 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 Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] unable to connect Internet through emulator.

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 Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] hot to view page source?

2009-09-07 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 Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] how to download an image?

2009-09-05 Thread mmkr

Hai,

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] how to download an image?

2009-09-05 Thread mmkr

Hai,

I'm developing an application where i need to auto download an image
(any random image, preferred if first image of the first page) from
google image search(the search name will be given) directly on to my
avd card.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---