DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
03/03/16 10:00 AM (8 years ago)

Updated BT Push code for Android Studio so Push won't crash app?

(Sorry if this is in the wrong place; I did not see an Android Studio category.) I have been able to finally successfully build for Android, using Smugwimp's advice to use the latest SDK and latest build tools available, even though my target device is still an older device. However, the BT Push code for Android seems to use an older, now-deprecated style of code that is not compatible with the SDK / build tools. The code modifications I found here: http://www.buzztouch.com/forum/thread.php?tid=56643342D49BA08BDEEB1EF ...don't work with the latest SDK / library. The best compilation I can make of the modifications seem to use a mis-mash of old style code and new style code, and it crashes the app every time I send a push notification. Per Dusko's suggestions, I am posting this new topic to hopefully attract more attention, and also I am searching the forums for FunkeyMonkey's posts on the topic. Any advice or help welcomed!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/03/16 01:45 PM (8 years ago)
Will post fix when I have time. Was working it when updating my push plugin
 
DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
like
03/03/16 02:35 PM (8 years ago)
Thanks!
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
03/05/16 07:05 AM (8 years ago)
I used the above link to make mine work, im still in eclipse though, so maybe someone can do a studio update to that code. cheers Sean
 
DougJoseph
Aspiring developer
Profile
Posts: 161
Reg: Jan 30, 2016
Stonewood
2,210
like
03/06/16 12:49 AM (8 years ago)
Sean: Yes, that would be great. My knowledge in this area is still not enough to get it done, but hopefully I will get there one day.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.