카울리에서 가르켜 주는 양식대로 시도를 해봤는데요.
이클립스 상에서는 에러가 발생되지 않는데, 폰으로 테스트를 해보려고 하면 에러가 발생됩니다.
main XML --
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<com.cauly.android.ad.AdView
xmlns:app="http://schemas.android.com/apk/res/hannam.cauly"
android:id="@+id/ad3"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
app:appcode="CAULY"
app:adtype="cpc"
app:gender="all"
app:age="all"
app:effect="circle"
app:gps="off"
app:allowcall="yes"
app:reloadInterval="30"
app:dynamicReloadInterval="true"/>
</LinearLayout>
Manifest --
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="hannam.cauly"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="13" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".Cauly"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
</manifest>
attrs --
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="com.cauly.android.ad.AdView">
<attr name="appcode" format="string" />
<attr name="adtype" format="string" />
<attr name="gender" format="string" />
<attr name="age" format="string" />
<attr name="reloadInterval" format="integer" />
<attr name="dynamicReloadInterval" format="boolean" />
<attr name="gps" format="string" />
<attr name="effect" format="string" />
<attr name="allowcall" format="string" />
</declare-styleable>
</resources>
Error --
뭐가 문제인지를 모르겠습니다..
카울리에 전화를 해봐도 맞다는데... 저는 안되는데 ...;;