Posts

WebRTC and React Native

Today i will set webrtc in react native, so if you wanna follow and get information how to set in this you can see on reference 1. For your information, expo didn't support webrtc so you must build the webrtc under react native bare. Sial sibangsat bisa jadi di ract native webrtc sample di reference 3 Reference : https://dev.to/jdmg94/webrtc-and-react-native-52pi https://brentmarquez.com/uncategorized/how-to-get-socket-io-to-work-with-react-native/ https://github.com/colinwitkamp/react-native-webrtc-sample https://github.com/adavijit/AVDOJO-TUTORIALS/tree/master/firebase-react-otp-1 https://reactnativeforyou.com/how-to-use-map-function-in-react-native/ https://github.com/saitoxu/InstaClone/blob/master/src/screens/HomeScreen.js https://www.it-swarm.asia/id/android/menandatangani-apk-dengan-kunci-unggah-yang-disediakan-oleh-google-play/832386324/

New Part

Hello, Fellas Today, i wanna test some code to make realtime chat applications. First you need to install node js to use socket.io, i just think that the best way to develop android is just use the react native, so in reference 3 will give you how to simulate android using ubuntu, actually i use ubuntu 20.04 focal fossa. Some bug found that when i list avds using emulator -list -avds i get some notification that there needs x86 arch for can run on this android. so i use reference 4 to get solution on this issue. On several reason i use native base to build application more pretty so you can access on reference 6.   References Cara setting chat Build chat dengan Redis React Native Expo Riot Native Base

USB linux Part 2

Hello Fellas, We have succeeded in making the kernel and detecting devices that we will use, then we make an interface so that the program that we make can interact with the kernel and from the kernel can be sent to the hardware. if we inspect the code we will find some code copy_to_user (buffer, dev -> bulk_in_buffer + dev -> bulk_in_copied , chunk) Thats will show you how the kernel will send the data to user with copy_to_user function. Maybe before we jump into kernel userspace we need to read the documentation about user space using linux you can read here .

USB for LINUX part 1

Today i start usb development using linux/usbdevice_fs.h, maybe it will be easy to use usb.h, but its better to use linux/usbdevice_fs.h to make some development in usb linux driver. Yes, you know that linux/usbdevice_fs.h is linux kernel API. Some reason that i will not usb.h from libusb that it not base from linux so if i would make driver maybe better using ioctl api to get access from user perspective. On reference 2 some error detected that issue summoning because asm/uaccses not found in this code. On reference 3 give better explained from usb using kernel. This how you must read. If you wanna read reference 4 you will know how the usb driver written, reference 4 provide example code. There are some failure like detecting device on refences 4. if you get some reference you will get some header you will need #include <linux/module.h> #include <linux/init.h> #include <linux/slab.h> /* kmalloc() */ #include <linux/usb.h> /* USB stuff */ #include <...