iOS-Android cross platform possible?

asked 2014-03-27 16:31:55 -0700

telpokint gravatar image

All the example apps I see for AllJoyn are Android only. Is a cross-platform iOS-Android app possible? The iOS SDK seems to only have Objective-C bindings, so would you have to write two different versions of your app if you wanted Android and iOS devices to communicate to each other?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-03-28 09:57:04 -0700

Nikhil Dabhade gravatar image

Hi telpokint,

Yes. One of the key features of AllJoyn is cross platform communication. The iOS SDK has samples apart from Objective-C bindings. Specifically, you can try the Chat app in both Android and iOS SDK and they should be able to communicate with each other. Writing two different version of an app would be the way to go in the case if you want to stick to using pure Java on Android and Objective-C on iOS. The only way you would not have to write two versions of an app would be if you used C++ library and wrote JNI on Android and used C++ directly in your iOS app. This could reduce the maintenance work for you since you could just use the same C++ call flows on both platforms but may sacrifice the platform specific language benefits.

Hope that helps

Regards, Nikhil

edit flag offensive delete publish link more


@NikhilDabhade? maybe you could help me out of my problem.... https://ask.allseenalliance.org/question/661/how-to-discover-available-devices-around-us-and-put-it-into-listviewandroid/

gumuruh ( 2014-06-22 20:42:20 -0700 )edit

I just joined the forum to ask the same question! Thanks for the great answer. In my case I have two native apps, Android & iOS. They need to send some string info to each other given that - None is connected to internet - WIFI is enabled on both but none connected to a hub.

genc ( 2015-08-11 10:50:32 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-03-27 16:31:55 -0700

Seen: 272 times

Last updated: Mar 28 '14