æè¿、HTML5ã«è§¦ããæ©ä¼ããã、ãã®è¯ããä½ã¨ãªãä¼ãã£ã¦ããã®ã§、ä½ãããç°¡åãªã³ã¼ããæ¸ãã¦ã¿ãããªã£ã。ããã§、ã¡ã£ã¡ãããã©ãªãã、ã¨ããã®ã£ããã楽ããããã«Android端æ«ã使ããã¨ã«ãã。å
·ä½çã«ã¯、Android端æ«ã SL4A 㧠ã¦ã§ããµã¼ãã«ã㦠、HTML5ãã¤ã³ã¿ã¼ãã§ã¤ã¹ã«ãããçµµããBBSãPythonã§æ¸ãã¦ã¿ã。 BBSã§ã¯çµµã¨ããã¹ããæ±ããã¨ãã§ãã¦、ãããã¯Android端æ«ä¸ã§SQLiteã®ãã¼ã¿ãã¼ã¹ã§ç®¡çããã。å©ç¨è
ã®å©ä¾¿ãèãã¦、ååãªã©ã¯ã¯ããã¼ã§ä¿åãã。3Gåç·ãç¡ç·LANãªã©ã§æ¥ç¶ãããã¨ãèæ
®ãã¦、IPã¢ãã¬ã¹ãåå¾ã§ããããã«ãã。ã¾ã、æ¸ãè¾¼ã¿æã«ãµã¼ãã®Android端æ«ãæ¯åãã¦æ¸ãè¾¼ã¿ããã£ããã¨ãç¥ããã¦ããã。å ã¿ã«、NTTãã³ã¢ã®3Gåç·ã§ä½¿ãããã«ã¯、ã°ãã¼ãã«IPãæ¯ãããmopera Uãªã©ã®ãµã¼ãã¹ãå¿
è¦ã§、spã¢ã¼ãã§ã¯å©ç¨ã§ããªã。 å®éã«ä½ã£ã¦ã¿ãããã°ã©ã ã®ã¹ã¯ãªã¼ã³ã·ã§ãããåé ã«å
¥ãã¦ã¿ã。å¿
è¦æä½éã®æ©è½ãããªãã、ããã§ãæç« ã¨ç»åãä¿åã§ããã¡ããã¨ããæ²ç¤ºæ¿ã 。èã®æ ¹BBSã®ãããèããã¨éä¸ã®æããã。 以ä¸ã«ä»åä½æããã½ã¼ã¹ã³ã¼ããè¼ãã¦ãã。ãããªçãã³ã¼ãã§ãã¡ããã¨æ©è½ããã®ãä¸æè°ãªæãã 。 image_bbs.py # -*- coding: utf-8 -*- import sys,os,cgi,sqlite3,datetime import socket,fcntl from wsgiref.simple_server import make_server import android droid=android.Android() LIMIT=10 # æ大表示è¨äºæ°. DB_FILE='/sdcard/image_bbs.sqlite' P=8080 con=sqlite3.connect(DB_FILE) cur=con.cursor() cur.execute('CREATE TABLE IF NOT EXISTS bbs (id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, user TEXT, datetime TEXT, ima...
Good things. Bad things.