일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- STREAM
- 정보처리기사
- UTF-8
- call by value
- static
- 정보처리
- box-sizing
- relative
- I/O
- call by refelrence
- transform
- text-shadow
- 기사
- SQL
- position
- transition
- 스마트에디터
- 산업기사
- codepage
- 정보처리 산업기사
- where
- Spring
- Encoding
- MySQL
- ABSOLUTE
- datasourceexplorer
- 이미지확대
- fixed
- method
- Today
- Total
목록android (6)
a battle with myself
GridView 를 상속 받은 ExpandableHeightGridView 확장 그리드 뷰scrollView.setFillViewport(true); GridView 대신 ExpandableHeightGridView 사용확장 class 적용 ExpandableHeightGridView userGridView = (ExpandableHeightGridView) findViewById(R.id.userGridView); userGridView.setExpanded(true); UserGridViewAdapter userAdapter = new UserGridViewAdapter(context, R.layout.userAdapterLayout,params); userGridView.setAdapter(user..
String uri ="http://maps.google.com/maps?saddr="+시작위도+","+시작경도+"&daddr="+도착위도+","+도착경도; Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.addCategory(Intent.CATEGORY_LAUNCHER ); intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity"); startActivity(intent);
시작 좌표 도착 좌표를 URL 상에 parameter로 넣어주고 intent를 띄워주면 됨String url = "daummaps://route?sp="+USER Latitude+","+USER Longitude+"&ep="+ARRIVAL Latitude+","+ARRIVAL Longitude+"&by=FOOT";Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(intent);
private static int REQUEST_CODE = 1;Intent intent = new Intent(); intent.setType("image*//*"); intent.setAction(Intent.ACTION_PICK); startActivityForResult(Intent.createChooser(intent, "Select Image"), REQUEST_CODE);
startActivity(intent);overridePendingTransition(0, 0);