Click here to Skip to main content
15,886,069 members
Home / Discussions / Android
   

Android

 
QuestionPorting a win32 app to android for sending serial data Pin
deian l.21-Apr-20 10:03
deian l.21-Apr-20 10:03 
hi !

I have a small win32 (18k) app that i developed years ago for my electronic hobby project. Basically, it takes the text from the screen or from a file, stores it internally in arrays and writes at regular time intervals data packets to the COM1 port(as a file). On windows and linux(using wine) on my PC i used a virtual COM port and installed a driver for a rs232 to usb adapter(ft232 chipset). I want the same on android. The win32 app was written in C, the only language i know, and i would like to port the app "as is"(no code rewriting) to android, because i have no clue of android programming at all. The search on the internet returned no results - i didn't find any solution. Is the following way possible :

General : Installing a minimal linux distro on android with usb acces/ Installing FT232 driver in the terminal

1.compiling the code for arm(32) linux/ Run it in the terminal
Or

2. Port the exe to windows rt/arm / Run the .exe with wine in the terminal ?

The linux distros in the android app(userland, andronix) are bare-bone ones and do not seem to provide usb support( when i run lsusb i get -99 code error) I've also installed visual studio 2019 (win 10 SDK) and cannot build my project because .h files are not found, even if i change the path in the project properties. If i enter the complete path in my code file they are found, but then i still have 200 error messages because things like Bool, Handle, are not defined. The original/initial application i build 10 years ago was generated by CodeBlocks on my old PC which i dont have anymore(broken,but i still have all original project files).
The project files can be found here (link temporary available for your analisys and answers): https://drive.google.com/file/d/1DTcnfRDubXJN12wzhC8KzvhW97AQn1uA/view?usp=drivesdk

Thanks.

QuestionProblem when create Android project in IntelliJ IDEA Pin
Pouria Polouk19-Apr-20 10:39
Pouria Polouk19-Apr-20 10:39 
AnswerRe: Problem when create Android project in IntelliJ IDEA Pin
karthi7220-Apr-20 0:15
karthi7220-Apr-20 0:15 
GeneralRe: Problem when create Android project in IntelliJ IDEA Pin
Pouria Polouk20-Apr-20 2:12
Pouria Polouk20-Apr-20 2:12 
GeneralRe: Problem when create Android project in IntelliJ IDEA Pin
karthi7221-Apr-20 2:27
karthi7221-Apr-20 2:27 
GeneralRe: Problem when create Android project in IntelliJ IDEA Pin
Pouria Polouk25-Apr-20 21:31
Pouria Polouk25-Apr-20 21:31 
GeneralRe: Problem when create Android project in IntelliJ IDEA Pin
karthi7226-Apr-20 21:37
karthi7226-Apr-20 21:37 
QuestionText box that take value from other device via Bluetooth Pin
Member 1480532117-Apr-20 9:11
Member 1480532117-Apr-20 9:11 
AnswerRe: Text box that take value from other device via Bluetooth Pin
CHill6017-Apr-20 9:12
mveCHill6017-Apr-20 9:12 
SuggestionRe: Text box that take value from other device via Bluetooth Pin
David Crow17-Apr-20 10:14
David Crow17-Apr-20 10:14 
QuestionMy new application with the help of codeproject.com community and their articles - Simple User Feedback Pin
Exoskeletor17-Mar-20 2:32
Exoskeletor17-Mar-20 2:32 
AnswerRe: My new application with the help of codeproject.com community and their articles - Simple User Feedback Pin
Afzaal Ahmad Zeeshan10-Apr-20 13:08
professionalAfzaal Ahmad Zeeshan10-Apr-20 13:08 
GeneralRe: My new application with the help of codeproject.com community and their articles - Simple User Feedback Pin
Exoskeletor10-Apr-20 13:11
Exoskeletor10-Apr-20 13:11 
QuestionAndroid - Running endless code in Foreground while using the app Pin
Exoskeletor12-Mar-20 22:50
Exoskeletor12-Mar-20 22:50 
AnswerOFFTOPIC Pin
Nelek17-Mar-20 2:18
protectorNelek17-Mar-20 2:18 
QuestionUnfortunately app has stopped Pin
Kevsh25-Feb-20 7:29
Kevsh25-Feb-20 7:29 
AnswerRe: Unfortunately app has stopped Pin
Richard MacCutchan25-Feb-20 8:22
mveRichard MacCutchan25-Feb-20 8:22 
AnswerRe: Unfortunately app has stopped Pin
Exoskeletor12-Mar-20 22:53
Exoskeletor12-Mar-20 22:53 
QuestionConversion file backup .csv to file backup Crypt5 or Crypt12 Pin
Oderisio13-Feb-20 5:46
Oderisio13-Feb-20 5:46 
Rant[REPOST] Conversion file backup .csv to file backup Crypt5 or Crypt12 Pin
Richard Deeming13-Feb-20 6:46
mveRichard Deeming13-Feb-20 6:46 
QuestiononOptionsItemSelected go to a website Pin
The_Arcaniac1-Feb-20 22:30
The_Arcaniac1-Feb-20 22:30 
SuggestionRe: onOptionsItemSelected go to a website Pin
David Crow10-Feb-20 16:39
David Crow10-Feb-20 16:39 
QuestionHello, I am a newbie here, good to meet yah. Pin
The_Arcaniac1-Feb-20 22:14
The_Arcaniac1-Feb-20 22:14 
AnswerRe: Hello, I am a newbie here, good to meet yah. Pin
David Crow4-Feb-20 16:24
David Crow4-Feb-20 16:24 
AnswerRe: Hello, I am a newbie here, good to meet yah. Pin
Exoskeletor12-Mar-20 22:54
Exoskeletor12-Mar-20 22:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.