Programming/android2020. 6. 3. 22:55

AndroidManifest.xml 에 internet 사용하도록 추가하는 위치

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.rpirc">

    <uses-permission android:name="android.permission.INTERNET"/>

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

[링크 : https://slobell.com/blogs/48]

 

build.gradle (Module: app) 에 추가해야 한다.

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'com.squareup.retrofit2:retrofit:2.6.1'
    implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}

[링크 : https://re-build.tistory.com/14]

 

일단은 빌드 까진 문제 없으니.. 됐고

이제 인터페이스 구현하면 되려나?

 

[링크 : https://medium.com/@joycehong0524/android-studio-retrofit2-기본-사용법-retrofit-의문점-풀어헤치기...d]

2020/05/29 - [Programming/android] - 안드로이드 retrofit 사용하기

Posted by 구차니

오늘도 어제 주워온 KTX 열차 장난감 고치는데 쓰고

부러진 피규어 목 붙이는데 쓰고 최고네 ㅋ

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

3주 만에 온 택배  (2) 2020.06.21
이사 준비  (2) 2020.06.20
응급실 다녀옴  (6) 2020.05.30
NFC 태그 (신비 아파트 피규어)  (0) 2020.05.28
강림/하리 피규어 구매 ㅋㅋ  (0) 2020.05.27
Posted by 구차니
embeded/odroid2020. 6. 2. 17:54

모니터 소비전력을 생각을 안하고 있었는데..

오늘 생각나서 재보니

 

MOTV LED21fs 1920x1080 해상도로 DVI 입력시

16.6W 정도 소비된다.

 

XU4로 동영상 재생시 6W 정도니까.

22W 정도 소비..

 

i5-2500, HD7850 데탑이

전원 꺼졌을때 1.57W

idle 상태에서 60~70W

fluid motion 적용해서 동영상 돌리면 110~120W 먹네..

 

아무튼 그 덕에.. 전기세가 많이 억제 된건가?

 

+

2020.06.04

노트북을 켜보니 idle 에서 24W

로드 조금 걸리면 35W 오락가락 하는데 이정도면.. 오드로이드로 낑낑대면서 쓸 바에는

모니터 + XU4 보다 약간 더 먹는 노트북이 더 이득인가?

아무튼 노트북이 데탑 보다 반 이상 조금 먹네..

'embeded > odroid' 카테고리의 다른 글

odroid c2 ubuntu 20.04 64bit  (0) 2021.08.23
odroid c2  (0) 2021.08.22
odroid XU4 H.265 가능이라니  (0) 2020.05.08
odroid xu4 ADC 2CH  (0) 2020.03.28
odroid xu4 image 테스트  (0) 2020.03.28
Posted by 구차니

무료는 좋은거십니다!!!!

 

 

[링크 : https://www.epicgames.com/store/ko/bundles/borderlands-the-handsome-collection]

Posted by 구차니

아.. 우비는 왜 1년 단위로만 하게 한걸까..

귀찮다 귀찮아 귀찮아!!!! ㅠㅠ

 

Posted by 구차니

이번에 마이크로 유심에서 나노 유심으로 바꾸려서 통신사 전화하니

NFC 유심, 교통카드 되는거 이야기 해서 물어보고 찾아보니

 

1. 단말기가 이통사와 맞아야 함

 

이라고 해서 일반 유심으로 하는걸로 결정.

이번에 구매한 s7이 sk꺼라 안될거 같으니 굳이 2200원 더주고 NFC 유심을 살 이유가 없어 보이네..

 

그리고 신용카드 후불 결제를 그대로 끌어가는건줄 알았는데

찾아보니 캐시비나 티머니로 되는거라면.. 별 의미없네

 

[링크 :https://it.donga.com/29335/]

'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

핸드폰 액정 복원용 유리 접착제  (0) 2020.06.08
갤럭시 S7 삼성 전화 앱 머야 -_-  (2) 2020.06.05
액정이 콕! ㅠㅠ  (0) 2020.05.31
중고 갤럭시 s7 구매  (0) 2020.05.30
번호이동 완료  (0) 2020.04.29
Posted by 구차니