bump-test demo

157 views
Skip to first unread message

Pratham

unread,
Mar 30, 2013, 2:28:16 AM3/30/13
to bump-api...@googlegroups.com
Hi all,


Is anyone able to send data to computer or mobile device using bump-test.

I am testing bump-test in my emulator.
Is it possible to send data from my bump-test on my emulator to Bump App on my mobile device.

Or can we send any data from emulator to laptop or mobile device to laptop using bump-test app.

Please reply. Need to know lots of stuff about Bump.


Thanks 
Pratham

Pratham

unread,
Mar 30, 2013, 7:45:51 AM3/30/13
to bump-api...@googlegroups.com
Now I am getting output in logs as



03-30 17:04:07.912: I/BumpTest(1247): boot
03-30 17:04:07.933: I/BumpTest(1247): onStart
03-30 17:04:07.942: I/BumpTest(1247): onResume
03-30 17:04:08.053: D/dalvikvm(1247): Trying to load lib /data/data/com.bump.apitest/lib/libandroid-api.so 0x410225f0
03-30 17:04:08.073: D/dalvikvm(1247): Added shared lib /data/data/com.bump.apitest/lib/libandroid-api.so 0x410225f0
03-30 17:04:08.202: I/Bump API(1247): Service Created
03-30 17:04:08.752: I/BumpTest(1247): onServiceConnected
03-30 17:04:08.823: D/Bump Test(1247): Service connected
03-30 17:04:08.893: I/Bump API(1247): configuring...
03-30 17:04:09.122: D/gralloc_goldfish(1247): Emulator without GPU emulation detected.
03-30 17:04:11.862: I/Bump API(1247): Connected: 1
03-30 17:04:11.952: I/Bump API(1247): Bumping enabled
03-30 17:04:11.952: I/Bump Test(1247): Connected to Bump...

Its displaying that connected to bump...


How to proceed further... ?
How to send data...?
what it is connected to ?

Plz help

Thomas Greany

unread,
Mar 30, 2013, 10:22:48 PM3/30/13
to bump-api...@googlegroups.com, bump-api...@googlegroups.com
Dear Pratham,

Yes it is possible to match with the emulator. You should try connecting a button to the simulateBump call. 

--
You received this message because you are subscribed to the Google Groups "bump-api-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bump-api-andro...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Pratham

unread,
Mar 31, 2013, 3:42:45 PM3/31/13
to bump-api...@googlegroups.com
Dear Tom,

Thanks for replying.

I added a button on my screen and written the following code simulateBump.


public void onClick(View v) {
// TODO Auto-generated method stub
switch (v.getId()) {
case R.id.button1:
try {
api.simulateBump();
} catch (RemoteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
break;

default:
break;
}
}    

I am getting logs as

04-01 01:08:57.922: I/Bump API    (704): Service Created
04-01 01:08:58.182: I/Bump           (704): onServiceConnected
04-01 01:08:58.202: I/Bump API     (704): configuring...
04-01 01:08:58.342: D/gralloc_goldfish(704): Emulator without GPU emulation detected.
04-01 01:09:00.422: I/Bump API     (704): Connected: 1
04-01 01:09:00.432: I/Bump            (704): CONNECTED
04-01 01:09:00.452: I/Bump API       (704): Bumping enabled
04-01 01:09:04.153: I/Bump API      (704): Not matched
04-01 01:09:04.162: I/Bump            (704): NOT_MATCHED


sometimes I am getting 
04-01 01:08:38.363: A/libc(654): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

before

04-01 01:08:38.392: I/Bump(654): CONNECTED
04-01 01:08:38.402: I/Bump API(654): Bumping enabled




Please tell  me why its showing Not matched.... what to be done for testing it properly.

Thanks
Pratham

Pratham

unread,
Apr 17, 2013, 3:22:24 PM4/17/13
to bump-api...@googlegroups.com
Everything working fine now :)

Abdul Hadi Tabani

unread,
Sep 7, 2013, 11:24:46 PM9/7/13
to bump-api...@googlegroups.com
Hi can someone please explain how how the two devices are connected and how to transfer data?
Also What methods are available with the api?
 
Reply all
Reply to author
Forward
0 new messages