冉冉影统的设计与实现

目录
ABSTRACT
Taking into account the current development of the mobile terminal, in the theater project, just to complete the commercialization of the software, convenience and other features of the preparation. So most mobile movie ticketing system for the beautification of the software have not done a thorough research. I chose the theater ticketing system as my topic, and detailed research and development of the theater system landscaping. The biggest feature of my design is that it can make the picture move, like the perfect combination of games and commercial software. Using this system can be realized in the mobile terminal is scheduled to current hit the cinema film, can be user-friendly movie anytime, anywhere. After the login software, click the movie poster, you can *好棒文|www.hbsrm.com +Q:  3_5_1_9_1_6_0_7_2 
view the details of the film. Here is the content of the movie, the fare, etc The film after the election to the seat selection link, in the center of the phone will appear a narrow version of the theater seating table, choose your favorite location can be a single. The user has realized the personal information input and the revision, and the ordering movie has carried on the hook, is easy to inquire. The landing interface is the main background of the animation playback is the way to show, with the best experience, the most convenient operation to bring the user a general feeling.
Keywords: cinema, dynamic, booking.
引言
(一)课题背景
电影的产生改变人们的生活和娱乐习惯。去影院看电影也成为人们平时休闲娱乐、交友、学习的重要内容。生活习惯的改变影响着影院的发展。影院的规模越来越大,经营管理也越来越受到影院经营者的关注。
随着计算机技术的发展,特别是计算机软件技术与数据库技术的发展,使用人们的生活与工作方式发生了很大的改观。数据库始于20世纪60年代,经过40多年的发展,现在已经形成了理论体系,成为计算机软件的一个重要分支。数据库技术体现了当代先进的数据管理方法,使计算机的应用真正渗透到国民经济各个部门,在数据处理领域发挥着越来越大的作用。近年来计算机发展最新领域开始转移到移动端上面。
传统的影院售票模式是人工的,一旦影院规模扩大,多场次、多包间,业务越来越细化,这种传统的售票模式就不能适应。必须有一种快捷、方便的经营模式出现,利用移动端软件的强大功能,就可以很容易完成这些任务。并且还能提供更多的更人性化的服务,比如预订票,更换场次、推迟场次,更换包间、退票,检票等等,如果是传统的人工售票模式,将很难完成。接下来我就将介绍我使用Android语言编写的影院购票系统。
需求分析
(一)SQLITE数据库的设计
之所已选择SQLITE数据库,是因为相比于其他数据库,SQLITE数据库具有体积小,便于操作等优点,非常适合中小型APP的开发制作。下面是在写这个程序之前所设计要编写的数据表
表1-1 影片信息表

表1-2 用户信息表
下面是创建这两个表的代码:
private SQLiteDatabase db;
private static final String CREATE_SQLuser = "create table usertable"
+ "(_id integer primary key autoincrement," + "username text," //创建数据库语句
+ "password text)";
private static final String CREATE_SQLperson="create table persontable"
+ "(_id integer primary key autoincrement," + "username text,"
+"videoname text,"+"hallname text,"+"position text)";
每一个数据库中都会有对数据的增加,删除,修改,查询的操作,这些的话在代码里也是有的,这里就不做相应的介绍了。主要讲下,两张表里的数据是如何衔接的,也就是影片和会员是如何联系起来的。其实,在CREATE_SQLuser表里有一个usename字段,而在CREATE_SQLperson中也有一个一个usename字段,两个进行逻辑判断就可以知道是哪个人订购了哪部影片。
系统设计
登陆功能
1.登录界面
首先,介绍一下关于登陆的界面,登陆界面包括“用户名称”和“用户密码”两个填写框,“注册”和“登陆”两个按钮,以及一个单选框“记住密码”。在软件第一次打开时,默认的情况下,两个填写框是空白的,单选框也是空着的。直接点击“登陆”按钮的话,系统会从“用户名”的填写框中获取当前的值,并根据当前的值作出以下判断

版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/rjgc/1698.html

好棒文