Help, project Microchip work fine with Eclipse and HTC Explorer

Heppy

Active Member
Licensed User
Longtime User
Hello.
I'am looking at an application of microchip days ago and I can not convert it to B4A.
Use USB and my HTC Explorer with android 2.3.5 works fine.
Deputy original code.
Use Google Api 2.3.3, 2.3.3 and not Android android.hardware, USB.future
Not as Editor Manifiest use to try to access the Google library.
Manifest.xml I copy the app and attached the source.
Indicate to me as if it were com os very grateful.
I've posted in forum Spanish but have not got answers after a reasonable time.
Sorry for the English. Google Translate. lol
regards

Manifest.xml

B4X:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
   package="com.microchip.android.BasicAccessoryDemo" 
      android:versionCode="5"
      android:versionName="1.4">

   <uses-sdk android:minSdkVersion="10"></uses-sdk>
   <uses-sdk android:maxSdkVersion="10"></uses-sdk>

   <application android:icon="@drawable/datatransfer"
      android:label="@string/app_name">
      <activity android:name=".BasicAccessoryDemo" android:label="@string/app_name">
         <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
         </intent-filter>

         <intent-filter>
            <action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
         </intent-filter>
         <meta-data android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
            android:resource="@xml/accessory_filter" />

      </activity>
      <uses-library android:name="com.android.future.usb.accessory" />
   </application>
</manifest>
 
Last edited:
Top