Hi,
Just trying to learn how to develop apps for Android wear devices..
1. It seems that the wear device connects to the PC just like a phone or tablet.
Would you say that if I had a wear device paired to a phone and that phone has the B4A-Bridge installed and connected to B4A it will allow me to push apps to the wear device when I run the app ? (not sure how B4A or even Android knows to send the app to the wear device and not just run it on the phone?)
Any ideas on how to send the app to the wear device and not the phone ?
2. Looking through the Android developer site it says that you need to create 2 activity's (one for the Phone and one for the wear device)
So far that's easy to do.
But then when you go to run it how does it know which activity is used for the phone and which one to use for the wear device ?
3. The Android developer site also says: "When you're ready to publish your app to users, you embed the wearable app inside of the handheld app. When users install the handheld app from Google Play, a connected wearable automatically receives the wearable app."
How do you embed the wearable app inside the handheld app ?
This is the site I have been looking at:
http://developer.android.com/training/wearables/apps/creating.html#CreateProject
Anyone been able to use B4A to develop wearable apps? If so can you share how you managed to connect to the wearable device and how to create the activity for the device.
I know you would make the phone manage all the heavy lifting such as network traffic and you would just send messages to the wear device, but I would like to create a little app that runs on the wear device.
Is there a trick to it in B4A ? (A 'hello world' demo would be great as well for this)
Just trying to learn how to develop apps for Android wear devices..
1. It seems that the wear device connects to the PC just like a phone or tablet.
Would you say that if I had a wear device paired to a phone and that phone has the B4A-Bridge installed and connected to B4A it will allow me to push apps to the wear device when I run the app ? (not sure how B4A or even Android knows to send the app to the wear device and not just run it on the phone?)
Any ideas on how to send the app to the wear device and not the phone ?
2. Looking through the Android developer site it says that you need to create 2 activity's (one for the Phone and one for the wear device)
So far that's easy to do.
But then when you go to run it how does it know which activity is used for the phone and which one to use for the wear device ?
3. The Android developer site also says: "When you're ready to publish your app to users, you embed the wearable app inside of the handheld app. When users install the handheld app from Google Play, a connected wearable automatically receives the wearable app."
How do you embed the wearable app inside the handheld app ?
This is the site I have been looking at:
http://developer.android.com/training/wearables/apps/creating.html#CreateProject
Anyone been able to use B4A to develop wearable apps? If so can you share how you managed to connect to the wearable device and how to create the activity for the device.
I know you would make the phone manage all the heavy lifting such as network traffic and you would just send messages to the wear device, but I would like to create a little app that runs on the wear device.
Is there a trick to it in B4A ? (A 'hello world' demo would be great as well for this)