Aug 2, 2017 Replies: 17 Wanna play retro NES games on your PC? Why not turn your Smartphone to an NES gamepad and play with it? Try NES GamePad for Android via b4a+b4j. GamePad is not 100% working, i have not put to much effort on it I just wanted to get something working for my kids to show them what i was playing when i was in their age anyway it's a good start and I am also including the source so you can try it and maybe improve it. have fun btw. sorry for the bad recording quality and also if you wonder why I stuck in level 2 and tried to get to the top it's because on the real NES console you could climb like this to the top and jump some levels but it seems that in the emulator it's not working well. Important information: I have only updated Erels Desktop Remote example and enabled also an NES GamePad option. I am not responsible for anything especially the ROMS or NES Emulator. I have downloaded them from the NET. You can find a lot other if you want. Link: https://www.dropbox.com/s/a0m6xe824lup4zu/My Nes 2.3.zip?dl=0 EDIT: i have updated the RemoteControlls and included the project files. Attachments scr1.png 460.7 KB · Views: 6,462 gamepadServers.zip gamepadServers.zip 42.6 KB · Views: 1,045 Last edited: Aug 2, 2017 Click to expand...
Wanna play retro NES games on your PC? Why not turn your Smartphone to an NES gamepad and play with it? Try NES GamePad for Android via b4a+b4j. GamePad is not 100% working, i have not put to much effort on it I just wanted to get something working for my kids to show them what i was playing when i was in their age anyway it's a good start and I am also including the source so you can try it and maybe improve it. have fun btw. sorry for the bad recording quality and also if you wonder why I stuck in level 2 and tried to get to the top it's because on the real NES console you could climb like this to the top and jump some levels but it seems that in the emulator it's not working well. Important information: I have only updated Erels Desktop Remote example and enabled also an NES GamePad option. I am not responsible for anything especially the ROMS or NES Emulator. I have downloaded them from the NET. You can find a lot other if you want. Link: https://www.dropbox.com/s/a0m6xe824lup4zu/My Nes 2.3.zip?dl=0 EDIT: i have updated the RemoteControlls and included the project files.
alwaysbusy Expert Licensed User Longtime User Aug 2, 2017 #2 Very fun idea! This can give an old phone a second life
S sorex Expert Licensed User Longtime User Aug 2, 2017 #3 sweet is the B4J part doing sendkeys like events from the retrieved remote data?
ilan Expert Licensed User Longtime User Aug 2, 2017 #4 alwaysbusy said: Very fun idea! This can give an old phone a second life Click to expand... an old phone and an old pc too. i made it for my little kids until the nintendo clone arrive from aliexpress so my wife can have few hours silence while they are playing. you know its summer holiday now
alwaysbusy said: Very fun idea! This can give an old phone a second life Click to expand... an old phone and an old pc too. i made it for my little kids until the nintendo clone arrive from aliexpress so my wife can have few hours silence while they are playing. you know its summer holiday now
ilan Expert Licensed User Longtime User Aug 2, 2017 #5 sorex said: sweet is the B4J part doing sendkeys like events from the retrieved remote data? Click to expand... yes
sorex said: sweet is the B4J part doing sendkeys like events from the retrieved remote data? Click to expand... yes
wonder Expert Licensed User Longtime User Aug 24, 2020 #6 This is sooo cool!! Don't get in trouble with Nintendo, though... How's the latency? I might dust off my Android tablet to give it a try... (I'm an iPhone guy now, is there an iOS version?)
This is sooo cool!! Don't get in trouble with Nintendo, though... How's the latency? I might dust off my Android tablet to give it a try... (I'm an iPhone guy now, is there an iOS version?)
ilan Expert Licensed User Longtime User Aug 24, 2020 #7 wonder said: This is sooo cool!! Don't get in trouble with Nintendo, though... How's the latency? I might dust off my Android tablet to give it a try... (I'm an iPhone guy now, is there an iOS version?) Click to expand... hi wonder, its not like the real controller but you can play with it. i also included the source so you may improve it if you like. i am also a iPhone guy now and I don't see any reason why it should not work also on b4i. the app just sends the data to the b4j server that handles the keys on the pc. so it should work. have you already purchased b4i? i really think it is awesome and worth every penny.
wonder said: This is sooo cool!! Don't get in trouble with Nintendo, though... How's the latency? I might dust off my Android tablet to give it a try... (I'm an iPhone guy now, is there an iOS version?) Click to expand... hi wonder, its not like the real controller but you can play with it. i also included the source so you may improve it if you like. i am also a iPhone guy now and I don't see any reason why it should not work also on b4i. the app just sends the data to the b4j server that handles the keys on the pc. so it should work. have you already purchased b4i? i really think it is awesome and worth every penny.
wonder Expert Licensed User Longtime User Aug 24, 2020 #8 ilan said: hi wonder, its not like the real controller but you can play with it. i also included the source so you may improve it if you like. i am also a iPhone guy now and I don't see any reason why it should not work also on b4i. the app just sends the data to the b4j server that handles the keys on the pc. so it should work. have you already purchased b4i? i really think it is awesome and worth every penny. Click to expand... Alright then, I might give it a try just for fun! By the way, is it bluetooth or wifi? Can you press multiple buttons (more than 2) and have the keystrokes work? Maybe if B4J emulated the joystick instead, it could be faster... I don't know just an idea... ilan said: have you already purchased b4i? i really think it is awesome and worth every penny. Click to expand... I never got into iOS development but if I manage to do the QR Code thing I want to do on Android, I definitely want to have it on iOS!! ?
ilan said: hi wonder, its not like the real controller but you can play with it. i also included the source so you may improve it if you like. i am also a iPhone guy now and I don't see any reason why it should not work also on b4i. the app just sends the data to the b4j server that handles the keys on the pc. so it should work. have you already purchased b4i? i really think it is awesome and worth every penny. Click to expand... Alright then, I might give it a try just for fun! By the way, is it bluetooth or wifi? Can you press multiple buttons (more than 2) and have the keystrokes work? Maybe if B4J emulated the joystick instead, it could be faster... I don't know just an idea... ilan said: have you already purchased b4i? i really think it is awesome and worth every penny. Click to expand... I never got into iOS development but if I manage to do the QR Code thing I want to do on Android, I definitely want to have it on iOS!! ?
ilan Expert Licensed User Longtime User Aug 24, 2020 #9 wonder said: By the way, is it bluetooth or wifi? Click to expand... it works via wifi so it should be much faster than Bluetooth. wonder said: Can you press multiple buttons (more than 2) and have the keystrokes work? Click to expand... as far as i remember its possible since i press and hold the b button and also click the jump button (like in the video) wonder said: Maybe if B4J emulated the joystick instead, it could be faster... I don't know just an idea... Click to expand... you will need a USB library where you can connect usb device and use in b4j but as far as i know there is no such library. i remember that informatix ask for such a lib long time ago. this would open a new world for b4j and we could make really cool games on it. wonder said: I never got into iOS development but if I manage to do the QR Code thing I want to do on Android, I definitely want to have it on iOS!! ? Click to expand... you have already a QR library for b4i. works really great! i think erel wrapped it.
wonder said: By the way, is it bluetooth or wifi? Click to expand... it works via wifi so it should be much faster than Bluetooth. wonder said: Can you press multiple buttons (more than 2) and have the keystrokes work? Click to expand... as far as i remember its possible since i press and hold the b button and also click the jump button (like in the video) wonder said: Maybe if B4J emulated the joystick instead, it could be faster... I don't know just an idea... Click to expand... you will need a USB library where you can connect usb device and use in b4j but as far as i know there is no such library. i remember that informatix ask for such a lib long time ago. this would open a new world for b4j and we could make really cool games on it. wonder said: I never got into iOS development but if I manage to do the QR Code thing I want to do on Android, I definitely want to have it on iOS!! ? Click to expand... you have already a QR library for b4i. works really great! i think erel wrapped it.
wonder Expert Licensed User Longtime User Aug 24, 2020 #10 ilan said: you have already a QR library for b4i. works really great! i think erel wrapped it. Click to expand... Nice!!! I have an idea to make something really cool with QR codes. I don't wanna say what it is yet and I don't even know if it's going to work, but if it does, it might be something cool that people will copy without even needing the source code, as the algorithm is simple enough. ? I just want to be the first one (probably)!! ?
ilan said: you have already a QR library for b4i. works really great! i think erel wrapped it. Click to expand... Nice!!! I have an idea to make something really cool with QR codes. I don't wanna say what it is yet and I don't even know if it's going to work, but if it does, it might be something cool that people will copy without even needing the source code, as the algorithm is simple enough. ? I just want to be the first one (probably)!! ?
Erel B4X founder Staff member Licensed User Longtime User Aug 24, 2020 #11 ilan said: you have already a QR library for b4i. works really great! i think erel wrapped it Click to expand... Wrap it? If you are talking about QRGenerator then it is implemented in B4X.
ilan said: you have already a QR library for b4i. works really great! i think erel wrapped it Click to expand... Wrap it? If you are talking about QRGenerator then it is implemented in B4X.
ilan Expert Licensed User Longtime User Aug 24, 2020 #12 wonder said: I just want to be the first one (probably)!! Click to expand... Now I'm terribly curious
wonder said: I just want to be the first one (probably)!! Click to expand... Now I'm terribly curious
ilan Expert Licensed User Longtime User Aug 24, 2020 #13 Erel said: Wrap it? If you are talking about QRGenerator then it is implemented in B4X. Click to expand... yeah sorry, erel for my inaccuracy
Erel said: Wrap it? If you are talking about QRGenerator then it is implemented in B4X. Click to expand... yeah sorry, erel for my inaccuracy
ilan Expert Licensed User Longtime User Aug 24, 2020 #14 btw is there a way to get the qr code from an image? and not only from the camera. i know it is possible with visual basic but i have not found such a lib in b4x. i guess i will need to open a new thread for this question (else erel will be angry ? )
btw is there a way to get the qr code from an image? and not only from the camera. i know it is possible with visual basic but i have not found such a lib in b4x. i guess i will need to open a new thread for this question (else erel will be angry ? )
Alexander Stolte Expert Licensed User Longtime User Aug 24, 2020 #15 ilan said: from an image? Click to expand... [B4X] QRGenerator - Cross platform QR code generator QRGenerator is a class that generates QR codes. It is written in B4X and it is compatible with B4A, B4i and B4J. iPhone default camera app recognizing the QR code displayed in a B4A app: Can create codes made of up to 2953 bytes. It depends on XUI library and B4XCollections v1.50+. It uses... www.b4x.com On the Images in the thread, you see it is the native camera app, so i think it is possible.
ilan said: from an image? Click to expand... [B4X] QRGenerator - Cross platform QR code generator QRGenerator is a class that generates QR codes. It is written in B4X and it is compatible with B4A, B4i and B4J. iPhone default camera app recognizing the QR code displayed in a B4A app: Can create codes made of up to 2953 bytes. It depends on XUI library and B4XCollections v1.50+. It uses... www.b4x.com On the Images in the thread, you see it is the native camera app, so i think it is possible.
ilan Expert Licensed User Longtime User Aug 24, 2020 #16 Alexander Stolte said: [B4X] QRGenerator - Cross platform QR code generator QRGenerator is a class that generates QR codes. It is written in B4X and it is compatible with B4A, B4i and B4J. iPhone default camera app recognizing the QR code displayed in a B4A app: Can create codes made of up to 2953 bytes. It depends on XUI library and B4XCollections v1.50+. It uses... www.b4x.com On the Images in the thread, you see it is the native camera app, so i think it is possible. Click to expand... no, i mean i have created a QR code and I send it to someone via WhatsApp for example. so what i send is a png file and he then can scan it from the app. what i see is that the scanning works only from the camera but i know it is possible to scan images (png, jpg) files that has a qr code on them. can we do this on b4x?
Alexander Stolte said: [B4X] QRGenerator - Cross platform QR code generator QRGenerator is a class that generates QR codes. It is written in B4X and it is compatible with B4A, B4i and B4J. iPhone default camera app recognizing the QR code displayed in a B4A app: Can create codes made of up to 2953 bytes. It depends on XUI library and B4XCollections v1.50+. It uses... www.b4x.com On the Images in the thread, you see it is the native camera app, so i think it is possible. Click to expand... no, i mean i have created a QR code and I send it to someone via WhatsApp for example. so what i send is a png file and he then can scan it from the app. what i see is that the scanning works only from the camera but i know it is possible to scan images (png, jpg) files that has a qr code on them. can we do this on b4x?
wonder Expert Licensed User Longtime User Aug 24, 2020 #17 ilan said: no, i mean i have created a QR code and I send it to someone via WhatsApp for example. so what i send is a png file and he then can scan it from the app. what i see is that the scanning works only from the camera but i know it is possible to scan images (png, jpg) files that has a qr code on them. can we do this on b4x? Click to expand... Yes, this is something very important for me! I hope it's possible... Maybe we should post this question on the QR code thread.
ilan said: no, i mean i have created a QR code and I send it to someone via WhatsApp for example. so what i send is a png file and he then can scan it from the app. what i see is that the scanning works only from the camera but i know it is possible to scan images (png, jpg) files that has a qr code on them. can we do this on b4x? Click to expand... Yes, this is something very important for me! I hope it's possible... Maybe we should post this question on the QR code thread.
ilan Expert Licensed User Longtime User Aug 24, 2020 #18 wonder said: Maybe we should post this question on the QR code thread. Click to expand... do it, you have not posted any question for a long time.
wonder said: Maybe we should post this question on the QR code thread. Click to expand... do it, you have not posted any question for a long time.