Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-15 Thread Jeremy Dagorn
You got many snippets of code. Have you tried it ou? Also, check on the Android documentation, there is a part called FingerPaint. Here is the link : http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html By modifying a few this snippet

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread Sadhna Upadhyay
Hi everyone, I am making an app in which i have to to draw circle with the help of finger(on touch listener) in android , can anyone help me Thanks and Regard sadhana -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread Amey Bapat
public class Home extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(new MySurface(this)); } } heres da code fr MySurFace public

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread ajaykumar kanchak
to draw the circle on touch with the finger use this code this is with the gesture listener public class GesturesActivity extends Activity implements OnGesturePerformedListener { private GestureLibrary mLibrary; @Override public void onCreate(Bundle savedInstanceState) {

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread asheesh arya
just go through this link might be it helpful for you!1 http://code.google.com/p/krvarma-android-samples/source/browse/#svn%2Ftrunk%2Fmultitouchsample -- 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] Landscape Portrait and more... advanced question

2012-06-14 Thread gurdev singh
Use this import android.app.Activity; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; public class Draw extends Activity { DrawView drawView; @Override public void onCreate(Bundle savedInstanceState) {

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread Sadhna Upadhyay
Thanks Guys, for giving me answer. i want to make circle with the help of finger,if i use path ()then line is jig jack,but i want draw circle with the help of draw arc() but m not able to do this,pls help me if any of you have any idea. -- You received this message because you are

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread JackN
You have it. Use the above code and adapt it to use arc (capture the ups and downs and use the difference for the diameter). or perhaps someone will code it for you and post it here. On Thursday, June 14, 2012 10:41:58 AM UTC-7, Sadhna Upadhyay wrote: Thanks Guys, for giving me

[android-developers] Landscape Portrait and more... advanced question

2012-06-13 Thread Mark Cz
Hi all, I am writing an SDK that shows a EULA dialog in portrait mode upon starting the user application. My EULA is an activity with the following manifest activity android:name=.EulaActivity android:screenOrientation=portrait