[android-beginners] Adhoc net connection over Wi-Fi

2010-02-17 Thread ayush
Hi, I am trying to browse the net over Wi-Fi on my android developer phone. I have created an Ad-hoc connection on my Mac and want to connect the phone to this using Wi-Fi. The setup is working perfectly when I connect my iPod Touch to the Mac. However in the case of the ADP, I am unable to

[android-beginners] Re: from iPhone to android

2009-09-09 Thread ayush
although i havent used Quartz much on iphone, i think you'll get most of its functionality in the Canvas class of the android. this Class contains many methods to draw lines, circles, bitmaps, text etc. a related class is the Paint Class that allows you to specify the style of drawing - i.e.

[android-beginners] GestureListener events

2009-08-09 Thread ayush
i'm using the GestureDetector and GestureListener in a program. i want to have separate actions for the onFling and onScroll events. for a scroll event there is no problem - only the onScroll event is called. however for a fling event BOTH the onFling and onScroll events are being called. i tried

[android-beginners] Re: Is the emulator good enough for production?

2009-07-01 Thread ayush
a few more thoughts in favour of actual on-device testing rather than just emulators: 1) what happens to ur game when it is interrupted by an incoming call / SMS? 2) the touch events in the emulator are triggered by mouse-clicks. however on the device the user will use his fingers ... finger

[android-beginners] Re: Android Emulator Orientation on Macbook

2009-06-23 Thread ayush
use Control + F11 On Jun 21, 2:51 am, ed ed.atw...@gmail.com wrote: I know I've seen this question asked, but none of the answers seem to apply. I have a Macbook (not a MacbooPro) without numeric keypad, and I'm perplexed as to how to change the orientation of the emulator when it starts

[android-beginners] Re: Basic Layout

2009-06-23 Thread ayush
its hard to figure out without looking at your XML content. my guess is that you are using the fill_parent value for the layout_width of your linear layouts and the ImageView. replace this by wrap_content or alternatively specify the exact width in pixels that you want each of the 3 linear

[android-beginners] Re: how to create apk file in android ,like in j2me we create jar and jad files

2009-06-15 Thread ayush
assuming ur using eclipse with ADT, simply right-click on the project in the left panel, choose Android Tools = Export unsigned Application Package this will create the (unsigned) apk at the destination you specify. before loading this apk, it must be signed with your private key. you can

[android-beginners] Re: how to create apk file in android ,like in j2me we create jar and jad files

2009-06-15 Thread ayush
oops ... instead of section on Publishing your Application, read Signing your Applications On Jun 15, 3:32 pm, ayush ayushv2...@gmail.com wrote: assuming ur using eclipse with ADT, simply right-click on the project in the left panel, choose Android Tools = Export unsigned Application Package

[android-beginners] compatibility of an app across android versions

2009-06-13 Thread ayush
if an application is developed entirely on SDK 1.1, would it run (with no modifications) on a device with 1.5 installed? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] Re: Practical questions

2009-06-11 Thread ayush
hi, i've had a J2ME background and switched over to android a few months ago since nokia placed their (in)famous restrictions of Java Verified Certification for J2ME apps on the Ovi store. some thoughts on ur queries - 1. Looking at the documentation for Android it seems to me that the

[android-beginners] Re: Creating semi-transparent list items - possible?

2009-06-08 Thread ayush
if you want a traditional dialog-box look, then another option would be to implement the built in Dialog Theme on your Activity containing the ListView. also, you can override the standard Dialog Theme and make changes to the background colour, fonts etc. theres a short-and-sweet example on how

[android-beginners] Re: Hello, Android the book

2009-06-05 Thread ayush
i've purchased both the books - Hello Android and Busy Coders Guide and after two months (and 4 android applications developed) here are my thoughts - the Busy Coders Guide has been the single most useful resource during my brief stint with android. for a newcomer, it does a great job of

[android-beginners] Re: very very urgent need

2009-05-27 Thread ayush
there is an excellent example of how to read and write to a txt file on android in the following book - The Busy Coder's Guide to Android Development by Mark Murphy. it covers all aspects of this topic and is very easy to understand. it'll also serve as a good reference for other aspects of

[android-beginners] MotionEvent coordinates

2009-05-26 Thread ayush
to the above, out of all the points of contact between the finger and the screen, which points are returned by MotionEvent.getX() and MotionEvent.getY()? ~ayush --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: MotionEvent coordinates

2009-05-26 Thread ayush
, May 26, 2009 at 12:02 PM, ayush ayushv2...@gmail.com wrote: is it possible to get information regarding a touch event in terms of a Rect or a Region? i.e. when a user presses the screen, then the finger is actually touching a small region at the point of contact and not just one single point

[android-beginners] handling long touch / click in android

2009-05-25 Thread ayush
just fine with the onTouchEvent. i tried to propogate the fourth event to onLongClick but it doesnt work. ~ayush --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email

[android-beginners] storing values of an array

2009-05-20 Thread ayush
and accessed later? the option of using SQL seemed a little to extensive since the data is just a simple array. ~ayush --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email

[android-beginners] Re: Sprite imaging for 2D game programming

2009-05-18 Thread ayush
then it will solve all your problems. ~ayush. On May 17, 8:31 pm, Nicholas Radford nikradf...@googlemail.com wrote: Take a look at http://developer.android.com/reference/android/graphics/Canvas.html#d..., android.graphics.Rect, android.graphics.RectF, android.graphics.Paint)http://developer.android.com

[android-beginners] Re: Create a Button on a Canvas

2009-05-15 Thread ayush
i had tried a similar approach but it managed to get it to work. in fact even defining the button in XML didnt work. i had put up a message in this regard but got no response :( the workaround was something like this - in the activity being displayed, define the View (which has the canvas) and

[android-beginners] Fullscreen in Custom View

2009-05-04 Thread ayush
is there any method by which a custom view (eg a game screen) can occupy the full screen of the device? i.e. the menu bar at the top showing the application title, battery level, network strength etc is covered? ~thanks --~--~-~--~~~---~--~~ You received this

[android-beginners] Re: Android and Netbeans

2009-05-04 Thread ayush
i tried the same thing a few months ago. i managed to get the plugin installed and open up a new android project in netbeans. however the build kept failing. if i remember rightly, one of the forums mentioned that the netbeans plugin is unable to maintain the R.java file which is why the build

[android-beginners] AnimationDrawable not starting

2009-05-03 Thread ayush
i'm trying to use an AnimationDrawable for frame wise animation. the problem is that when i render it on screen, only the first image in the Drawable is displayed. the animationDrawable.isRunning() returns true, however the images are not animated. following is the XML file (called

[android-beginners] Game Development Tutorials

2009-02-20 Thread ayush
Hi, I am new to Android Development and have managed to instal the SDK. I am primarily interested in developing games for the Android Platform. Could someone please suggest tutorials specifically for game development i.e. the relevant APIs and architecture? I saw the LunarLander Source