2017년 4월 10일 월요일

problem with bluetooth appplications


so i had trouble using two application i created (accept and final1), the application say ''unnable to connect , is the device turn on?''  .
in order to see if the problem was my applications i did download two applications i found on internet(BTclient and BTserver) but it still not work , so i don't understand 
could you help me i would really enjoy that ,if you want the files in aia
PS. sorry for my poor quality english

--
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

PS: I removed the apk files for you, see the Posting Guidelines.

--
sorry for the apk files , heres are the screen shot of the blocks that take care of the bluetooth then i did a test with the code from here http://appinventor.pevest.com/?p=520 and it did not work better . the little one is just a program to accept the connection (i don't know if i need it to make my fat program work ) the fat one is my program

--
1. how to connect correctly see screenshot
2. use procedures to avoid redundancy, see here http://twodogapps.com/?page_id=686#Procedures

3. you might want to try this example to see, if the connection works there
--
i am trying my programs with 2 phones with bluetooth on but the server say ''error 508 unable to listen for a connection from a bluetooth device'' and the client say ''error 507: unable to connect is the device turned on?
--
why repeating to accept the connection over and over again? do it only once in Screen.Initalize, see again https://puravidaapps.com/btchat.php
--
also make sure, that bluetooth is enabled on both devices...

댓글 없음:

댓글 쓰기