Archive for the Category »android «

My job was to bring a swf streaming to my android mobile (g1)

As we know there is no Flash Player on the Android (G1) i had to convert it to a mp4.
Unfortunatly when I placed the mp4 on my sd-card i was able to play it on my device, but when i placed it on my server and loaded that file from there to my Android it told my “Format is not supported”.

Long Story, shorter Result:

1.

I use now the Software SWF to Video Converter from iWiSoft (get it here) to convert my swf to a mp4 file.
- I choose the swf, choose automatic converting and 480×320 (IPhone Size).

This  Mp4 plays on Android Sd-Card. To make it playable also from my Server:

2.
I upload this Mp4 just simple to YouTube and there is a new Feature you can download,  every Hour
two of your Videos as Mp4, I  just download this Video as MP4 from Youtube again.
NOW! It works also perfect when I place it on my Server and stream it to my Android.

I talked with the People from IwiSoft and gave them some hints, hopefully their new Software Update in October will be able to convert a SWF directly into a progressiv streaming Android Mp4.

But for now this what a wrote above is a fine working Solution to convert SWF to MP4 for Android.

Have Fun

Chris

Category: android  Leave a Comment

Hi, I guess some of you like to get a simple demo how to listen to gestures on Android.
I could write now a lot of code, but more simple, just DOWNLOAD the archive I made for you with a simple Demo Gesture APP. Its written under sdk 1.5 but also works in sdk 1.1

But anyhow… this could be very useful to know.
@Override
public boolean dispatchTouchEvent(MotionEvent me) {

gestureScanner.onTouchEvent(me);
return super.dispatchTouchEvent(me);
}

when you do that, the demo listener works also on buttons ! I was looking quit long for that to know.. but its all included in the demo.
greets
chris

Category: android  Leave a Comment