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

[Android] parse app context #599

Merged
merged 2 commits into from
Jan 21, 2025

Conversation

jaeyun-jung
Copy link
Collaborator

Add new function to get required data from application context.

/**
* @brief Get the data path of an application, extracted using getFilesDir().
*/
extern const char *
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a doxygen note that the caller does not need to free the returned pointer.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, plz review changes again.

Copy link
Member

@gichan-jang gichan-jang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useful function.. Thanks, LGTM

Copy link
Member

@anyj0527 anyj0527 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM👍

Add new function to get required data from application context.

Signed-off-by: Jaeyun Jung <[email protected]>
Code clean, update header file name for native functions.

Signed-off-by: Jaeyun Jung <[email protected]>
@jaeyun-jung jaeyun-jung merged commit 9605928 into nnstreamer:main Jan 21, 2025
11 checks passed
@jaeyun-jung jaeyun-jung deleted the parse-appcontext branch January 21, 2025 11:36
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

Successfully merging this pull request may close these issues.

4 participants