bump

Bump API Android crash

你离开我真会死。 提交于 2019-12-10 11:32:36
问题 I have a huge problem with the bump API on Android. I setup everything like in the example, the first time I start my activity containing the bump code it works great, now if I go back and start it again it just crash due to a Fatal signal error... It happen right after I call the configure of the bump API. May I need to not call it again ? But there is nothing to check if it already configured or not. public class BumpActivity extends Activity { private IBumpAPI api; private ProgressDialog

Bump API Android crash

 ̄綄美尐妖づ 提交于 2019-12-06 12:21:56
I have a huge problem with the bump API on Android. I setup everything like in the example, the first time I start my activity containing the bump code it works great, now if I go back and start it again it just crash due to a Fatal signal error... It happen right after I call the configure of the bump API. May I need to not call it again ? But there is nothing to check if it already configured or not. public class BumpActivity extends Activity { private IBumpAPI api; private ProgressDialog mDialog; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

How does “bump” technology work?

那年仲夏 提交于 2019-11-29 19:26:19
Any good documentation or articles out there about doing device-to-device data transfer? Pretty non-technical, but their FAQ gives some information on the technology: Q: How does Bump work? A: There are two parts to Bump: the app running on your device and a smart matching algorithm running on our servers in the cloud. The app on your phone uses the phone's sensors to literally "feel" the bump, and it sends that info up to the cloud. The matching algorithm listens to the bumps from phones around the world and pairs up phones that felt the same bump. Then we just route information between the

iOS: Accurately determining energy of a bump from accelerometer output

喜欢而已 提交于 2019-11-28 22:11:54
I am creating a tuning fork app, where you pat the iPhone into the palm of your other hand, or against a soft surface in order to set the fork zinging. So I would like to detect the energy contained in each 'bump' (EDIT: Removed a ton of gumpf) Can anyone help me crack this one? Thanks to one of the wizards on freenode's #math channel (thanks Igor), I have a really good working solution. You use the standard method to fire a callback at the maximum frequency possible (100Hz), which will contain the instantaneous acceleration x,y,z values. I will let the code speak for itself, good code should

How does “bump” technology work?

坚强是说给别人听的谎言 提交于 2019-11-28 15:53:41
问题 Any good documentation or articles out there about doing device-to-device data transfer? 回答1: Pretty non-technical, but their FAQ gives some information on the technology: Q: How does Bump work? A: There are two parts to Bump: the app running on your device and a smart matching algorithm running on our servers in the cloud. The app on your phone uses the phone's sensors to literally "feel" the bump, and it sends that info up to the cloud. The matching algorithm listens to the bumps from

iOS: Accurately determining energy of a bump from accelerometer output

久未见 提交于 2019-11-27 14:16:12
问题 I am creating a tuning fork app, where you pat the iPhone into the palm of your other hand, or against a soft surface in order to set the fork zinging. So I would like to detect the energy contained in each 'bump' (EDIT: Removed a ton of gumpf) Can anyone help me crack this one? 回答1: Thanks to one of the wizards on freenode's #math channel (thanks Igor), I have a really good working solution. You use the standard method to fire a callback at the maximum frequency possible (100Hz), which will