S sorex Expert Licensed User Longtime User Jan 10, 2015 #1 Hello, I finally managed to get B4i working on my desktop and I'm able to compile and send the program to the phone. Out of curiosity on the flexibility of the keys & certificates I installed B4i on this netbook aswell. After a few tweaks it all seems to work right but at the moment that it is supposed to send to the phone nothing happends. UNLESS I redo the "build B4i bridge app" again and install it again on the phone. BUT now it doesn't send anymore from the desktop to the phone. Is the machine hostname or something added to the bridge apk so that not every machine can install apps to the pointed IP device? This makes thing kind of complicated since I change machines a lot depending of where I'm working in the house.
Hello, I finally managed to get B4i working on my desktop and I'm able to compile and send the program to the phone. Out of curiosity on the flexibility of the keys & certificates I installed B4i on this netbook aswell. After a few tweaks it all seems to work right but at the moment that it is supposed to send to the phone nothing happends. UNLESS I redo the "build B4i bridge app" again and install it again on the phone. BUT now it doesn't send anymore from the desktop to the phone. Is the machine hostname or something added to the bridge apk so that not every machine can install apps to the pointed IP device? This makes thing kind of complicated since I change machines a lot depending of where I'm working in the house.
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2015 #2 sorex said: Is the machine hostname or something added to the bridge apk so that not every machine can install apps to the pointed IP device? Click to expand... No. The gateway IP of the current local network is stored inside B4i-Bridge. This later helps with making the connection faster. In most cases you can use the same B4i-Bridge with different computers. If you do encounter a problem then you can create another B4i-Bridge. Just change the package name and it will create a new one instead of overwriting the existing one. Upvote 0
sorex said: Is the machine hostname or something added to the bridge apk so that not every machine can install apps to the pointed IP device? Click to expand... No. The gateway IP of the current local network is stored inside B4i-Bridge. This later helps with making the connection faster. In most cases you can use the same B4i-Bridge with different computers. If you do encounter a problem then you can create another B4i-Bridge. Just change the package name and it will create a new one instead of overwriting the existing one.
S sorex Expert Licensed User Longtime User Jan 11, 2015 #3 the gateway is the same as I'm on the same lan. I will give that double bridge option a try but how do I quit the running "faulty" bridge. Out of habbit I always keep pressing where the back key is on Android phones but that doesn't do much It would also be nice if the bridge app showed the IP on that empty page Upvote 0
the gateway is the same as I'm on the same lan. I will give that double bridge option a try but how do I quit the running "faulty" bridge. Out of habbit I always keep pressing where the back key is on Android phones but that doesn't do much It would also be nice if the bridge app showed the IP on that empty page
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2015 #4 If the gateway is the same then there should be no difference between the two bridges. Note that this ip is not very important. It should work even if the ip doesn't match the gateway address. You can kill all apps by double clicking on the home button and then swipe. Upvote 0
If the gateway is the same then there should be no difference between the two bridges. Note that this ip is not very important. It should work even if the ip doesn't match the gateway address. You can kill all apps by double clicking on the home button and then swipe.
S sorex Expert Licensed User Longtime User Jan 11, 2015 #5 I gave it another try which first seemed to work but then it didn't anymore. 1. compile on laptop > ok 2. compile on desktop > ok 3. compile on laptop > keeps waiting to send app 4. close app & bridge on phone (thanks for the closing hint) 5. compile on laptop again > ok, now it asks to install the app again seems something got stuck somewhere inbetween which prevents installs. Upvote 0
I gave it another try which first seemed to work but then it didn't anymore. 1. compile on laptop > ok 2. compile on desktop > ok 3. compile on laptop > keeps waiting to send app 4. close app & bridge on phone (thanks for the closing hint) 5. compile on laptop again > ok, now it asks to install the app again seems something got stuck somewhere inbetween which prevents installs.
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2015 #6 The IDE always tries to connect to the device. If both computers are in the same network and the IDE is open in both computers then both will try to connect to the device and the result will not be good. You can change the device ip address in one of the computers. Upvote 0
The IDE always tries to connect to the device. If both computers are in the same network and the IDE is open in both computers then both will try to connect to the device and the result will not be good. You can change the device ip address in one of the computers.
S sorex Expert Licensed User Longtime User Jan 11, 2015 #7 oh, it stays connected even after the package has been sent and even closed? that explains a lot, so I should just close the ide on the other machine. Upvote 0
oh, it stays connected even after the package has been sent and even closed? that explains a lot, so I should just close the ide on the other machine.
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2015 #8 sorex said: that explains a lot, so I should just close the ide on the other machine. Click to expand... Another option is to set an invalid ip address as the device ip. Upvote 0
sorex said: that explains a lot, so I should just close the ide on the other machine. Click to expand... Another option is to set an invalid ip address as the device ip.