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
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
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
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) {
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
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) {
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
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
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
9 matches
Mail list logo