Your post was successfully created



Share and learn. Create something amazing with
the collaboration of our great community.

#177 Hype on Android uses an implicit broadcast receiver banned since API 26

Hey, I was playing a bit with Hype over Christmas (not yet certain whether I want to use it in a product, still testing it for fun at this point). I noticed that Hype on Android registers an implicit (i.e. registered via manifest) broadcast receiver for the `android.bluetooth.adapter.action.STATE_CHANGED` action. I see this in the logs: ``` 2018-12-27 14:07:09.957 298-313/system_process W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.bluetooth.adapter.action.STATE_CHANGED flg=0x4000010 (has extras) } to me.komorowski.circabeamer/com.hypelabs.hype.drivers.BluetoothCommons.BluetoothStateListenerImpl ``` This is banned since Android API 26 released in August 2017 (obligatory on Google Play for new apps since August 1, 2018 and for existing apps since November 1, 2018 -- basically a hard requirement at this point). See for more info. Is this broadcast receiver an essential part of the SDK? Can you replace it with a runtime call to `Context.registerReceiver()` to fix the problem? Best, Konrad PS: Merry Christmas and all the best in the new year! PPS: Congrats on the 2.0.50 release -- anecdotally it's more stable than the previous one!

Konrad Komorowski . Dec. 27, 2018, 8:03 a.m.


#176 Cant add credit card for billing

Hello, while trying to move our application into production mode and setting up the authentication server we can not add a credit card to our project. All the information is filled in correctly but when clicking on "add card" there comes a progress dialog and then shows the credit card page again. Any suggestions? Kind regards

Kolja Kaufmann . Dec. 9, 2018, 7:16 a.m.



#175 PubSub Android project- facing problem in communication.

hello there, I am using three phones for this application. two of them having API-26, and One having API-25. The problem is whatever I am publishing, it is only notified in only one mobile having API-25, and other two having API-26 does not get any notification. I don't know what I am doing wrong in this. whether I am doing something wrong???? because it works completely fine in One android phone having API-25, need your suggestions...Thanks

Diwakar Deep . Nov. 10, 2018, 10:13 a.m.


#156 Can you always use the best available transport type when several are activated ?

So transfer between iOS and Android is my main focus. I set BLE + Wifi_Infra as mentioned for it to work. I came to the conclusion that sometimes BLE is used also to transfer data, and not just detect devices. Which is problematic for me because transfert rate of BLE is inapropriate for images. Too slow ! So when several transport types are set, can you always use the one with best transfert rate to do data transfert ? Performance will be far better like this.

Mick . Aug. 29, 2018, 9:08 a.m.


#174 pubsub Android project- error after compiling in my phone

hello, the above project compiled and installed in my samsung galaxy-A5, but facing some problems in running in other android phones having the same API-26, I am having few problems when I click any of the given options. ERRORS- Hype SDK could not be started. Suggestion: Please check your internet connection. Description: The HTTP request to the Hype server failed or Adapter is off check this links-- I have tried enabling/disabling wifi, hotspot, bluetooth etc to fix this error still not able to solve this. Thanks.

Diwakar Deep . Nov. 10, 2018, 7:22 a.m.



#172 Error building the GIT Sample Project for Android

Hello there, I just downloaded the Pubsub Android project, added the Hype SDK and updated the app keys. However, my Android studio is not compiling it. ![Here is the error I am getting]( "enter image title here") [Link](

Saurabh G . Nov. 8, 2018, 1:05 p.m.



#173 Pubsub Android project - Devices not talking with each other

Hello there, newbie question perhaps. I downloaded the "Pubsub Android project" from github, updated the app keys etc., and deployed it on a Google Nexus 6 and a Samsung Tablet SM-T237P. The apps installed fine and can subscribe to the channel. However, when I publish an update, it only shows up on the device from which I have published it. The services show up in each device's subscription. [Link]( For some reason, the two devices are not connecting. I have enabled/disabled wi-fi, tried airplane mode etc. Is there something really simple that I am missing? Also, are there any settings that I need to turn on for this. The two devices can see each other when I go to the Bluetooth settings. Thanks

Saurabh G . Nov. 8, 2018, 7:56 p.m.