Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

File Upload Tutorial

Hi

I have followed your tutorial for uploading an image.

I can select the image from the file store, however it is not displayed. It does not seem that the panel html code fires or maybe it does fire but the java does not fire.

A question: I do not see any reference to the upload.js file anywhere. Are the functions in the file automatically available to the app?

Thank you.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

File Upload Tutorial

Hello,

Did you test on the device or in browser? You should create upload.js file from code which is provided in tutorial.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

File Upload Tutorial

I tested from your tester an exported apk
Upload.js was created from your code sample.

COPY: I do not see any reference to the upload.js file anywhere. Are the functions in the file automatically available to the app?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

File Upload Tutorial

[quote:]
Are the functions in the file automatically available to the app?
[/quote]
Yes

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

File Upload Tutorial

Ok so now what? I see there are other posts with the same issue unresolved.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

File Upload Tutorial

Hi Deon- just for clarity, you are using this tutorial :: http://docs.appery.io/tutorials/uploa...

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

File Upload Tutorial

Yes

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

File Upload Tutorial

Can I share the app with you for you to see for yourself?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

File Upload Tutorial

After more testing, I have found that is is not working due to the fact that I have a master/detail page setup for IPAD.

Can you please check into this.

Once I used a single page this is my discovery.

Now I can see the selected image but the upload does not work.

I have tried.....

  1. Internal tester.- Can select file but does not upload
  2. appery.io tester for Android.- Cannot select file App crashes.
  3. Web browser can - Can select file but does not upload
  4. Export apk and install - Can select file but does not upload
Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

File Upload Tutorial

Hi Deon,

Thank you for the update. Yes, you can share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and we'll be able to see it after you tell us its name.

Return to “Issues”