Repository navigation
Conversation
|
Thank you @RainbowC0 This is very interesting. Porting to Android has been discussed many times during the years but (I guess) there was never an Android developer interested in implementing it. I have a few questions:
(Even though I've never developed for Android and have last written in Java in 2001) I'll go through the code later and add some specific comments (if I have any). |
|
@RainbowC0 First off thanks! This look interesting. There is currently AFAICT no comparable CAD option available on Android (meaning native, local, 3D). But you dropped a review bomb on us so my initial response is probably going to be scattered. This is going to take some time, but for starters is the image above the result of doing the tutorial on Android, or just showing that it can open a file? I ask because I don't see evidence of incorporating touchscreen gestures in the PR, so I'm not sure how you could even make that model without a mouse. There are some invasive changes like #ifdef ANDROID in export.cpp and mouse.cpp The GZIP stuff:
changed to: In solvespace.cpp Changes in toolbar.cpp Renaming hitCommand to commandHit was completely unnecessary. Dependencies My guess is that these are non-trivail to build for Android? @ruevs should we push this to a branch? It's certainly not ready to be in master and I'd rather it get worked on on a branch rather than in a single PR. |
|
@ruevs :
fprintf(f,
"%%PDF-1.1\r\n"
"%%%c%c%c%c\r\n",
0xe2, 0xe3, 0xcf, 0xd3);
xref[1] = (uint32_t)ftell(f);
fprintf(f,
"1 0 obj\r\n"
" << /Type /Catalog\r\n"
" /Outlines 2 0 R\r\n"
" /Pages 3 0 R\r\n"
" >>\r\n"
"endobj\r\n");
xref[2] = (uint32_t)ftell(f);
fprintf(f,
"2 0 obj\r\n"
" << /Type /Outlines\r\n"
" /Count 0\r\n"
" >>\r\n"
"endobj\r\n");This is still bugly when I test with mouse input and I have to fix severe bugs for merge. |
|
@phkahler With the help of vibe coding, there are some 3d parametic cad apps on Android today and you can have a comparison: |
|
This is the built apks for tests: And how about add a CI/CD workflow to build the apks? My following plains:
|
Double-click moving for orbiting Fix FileName() Fix CMakeList.txt for Termux
|
I rebased and made this PR into a branch on our main repository. At this time it's 7 commits ahead of master. Shoud we close the PR or mark it documentation since it's got some todo stuff in the comments? |
|
I would leave it open. This way if @RainbowC0 continues working on his branch we will be notified. |
Uh oh!
There was an error while loading. Please reload this page.