Custom drawing with fingers

by Stoyan Damov » Fri, 10 Oct 2008 16:15:08 GMT


Sponsored Links
 android-sdk-windows-1.0_r1\samples\ApiDemos\src\com\example\android\apis\graphics\FingerPaint.java




--~--~---------~--~----~------------~-------~--~----~



Custom drawing with fingers

by Arron » Fri, 10 Oct 2008 18:37:07 GMT


 I want to allow the user to paint/draw with their fingers.  Can
someone point me to the right direction to go? or a sample app that
has this capability?

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. In a Tab- programmatic button view's listener not firing

Hi guys,
i have an activity that creates tabs dynamically... so i use
tabcontentfactory for this.
in one of the tabs, i dynamically add a button like so.. (pseudo code)

somewhere in the tabcontentfactory class - override -
createtabcontent().....
{
button b=New button();
layout.addview(b);
.....
b.setclicklistener(xxxxx)

}


where xxxxx is a variable defiined in the activity of type
View.OnClickListener...with its onclick method..

But 'No Fire' on button press...
spend 4 hours already.. ANy ideas?

Thanks,
Anupam

-- 

2. Intent-Filter to redirect from WebView to application

Hi,

i'm trying to implement a twitter connection in an android app using
jtwitter (http://www.winterwell.com/software/jtwitter.php).

The OpenAuth authentification process opens an URL in a WebView, asks
the user to allow access to his/her account, and redirects to a
specific URL i can setup in the twitter application.

As far as i've understood, i need to implement an Intent-Filter for
the Activity that launches the WebView, so the WebView redirects back
to my application, and not to the URL in the Browser.

I'm not able to redirect back to my app unfortunately. Here's the
intent-filter i've setup in my AndroidManifest.xml:


<activity android:name=".android.activity.PlayerActivity">
    <intent-filter>
      <action android:name="android.intent.action.VIEW" />
      <category android:name="android.intent.category.DEFAULT" />
      <category android:name="android.intent.category.BROWSABLE" />
      <data android:scheme="http" android:host="www.example.com" />
    </intent-filter>

        </activity>

The URL which twitter redirects to is "http://www.example.com" (of
cours in the reall app it's our domain). However, the intent-filter
doesn't seem to work, as the WebView simply opens http://www.example.com
in the browser.

Has anyone a hint what i'm missing out here?


thanks!

-- 

3. NPAPI plugins

4. Android Emulator 2.3

5. How to record a audio in Android and save it in Database ?

6. Unable to display tiles on MapActivity

7. How to code on KeyEvent.KeyCodeBack when on tab view..