re] how to use multi-bluetooth from Android studio? - android

I want making multi-bluetooth from Android studio.
I found multi-bluetooth java code libraries.
but I am difficult to use. (Because I do not speak English well :'-()
find site 1
find site 2
I want to make. (from Android studio)
[Fitness game machine 1 & joystick 1 - Bluetooth Android phone 1]
It is possible to implement?
Please tell me on a site presented above, helpful site that correct.

Of course it is possible to connect with multi-bluetooth devices.
For the joystick, you may connect it with HID, and , you really need to nothing at Android side; the system Bluetooth apps would help you to do that.
Regarding to the game machine, why don't you put it as the single devices :-)

Related

how to understand the wifi code flow in android?

I am new to the android. I just want to understand the Wi-Fi code flow in android. I have already grasp some basic stuff about it, need some more detail about it.
This is a good starting point..
https://source.android.com/devices/tech/connect/wifi-overview
Hi thanks for the Question.
before i answer your question i wanted some calrification?
you want to learn wifi for app developement or you want understand wifi has a whole module?
if your perpose is to understand has a whole from app layer to driver.
i would suggest you to look into this
https://www.amazon.com/802-11-Wireless-Networks-Definitive-Guide-ebook/dp/B005WZ0SXW
even before you jump into code.
has far has the code is concerned
these are few things which i would suggest you to look into.
1)Wpa_supplicant is an open source project source code, which was modified by Google to join theAndroidmobile platform.
What is wpa_spplicant ?-->start from here .
practice how to use wpa supplicant from cmd line.
2)once you have got the grip on wpa_supplicant wireless network configuration form cmd line or linux terminal.
3)next will suggest you to look into android architecture the one before android N and after Treble.
4)once you are familiar with architecture,please look into state machine and how they are making state transistion form one state to other.-->in framework code from android M(easy compared to latest).
and so on .these are just few things which can help you ,but there is a lot more happening and its vast.

Pixate to Android studio

i am working on designing Android App UI and i wonder if it is possible to export Pixate prototype to android studio ? have anyone tried or having an idea how to do that ?
As mentioned in their website(Pixate.com) to someone's question, they have mentioned that , for now its just a prototyping app , which means you just design it and show how it is to others and currently there is no feature to export it to android studio but they have mentioned that they are thinking to add that feature as it helps the developer a lot, being a developer myself , I was also looking for exactly what you are looking , Adobe is developing a product with code name Project Comet which is going to be a competitor for Sketch 3 which is also a awesome prototyping software but its available only for mac, I hope adobe will be launching the Project comet to Windows as well and it would be of great help if they include the feature of exporting the code so that we can easily desgin and do the animations in these softwares and export them along with the code so that we can import in our IDE as this would allow us to spend more energy on back end rather than on front end ...

is it possible to create an android 1.5.1 app using Android Studio?

is it possible to create an Android 1.5.1 app using Android Studio?
Yes it is old but still used...
It only has to read 3 different txt files which are located on local network, containing 1 line of text each and display it under each other in portrait view.
Refresh ones a minute should be ok.
And it has to have a dropdown menu so you can choose which number of device it is, so from 1-10 is ok and according that read the txt files which belongs to that device nr.
I can't use a webpage because i cannot create a local server for it. So i need a little app.
To create the txt files i use a windows program.
I use Livecode (since short) but it can't create apps below Android froyo 2.2.
Any help on this would be highly appreciated. As i don't know anything about java.
It's only for local use, nothing commercial or anything
Thanks for any help on this!
You should try using PhoneGap (Cordova) http://phonegap.com which is basically a HTML-Webview, wrapped up in an App, so you can code the whole thing using JavaScript, and it is still a real app.
With this it should be very easy to do that, even if you "don't speak Java".
But to answer your initial question, yes it should be possible to create an Android App for 1.5.1 with Android Studio. You just need to install the right SDK/Packages etc with the SDK Manager.
Have fun coding.

How to connect wii balance board with android

How to connect Wii balance board with android?
Is there are any useful Library in android and how to use it?
My goal now is to connect it together and can receive data from it.
I'm new with android and Bluetooth development
I found this answer useful: Is it possible for an android device to read information from the wii controller and nunchuck? (quoted below with thanks to #Ben Mordue)
Have a look at this open source project:
http://code.google.com/p/android-bluez-ime/
Update:
I first installed the APK file on Galaxy Nexus and it works. I have checked the code out of the repo, and it builds fine, and it relatively easy to understand.
It comes in 3 projects - to use Wiimote, you need to install all 3 projects. The one is just used as a flag to allow the service to try for a Wiimote (considering not all ROMs support that level of HID interaction).
I also found these resources on WiiBrew.org:
http://wiibrew.org/wiki/Wiimote
http://wiibrew.org/wiki/Wii_Balance_Board
I used the Wiimote link to understand the Bluez-IME code.
Update 2:
Last night I got the board to communicate with my Android phone correctly. I did this by starting with the Bluez-IME code linked above, and modifying it based on the wiibrew.org info.
The trick is that the Balance Board is like a wiimote with an Extension. So its like a Nunchuk or Classic Controller, but just with a different device ID to look for.
For my initial demo, I just searched for all code that uses a Nunchuk, and duplicated it for a Balance Board. Then to initialise the MODE to use channel 0x32, as per the wiibrew Balance Board page.
Update 3:
I just stumbled across this app on the store: FitScales
And the developer has shared his code on github: paulburton / fitscales

pcsc-lite and ccid on Android

Does anyone have experience porting pcsc-lite/ccid to Android? I don't need to access smart cards/readers from the application layer, just from the shell. So, as long as I can get the pcscd daemon to run, that's fine.
Do I have to also port libusb/libhal to Android since pcsc-lite requires either?
Thanks.
It has been done and it works, however not sure what Android version the current patch supports. Check the SEEK site and their mailing list for more information: https://seek-for-android.github.io/.

Categories

Resources