Cannot import module after changes to python file#6
Cannot import module after changes to python file#6viperfx wants to merge 2 commits intojianglei12138:masterfrom
Conversation
Merge changes
|
I'm sorry, these days I have to study on my graduate design. This may until May 2, after this I will continue paying attention to this. If you have any questions, you can contact me via email. jianglei12138@gmail.com |
|
No problem! Focus on your studies! We can continue this when you are free. |
|
I have what I want working in the adb shell now. I think I am really close to getting that working on the app. I am really happy with the progress in the past few days, thanks so much for your efforts. |
|
Hi, @viperfx how's it going? Do you have finished using the python in android app? |
|
I have also been busy studying for something the last few days :) last I Hope the exams went well!
|
|
Good luck in the examination!!! |
|
Hey, were you able to reproduce the issue? Any progress? |
|
These day i was interrupted by other things, and i finally finished just now. |
|
Awesome! Is it ready for me to try out? |
|
Oh, it's my fault! it's not mean I have done the app, it means I accomplished other things. #the url like this: http://v.youku.com/v_show/id_XOTYwNzg5OTg4.html?from=s1.8-1-1.2
def getVideo(url):
#what should i do here
return obj |
|
Sure, the code is very similar for one found in pythonforandroid.py. I made small adjustments for youku. Call the function like so
|
|
I'm sorry, these days i have been interrupted by other things, I did anything for this project. Today, I try this, and I found it easier to use python2 in the app. Eventually i solve this by using python2. You could find it in my repository. Here is the address. And i will commit the whole source code later. |
|
@viperfx I am not sure if it could work on another android device and platform.... |
|
Oh right? You think it will be difficult to release in an app? Surely the On Sun, May 15, 2016 at 10:32 AM, jianglei notifications@github.com wrote:
Tharshan |
|
Oh, it is android platform, but i think we can solve these problem ~~ |
|
Hey, I was curious if you ever solved this issue? Are you interested in looking into it again perhaps? I would really like to get this going again. |
I have made the following changes to the python file and the main.c. I compiled the main.c using ndk-build.
When I run the function using the app, I get the following error: