cooperlegend Active Member Licensed User Longtime User Mar 19, 2020 #1 Please can we have a solution for B4A to use Amazon Device Messaging Amazon Device Messaging I am happy to donate to this development if necessary John
Please can we have a solution for B4A to use Amazon Device Messaging Amazon Device Messaging I am happy to donate to this development if necessary John
DonManfred Expert Licensed User Longtime User Mar 19, 2020 #2 cooperlegend said: Amazon Device Messaging Click to expand... looks like you can use okhttputils2 to use it. B4X: Copy POST /messaging/registrations/(REGISTRATION_ID_FOR_DESTINATION_APP_INSTANCE)/messages HTTP/1.1 Host: api.amazon.com Authorization: Bearer (YOUR_ACCESS_TOKEN) Content-Type: application/json X-Amzn-Type-Version: [email protected] Accept: application/json X-Amzn-Accept-Type: [email protected]
cooperlegend said: Amazon Device Messaging Click to expand... looks like you can use okhttputils2 to use it. B4X: Copy POST /messaging/registrations/(REGISTRATION_ID_FOR_DESTINATION_APP_INSTANCE)/messages HTTP/1.1 Host: api.amazon.com Authorization: Bearer (YOUR_ACCESS_TOKEN) Content-Type: application/json X-Amzn-Type-Version: [email protected] Accept: application/json X-Amzn-Accept-Type: [email protected]
cooperlegend Active Member Licensed User Longtime User Mar 20, 2020 #3 Thank you DonManfred, I will investigate this further, fingers crossed
cooperlegend Active Member Licensed User Longtime User Mar 20, 2020 #4 OK. OKHttpUtils2 is fine for sending messages, but I am not really looking to send messages from the App. What I am after is being able to receive the messages, like I currently do with Firebase like Firebase messaging I can see all the parts (code for the manifest, java code, API_KEYS etc.) But I don't know how to implement this within B4A having never developer on Android with anything other that B4A since day one.... Does anyone have the necessary code to implement this please ? Happy to donate
OK. OKHttpUtils2 is fine for sending messages, but I am not really looking to send messages from the App. What I am after is being able to receive the messages, like I currently do with Firebase like Firebase messaging I can see all the parts (code for the manifest, java code, API_KEYS etc.) But I don't know how to implement this within B4A having never developer on Android with anything other that B4A since day one.... Does anyone have the necessary code to implement this please ? Happy to donate
DonManfred Expert Licensed User Longtime User Mar 20, 2020 #5 cooperlegend said: What I am after is being able to receive the messages Click to expand... You need to follow their instructions. This needs a bit more work, implementing the manifest-changes, adding Service(s), using the SDK. Probably you need to write a wrapper of it. You can use JavaObject too if you are familar with it. Integrate Your App | Amazon Device Messaging After you Obtain Credentials to use Amazon Device Messaging (ADM) and set it up in your development environment, integrate ADM with your app. See Overview of ADM for a high-leve... developer.amazon.com
cooperlegend said: What I am after is being able to receive the messages Click to expand... You need to follow their instructions. This needs a bit more work, implementing the manifest-changes, adding Service(s), using the SDK. Probably you need to write a wrapper of it. You can use JavaObject too if you are familar with it. Integrate Your App | Amazon Device Messaging After you Obtain Credentials to use Amazon Device Messaging (ADM) and set it up in your development environment, integrate ADM with your app. See Overview of ADM for a high-leve... developer.amazon.com
DonManfred Expert Licensed User Longtime User Mar 20, 2020 #6 cooperlegend said: Happy to donate Click to expand... What´s your budget? Can you provide the needed Amazon-logins or respectively the needed app-id, token or whatever is needed?
cooperlegend said: Happy to donate Click to expand... What´s your budget? Can you provide the needed Amazon-logins or respectively the needed app-id, token or whatever is needed?
cooperlegend Active Member Licensed User Longtime User Mar 20, 2020 #7 Hi DonManfred, I understand that. But as I said above, I have never done this before, only ever used B4X I haven't registered for token, api_keys or anything yet as I will need to set up a new account for my company. I am happy to discuss budget with you privately to develop this much like Erel's firebase solution as long as this gets shared to the whole community Cheers John
Hi DonManfred, I understand that. But as I said above, I have never done this before, only ever used B4X I haven't registered for token, api_keys or anything yet as I will need to set up a new account for my company. I am happy to discuss budget with you privately to develop this much like Erel's firebase solution as long as this gets shared to the whole community Cheers John
DonManfred Expert Licensed User Longtime User Mar 20, 2020 #8 cooperlegend said: I am happy to discuss budget with you privately to develop this much like Erel's firebase solution as long as this gets shared to the whole community Click to expand... I have no problem in Publishing the wrapper once it is done. It is your decision as you are the one who pay for my work in this case... Lets start a new thread in the job offer forum to discuss anything. I prefer a thread in the forum instead of a conversation. Writing in public offers the possibility for others to add themself to the discussion.
cooperlegend said: I am happy to discuss budget with you privately to develop this much like Erel's firebase solution as long as this gets shared to the whole community Click to expand... I have no problem in Publishing the wrapper once it is done. It is your decision as you are the one who pay for my work in this case... Lets start a new thread in the job offer forum to discuss anything. I prefer a thread in the forum instead of a conversation. Writing in public offers the possibility for others to add themself to the discussion.