This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.mobile.notice({ | |
type: 'error', | |
title: 'Error', | |
content: 'Error content.' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.mobile.notice({ | |
type: 'success', | |
title: 'Success', | |
content: 'Success content.' | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="common/plugin/notice/js/jquery.mobile.notice.js"></script> | |
<link href="common/plugin/notice/css/jquery.mobile.notice.css" rel="stylesheet" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bo = lowerAndroid(2.2); | |
alert(bo);//2.2(含まない)以下はtrue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function lowerAndroid(n) { | |
var bo = false; | |
var ua = navigator.userAgent.toLowerCase(); | |
var version = ua.substr(ua.indexOf('android')+8, 3); | |
if(ua.indexOf("android")) if(parseFloat(version) < n) bo = true; | |
return bo; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="feed"> | |
<ul class="list-feed"> | |
</ul> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="./share/js/plugin/jquery.rssbinder-1.0.js"></script> | |
<script src="https://www.google.com/jsapi?key=取得したAPIKey" type="text/javascript"></script> | |
<!--dyrect--> | |
<style type="text/css"> | |
/* rssbinder */ | |
#feed | |
{ | |
width: 500px; | |
margin: 0 auto; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(NSNumber *) twit:(NSString*)s | |
{ | |
if(!twitterState) twitterState = [[NSNumber alloc] initWithInt:0]; | |
// | |
if(s == @"") { | |
if([twitterState intValue] == 0) if(twitterEngine && [twitterEngine isAuthorized]==YES) twitterState = [[NSNumber alloc] initWithInt:1]; | |
return twitterState; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <uikit/UIKit.h> | |
#import "SA_OAuthTwitterEngine.h" | |
#import "SA_OAuthTwitterController.h" | |
#define kOAuthConsumerKey @"xxxxx" //REPLACE ME | |
#define kOAuthConsumerSecret @"xxxxx" //REPLACE ME | |
@class RootViewController; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(NSNumber ) twit:(NSString)s; | |
-(void) twitReset; |