일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 공인인증서 만료일
- so file
- apns
- android log dump
- IMAGE
- FlexiblePageView
- 공인인증서 정보
- IOS10
- SO 파일
- V8 Engine
- v8 engine xcode build
- ios framework
- sha1 convert hashkey
- JavaScript Engine
- java
- Android NDK시스템
- Status Bar
- Android
- PageControl
- apache
- ios
- Magnify Anim
- Push
- Objective C
- embedd
- 안드로이드
- 인증서 정보 뽑아내기
- appbarlayout
- apk 다운사이징
- Google V8 Engine
- Today
- Total
목록안드로이드 (12)
caTea 블로그
안드로이드 개발 시 외부 업체의 .so 파일 관련하여 조사한 내용입니다. 안드로이드 개발 시 SO File(Navtive Source Lib) 사용이 증가함에 따라 빌드 시 APK 용량이 커져 줄이는 방안을 모색해 보았습니다. 1. 특정 architecture 타겟을 지정하여 빌드 "armeabi", "armeabi-v7a" 두가지의 SO File 들만 가지고 빌드 시 모든 Android 플랫폼에서 동작 가능합니다.(2018-07-19기준) 위의 방법을 통해 APK 사이즈를 줄일 수 있습니다. 제약조건- 해당 조건으로 빌드 시 반드시 해당 architecture 타겟 폴더에 SO File 이 위치해 있어야 합니다. 2. architecture 별로 APK를 빌드하여 구글 플레이스토어에 등록 안드로이드 스..
public void setMapBounds(ArrayList array){ mGoogleMap.moveCamera(CameraUpdateFactory.newLatLng(new LatLng(33.510306, 126.491825))); LatLngBounds.Builder builder = new LatLngBounds.Builder(); for(LatLng ll : array){ builder.include(ll); } int width = getResources().getDisplayMetrics().widthPixels; int height = getResources().getDisplayMetrics().heightPixels; CameraUpdate cu = CameraUpdateFactory...
/** * Created by achee7059 on 2017. 2. 22.. */ public class AnimImageView extends ImageView{ private Context mContext; private AnimationDrawable mAnimationDrawable; public AnimImageView(Context context) { super(context); mContext= context; } public AnimImageView(Context context, AttributeSet attrs) { this(context, attrs, 0); mContext= context; } public AnimImageView(Context context, AttributeSet..
Utils 클래스는 널체크 용이므로 본인이 수정하여 사용하면 됨Constans 클래스는 상수 정의 클래스 본인이 만들어서 사용 매니패스트는 아래와 같이 한쌍으로 사용해야 Manifast.permission 에 보이게된다.자세한 내용은 구글 가이드 문서 참조 ==================================================== /** * 마시멜로우 버전부터 퍼미션이 추가되었다 하여 퍼미션을 적용하는 로직을 베이스 액티비티에서 * 담당하도록 하였다. */ public class BaseActivity extends AppCompatActivity { private final String TAG = this.getClass().getSimpleName(); private int per..
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 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..
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..