Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate java files to my android project #17

Open
triosoftteam opened this issue Mar 3, 2022 · 6 comments
Open

integrate java files to my android project #17

triosoftteam opened this issue Mar 3, 2022 · 6 comments

Comments

@triosoftteam
Copy link

triosoftteam commented Mar 3, 2022

integrate java files to my android project

@triosoftteam triosoftteam changed the title integrate java file to my project integrate java files to my android project Mar 3, 2022
@relango
Copy link
Contributor

relango commented Mar 3, 2022

@triosoftteam Please be specific and provide more info on what issue are you facing.

@triosoftteam
Copy link
Author

triosoftteam commented Mar 4, 2022

java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/swing/JFrame;
at app.astrosoft.util.AstroUtil.decimal(Unknown Source:0)
at app.astrosoft.beans.BirthData.(Unknown Source:38)
at app.astrosoft.beans.BirthData.(Unknown Source:39)
at app.astrosoft.beans.BirthData.(Unknown Source:1)

in runtime when use this functions

try {
Place place = new Place("Bangalore", "Karnataka", "India", 25.51, 85.47, 5.30);
Calendar c = new GregorianCalendar(1995, 5, 18, 5, 12, 1);
BirthData birthData = new BirthData("Ashwini", c, place);

                Horoscope horoscope = new Horoscope(birthData);
                horoscope.calculateAll();

                System.out.println(horoscope);
            } catch (Exception e) {
                Log.d(TAG, "onClick: " + e);
            }

@relango
Copy link
Contributor

relango commented Mar 7, 2022

Java Swing UI doesn't work in Andriod, you can't simply take a java desktop app and run it in android. You can build UI in android yourself. You can use Astrosoft code for calculations.

@triosoftteam
Copy link
Author

can you expain Astrosoft code how to implement code in android (java)

@relango
Copy link
Contributor

relango commented Mar 8, 2022

@triosoftteam The code is available free. You can read the code and figure it out!.

@triosoftteam
Copy link
Author

actually i can't get it where do i find the exact path for calculation code can you tell me the excet path to reach out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants