I do not know what I am doing wrong.
I have the hardest times getting my app (or any app, any example downloaded from this site for instance has the same issue) to load/debug. I just downloaded two BLE examples and neither work.
My app is the only one that works, sometimes...
I start B4i-Bridge on the iPad, the screen turns black with the IP address,
I enter the IP address into Tools->Device IP Address,
I click on the Run icon,
B4i does its things,
The screen on the iPad turns white and... nothing.
I put a breakpoint on the first statement in Application_Start and it does not even get there.
It seems that the first time I start after many days of not working on it, it works the first time, just enough to make me think it's ok, then it's over until I give up in frustration after an hour or two and I do something else for a couple of weeks, then if I am lucky it may work one time again.
Sometimes it asks me if I want to install the app but not every time, and even when it asks, the app does not actually load.
I have noticed that when the screen turns white, the B4i-Bridge app shows "B4i-Example" in the top left corner (the "back" icon), even when the app I am trying to load has another name.
The log window occasionally shows error messages and I am invited to "clean project".
My app (an app- imported from B4A) is the only one that works, rarely... None of the examples I have downloaded have loaded, not even once.
Today for the first time, after about an hour, my app runs for the second time in one day. I cleaned all the leftovers (apps that did not work did manage to somehow install themselves on the ipad, there were several with the name "B4i-Example"), clicked Clean Project several times and my app runs. I am too scared to close it...
At that rate, it will take a couple bazillion hours to get anything done...
I have no idea what I am doing wrong, the tablet and laptop are obviously working and communicating, yet the program only loads once.
Any help appreciated, I committed to getting one app working some time this year, I can't afford to spend that much time troubleshooting the tool, I have to get my code working too...
Update: after removing all the remnants of previous apps from the tablet, it seems that B4i-Bridge is working a lot better. Not sure why but it looks like B4i-Bridge was trying to run the same old app I had downloaded way back and not the one I was trying to debug. By cleaning all the old apps, it is working a lot better. The clue is that B4i-Bridge was telling me it was running B4i-Example (the old broken app) even though it was loading another app. Once the old app was removed, it started working.
I have the hardest times getting my app (or any app, any example downloaded from this site for instance has the same issue) to load/debug. I just downloaded two BLE examples and neither work.
My app is the only one that works, sometimes...
I start B4i-Bridge on the iPad, the screen turns black with the IP address,
I enter the IP address into Tools->Device IP Address,
I click on the Run icon,
B4i does its things,
The screen on the iPad turns white and... nothing.
I put a breakpoint on the first statement in Application_Start and it does not even get there.
It seems that the first time I start after many days of not working on it, it works the first time, just enough to make me think it's ok, then it's over until I give up in frustration after an hour or two and I do something else for a couple of weeks, then if I am lucky it may work one time again.
Sometimes it asks me if I want to install the app but not every time, and even when it asks, the app does not actually load.
I have noticed that when the screen turns white, the B4i-Bridge app shows "B4i-Example" in the top left corner (the "back" icon), even when the app I am trying to load has another name.
The log window occasionally shows error messages and I am invited to "clean project".
My app (an app- imported from B4A) is the only one that works, rarely... None of the examples I have downloaded have loaded, not even once.
Today for the first time, after about an hour, my app runs for the second time in one day. I cleaned all the leftovers (apps that did not work did manage to somehow install themselves on the ipad, there were several with the name "B4i-Example"), clicked Clean Project several times and my app runs. I am too scared to close it...
At that rate, it will take a couple bazillion hours to get anything done...
I have no idea what I am doing wrong, the tablet and laptop are obviously working and communicating, yet the program only loads once.
Any help appreciated, I committed to getting one app working some time this year, I can't afford to spend that much time troubleshooting the tool, I have to get my code working too...
Update: after removing all the remnants of previous apps from the tablet, it seems that B4i-Bridge is working a lot better. Not sure why but it looks like B4i-Bridge was trying to run the same old app I had downloaded way back and not the one I was trying to debug. By cleaning all the old apps, it is working a lot better. The clue is that B4i-Bridge was telling me it was running B4i-Example (the old broken app) even though it was loading another app. Once the old app was removed, it started working.
Last edited: