我计划为iOS开发一个应用程序,并希望使用HTML5,CSS和Javascript.最终应用程序应该使用Xcode和UIWebView.实现为本机应用程序.
我可以在最终应用中隐藏或保护我的html文件吗?我必须将文件放在Xcode中名为"Supporting Files"的文件夹中.因此,每个人都可以通过提取.ipa文件来购买应用程序后查看纯文件,对吗?
我和Admob有这个问题:
找不到名称为:("com.google.DummyAdapter")的广告网络适配器.请记住链接所有必需的广告网络适配器和SDK,并在构建目标的"其他链接器标志"设置中设置-ObjC.
我已经读过这可能是因为在要求网络适配器时出现"无填充"问题,但只有当我尝试使用真实设备时才会发生这种情况.如果我在模拟器上试用它,我会正确收到广告.
有任何想法吗?
CodeSign "build/Release-iphoneos/Nice Saying123.app"
cd "/Users/c28/Documents/Office Projects/Nice Saying123"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
/usr/bin/codesign -f -s "iPhone Developer: dipak kasabwala (29QJU3WV6X)" "--resource-rules=/Users/c28/Documents/Office Projects/Nice Saying123/build/Release-iphoneos/Nice Saying123.app/ResourceRules.plist" --entitlements "/Users/c28/Documents/Office Projects/Nice Saying123/build/Nice Saying123.build/Release-iphoneos/Nice Saying123.build/Nice Saying123.xcent" "/Users/c28/Documents/Office Projects/Nice Saying123/build/Release-iphoneos/Nice Saying123.app"
/Users/c28/Documents/Office Projects/Nice Saying123/build/Release-iphoneos/Nice Saying123.app: replacing invalid existing signature
/Users/c28/Documents/Office Projects/Nice Saying123/build/Release-iphoneos/Nice Saying123.app: CSSMERR_TP_NOT_TRUSTED
Command /usr/bin/codesign failed with exit code 1
Run Code Online (Sandbox Code Playgroud) 有谁知道是否有类似strace,dtruss或dtrace为iPhone?
tester-iPhone:/tmp root$ apt-cache search dtruss
tester-iPhone:/tmp root$ apt-cache search dtrace
tester-iPhone:/tmp root$ apt-cache search trace
tester-iPhone:/tmp root$ apt-get install strace
Run Code Online (Sandbox Code Playgroud)
Run Code Online (Sandbox Code Playgroud)Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package strace
tester-iPhone:/tmp root$ apt-get install dtrace
Run Code Online (Sandbox Code Playgroud)
Run Code Online (Sandbox Code Playgroud)Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package dtrace
tester-iPhone:/tmp root$ apt-get install ltrace
Run Code Online (Sandbox Code Playgroud)
Run Code Online (Sandbox Code Playgroud)Reading package lists... Done Building dependency tree Reading state information... Done …
在这个问题上,我的机智就此结束了.有两种方法可以将我的应用程序运行到iPhone上进行测试:
ssh.Both are crashing for different reasons. For route 1, the application actually launches, and when I go to the part of the application that tries to open a directory outside the iOS application sandbox area (/var/mobile/Library/SBSettings/Toggles), errno returns that the operation was not permitted--the opendir was not permitted. This problem I'm attributing to the application trying to reach outside its sandbox which brings me to route 2: I build the application …
有没有办法使用私有iOS API来访问iPhone上的降噪麦克风的原始输入?
我已经尝试查看我在网上找到的标头转储,但找不到与辅助麦克风有关的任何内容.
我安装了带有JDK 7的NetBeans 7.2.1和插件 - Java ME SDK 3.2(里面有Wireles Toolkit 2.5.2).
我尝试通过单击File/New Project/Java ME/Mobile Application来创建新项目.然后我点击下一步.在下一个窗口中显示消息:
每个CLDC项目都需要分配CLDC兼容的SDK /平台/模拟器.
按" 安装SDK /平台/仿真器"按钮可打开"平台安装"向导,该向导允许您"添加平台".

我尝试单击Install SDK/Platform/Emulator按钮,然后我尝试指示安装Java ME 3.2的文件夹.它可以识别模拟器,但无法启动项目.

选择后,会出现几种选择.如何在新版本中制作?互联网上的大多数东西都与旧版本相关联.
Java ME java.util.Calendar类没有getActualMaximum()方法:
...此类是基于JDK 1.3 Calendar类的J2ME的子集.为了减少这个类的大小,已经修剪了许多方法和变量,并简化了其他方法.
是否有可能获得月内的天数?
我想写一个像手电筒一样的应用程序(在相机LED的帮助下).
Player player = javax.microedition.media.Manager.createPlayer("capture://video?encoding=video/3gpp");
player.realize();
VideoControl videoControl = (VideoControl) player.getControl("VideoControl");
if(videoControl != null)
{
videoField = (Field)videoControl.initDisplayMode( VideoControl.USE_GUI_PRIMITIVE, "net.rim.device.api.ui.Field" );
try
{
videoControl.setDisplaySize(1, 1);
}
catch(Exception e)
{
PGLogUtil.logString(e.toString());
}
videoControl.setVisible(true);
add(videoField);
FlashControl flashControl = (FlashControl)
player.getControl("javax.microedition.amms.control.camera.FlashControl");
setFlashlight(true);
}
player.start();
Run Code Online (Sandbox Code Playgroud)
上面的代码工作得很好,但我想隐藏videoField.当我移除add(videoField)或使用时videoControl.setVisible(false),手电筒不起作用.有人可以解释原因吗?
如何用隐藏的灯打开灯videoField?
我有一些开发iOS应用程序的经验,我正在研究一个Cydia调整的想法.调整将与操作菜单一起使用,向菜单添加新按钮并在点击按钮时显示界面.
我正在尝试使用iOSOpenDev上的操作菜单模板.我目前安装了iOSOpenDev并使用操作菜单模板创建了一个新项目.但是,我不知道如何继续这样做.
我正在寻找一些关于如何使用iOSOpenDev创建调整的示例代码或参考资料,但到目前为止我还没有找到一个示例项目.是否有关于如何使用iOSOpenDev创建Cydia调整的最新文档或教程?
ios ×6
iphone ×5
jailbreak ×3
java-me ×3
xcode ×2
admob ×1
api ×1
audio ×1
blackberry ×1
calendar ×1
camera ×1
code-signing ×1
cydia ×1
dtrace ×1
encryption ×1
flashlight ×1
ltrace ×1
netbeans ×1
objective-c ×1
platform ×1
strace ×1
tweak ×1