Posts

Showing posts from January, 2013

windows 8 jquery develop bingmap error log

Error: SCRIPT5007: 未经处理的异常,行 1,列 46945,在 ms-appx://pk17s.cn.pkmap/Bing.Maps.JavaScript//js/veapicore.js 中 0x800a138f - JavaScript 运行时错误: 无法获取未定义或 null 引用的属性“setView” 文件: veapicore.js,行: 1,列: 46945 fixed:   Error: APPHOST9601: 无法加载 < http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0 >。应用无法在本地上下文中加载远程 Web 内容。 文件: default.html 说明: 使用iframe包起来的内容为webcontext,其他默认为local context.其权限:   General features and restrictions This table describes some of the features and restrictions that are available depending on whether the page is running in the local or web context. Feature Local context Web context Windows Runtime Yes No Windows Library for JavaScript Yes Yes* (See the Windows Library for JavaScript in the web context section for details.) JavaScript URIs ( attribute ="javascript: code " ) No A URI can refer to defined JavaScript functions ( attribute="myFunction()" ), but can't be a JavaScript statement ( attribute="javascript: 2...

腾讯应用中心开发者平台-春节期间停止应用上传及更新通知

windows8 jquery问题

jquery error for windows8问题: SCRIPT28: 未经处理的异常,行 5835,列 5,在 ms-appx://318cff9f-05ec-47e1-a2a5-aad1a9171be3/js/third/jquery/jquery.min.js 中 0x800c001c - JavaScript 运行时错误: 无法添加动态内容。脚本尝试插入了可能不安全的动态内容或以前经过动态修改的元素。例如,使用 innerHTML 属性添加脚本或格式错误的 HTML 将发生此异常。请使用 toStaticHTML 方法筛选动态内容,或使用诸如 createElement 等方法显式创建元素和属性。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=247104 。 文件: jquery.min.js,行: 5835,列: 5 错误: APPHOST9601: 无法加载 < http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0 >。应用无法在本地上下文中加载远程 Web 内容。 文件: map.html 错误:SCRIPT28: 未经处理的异常,行 1444,列 3,在 ms-appx://pk17s.cn.pkmap/js/jquery/jquery.min.js 中 0x800c001c - JavaScript 运行时错误: 无法添加动态内容。脚本尝试插入了可能不安全的动态内容或以前经过动态修改的元素。例如,使用 innerHTML 属性添加脚本或格式错误的 HTML 将发生此异常。请使用 toStaticHTML 方法筛选动态内容,或使用诸如 createElement 等方法显式创建元素和属性。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=247104 。 文件: jquery.min.js,行: 1444,列: 3 Fixed: Used the jquery for win8: http://github.com/appendto And the reference jquery code: <script type="text/jav...

windows8 iis8.0 安装php

Image
Error: HTTP 错误 500.21 - Internal Server Error 处理程序“PHP53_via_FastCGI”在其模块列表中有一个错误模块“FastCgiModule” 最可能的原因: 使用了托管处理程序,但是未安装或未完整安装 ASP.NET。 处理程序模块列表的配置中存在书写错误。 在应用程序初始化期间,要么应用程序初始化功能已将 skipManagedModules 设置为 True,要么重写规则设置了映射到托管处理程序的 URL 并且还设置了 SKIP_MANAGED_MODULES=1。 可尝试的操作: 如果要使用托管处理程序,请安装 ASP.NET。 请确保正确指定处理程序模块的名称。模块名称区分大小写,并使用 modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" 格式。 设置映射到托管处理程序的 URL (例如 .aspx)时,请确保所有应用程序初始化重写规则都设置 SKIP_MANAGED_MODULE=0 作为替代方法,请确保应用程序初始化重写规则将请求映射到非托管处理程序(例如,映射到 .htm 文件,该文件映射到 StaticFileHandler。) 详细错误信息: 模块    IIS Web Core 通知    ExecuteRequestHandler 处理程序    PHP53_via_FastCGI 错误代码    0x8007000d 请求的 URL http://localhost:80/index.php 物理路径    D:\doc\webserver\wwwroot\index.php 登录方法 匿名 登录用户 匿名 更多信息: IIS 内核不能识别此模块。 查看更多信息 » 解决:使用window web installer安装cgi和fastcgi。 错误        1        错误 : DEP3000 : 尝试停止应用程序失败。这可能导致部署失败...

应用发布进展通知(2013年01月31日)

