object(HotopayModel)#862 (23) {
["error"]=>
int(0)
["message"]=>
string(7) "success"
["variables"]=>
array(0) {
}
["httpStatusCode"]=>
int(200)
["module"]=>
string(7) "hotopay"
["module_info"]=>
NULL
["origin_module_info"]=>
NULL
["module_config"]=>
NULL
["module_path"]=>
string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/"
["xml_info"]=>
NULL
["module_srl"]=>
NULL
["mid"]=>
NULL
["act"]=>
NULL
["template_path"]=>
NULL
["template_file"]=>
NULL
["layout_path"]=>
NULL
["layout_file"]=>
NULL
["edited_layout_file"]=>
NULL
["stop_proc"]=>
bool(false)
["user"]=>
object(Rhymix\Framework\Helpers\SessionHelper)#861 (20) {
["member_srl"]=>
int(0)
["user_id"]=>
NULL
["user_name"]=>
NULL
["nick_name"]=>
NULL
["email_address"]=>
NULL
["phone_number"]=>
NULL
["homepage"]=>
NULL
["blog"]=>
NULL
["birthday"]=>
NULL
["denied"]=>
NULL
["status"]=>
NULL
["is_admin"]=>
string(1) "N"
["is_site_admin"]=>
NULL
["profile_image"]=>
NULL
["image_name"]=>
NULL
["image_mark"]=>
NULL
["signature"]=>
NULL
["description"]=>
NULL
["group_list"]=>
array(0) {
}
["menu_list"]=>
array(0) {
}
}
["request"]=>
object(Rhymix\Framework\Request)#10 (13) {
["method"]=>
string(3) "GET"
["compat_method"]=>
string(3) "GET"
["url"]=>
string(32) "javascript/350263/comment/464946"
["hostname"]=>
string(8) "eond.com"
["domain"]=>
NULL
["protocol"]=>
string(5) "https"
["callback_function"]=>
string(0) ""
["_route_status":protected]=>
int(200)
["_route_options":protected]=>
object(stdClass)#11 (5) {
["cache_control"]=>
bool(true)
["check_csrf"]=>
bool(true)
["is_forwarded"]=>
bool(false)
["is_indexable"]=>
bool(true)
["enable_session"]=>
bool(true)
}
["module"]=>
string(5) "board"
["mid"]=>
string(10) "javascript"
["act"]=>
string(16) "dispBoardContent"
["args"]=>
array(5) {
["page"]=>
int(4)
["document_srl"]=>
string(6) "350263"
["comment_srl"]=>
string(6) "464946"
["mid"]=>
string(10) "javascript"
["act"]=>
string(16) "dispBoardContent"
}
}
["ajaxRequestMethod"]=>
array(2) {
[0]=>
string(6) "XMLRPC"
[1]=>
string(4) "JSON"
}
["gzhandler_enable"]=>
bool(true)
}
kakaolink://sendurl?msg=[message]&url=[url]
&appid=[appid]&appver=[appver]&type=[type]&appname=[appname]&apiver=[apiver]
카카오 디벨로퍼 개발가이드
https://developers.kakao.com/docs/js-reference#kakao_link_sendtalklink(settings)
카카오웹 깃허브
https://github.com/kakao/kakaolink-web
카카오톡 URL 전달 카카오톡 APP Link 전달 카카오스토리 링크
http://kakao.github.io/kakaolink-web/
kakaolink open api 안드로이드 ane
http://cafe.naver.com/flashdev/74367
[출처] kakaolink open api 안드로이드 ane (플래시(Flash)로 생계를 이어가는 사람들의 모임:플생사모) |작성자 푸우
카카오 오픈 api 로 카카오링크보내는 ane 안드로이드 버젼을 만들었습니다.
https://developers.kakao.com/docs/android
// 안드로이드만 지원
AndroidManifest.xml
카카오 sdk 에서 이렇게 설정하라고 되어 있는데
<application
...
android:name="com.kakao.GlobalApplication">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="@string/kakao_scheme" android:host="@string/kakaolink_host" />
</intent-filter>
</activity>
<meta-data
android:name="com.kakao.sdk.AppKey"
android:value="@string/kakao_app_key" />
</application>
air 에서는 android:name="com.kakao.GlobalApplication" 삭제
아래값은 직접 값을 입력
@string/kakao_scheme
@string/kakaolink_host
@string/kakao_app_key
<activity android:excludeFromRecents="false">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="kakao01234567890123456789012345678901" android:host="kakaolink" />
</intent-filter>
</activity>
<meta-data
android:name="com.kakao.sdk.AppKey"
android:value="01234567890123456789012345678901" />
// 소스
var message:String="초대합니다.";
var imageURL:String="http://이미지URL";
var width:int=100;
var height:int=100;
var linkText:String="홈페이지로이동";
var webbuttonText:String="홈페이지로이동";
var appbuttonText:String="게임실행";
var kakao:KakaolinkExtension = new KakaolinkExtension;
kakao.init();
kakao.addText(message);
kakao.addImage(imageURL, width, height);
kakao.addWebLink(linkText); // 개발자사이트에서 정의한 홈페이지로 이동
//kakao.addWebLink(linkText, "http://www.naver.com");
//kakao.addWebButton(webbuttonText); // 개발자사이트에서 정의한 홈페이지로 이동
//kakao.addWebButton(webbuttonText, "http://www.naver.com");
kakao.addAppButton(appbuttonText);
//kakao.addAppButton(appbuttonText , "para=value"); // 파라미터 넘기기
//kakao.addAppLink(appbuttonText );
//kakao.addAppLink(appbuttonText , "para=value"); // 파라미터 넘기기
kakao.sendMessage();
[카카오 Kakao SDK로 안드로이드 앱 개발] 1. IntelliJ 카카오 SDK 개발 설정과 카카오링크 사용하기 (kakaolink)
http://blog.saltfactory.net/225
댓글 0
댓글작성칸으로