일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- android log dump
- Google V8 Engine
- java
- PageControl
- apns
- 인증서 정보 뽑아내기
- sha1 convert hashkey
- Android
- Push
- ios framework
- IOS10
- appbarlayout
- Android NDK시스템
- 공인인증서 만료일
- Objective C
- Magnify Anim
- SO 파일
- ios
- so file
- JavaScript Engine
- V8 Engine
- 공인인증서 정보
- apache
- 안드로이드
- apk 다운사이징
- FlexiblePageView
- embedd
- Status Bar
- IMAGE
- v8 engine xcode build
- Today
- Total
목록android (25)
caTea 블로그
/* * Copyright (C) 2015 Vincent Mi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,..
안드로이드에서 쓰는 라이브러리 웹서버에서 쓰는 라이브러리 int index = filePath.lastIndexOf("/");String fileName = filePath.substring(index);File file = new File(filePath); MultipartEntityBuilder builder = MultipartEntityBuilder.create() .setCharset(Charset.forName("UTF-8")) .setMode(HttpMultipartMode.BROWSER_COMPATIBLE);builder.addPart("pictureFile", new FileBody(file)); // 키값은 서버 vo객체 의 변수명과 같아야한다builder.addTextBody("fi..
uri 가 있어야한다 이부분은 activityresult에서 발췌 Uri selectImageUri = data.getData();String[] filePathColumn = { MediaStore.Images.Media.DATA };Cursor cursor = getContentResolver().query(selectImageUri, filePathColumn, null, null, null);cursor.moveToFirst();int columnIndex = cursor.getColumnIndex(filePathColumn[0]);String path = cursor.getString(columnIndex);cursor.close(); Utility.showProgressDialog(getApp..
private final int PHOTO_SIZE_LIMIT = (64 * 1024); private byte[] settingPhoto(String path){byte[] returnVal = null;try{ExifInterface exif;int orientation = 0;exif = new ExifInterface(path);orientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInterface.ORIENTATION_UNDEFINED); BitmapFactory.Options options = new BitmapFactory.Options();File f = new File(path);long f_size = f.lengt..
private SwipeMenuListView blockList = null; blockList = (SwipeMenuListView) findViewById(R.id.block_list); SwipeMenuCreator creator = new SwipeMenuCreator() { @Overridepublic void create(SwipeMenu menu) {SwipeMenuItem deleteItem = new SwipeMenuItem(BlockedFriendListActivity.this);deleteItem.setBackground(new ColorDrawable(Color.rgb(0xF9, 0x3F, 0x25)));deleteItem.setWidth(Utility.dip2pixel(Blocke..
1. 요 라이브러리를 추가한다 2. values-v19 파일을 만든다 내용은 아래와같다 설정은 TranslucentDecor 가 제일중요하다 이게 없으면 작동이 안된다. 나머지설정은 알아서 하시고 3. 매니페스트에 이설정을 사용한다 ex) 4. 이코드를 삽입 크리에이트 함수에 mTintManager = new SystemBarTintManager(this);mTintManager.setStatusBarTintEnabled(true);mTintManager.setNavigationBarTintEnabled(true);int color = Color.argb(153, Color.red(21), Color.green(21), Color.blue(21)); mTintManager.setTintColor(colo..
애니매이션 적용 액티비티에 이 코드 적용 @Overrideprotected void onResume() {// TODO 자동 생성된 메소드 스텁super.onResume();overridePendingTransition(R.anim.slide_in_from_bottom, 0);} @Overridepublic void finish() {// TODO 자동 생성된 메소드 스텁super.finish();overridePendingTransition(0, R.anim.slide_out_to_bottom); }
xml에 요걸 선언 유틸 클래스에 아래 코드 함수 선언 public static void setStatusBarColor(MainActivity context , View statusBar,int color){ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { Window w = context.getWindow(); w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS,WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); //status bar height //int actionBarHeight = getActionBarHeight(); int stat..
boolean mIsPremium = false; static final String SKU_PREMIUM = "premium";private final String TAG = "PremiumUpgradeActivity";private IInAppBillingService mService = null;private IabHelper mHelper;private TextView backView = null; private TextView infoText = null; protected void onCreate(Bundle savedInstanceState) {// TODO Auto-generated method stubsuper.onCreate(savedInstanceState);setContentView..
import java.io.IOException;import java.net.InetAddress;import java.net.Socket;import java.security.cert.X509Certificate; import javax.net.SocketFactory;import javax.net.ssl.SSLContext;import javax.net.ssl.SSLSocket;import javax.net.ssl.SSLSocketFactory;import javax.net.ssl.TrustManager;import javax.net.ssl.X509TrustManager; public class HTTPSSocketFactory extends SSLSocketFactory {private SSLSoc..