일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- Redirect
- Bootstrap
- SpringSource Tool Suite
- Apache Lucene
- varags
- decompiler
- 이클립스
- MS-SQL
- 웹뷰
- STS
- jsp
- 웹 서비스
- TextBox
- MANTIS
- Android
- MSsql
- 컬럼명
- Java
- 안드로이드
- html
- Web Service
- WebView
- 자바
- 자바스크립트
- scrollView
- Eclipse
- Maven
- asp.net
- javascript
- C#
- Today
- Total
목록Android (11)
bboks.net™
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_user_report); WebViwe webView = (WebView) findViewById(R.id.webview); CookieSyncManager.createInstance(this); cookieManager = CookieManager.getInstance(); CookieSyncManager.getInstance().startSync(); //도메인 url, 쿠키 cookieManager.setCookie("user domain url", "cookie v..
package com.hrupin; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; public abstract class AppBaseActivity extends Activity { public static final String FINISH_ALL_ACTIVITIES_ACTIVITY_ACTION = "com.hrupin.FINISH_ALL_ACTIVITIES_ACTIVITY_ACTION"; private BaseActivityReceiver ba..
웹뷰를 통해 카카오톡 공유나 마켓 링크 버튼을 누르면 아래의 오류가 나올경우 해결 방법 webView.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.startsWith("kakaolink:") || url.startsWith("market:")) { Intent intent = new Intent(Intent.ACTION_VIEW, Uri .parse(url)); startActivity(intent); } else { view.loadUrl(url); } return true; } }); [출처] 안드로이드 웹뷰를 통해 외부어플..
방법1 Intent intent = new Intent(Intent.ACTION_MAIN); //, intent.setClassName("com.example.package", "com.example.package.ActivityToStart"); startActivity(intent); 방법2 PackageManager pm = getPackageManager(); Intent intent = pm.getLaunchIntentForPackage("com.example.package"); startActivity(intent); 두번째 방법을 추천 [출처] Calling an app from another app