×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Lightbulb flash in j2me using bluetooth

    hi,
    hi,
    i want to display a list of bluetooth devices in a swf file .
    anyone has experience of working front end flash or anyone give me code example of display list in flash.
    any related help will be very useful for me.
    thanks in advance

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: flash in j2me using bluetooth

    I was going to suggest you to use KuneriLite, but their connect plug-in does not seem to support showing BT devices, just seding and receiving data
    http://wiki.kunerilite.net/index.php...Connect_plugin

    If you talk about Capuchin, check here (although remember that this does not work on Nokia devices and I do not know if there are yet any devices supporting this
    https://developer.sonyericsson.com/s...ctcapuchin.jsp

    In general, having a FL app and a MIDlet running on the background communicating each other requires that the system supports background MIDlets (does not work on Series 40). The communication happens through socket connections. I guess you can find some code examples from the net using Google.

    Hartti

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: flash in j2me using bluetooth

    Little addition to Hartti's reply: about the Java ME-FlashLite mixed approach, you can also take a look at Jarpa.

    Pit

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: flash in j2me using bluetooth

    Dang... I totally forgot that (and I thought my answer was perrrrrfect :-)

    Thanks jappit!

    Hartti

  5. #5
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Re: flash in j2me using bluetooth

    Thanks alot for answering hartti,
    yes i am working on capuchin and on j2me side i am searching bluetooth devices and i want to display these devices on flash side.code looks fine but not working.
    Quote Originally Posted by hartti View Post
    I was going to suggest you to use KuneriLite, but their connect plug-in does not seem to support showing BT devices, just seding and receiving data
    http://wiki.kunerilite.net/index.php...Connect_plugin

    If you talk about Capuchin, check here (although remember that this does not work on Nokia devices and I do not know if there are yet any devices supporting this
    https://developer.sonyericsson.com/s...ctcapuchin.jsp

    In general, having a FL app and a MIDlet running on the background communicating each other requires that the system supports background MIDlets (does not work on Series 40). The communication happens through socket connections. I guess you can find some code examples from the net using Google.

    Hartti

  6. #6
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: flash in j2me using bluetooth

    Haha... it was perrrrrfect, but now it is more!

    Pit

  7. #7
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Re: flash in j2me using bluetooth

    one more thing,
    Is this possible , i can make a file(container)so i can note down the communication between j2me and flash otherwise i think i am blind bcoz i can't test my application at loptop and on phone i don't know what's happening.

  8. #8
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: flash in j2me using bluetooth

    Yes, you can write a log to a file in the MIDlet. Use FileConnection API or that (JSR-75), plenty of sample code is available in Forum Nokia Wiki.
    Note that there will be a confirmation asked for writing a file. This is due to the security framework used for MIDlets.

    Hartti

  9. #9
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Question Re: flash in j2me using bluetooth

    thanks,
    if you send me an example code ,it will be grt favour for me.
    I am just wondering ,how will i trace the errors in my application because you know when application is running on mobile device its UI will be in flash.
    can i replace that flash file interface with j2me screen.
    I think if i make a log file , i can only read the log file after termination of my application using another program.
    Is this the right and only way?

    Quote Originally Posted by hartti View Post
    Yes, you can write a log to a file in the MIDlet. Use FileConnection API or that (JSR-75), plenty of sample code is available in Forum Nokia Wiki.
    Note that there will be a confirmation asked for writing a file. This is due to the security framework used for MIDlets.

    Hartti

  10. #10
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: flash in j2me using bluetooth


  11. #11
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Re: flash in j2me using bluetooth

    cheers mate,i got another solution as well.i am having a combine UI FLASH AND J2ME.so i can handle the flash files easily.
    thanks for your time.

  12. #12
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,104
    Quote Originally Posted by jackofall View Post
    i can make a file(container)so i can note down the communication between j2me and flash
    Does this help?

  13. #13
    Regular Contributor
    Join Date
    Nov 2007
    Posts
    193

    Re: flash in j2me using bluetooth

    i can display form/list screen and then flashcanvas....on pressing next command and i also try to use flash imange in normal canvas but i am still searching can i have an interface half java and half flash.
    if yes how can i handle that! thanks for your time .guys

Similar Threads

  1. Replies: 4
    Last Post: 2009-03-17, 08:20
  2. Video streaming via Bluetooth on J2ME
    By mmohamednazar in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2007-12-07, 08:32
  3. j2me Bluetooth application problem on 6600,6680,6630
    By inadilemma in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-09-18, 13:12
  4. J2ME client to C# server over Bluetooth?
    By Global_Inferno in forum Mobile Java Networking & Messaging & Security
    Replies: 17
    Last Post: 2007-03-26, 12:34
  5. Ignoring cached bluetooth devices with J2ME?
    By westdwestd in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-01-11, 06:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •