428
    
429
    imagePickerVC.sourceType = sourceType;
430
    imagePickerVC.allowsEditing = YES;
431
    imagePickerVC.navigationBar.translucent = NO;
432
    
433
    [[self getViewController] presentViewController:imagePickerVC
434
                                           animated:NO
435
                                         completion:nil];
438 436
}
439 437
440 438
@end

+ 4 - 0
IPUMobileFunc/IPUMobileFunc/IPUBasicPlugin.m

@ -61,6 +61,10 @@
61 61
    BOOL re = [self openUrl:[NSString stringWithFormat:@"mailto://%@", address]];
62 62
    return re;
63 63
}
64
- (BOOL)openUrl:(NSString *)url {
65
    BOOL re = [[UIApplication sharedApplication]openURL:[NSURL URLWithString:url]];
66
    return re;
67
}
64 68
65 69
/**
66 70
 响铃

+ 3 - 0
IPUMobileFunc/IPUMobileFunc/IPUVideoRecordPlugin.h

@ -15,6 +15,9 @@
15 15
16 16
@interface IPUVideoRecordPlugin : IPUPlugin
17 17
18
/**
19
 录制短视频
20
 */
18 21
- (void)recordShortVideo:(NSArray *)param;
19 22
20 23
@end

+ 3 - 0
IPUMobileFunc/IPUMobileFunc/IPUVideoRecordPlugin.m

@ -25,6 +25,9 @@
25 25
26 26
@implementation IPUVideoRecordPlugin
27 27
28
/**
29
录制短视频
30
*/
28 31
- (void)recordShortVideo:(NSArray *)param {
29 32
    int seconds = 6;
30 33
    if (param && param.count) {

+ 8 - 7
display-center/Res/config/mobile-action.xml

@ -41,8 +41,14 @@
41 41
    <action name="loadPage"     class="IPUMobileUIPlugin" method="loadPage"/>
42 42
    <action name="loadTemplate" class="IPUMobileUIPlugin" method="loadTemplate"/>
43 43
    
44
    <!--  Camera & Custom Camera -->
44 45
    <action name="getPhoto"         class="IPUCameraPlugin" method="getPhotoViaCamera"/>
45 46
    <action name="getPicture"       class="IPUCameraPlugin" method="getPhotoViaPhotoLibrary"/>
47
    <action name="getIdentifyPhoto" class="IPUCustomCameraPlugin" method="getIdentifyPhoto"/>
48
    <!--  Video & Custom Video -->
49
    <action name="recordVideo" class="IPUCameraPlugin" method="recordVideo"/>
50
    <action name="playVideo"   class="IPUCameraPlugin" method="playVideo"/>
51
    <action name="makeShortVideo" class="IPUVideoRecordPlugin" method="recordShortVideo"/>
46 52
    
47 53
    <action name="getQrCodePhotoViaCamera"  class="IPUCameraPlugin" method="getQrCodePhotoViaCamera"/>
48 54
    <action name="getQrCodePhotoViaLibrary" class="IPUCameraPlugin" method="getQrCodePhotoViaLibrary"/>
@ -107,15 +113,10 @@
107 113
    <action name="getContacts"      class="IPUContactsPlugin" method="getContacts"/>
108 114
    <action name="shareImageBymail" class="IPUMailPlugin"     method="shareImageBymail"/>
109 115
    
110
    <!--  Camera -->
111
    <action name="recordVideo" class="IPUCameraPlugin" method="recordVideo"/>
112
    <action name="playVideo"   class="IPUCameraPlugin" method="playVideo"/>
113
    
114 116
    <action name="getVideoPath"    class="IPUVideoPlugin" method="getVideoPath"/>
115 117
    <action name="videoCompressor" class="IPUVideoPlugin" method="videoCompressor"/>
116 118
    
117
    <!--  Custom Camera -->
118
    <action name="getIdentifyPhoto" class="IPUCustomCameraPlugin" method="getIdentifyPhoto"/>
119
    
119 120
    
120 121
    <!-- Upload File -->
121 122
    <action name="uploadWithServlet"   class="IPUUploadDownloadPlugin" method="uploadWithServletByAFN"/>
@ -214,7 +215,7 @@
214 215
    <action name="delGestureLock"      class="IPUAuthenticationPlugin" method="delGestureLock"/>
215 216
    <action name="isSetGestureLock"    class="IPUAuthenticationPlugin" method="isSetGestureLock"/>
216 217
    
217
    <action name="makeShortVideo" class="IPUVideoRecordPlugin" method="recordShortVideo"/>
218
    
218 219
219 220
    <!-- OCR识别 -->
220 221
    <action name="getFloCardInfoBD" class="IPUOCRPlugin" method="getFloCardInfoBD"/>

BIN
display-center/display-center.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate


rest/code-example - Nuosi Git Service

43 Commits (d202fb712eb868f8336754a731a3485d5fc1e40b)

Author SHA1 Message Date
  miaozy d202fb712e 删除测试 5 years ago
  miaozy 8e73b2c177 提交新的测试 5 years ago
  liutong3 3b16cb383d 更新jar包 5 years ago
  liutong3 32ccee68f4 更新jar包 5 years ago
  赖骏劼 df9bbb891e 补充依赖的ipu-sql-mgmt-3.2-SNAPSHOT.jar 5 years ago
  liutong3 3c19b1222f 修改函数命名 5 years ago
  liutong3 b5448c0e95 修改函数命名 5 years ago
  liutong3 72115bd26a 将范例移动至test下 5 years ago
  liutong3 7b0d2cf530 添加修改注释 5 years ago
  liutong3 ee6647e5a8 解决jar包冲突(ipu-sql-mgmt的包修改了代码,先写成调用本地的jar) 5 years ago
  liutong3 e37fa2693a junit的@Test读取的是test里面的配置文件。统一配置文件。 5 years ago
  liutong3 0652842f27 Merge branch 'master' of http://10.1.235.20:3000/rest/code-example 5 years ago
  liutong3 f8c391bdba ipu-sql-mgmt的示例 5 years ago
  liutong3 ed2f4ffe02 ipu-parse的示例 5 years ago
  huangbo f7b3488af5 Merge branch 'master' of http://10.1.235.20:3000/rest/code-example.git 5 years ago
  huangbo 836af082ce 增加Dao和SQL管理的使用范例 5 years ago
  liutong3 d18a9a1d2c ipu-database的示例 5 years ago
  liutong3 69fef4d69a 添加注释 5 years ago
  huangbo b22c4d21ef ipu-cache-example工程初始化 5 years ago
  huangbo 4e45f39715 删除ipu-redis-example工程 5 years ago
  huangbo 975024b72d Merge branch 'master' of http://10.1.235.20:3000/rest/code-example.git 5 years ago
  huangbo cbfab71f08 gitignore调整 5 years ago
  liutong3 a24c45e396 ipu-db-example工程初始化 5 years ago
  liutong3 82deb1315e Merge branch 'master' of http://10.1.235.20:3000/rest/code-example 5 years ago
  jiangjin ff3ebcf42b 迅捷redis测试 5 years ago
  lilb3 6e3344d7ca 迅捷开发环境,spark测试用例提交 6 years ago
  lilb3 fbf2a37093 迅捷开发环境,spark测试用例提交,增加注释。 6 years ago
  liutong3 1729fae314 Merge branch 'master' of http://10.1.235.20:3000/rest/code-example 6 years ago
  lilb3 893513baf0 迅捷开发环境,spark测试用例提交。 6 years ago
  liutong3 2edd099c07 msgframe的kafka测试代码 6 years ago
  lilb3 cc39ee2f82 迅捷开发环境,hbase测试用例提交。 6 years ago
  lilb3 d8c7ea8d30 迅捷开发环境,hadoop测试用例提交。 6 years ago
  liutong3 7069791936 msgframe的rabbitmq测试代码 6 years ago
  liutong3 a6eb637e07 msgframe的rabbitmq测试代码 6 years ago
  liutong3 a3183fd09e msgframe的rocketmq测试代码 6 years ago
  liutong3 2876b3a8f4 msgframe的rocketmq测试代码 6 years ago
  liutong3 effa71799a msgframe的kafka测试代码 6 years ago
  liutong3 655b5fcdb8 msgframe的kafka测试代码 6 years ago
  liutong3 8316adb45c ipu-zk测试代码 6 years ago
  liutong3 c01fed7ea8 ipu-zk测试代码 6 years ago
  liutong3 6c9d955eb1 ipu-zk测试代码 6 years ago
  liutong3 6db555cc9e ipu-zk测试代码 6 years ago
  rest 4b6643fa8d initial commit 6 years ago