Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User azakharo's Avatar
    Join Date
    Oct 2011
    Posts
    29
    Добрый день!

    Очень извиняюсь, что вопрос набран на английском. Просто вначале напечатал его на английском, а писать еще раз на русском - лень. Думаю, сейчас по-английски все понимают... : )

    Алексей


    I have an external sensor (personal, mobile). For example, a thermometer. I'd like to connect it to an ordinary mobile phone (no OS, just JavaME) and write JavaME application which reads data from that sensor and displays them on the screen.

    My understanding was that I could connect sensor to phone using the audio jack (headphone jack), because every phone has that jack. But I didn't find any info how to read data through that jack.

    So, my questions are:

    1) Is it possible to connect an external sensor to phone's headphone jack and read data from it in JavaME application? How? Code example?

    2) What are the other ways to connect an external sensor to JavaME phone? Bluetooth? Sms?

    Thanks for your help!

  2. #2
    Nokia Developer Expert izinin's Avatar
    Join Date
    Oct 2007
    Posts
    441
    you can use only available ports as Bluetooth , USB, WiFi --- check PC connectivity API , as for headphone jack -- you will have to implement sound spectrum analyzer first and then invent some protocol to communicate with your device -- it will depend on ability your device to generate sound --- so finally that is called "mission impossible"

    Use common approach

    Regards,
    Igor

  3. #3
    Registered User azakharo's Avatar
    Join Date
    Oct 2011
    Posts
    29
    Hi Igor,

    Thanks for reply!

    > you will have to implement sound spectrum analyzer first and then
    > invent some protocol to communicate with your device
    >
    This is exactly the way we are currently going to the target.

Similar Threads

  1. Не удается подключить дебагер к e66!
    By skaterX in forum Russian Developer Forum - Форум Российских разработчиков
    Replies: 2
    Last Post: 2009-08-25, 14:26
  2. JavaME api
    By apim in forum Russian Developer Forum - Форум Российских разработчиков
    Replies: 10
    Last Post: 2008-09-29, 16:58
  3. I am new to JAVAME Plz help me
    By pakkami22 in forum Mobile Java General
    Replies: 4
    Last Post: 2008-08-04, 11:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved