jar - Integrating another android app inside my own application -
i'm total newbie android app development, excuse lengthy explanation. anyways, have developed application (running successfully). now, want integrate open source app (quiz) application. so, when user presses button in app, run quiz application.
i have learnt here (answer denys nikolayenko) there way converting quiz app .jar file, , adding current project. have done that; point of adding .jar file build path (and appears in referenced libraries) stated here. plus, .jar file checked under 'order , export' tab.
now, have problem integrating .jar file 1 of button (so quiz app runs when press button, mentioned earlier). there way integrate .jar file in button (i couldn't find sample code anywhere)? or concept of executing .jar file wrong all-together?
if concept wrong, how integrate quiz app app? i'm using eclipse.
i have learnt here (answer denys nikolayenko) there way converting quiz app .jar file, , adding current project.
that insufficient, in likelihood. jar file contains code, not android resources, , other app has resources.
i have done that; point of adding .jar file build path (and appears in referenced libraries) stated here.
the answers on question have been out of date on year. add jars project's libs/
directory, , not modify build path manually.
is there way integrate .jar file in button (i couldn't find sample code anywhere)? or concept of executing .jar file wrong all-together?
it "wrong all-together".
if concept wrong, how integrate quiz app app?
personally, recommend against doing in first place, if "a total newbie android app development". recommend spend more time getting familiar android first.
if insist upon doing this:
step #0: undo did far (e.g., putting jar in project)
step #1: 1 of following:
copy of java source code , of resources other project own, or
convert open source project android library project, attach android library project own app's project
step #2: add relevant entries other project's manifest own app's manifest, such <activity>
elements , <uses-permission>
elements.
step #3: needed, such proposed button click, call startactivity()
start activity other project, rather starting 1 of own projects.
Comments
Post a Comment