Android Tutorial Intent Based Camera

Status
Not open for further replies.

jayel

Active Member
Licensed User
Longtime User
hey,

Image is turned 90 degrees? How can I show in the right way?
 

uniplan

Active Member
Licensed User
Longtime User
Is possibile add an editbox into the form where are "OK" and "Cancel" buttons ?
 

iCAB

Well-Known Member
Licensed User
Longtime User
Hi Guys

This code triggers an exception when used from within a class module

B4X:
Sub GetBA As Object
   Dim jo As JavaObject
   Dim cls As String = Me
   cls = cls.SubString("class ".Length)
   jo.InitializeStatic(cls)
   Return jo.GetField("processBA")
End Sub

The same code works fine if moved to parent activity.

Is there a workaround?

Thanks in advance
 

yiankos1

Well-Known Member
Licensed User
Longtime User
Good morning,
When i take photo and returns to main app, app starts at landscape and immediately changes to portrait. I want to use this at my app, but this behavior is not professional.
Thank you for your time.

p.s. tried on Galaxy S4
 

Pooya1

Active Member
Licensed User
Can i use this code in all android version without problem? (i would like make without any library for take picture from camera)
Problems like "cannot connect to camera","cannot save output" or any problem that it is dangerous
 

Marcos Alves

Well-Known Member
Licensed User
Longtime User

Is there any way to receive video from camera also?
 
D

Deleted member 103

Guest
Hi,

I have changed the example of Erel so that the photos can now be saved under the default order "../DCIM/Camera".
 

Attachments

  • CameraIntent.zip
    9.1 KB · Views: 612

winiha

Member
Licensed User
Hi,

I have changed the example of Erel so that the photos can now be saved under the default order "../DCIM/Camera".
it dose not work for me. (android 7.0)

how can change Erel's code such that taken picture directly save in File.DirRootExternal (for example, or in specific directory).
in the other word manifest be only write external storage and camera permission not default path.
 
Last edited:
D

Deleted member 103

Guest
it dose not work for me. (android 7.0)

how can change Erel's code such that taken picture directly save in File.DirRootExternal.
in the other word manifest is only write external storage permission not default path.
You just have to change the "/DCIM/Camera" folder to your folder.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…