Android Question Demo of my app

Giusy

Active Member
Licensed User
Hi,
I having to create a demo of my app. (mp4)
Which support program do you suggest to do?

Thank you
 

Giusy

Active Member
Licensed User
Hi, hibrid0
1 I connect my Samsung with Usb
2 run b4a bridge
3 run in debug mode
4 video capture (record)

Error: error: no devices found

what's my mistake?
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
No b4a bridge. You must be connected USB only. If you cannot connect to the device via USB, you cannot do it.:
'Tools', then 'Videocapture.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Run the program in Debug mode and then:

upload_2018-12-14_14-6-29.png
 
Upvote 0

Brandsum

Well-Known Member
Licensed User
  1. Connect your Device to PC via USB
  2. Turn on USB Debugging from Developer option.
  3. Allow if any popup comes up.
  4. B4A > Tools > Clean Project.
  5. Run your program (F5)
  6. When your app starts
  7. B4A > Debug > Video Capture
 
Upvote 0

Giusy

Active Member
Licensed User
  1. Connect your Device to PC via USB
  2. Turn on USB Debugging from Developer option.
  3. Allow if any popup comes up.
  4. B4A > Tools > Clean Project.
  5. Run your program (F5)
  6. When your app starts
  7. B4A > Debug > Video Capture

I do not have this choice on my samsung: Turn on USB Debugging from Developer option.
 
Upvote 0

Giusy

Active Member
Licensed User
I managed to activate the developer function on my samsung

(In Android 4.2 and higher versions, the Developer Options menu and USB Debugging option have been hidden. In former 4.X versions of Android, USB Debugging option is under Developer Options menu.)

Thank you all :)
 
Upvote 0

Giusy

Active Member
Licensed User
hi,
now the program start without b4a bridge in debug mode, but when I press B4A > Debug > Video Capture
I have the same error
Error: error: no devices found

Android version 4.4.2

Thanks
 
Upvote 0

Brandsum

Well-Known Member
Licensed User
hi,
now the program start without b4a bridge in debug mode, but when I press B4A > Debug > Video Capture
I have the same error
Error: error: no devices found

Android version 4.4.2

Thanks
Did you clean your project before running? check point 4 above.
 
Upvote 0

Giusy

Active Member
Licensed User
Hi, Brandsum
Yes, but only one time the program run without b4a bridge
developer is active
debug Usb is active
but the device write:
connected as a multimedia device (and not as debug)
:(
 
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
Double check to make sure that the USB DEBUGGING is on.

Next, on the Log tab, click on connect, if the log displayed succesful connection, then you are good to go.

if still it says cannot connect, Goto the IDE under tools, click on RESTART ADB SERVER. Wait for some few seconds and connect again.
 
Upvote 0

Brandsum

Well-Known Member
Licensed User
If your device and USB both are working fine then the device should show a notification: USB Debugging Connected.

If that is not there then:
  1. Check using another USB
  2. Reboot your device because sometimes it goes offline.
  3. Check if USB debugging is on.
  4. Some devices have two USB debugging option check and turn that on if it is there.
  5. And as @mcqueccu said Restart ADB server.
 
Upvote 0

Giusy

Active Member
Licensed User
iH
Developer in "ON"
Usb debug is checked
Check using another USB OK
Reboot my device OK
Clean Project OK
Run in debug mode OK
 

Attachments

  • DEBUG.png
    DEBUG.png
    125.9 KB · Views: 103
  • ERROR.PNG
    ERROR.PNG
    20.4 KB · Views: 128
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
iH
Developer in "ON"
Usb debug is checked
Check using another USB OK
Reboot my device OK
Clean Project OK
Run in debug mode OK
What happens when you connect your device via USB, then go into the Log tab in B4A & click on the "Connect" button?

If you are getting the same error & running Windows 10, I have had issues previously where Windows updates have installed drivers that won't work with some of my Android devices. If you connect your device via USB, then go into Windows Device Manager & either you're not seeing your device, or you're seeing a yellow warning for it then you might need to reinstall the correct driver. In my case, I find the "Android Composite ADB Interface" driver works with all my devices.

- Colin.
 
Upvote 0

Giusy

Active Member
Licensed User
Hi, Colin
in Window device manager I see 3 devices: Samsung - Pc - mouse
I have windows 7
If I click on the "Connect" button I see ten Ip adress
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
If I click on the "Connect" button I see ten Ip adress

No - you're clicking on Tools->B4A Bridge->Connect. What happens if you click on the "Connect" button at the bottom of the Logs tab (on the right hand side of the IDE screen)?

- Colin.
 
Upvote 0
Top