当前位置:  编程技术>移动开发
本页文章导读:
    ▪应用Dreamweaver 5.5 + JQuery + PhoneGap 开发手机应用程序        使用Dreamweaver 5.5 + JQuery + PhoneGap 开发手机应用程序   --开发环境的搭建  在当前技术形势之下学什么技术的“性价比”最高? 很多人一致认同的答案是:Javascript。性=用途广泛性(跨前后端.........
    ▪ 【转】JQuerymobile 官方 资源跟插件        【转】JQuerymobile 官方 资源和插件   In this section, we have gathered useful resources that will help you learn more about jQuery Mobile, find tools to develop jQuery Mobile application designs and mockups, tutorials and tools to guide you.........
    ▪ UITextField的圆角跟常用样式       UITextField的圆角和常用样式 先说下最近遇到的一些小问题, 首先这些小问题是不影响应用的, 只是在视觉上有点小不爽 1. UITextField四周的圆角 textField.layer.cornerRadius = 5.0    需要导入框架Quartz.........

[1]应用Dreamweaver 5.5 + JQuery + PhoneGap 开发手机应用程序
    来源: 互联网  发布时间: 2014-02-18
使用Dreamweaver 5.5 + JQuery + PhoneGap 开发手机应用程序

 

--开发环境的搭建 

在当前技术形势之下学什么技术的“性价比”最高? 很多人一致认同的答案是:Javascript。性=用途广泛性(跨前后端与各种平台),价=学习的代价(耗费时间与难易程度)。所以是很值得投资时间学习的。尤其是有志于投身IT行业的在校学生,学习Javascript及其相关框架是很好的选择。 

我们知道一般情况下使用Objective-c开发iPhone平台的应用,用Java开发Android平台的应用,用Silverlight开发Windows Phone平台的应用,但如果你想开发一个在以上的平台都可以运行的应用,你是不是得学三种语言?那样生活岂不是很惨? 

还好,我们有HTML5+JQuery+PhoneGap框架,可以让我们只学一种技术来开发一个在所有手机平台、平板电脑、包括各种PC平台都可以运行的软件! 

本文首先介绍开发环境的搭建和程序的调试。

Dreamweaver 5.5 下载地址:

http://trials2.adobe.com/dlm/AdobeProducts/DRWV/11_5/win32/Dreamweaver_11_5_LS3.exe 

升级补丁下载地址:

http://www.adobe.com/support/dreamweaver/downloads_updaters.html

 

Adobe 在2011年底推出的Dreamweaver 5.5 可以用两个字来总结:给力。安装后,里面的功能确实令人眼前一亮!我们来看看其中几个很猛的功能: 

1.集成JQuery 和 PhoneGap开发环境:

安装后,Dreamweaver就自带了JQuery和PhoneGap,这样就省去你很多时间分别去下载和繁琐配置。

你可以在在“插入”菜单里找到很多的JQuery 控件库,可以很方便的插入到代码或设计视图里。

 

2.多屏幕预览面板

 

可以如上图所示实时更改设计视图的尺寸和方向,以便检查开发的应用在各种尺寸下的显示效果。

 

3.可自动联网下载Android和iOs 的SDK,并帮你完成配置工作。

也就是说,只要安装了Dreamweaver,这些SDK都可以顺便帮你下载并配置安装好。因为iOs SDK不支持在Windows运行,所以你可以在Windows系统里使用Android模拟器实时模拟你写的应用,而在Mac机器上,你可以同时使用Android和iPhone的模拟器来调试你的应用!

我使用的是Windows, 打开“站点/移动应用程序/配置应用程序框架”,可看到如下界面,

点击“简易安装”按钮就可以自动联网并下载Android SDK了。

如果你已经安装好Android的SDK,那么,只需告诉Dreamweaver SDK的路径在哪就可以了。

 

顺便说一下,如果你自己下载SDK,以Android系统为例,你需要下载如下内容:

1.Java JDK

下载地址:http://www.oracle.com/technetwork/java/javase/downloads/index.html

2.Android SDK工具

下载地址:http://developer.Android.com/sdk/

 

安装后,点击Dreamweaver内的“站点/移动应用程序/生成和模拟”就可以启动模拟器来调试你开发的应用,如下图所示:(帅啊!)

 

 

OK, 开发环境搭建完成了,基本没有很多的配置内容,安装完Dreamweaver就搞定一切!我们来动手检验下所取得的成果吧。

 

我们按以下步骤,几分钟内就可以测试一个很简单的应用:

一.  首先我们新建一个站点

点击菜单中的“站点/新建站点”

输入站点名称,选择一个文件夹作为站点存放的路径。

 

二.新建一个JQuery+PhoneGap的应用。方法如下图所示:

点击“文件/新建”,选择“示例中的页/Mobile起始页”,选择”JQuery Mobile(PhoneGap)”

文档类型选择“HTML5”

 

点击“创建”,Dreamweaver自动帮你创建了一个应用开发的模版。

把这个模版保存在刚才创建的站点中,并命名为index.html

不可思议的事情发生了,Dreamweaver自动把JQuery和PhoneGap框架所需要的所有Javascript文件全部拷贝到了该站点中!

 

下面我们就可以开始看看这个index.html在手机模拟器中是什么样子了。

 

调试应用程序变得非常的容易:

  • 可以在已安装的浏览器中预览;
  • 可以选择在Device Central 内预览;
  •  

    如下图所示:一个简单的html页面在模拟器中摇身一变,成了很专业的手机应用程序。这些都得益与JQuery Mobile框架内置的控件。

     

     

    让我们看看在Android模拟器中是什么样子的吧:

    点击Dreamweaver内的“站点/移动应用程序/生成和模拟”就可以启动模拟器来加载这个应用程序:

    最后提示生成成功:

    更不可思议的事情发生了!Dreamweaver自动把你的应用打包成可以在真实手机上安装的安装包,并保存在桌面上!你可以在相关文件夹内的Bin文件夹中找到 “应用程序名称-debug.apk”文件,这个就是安装包了。你可以把你安卓平台的手机连接电脑的USB口(充电器去掉充电器的头就是数据线了),把这个文件拷贝到你手机的SD卡里,就可以点击安装。

    这里需要说明一下: 这个文件是debug模式的文件,只能通过SD卡安装在自己手机上自娱自乐,如果需要上传到应用商店,你还需要给这个文件签名。

    非常的遗憾,目前Dreamweaver还无法实现自动签名,Dreamweaver似乎也意识到这一点,生成的安装包是支持Eclipse导入的。你可以用Eclipse把安装包导入,重新导出一个签名的安装包即可。

     

    这时候,你可以在模拟器找到你预先定义的图标,用鼠标点击模拟器进入你的应用了。

     

    注:手工安装apk到模拟器的方法:

    把生成的apk拷贝到 C:\Program Files\Android\android-sdk\platform-tools 目录下。

    点击开始/运行,输入CMD进入DOS,一路CD到

    C:\Program Files\Android\android-sdk\platform-tools

    输入Adb install 你的应用名称.apk,如下图所示:


        
    [2] 【转】JQuerymobile 官方 资源跟插件
        来源: 互联网  发布时间: 2014-02-18
    【转】JQuerymobile 官方 资源和插件

     

    In this section, we have gathered useful resources that will help you learn more about jQuery Mobile, find tools to develop jQuery Mobile application designs and mockups, tutorials and tools to guide your through the development of simple or more complex applications and related articles.

    Featured sites | Books | Apps & Frameworks | Plugins | Extensions | Tools | Themes | Articles & Tutorials

    Featured jQuery Mobile sites from jQMGallery.com

    You will find below a great sample collection of Mobile sites built with jQuery Mobile. More examples can be found in the jQM Gallery.

    OpenTable Ikea Sweden Khan Academy Disney World Slideshare Box.net Stanford American Century Rugby World Cup Take Me Fishing Ryland Homes Moulin Rouge

    Books “Master Mobile Web Apps with jQuery Mobile”
    by Matt Doyle,
    Elated Books “jQuery Mobile: Up and Running”
    by Maximiliano Firtman,
    O’Reilly Media “jQuery Mobile”
    By Jon Reid,
    O’Reilly Media “jQuery Mobile First Look”
    by Giulio Bai,
    Packt Publishing “Adobe Dreamweaver CS5.5: Designing and Developing for Mobile with jQuery, HTML5, and CSS3”
    by David Powers,
    Adobe Press “Using the CSS3 Mobile Pack for Adobe Fireworks CS5”
    by Jim Babbage,
    Peachpit Press “Pro jQuery Mobile”
    by Brad Broulik,
    Apress “Sams Teach Yourself jQuery Mobile in 10 Minutes (Sams Teach Yourself — Minutes)”
    by Steven E. Holzner,
    Sams “jQuery Mobile Web Development Essentials”
    by Raymond Camden and Andy Matthews,
    Packt Publishing

    Apps & frameworks
    • PhoneGap – tool to wrap jQuery Mobile code for native app deployment
    • Codiqa – rapid jQuery Mobile app prototyping
    • Handheld Designer – drag and drop tool for building and hosting jQuery Mobile apps
    • Application Craft – drag and drop tool for building jQuery Mobile apps
    • Proto.io – drag and drop page builder
    • Tiggzi – cloud-based drag and drop tool for building jQuery Mobile apps connected to any REST API
    • NS Basic/App Studio – drag and drop tool for building jQuery Mobile apps
    • MobDis – drag and drop tool for building jQuery Mobile apps
    • Mobjectify – tool for building jQuery Mobile app mockups
    • Trigger.io – Mobile engine for web devs: framework for building native mobile apps using HTML5 and jQuery Mobile
    • M-Project – MVC framework based on jQuery Mobile
    • Rhomobile – enterprise mobile app framework
    • Neptune Application Designer – SAP HTML5 Designer optimized for jQuery Mobile for SAP Mobility applications
    • Octomobi – Online tool to create webapps with maps, image gallery and RSS feed in jQuery Mobile
    • Adaptor for AngularJS
    • jqmPHP – package of PHP classes for generating jQM markup
    • Drupal theme – theme for jQuery Mobile
    • Seaside (SmallTalk) – a jQuery Mobile implementation
    • Pyramid – Starter scaffolding for creating a jQuery Mobile Pyramid application

    3rd party plugins

    These are all jQuery Mobile compatible plugins, many use the theme framework, auto-initialization and data- attribute configuration features or core mobile widgets.

     

     

    Pagination

     

    PhotoSwipe

     

    Diapo slideshow

     

    Bartender

     

    Google Maps

     

    Mobiscroll

     

    Datebox

     

    Android-like date picker

     

    Leaflet’s mobile demo

     

    Simple Dialog

     

    Actionsheet

     

    Multiview

     

    Splitview

     

    Swipe menu

     

    Swipe to delete

     

    960 grid for jQuery Mobile

    3rd party extensions

    These are 3rd Party extensions that add capabilities to existing functionality.

    • jQueryMobile-Rails – Incorporates the jQuery Mobile assets into your Rails application
    • Twitter Bootstrap jQuery Mobile Theme – A jQuery Mobile theme based on Twitter Bootstrap
    • jQuery Mobile Icon Pack – Extra icons for your jQuery Mobile project
    • AppBoilerplate – A jQuery mobile application boilerplate aimed at web application and PhoneGap developers including an OS based theme switcher and full plugin support
    • cordova-jquerymobile-boilerplate – Phonegap (cordova) & JQuery Mobile Boilerplate
    • JQuery Mobile Metro Grails Plugin – An experimental Grails project using Metro UI HTML5-based theme on top of JQuery Mobile that mimics Windows Phone 7 native look and feel
    • Router – Router/controller for jQuery Mobile that adds support for client-side parameters, regexp-based routes, and can be used with Backbone.js or Spine.js
    • Subpages – Allows multiple pages to be loaded in with a single request
    • Selective DOM caching – Allows pages to be selectively cached using the data-dom-cache attribute on each page. A custom pageshow event handler determines whether to remove the previous page.

    Tools
    • jQuery Mobile stencils for OmniGraffle
    • jQuery Mobile stencils for Visio
    • bookmarklet for debugging jQueryMobile page navigation problems
    • jQuery Mobile Reference 1.1.0 zApp 3.0

    Themes
    • ThemeRoller for Mobile
    • iOS Theme by Taitems
    • jQuery Mobile Metro Theme for WP 7.5

    Articles & Tutorials
    • Creating jQuery Mobile website themes in Fireworks  Article   Tutorial 
      Adobe Developer Connection, Published on May 7th, 2012 by Michael Dominic
    • Enhanced jQuery mobile support  Tutorial   Video 
      Adobe TV, Published on May 6th, 2012 by James Williamson
    • Introducing the jQuery Mobile Metro Theme  Article   Tutorial   Video 
      ScottLogic, Published on April 30th, 2012 by Colin Eberhardt
    • jQuery Mobile theme integration  Article 
      Mobiscroll, Published on April 30th, 2012 by Levi
    • Please welcome. Metro style theme for jQuery Mobile.  Video 
      Vimeo, Published on April 27th, 2012 by Sergei Grebnov
    • More news from MS Open Tech: announcing the open source Metro style theme for jQuery Mobile  Article 
      interoperability@microsoft, Published on April 26th, 2012 by Abu Obeida
    • jQuery UK 2012 – jQuery Mobile Keynote – Todd Parker  Video   Presentation 
      Vimeo, Published on April 24th, 2012 by White October (see also the conference presentation)
    • Implement responsive design with jQuery Mobile and CSS3  Article   Tutorial 
      IBM Developer Works, Published on April 24th, 2012 by Kris Hadlock
    • Building jQuery Mobile App with StackMob Backend API  Tutorial 
      Maxa Blog, Published on April 18th, 2012 by Max Katz
    • jQuery Mobile 1.1: Smoother, Faster, Nicer  Article 
      Elated, Published on April 16th, 2012 by Matt Doyle
    • jQuery Mobile Development Guide  Tutorial 
      Pinehead.tv, Published on April 16th, 2012 by Anthony James
    • Persistent Navigation in JQuery Mobile  Tutorial 
      intechnica //Blog, Published on March 30th, 2012 by Andy Still
    • jQuery Mobile Autocomplete now available  Article 
      andymatthews.net, Published on March 27th, 2012 by Andy Matthews
    • Example of Autocomplete in jQuery Mobile  Tutorial 
      Raymond Camden’s Blog, Published on March 27th, 2012 by Raymond Camden
    • Coding quickie: jQuery Mobile and dynamically created content  Article   Tutorial 
      Electric Foundry, Published on March 27th, 2012 by Peter Virtanen
    • Developing mobile applications with PhoneGap and JQuery Mobile  Article   Tutorial 
      Pieter De Rycke’s Blog, Published on March 26th, 2012 by Pieter De Rycke
    • jQuery Mobile is Awesome Part 2: Pages and Transitions  Article   Tutorial 
      Codiqa Blog, Published on March 18th, 2012 by Max Lynch
    • jQuery Mobile Best Practices – a one year retrospective  Article   Tutorial 
      Roughly Brilliant, Published on March 14th, 2012 by Shane Gliser
    • Using jQuery Mobile with MVC and Netduino for Home Automation  Article   Tutorial 
      The Code Project, Published on March 14th, 2012 by Dan Thyer
    • jQuery Mobile Tutorial: Creating a Restaurant Picker Web App  Tutorial 
      Noupe, Published on March 8th, 2012 by Stephanie Walter
    • Active button in navbar in Jquery Mobile  Tutorial 
      Yousef Jadallah’s Blog, Published on March 6th, 2012 by Yousef Jadallah
    • Using Backbone.js with jQuery Mobile  Article   Tutorial 
      Christophe Coenraets’ Blog, Published on March 5th, 2012 by Christophe Coenraets
    • jQuery Mobile 101  Tutorial 
      Ubelly, Published on February 27th, 2012 by Shaun Dunne
    • Getting URL parameters in a jQuery Mobile page  Tutorial 
      Raymond Camden’s Blog, Published on February 24th, 2012 by Raymond Camden
    • Build Mobile-Friendly HTML5 Forms with ASP.NET MVC 4 and jQuery Mobile  Tutorial 
      MSDN Magazine , Published on February 23rd, 2012 by Rachel Appel
    • jQuery Mobile Keynote, Presentation by Todd Parker – jQuery UK Conference  Presentation 
      Speaker Deck, Published on February 11th, 2012 by Todd Parker (see also the conference video)
    • Adding Mobile Views to your Grails Applications with JQuery Mobile: A Real Life Example  Tutorial 
      Tomás Lin’s Programming Brain Dump, Published on February 11th, 2012 by Tomás Lin
    • From a List to a Details View using jQueryMobile and Backbone.js  Tutorial 
      The Other Steve Smith, Published on February 7th, 2012 by Steve Smith
    • Please welcome jQuery Mobile Boilerplate  Article 
      andymatthews.net, Published on February 2nd, 2012 by Andy Matthews
    • Building Great Mobile Sites Quickly with jQuery Mobile  Video   Presentation 
      Webvanta, Published on February 2nd, 2012 by Michael Slater and Christopher Haupt
    • jQuery Mobile, HTML5 Mobile App Connected to Parse Mobile Backend  Tutorial 
      Maxa Blog, Published on February 1st, 2012 by Max Katz
    • From a List to a Details View using jQueryMobile and Backbone.js  Tutorial 
      Chariot Solutions, Published on January 30th, 2012 by Steve Smith
    • jQuery Mobile – What You Need to Know  Tutorial 
      1st Web Designer, Published on January 30th, 2012 by Rochester Oliveira
    • jQuery Mobile Tutorials  Tutorial 
      Miami Coder, Published on January 16th, 2012 by Jorge
    • jsRender JSON APIs and jQuery Mobile  Tutorial 
      Roughly Brilliant, Published on January 3rd, 2012 by Shane Gliser
    • How To Improve Mobile Commerce SEO Using JQM  Article   Video 
      Search Engine Land, Published on January 2nd, 2012 by Sherwood Stranieri
    • How to use jQuery Templates and JSON APIs with jQuery  Presentation 
      Roughly Brilliant, Published on December 15th, 2011 by Shane Gliser
    • Introduction to jQuery Mobile  Tutorial 
      Raymond Camden’s Blog, Published on December 15th, 2011 by Raymond Camden
    • Visual Mapper: jQuery Mobile to REST Services  Tutorial 
      Maxa Blog, Published on December 15th, 2011 by Max Katz
    • jQuery Mobile Events Diagram  Article 
      Published on December 10th, 2011 by Brad Broulik
    • Use PhoneGap Media API & jQuery Mobile UI Framework  Tutorial 
      Mobile Developer Works, Published on November 1st, 2011 by Elizabeth Baldwin
    • Passing Data Between Pages in jQuery Mobile  Tutorial 
      Mountaineering Coding, Published on December 1st, 2011 by Ryan Stewart
    • Mobile jQuery Client for Delphi REST Server  Tutorial 
      Marco’s tech world, Published on November 30th, 2011 by Marco Cantù
    • Automated UI Tests for jQuery Mobile Apps Using Selenium  Video 
      Published on November 21st, 2011 by Operation Mobile
    • Three Ways to Implement a Global Menu in jQuery Mobile  Video 
      Roughly Brilliant, Published on November 21st, 2011 by Shane Gliser
    • ASP.NET MVC 4 Mobile Features (with jQuery Mobile)  Tutorial 
      Published on November 12th, 2011 by Microsoft ASP.NET Team
    • Andy Matthews Tutorials, ranging from introduction to jQuery Mobile to the developmentment of more advanced features and plugins  Tutorial 
      andymatthews.net, Published on February 8th, 2011 and Updated on November 1st, 2011 by Andy Matthews
    • Adobe – Customizable starter design for jQuery Mobile  Tutorial   Article   Video 
      Adobe Developer Connection, Published on October 10th, 2011 by Chris Converse
    • Creating jQuery Mobile website themes in Fireworks using the CSS3 Mobile Pack  Tutorial   Article 
      Adobe Developer Connection, Published on October 3rd, 2011 by Michael Dominic
    • Progressively enable the mobile web with ASP.NET MVC 4, HTML5, and jQuery Mobile  Video 
      Channel 9, Published on September 15th, 2011 by Phil Haack
    • Add charting on mobile browsers with PHP, XML, jQuery and jQuery mobile  Tutorial 
      IBM Developer Works, Published on September 13th, 2011 by Jack D. Herrington
    • Fast Drupal integration  Tutorial   Article 
      Fedex Techie Blog, Published on September 6th, 2011 by Federico M Rinaldi
    • Using jQuery Mobile in SharePoint  Tutorial   Article 
      SharePoint Dev Notes, Published on August 26th, 2011 by Chris Quick
    • Making jQuery Mobile templates even easier – with ColdFusion  Tutorial 
      Coldfusion Jedi, Published on August 26th, 2011 by Raymond Camden
    • jQuery Mobile & Rails  Tutorial   Article 
      Metaskills.net, Published on August 24th, 2011
    • Loading dynamic formatted content in jQuery mobile with .load()  Article 
      Stikki.me, Published on August 18th, 2011 by jzellis
    • How to add admob to your jQueryMobile app, the right way  Tutorial   Video 
      Pinehead.tv, Published on July 26th, 2011 by Anthony James
    • jQuery Mobile in Visualforce pages  Tutorial 
      Developerforce, Published on July 15th, 2011 by Quinton Wall
    • jQuery Mobile – adding Local Storage  Tutorial 
      Coldfusion Jedi, Published on July 13th, 2011 by Raymond Camden
    • Using and customizing jQuery Mobile themes  Tutorial   Article 
      Adobe Developer Connection, Published on July 11th, 2011 by Matthew David
    • Using Linked Data and jQuery Mobile to produce a podcast explorer web app  Tutorial 
      greenhughes.com, Published on 9 July 2011 by Liam Green-Hughes
    • Building a jQuery Mobile HTML5 App with PhoneGap for Drupal 7, Part 2 – Camera  Tutorial 
      Jeff Linwood, Published on July 8th, 2011 by Jeff Linwood
    • Building a jQuery Mobile HTML5 App with PhoneGap for Drupal 7, Part 1  Tutorial 
      Jeff Linwood, Published on July 7th, 2011 by Jeff Linwood
    • How to style buttons with jQuery Mobile  Tutorial 
      O’Reilly Answers, Published on June 28th, 2011 by chco
    • 50 jQuery Mobile Development Tips  Tutorial 
      jQuery4u, Published on May 31st, 2011 by jquery4u
    • Dreamweaver 5.5 with jQuery Mobile support  Video 
      Adobe TV, Published on April 10th, 2011
    • Video of Boston PHP conference with Todd Parker and Scott Jehl  Video   Presentation 
      Boston PHP, Published on March 14th, 2011 by Michael Bourque
    • Building an offline capable mobile web site with jQuery Mobile  Tutorial   Article 
      Coldfusion Jedi, Published on March 12th, 2011 by Raymond Camden
    • Adding driving directions to a jQuery Mobile web site  Tutorial 
      Coldfusion Jedi, Published on March 9th, 2011 by Raymond Camden
    • jQuery Mobile: It’s Hot  Presentation 
      Coldfusion Jedi, Published on March 4th, 2011 by Raymond Camden
    • jQuery Mobile and JSON  Tutorial 
      IBM Developer Works, Published on March 1st, 2011 by Frank Ableson
    • Dynamically Appending Elements to jQuery Mobile ListView  Tutorial 
      Web Dev .NET, Published on February 24th, 2011 by Elijah Manor
    • Creating and using custom icons in jQuery Mobile  Tutorial 
      andymatthews.net, Published on February 13th, 2011 by Andy Matthews
    • Building with jQuery Mobile: Slides from a talk by Todd Parker and Scott Jehl  Presentation 
      Filament Group, Published on February 11th, 2011 by Filament Group
    • jQuery Mobile Form Validation  Tutorial 
      Web Dev .NET, Published on February 7th, 2011 by Elijah Manor
    • Use jQuery Mobile to Build a Native Android News Reader App  Tutorial 
      Mobile Tuts, Published on February 2nd, 2011 by Konur Unyelioglu
    • Build a Contacts Application With jQuery Mobile & the Android SDK – Part 1  Tutorial 
      Mobile Tuts, Published on February 2nd, 2011 by Konur Unyelioglu
    • Top 10 jQuery Mobile Code Snippets that you need to know  Tutorial 
      Web Development Blog, Published on January 31st, 2011 by Ei Sabai Nyo
    • jQuery Mobile Framework – A Forms Tutorial  Tutorial 
      Mobile Tuts, Published on January 19th, 2011 by Konur Unyelioglu
    • Extend your SAP jQuery Mobile web app with HTML5 concepts and Native device features – Part 1  Tutorial   Video 
      SAP Community Network, Published on January 17th, 2011 by John Moy
    • Using Google Analytics with jQuery Mobile  Tutorial   Article 
      jongales.com, Published on January 10th, 2011 by JG
    • Mobile Development with jQuery Mobile and PhoneGap  Presentation 
      Petefreitag.com, Published on January 10th, 2011 by Pete Freitag
    • Building Mobile Apps with WebMatrix and jQuery Mobile  Tutorial   Article 
      Mikesdotnetting, Published on December 12th, 2010 by Mikesdotnetting
    • jQuery Mobile + CouchDB: P7 Part Series  Tutorial 
      Todd Anderson, Published on December 8th, 2010 by Todd Anderson
    • jQuery Mobile Quick Start Guide  Tutorial 
      Coldfusion Jedi<!--alpha4-->
    • How to create a mobile WordPress theme with jQuery Mobile  Tutorial 
      Cats who code, Published on November 16th, 2010 by Jean-Baptiste Jung
    • jQuery Mobile: What Can It Do for You?  Tutorial   Article 
      Elated, Published on November 5th, 2010 by Matt Doyle
    • Creating mobile web applications with jQuery mobile and Grails  Tutorial 
      train of thought, Published on October 31st, 2010 by Omar Marji
    • What jQuery Mobile Means for Developers  Article 
      Elated, Published on October 18th, 2010 by Sarah Perez

     

     

    收集一些jQueryMobile的插件和案例
    1,photoswipe
    网址:http://www.photoswipe.com/%20
    demo: http://www.photoswipe.com/latest/examples/04-jquery-mobile.html
    个人描述:在手机上操作很流畅,能自使用屏幕尺寸,竖屏显示效果很好,横屏图片太大了,也就是列数固定的原因。

    2,Touch-Gallery
    网址:http://neteye.github.com/touch-gallery.html%20
    demo: 在首页在左下角
    个人描述:就是一个图片箱子插件,点击图片放大,周围变黑遮罩,双击周围返回列表,还未有在手机测试,但是上面写着iphone / ipad 可以使用。

    3,一个用jQueryMobile实现驾驶导航教程
    网址:http://www.coldfusionjedi.com/index.cfm/2011/3/9/Adding-driving-directions-to-a-jQuery-Mobile-web-site%20
    demo: http://www.coldfusionjedi.com/demos/march92011/%20
    个人描述:在PC上测试可以用,很牛B

    4,Mobile Photo Album
    网址:http://www.digicrafts.com.hk/components/JSMobilePhotoAlbum%20
    demo: http://cdn.digicrafts.com.hk/u/163440/components/js/JSMobilePhotoAlbum/index.html
    个人描述:demo中看到好像可以自适应宽度,数量,还未测试

    5,iscroll-4
    网址:http://cubiq.org/iscroll-4%20
    demo: http://cubiq.org/dropbox/iscroll4/examples/simple/%20
    个人描述:可以实现左右,上下滑动模拟手机操作体验,非常不错的效果,只是目前好像不能自适应宽度 
     

    30+最好的JQuery画廊插件
    http://hi.baidu.com/gjj003/blog/item/7a7739fe56cd18205d600819.html
    240个Jquery 插件
    http://linux.chinaunix.net/techdoc/desktop/2008/12/18/1053697.shtml
    Jquery 官方插件
    http://malsup.com/jquery/form/#download
    jqueryMobile 插件和 Demo
    http://cubiq.org/
    http://www.phonegap.com/
    http://www.jqmobile.org/thread-80-1-1.html
    http://www.jqmgallery.com/


     JQM 案例展示:http://www.jqmgallery.com/  

    JQM 滚动条插件 Site:  http://cubiq.org/iscroll Demo: http://cubiq.org/dropbox/iscroll4/examples/simple/

    JQM 弹出插件 Site:http://dev.jtsage.com/jQM-SimpleDialog/ 开源移动设备检测脚本 Site:http://detectmobilebrowser.com/

    JQM日期插件 Site:http://dev.jtsage.com/jQM-DateBox/ Site:http://toddmhorst.wordpress.com/2010/12/30/android-like-date-picker-with-jquery-mobile-2/


        
    [3] UITextField的圆角跟常用样式
        来源: 互联网  发布时间: 2014-02-18
    UITextField的圆角和常用样式

    先说下最近遇到的一些小问题, 首先这些小问题是不影响应用的, 只是在视觉上有点小不爽

    1. UITextField四周的圆角

    textField.layer.cornerRadius = 5.0    需要导入框架QuartzCore.framework, 并且在当前类中引用#import<QuartzCore/QuartzCore.h>

     

    2. 光标过于靠前

    有时候, 当点击输入框时, 你会发现光标就快挨着左边框了, 很不明显, 这是个很小的用户体验, 解决也很容易, 设置一下UITextField的边框样式

    textField.borderStyle = UITextBorderStyleRoundedRect; 

    这样就明显好看多了, 设置成这个样式后, 四周也会自带圆角, 并且有明显的凹凸效果


        
    最新技术文章:
    ▪Android开发之登录验证实例教程
    ▪Android开发之注册登录方法示例
    ▪Android获取手机SIM卡运营商信息的方法
    ▪Android实现将已发送的短信写入短信数据库的...
    ▪Android发送短信功能代码
    ▪Android根据电话号码获得联系人头像实例代码
    ▪Android中GPS定位的用法实例
    ▪Android实现退出时关闭所有Activity的方法
    ▪Android实现文件的分割和组装
    ▪Android录音应用实例教程
    ▪Android双击返回键退出程序的实现方法
    ▪Android实现侦听电池状态显示、电量及充电动...
    ▪Android获取当前已连接的wifi信号强度的方法
    ▪Android实现动态显示或隐藏密码输入框的内容
    ▪根据USER-AGENT判断手机类型并跳转到相应的app...
    ▪Android Touch事件分发过程详解
    ▪Android中实现为TextView添加多个可点击的文本
    ▪Android程序设计之AIDL实例详解
    ▪Android显式启动与隐式启动Activity的区别介绍
    ▪Android按钮单击事件的四种常用写法总结
    ▪Android消息处理机制Looper和Handler详解
    ▪Android实现Back功能代码片段总结
    ▪Android实用的代码片段 常用代码总结
    ▪Android实现弹出键盘的方法
    ▪Android中通过view方式获取当前Activity的屏幕截...
    ▪Android提高之自定义Menu(TabMenu)实现方法
    ▪Android提高之多方向抽屉实现方法
    ▪Android提高之MediaPlayer播放网络音频的实现方法...
    ▪Android提高之MediaPlayer播放网络视频的实现方法...
    ▪Android提高之手游转电视游戏的模拟操控
     


    站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3