Java Question Java-Android projects

LucaMs

Expert
Licensed User
Longtime User
Please, don't shoot to me!

I've forgotten what little I knew about java-android-eclipse.

I want to change the icefairy333' library, ZXingLib (integration version), as it scans only in landscape.

icefairy333 posted the sources. I have tried to import it into Eclipse (as Android project, and already this is probably my fault), by selecting the folders, but then they do not appear in the list (so they are not recognized as such).

In Visual Studio, there are files with the extension .sln: how everything works in the java-android-eclipse world?

thanks

[SOLVED] Import --> "Existing Projects into Workspace"

confused "into" with "from"
 
Last edited:

qsrtech

Active Member
Licensed User
Longtime User
HI, IceFairy gave me this code to increase the size of the scanning window. Can you try and incorporate it in your update and share?
B4X:
modify the ice.zxing.camera.CameraManager.java

private static final int MIN_FRAME_WIDTH = 240;
private static final int MIN_FRAME_HEIGHT = 240;
private static final int MAX_FRAME_WIDTH = 480;
private static final int MAX_FRAME_HEIGHT = 360;
 

LucaMs

Expert
Licensed User
Longtime User

if I'll be able to modify it to the portrait, I will add that too
 

qsrtech

Active Member
Licensed User
Longtime User
Thanks but I know there already is an "isportrait" property though
 

LucaMs

Expert
Licensed User
Longtime User
I was able to fix some path to my libraries (Java and B4A) ... what a genius!!!

Only this!

I have not even found a way to compile the project as it is, and I would rather change it to "portrait":
sure, if you start studying right now ... in a couple of months I will.

Courage, some experts would take little time!!!
 

Sergio Haurat

Active Member
Licensed User
Longtime User
Please tell me where I can download the code, I have the same problem with the box, is very small on devices with high definition.

My English = Google Translator, sorry
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…