-
Notifications
You must be signed in to change notification settings - Fork 5
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
Introduce tizen_interop package #1
Conversation
Co-authored-by: Swift Kim <swift.kim@samsung.com>
Co-authored-by: Swift Kim <swift.kim@samsung.com>
Co-authored-by: Swift Kim <swift.kim@samsung.com>
Co-authored-by: Swift Kim <swift.kim@samsung.com>
Some warnings were generated while running
Is this normal? |
@swift-kim I think |
if the |
Wow! Found this just now! I am very interested in this subject! 👍 Although it's very early stage, but.. I've question. |
@bwikbs Thank you for your interest. 😃 |
@WonyoungChoi Thanks for letting me know!
Can you share roughly what you are planning? Maybe I'll get some inspiration from your plans 😄 |
Oh, one more thing.. 😄 (just curious,after it came out..) |
@WonyoungChoi Have you taken a look at the issue regarding Otherwise the change looks good to me. |
Well.. first of all, I'm looking for a more comfortable way to use the c style string. For now, the following procedure is required to receive a string value from the native function. Pointer<Pointer<Int8>> ppString = malloc();
final ret = tizen.some_native_function(ppString);
final dartStr = ppString.value.toDartString();
malloc.free(ppString.value);
malloc.free(ppString); And I will make a small app by using this interop APIs to find out what we need more. |
Could you explain it in more detail? I can't find a issue related |
Sorry, I can't understand the exact point of the part you mentioned. But I found https://github.com/grpc/grpc-dart.. |
@WonyoungChoi You can just search for the text in this page. |
Q. Does the tool create the files below? Why do we need to include these?
|
Oh. I missed that :( Because there is no |
Yes these files are generated by tools, but they should be included into the package. Of course, they can be generated every time the package is published. |
It's not a big deal. I was asking if you've ever thought about how to build a tizen interface with other general-purpose technologies and binding dart from that. (In fact, there is a rumor from vd and I was asking you heard or knew anything about that 😄 ) |
@WonyoungChoi The error is still reproducible, but I could suppress the error by adding |
@swift-kim Thank you for finding the useful option! It seems to be related to the "clang/llvm" environment. anyway I don't think it is not a problem because the |
context: flutter-tizen/flutter-tizen#129
This
tizen_interop
package provides Dart bindings and utility functions for using Tizen native APIs.Example for using Interop