PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
including a jar file in windev
including a jar file in windev
Started by michaelangelo, Jan., 21 2020 6:37 AM - 5 replies
Connect yourself…
michaelangelo
#1
Posted on January, 21 2020 - 6:37 AM
Hi ,
anyone know how to add a jar file properly in windev? i tried adding a repository and added implementation in the dependecy by modifying the wdjava.build this works, but what i want to know is if i have my own jar file and wanted to add it not by using a repository. I tried adding it during generation but after that it seems the jar library is not getting read by the java code? what am i missing? thank you in advance for anyone who would help
Report
0
0
Rubén Sánchez Peña
#2
Registered member
794 messages
Popularité : +40 (42 votes)
Posted on February, 22 2020 - 2:55 PM
Hi. I do it every day and I haven't had any problems using third-party JARs. You just add it in the options of the generation process.
What kind of error do you get as a result?
Rubén
Report
0
0
Michaelangelo PADILL
#3
Registered member
5 messages
Posted on February, 27 2020 - 8:03 AM
Hi,
after adding the jar for the generation it will have an error on the code i written in java procedure. in the import part its saying undeclared etc. Can you provide me a sample or guide on how you add and use the jar in your java code. ?Thank you in advance for the help
Report
0
0
ARV
#4
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on February, 27 2020 - 6:53 PM
Hi
I have to do some code on java time to time
and about your problem it's maybe what you want to import it doesn't have a library for Android
What I mean?
well yes it's code on java but it's no all java itself it's more like what android have with Java code.
and because of that not all the librarys are available for Android
so we need to know what you want to do and what are you importing
also the java code on windev with a config on android it's just a normal method you can't do Classes with java
For what I know, if it is possible let me know that could be really helpful
--
Best Regards
ARV
Report
0
0
Rubén Sánchez Peña
#5
Registered member
794 messages
Popularité : +40 (42 votes)
Posted on February, 27 2020 - 7:46 PM
Hi. You need know the packets imports you need for your library. Its diferent with each library. Use Google to search samples using your library.
Look at this post for a sample
https://forum.pcsoft.fr/fr-FR/pcsoft.fr.windevmobile/38552-code-java-integrer-sur-windev-mobile/read.awp
Rubén
Report
0
0
Michaelangelo PADILL
#6
Registered member
5 messages
Posted on March, 01 2020 - 8:36 AM
Hi,
I have an SDK from a device manufacturer, i tried adding the sdk through generation and its not detecting the sdk i think because its saying undeclared while if i add it thru online repository given also by the manufacturer the error is gone. The import errors are the sdk library name.. not the default android imports
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text