Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8249635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:36:46+00:00 2026-06-07T23:36:46+00:00

I am porting coding from Objective C to MonoTouch to use an external accessory.

  • 0

I am porting coding from Objective C to MonoTouch to use an external accessory. It is super basic coding, however when I create The EASession and try to use the InputStream or OutputStream, they are both NULL. I have used it in Objective-C so I know this should not happen.

I am able to repeatedly connect/disconnect the device and detect it. Now I just can’t seem to read the data from the device because of this null issue. Below is my coding:

session = new EASession(acc, “com.idtechproducts.reader”);

session.OutputStream.Delegate = streamDel; // Crashed saying OutputStream is null

session.OutputStream.Schedule (NSRunLoop.Current , “NSDefaultRunLoopMode”);

session.OutputStream.Open ();

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:36:48+00:00Added an answer on June 7, 2026 at 11:36 pm

    You need to list the external accessories you’re going to use in your
    Info.plist.

    There is some documentation on this on apple’s site:
    http://developer.apple.com/library/ios/#featuredarticles/ExternalAccessoryPT/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009502

    Here is a screenshot of how to set this value in Info.plist:
    http://screencast.com/t/AYmOWjf8wkL

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Porting an application from C# (1.1 framework) to VB.NET (3.5 framework), and I have
Porting code from 32bit to 64bit. Lots of places with int len = strlen(pstr);
I'm porting an existing app to rails that makes extensive use of stylized anchors
I'm porting the T6963-based LCD driver from AVR-GCC to the microchip C18 compiler. I
I am currently porting an application from iOS into Android and I have ran
I'm porting my game from WP7 to Android. My game is a kind of
I would like to learn from and possibly use the section serializer that Jeff
I'm porting some code from one framework library to another, which requires me to
I try porting linux setup script to windows. In script I have file download
I'm an intern student and my boss told me to do porting from Linux

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.