------=_Part_552_6235373.1359597696236 Content-Type: text/html;charset=GB2312 Content-Transfer-Encoding: quoted-printable .maintable { =09background-color:#EBF7F8; =09bordercolor:#9FCCEC; =09border-top:1px solid #9FCCEC; =09border-left:1px solid #9FCCEC; =09width: 60%; } .yi_hang_4 { =09float:left; =09text-indent: 15px; =09padding-left: 5px; =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09color: black; =09line-height: 1.7em; =09padding-top: 2px; =09padding-bottom: 2px; =09background-color: #EBF7F8; =09text-align: right; } .titletd { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09color: black; =09line-height: 1.7em; =09padding-top: 2px; =09padding-bottom: 2px; =09text-align: center; } .yi_hang_9 { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09line-height: 1.7em; =09background-color: #FFFFFF; } td { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09line-height: 1.7em; } .noWarp{ =09width:60%; =09white-space:normal; =0...

iOS-Feeling for Android: Hands-On with MIUI for Nexus 7

Image
=20 =09 =09 Hello lian deliang, MIUI is a Chinese ROM that offers a heavily-modified UI, doing away with ma= ny of the things we commonly associate with Android. The MIUI ROM is specia= l. It feels a bit like Apple's iOS but with enough distinctive features tha= t give it a different sheen. We tested= it out! Best regards, the entire AndroidPIT-Team App of the Week – OfficeSuite= Pro 6 + (PDF & HD) OfficeSuite Pro for Android allows you to view, create, edit, print and sha= re Word, Excel and PowerPoint files on the...

应用发布进展通知(2013年01月29日)

------=_Part_501_6195062.1359421232759 Content-Type: text/html;charset=GB2312 Content-Transfer-Encoding: quoted-printable .maintable { =09background-color:#EBF7F8; =09bordercolor:#9FCCEC; =09border-top:1px solid #9FCCEC; =09border-left:1px solid #9FCCEC; =09width: 60%; } .yi_hang_4 { =09float:left; =09text-indent: 15px; =09padding-left: 5px; =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09color: black; =09line-height: 1.7em; =09padding-top: 2px; =09padding-bottom: 2px; =09background-color: #EBF7F8; =09text-align: right; } .titletd { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09color: black; =09line-height: 1.7em; =09padding-top: 2px; =09padding-bottom: 2px; =09text-align: center; } .yi_hang_9 { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09line-height: 1.7em; =09background-color: #FFFFFF; } td { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09line-height: 1.7em; } .noWarp{ =09width:60%; =09white-space:normal; =0...

网赚应用内付费-paypal

Image
7. 应用内付费 支付宝支持(应用内\网站内) https: //b.alipay.com/order/productSet.htm 应用内:只支持企业 网站内:支持个人(网站需备案)+企业 腾讯 paypal paypal的快速支付应用内支付见此: https://www.x.com/developers/paypal/products/express-checkout How to get started 1.Check your account status. Login to PayPal. Go to your PayPal Profile and click My settings. Confirm that your “Account Type” is either Premier or Business, or upgrade your account. 2.Check your API settings. Click My selling tools. Expand “Selling online” if needed and check “API access.” Click Update and Add or edit API permission or View API signature. 3.Test your integration using the PayPal Sandbox. (Registration is free.) 翻译:   1.激活取信息 先登陆paypal,再在”My Account” => “Profile”,看下=>”Setting” 确认右边的 ,如果不是”Premier”或”Business”,那就更新一下你的账号类型. 接着确认,”api access”,点击右边的”update”: 然后它出现: 如果没有" View API signature .",像我这样,就要点"Request API credentials"表示添加一个新的. 下图:点Accept and submit.  左边是说使用用户名密码等方式验证,右边是说使用文件验证.   好了,出现了相关的账号信息.再点击Done. ...

应用发布进展通知(2013年01月28日)

------=_Part_1044_24264283.1359334803508 Content-Type: text/html;charset=GB2312 Content-Transfer-Encoding: quoted-printable .maintable { =09background-color:#EBF7F8; =09bordercolor:#9FCCEC; =09border-top:1px solid #9FCCEC; =09border-left:1px solid #9FCCEC; =09width: 60%; } .yi_hang_4 { =09float:left; =09text-indent: 15px; =09padding-left: 5px; =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09color: black; =09line-height: 1.7em; =09padding-top: 2px; =09padding-bottom: 2px; =09background-color: #EBF7F8; =09text-align: right; } .titletd { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09color: black; =09line-height: 1.7em; =09padding-top: 2px; =09padding-bottom: 2px; =09text-align: center; } .yi_hang_9 { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09line-height: 1.7em; =09background-color: #FFFFFF; } td { =09font-family: "=CB=CE=CC=E5"; =09font-size: 12px; =09line-height: 1.7em; } .noWarp{ =09width:60%; =09white-space:normal; ...

尝试将android app应用publish发布到amazon market上

Image
1.打开他们的官网: https://developer.amazon.com/ 2.使用amazon的账号登陆,如果没有就注册一个. 3.点击左边的 点击右上角的,切换为中文 再点击左历的创建账号 中文注册页面自己按自己的情况填. 然后点保存提交. 4.出现协议页面 点击右下角的"接受和继续" 5.下一个页面选择是否收费的账号设置等.如果不收费就直接跳过   如果收费,下一个页面说"纳税正在审核",我选择了继续.   下面: consent to providing my electronic signature. I consent to electronic receipt of my information reporting documentation 我的电子签名的同意。 我同意我的信息报告文档的电子收据。 都选YES吧.再点继续. 下一步: For tax purposes are you a U.S. citizen, U.S. resident, U.S. partnership, or U.S. corporation? 就税务而言,你是一个美国公民,居住在美国,美国的合作伙伴关系,或美国公司? 选择否吧.再点继续 下一步: Non-U.S. Person You have selected that you are a non U.S. Person for tax purposes. Next we will gather your personal or business information. 非美国。人 你选择了,你就税务目的而言是一个非美国人士。 下一步,我们将收集您的个人或商业信息。 再点继续. 下一步,再确认自己的个人信息.选择下一步. 下面一直点继续.因为我们没有税号,没有美国相关证件. 6.然后就可以上传应用了

Android sample source–Phonegap TTS Plugin

pkrss used android phonegap tts plugin sample source follow: /* * PhoneGap is available under *either* the terms of the modified BSD license *or* the * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * * Copyright (c) 2011, IBM Corporation * * Modified by Murray Macdonald (murray@workgroup.ca) on 2012/05/30 to add support for stop(), pitch(), speed() and interrupt(); * */ package com.phonegap.plugins.speech; import java.io.File; import java.util.HashMap; import java.util.Locale; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.Context; import android.media.AudioManager; import android.speech.tts.TextToSpeech; import android.speech.tts.TextToSpeech.OnInitListener; import android.speech.tts.TextToSpeech.OnUtteranceCompletedListener; import android.util.Log; import org.apache.cordova.api.CallbackContext; import org.apache.cordova.api.CordovaPlugin; import org.apache.cordova.api.PluginRes...

Android sample source–TTS 科大讯飞

科大讯飞在语音新闻王的集成源码如下: package pk17s.cn; import org.apache.cordova.CordovaWebView; import org.apache.cordova.api.CallbackContext; import org.apache.cordova.api.CordovaPlugin; import org.apache.cordova.api.PluginResult; import org.json.JSONArray; import org.json.JSONObject; import android.content.Context; import android.webkit.WebView; import com.iflytek.speech.SpeechError; import com.iflytek.speech.SynthesizerPlayer; import com.iflytek.speech.SynthesizerPlayerListener; public class KdxfTTS implements SynthesizerPlayerListener { private SynthesizerPlayer mSynthesizerPlayer; CallbackContext callbackContext; private CordovaPlugin plugin; public KdxfTTS(Context context,CordovaPlugin _plugin){ plugin = _plugin; mSynthesizerPlayer = SynthesizerPlayer.createSynthesizerPlayer( context, "appid=4dabf812" ); } public Boolean speakLanauageText(String locale,String role,String text,CallbackContext _callbackContext){ ...

转载:Android调用系统分享功能以及createChooser的使用

Image
转载自:http://blog.csdn.net/yanglian20009/article/details/7592117 因为怕下次自己找不到该资料. 工程结构 //效果图   点击测试分享                                                                                                          点击createChoose妙用 主要是看右边的,可不是用什么Dialog来搞的哦,而是你Activity程序,可以激活进去了 提示:这个东西可以延伸到一个音频文件,打开时,可以调用你的音乐播放器来播放哦,视频,图片,也是类似,可以调用你自己的东西 当然,前提是你的manifest.xml里的东西要配置对呀 <data android:mimeType="mark/nimei" />   如下 <activity android:name=".TestActivity" ...