1- I want to build a file content with extension say ".ccc" and I want to let any file browser such as ASTRO to open this file by lunching my activity
2- I want this file to be found in phone galary
Can any one help??
The first part of your question has already been answered here: Android intent filter: associate app with file extension
I have not tested this, but you should be able to add an icon in the intent filter (add android:icon
the the code you already have):
<intent-filter android:icon="drawable resource"
android:label="string resource"
android:priority="integer" >
. . .
</intent-filter>
http://developer.android.com/guide/topics/manifest/intent-filter-element.html
I don't think you will be able to show swf files in the image gallery for now. I may be wrong though, since there does not seem to be much documentation about it.