Need to access native interface code (android paypal integration) from codename one
<p>I have write some paypal integration code with android under native interface Impl.I have copied the paypal SDK and android-support-v4 under native/android folder. Can anyone please help with the required android.xapplication and android.xpermissions.
need to include the below entries:</p>

<pre><code>&lt;uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE"/&gt; 
&lt;uses-permissionandroid:name="android.permission.ACCESS_WIFI_STATE"/&gt; 
&lt;uses-permissionandroid:name="android.permission.INTERNET"/&gt; 
&lt;actionandroid:name="android.intent.action.MAIN"/&gt; 
&lt;categoryandroid:name="android.intent.category.LAUNCHER"/&gt; 
&lt;serviceandroid:name="com.paypal.android.sdk.payments.PayPalService"android:exported="false"/&gt; 
&lt;activityandroid:name="com.paypal.android.sdk.payments.PaymentActivity"/&gt; 
&lt;activityandroid:name="com.paypal.android.sdk.payments.LoginActivity"/&gt; 
&lt;activityandroid:name="com.paypal.android.sdk.payments.PaymentMethodActivity"/&gt; 
&lt;activityandroid:name="com.paypal.android.sdk.payments.PaymentConfirmActivity"/&gt; 
&lt;activityandroid:name="com.paypal.android.sdk.payments.PayPalFuturePaymentActivity"/&gt; 
&lt;activityandroid:name="com.paypal.android.sdk.payments.FuturePaymentConsentActivity"/&gt; 
&lt;activityandroid:name="com.paypal.android.sdk.payments.FuturePaymentInfoActivity"/&gt; 
&lt;activityandroid:name="io.card.payment.DataEntryActivity"/&gt; 
</code></pre>

<p>getting build error java.lang.RuntimeException: Cannot read packageName from /tmp/build6857927875990546701xxx/MyApplication/src/main/AndroidManifest.xml for entry codename1.arg.android.xapplication in codenameone_settings.
It is successfully build with the entry</p>

<pre><code>codename1.arg.android.xapplication\==&lt;service android\:name\="com.paypal.android.sdk.payments.PayPalService"android\:exported\="false"/&gt;  &lt;activity android\:name\="com.paypal.android.sdk.payments.PaymentActivity"/&gt;  &lt;activity android\:name\="com.paypal.android.sdk.payments.LoginActivity"/&gt;  &lt;activity android\:name\="com.paypal.android.sdk.payments.PaymentMethodActivity"/&gt;  &lt;activity android\:name\="com.paypal.android.sdk.payments.PaymentConfirmActivity"/&gt;  &lt;activity android\:name\="com.paypal.android.sdk.payments.PayPalFuturePaymentActivity"/&gt;  &lt;activity android\:name\="com.paypal.android.sdk.payments.FuturePaymentConsentActivity"/&gt;  &lt;activity android\:name\="com.paypal.android.sdk.payments.FuturePaymentInfoActivity"/&gt;  &lt;activity android\:name\="io.card.payment.DataEntryActivity"/&gt;
</code></pre>

<p>But not found the PaymentActivity class from paypal sdk jar while testing from device. Can you please help on that.</p>