Hello! [quote:]should I just have the code below on "share" button click on "results" page[/quote]It's better to add 2 buttons and on Click on each button add code to submit to one graph. Please change that and check if other errors are gone.
Hello! [quote:]should I just have the code below on "share" button click on "results" page[/quote]It's better to add 2 buttons and on Click on each button add code to submit to one graph. Please change that and check if other errors are gone.
Thanks Maryna! I see what you're saying with a button for each graph, but I was really hoping to share both graphs simultaneously. Is there any work-around I could use to do this?
Also, when I click "take picture" on "camera" page, nothing happens. This is the logcat:
And also nothing happens when I click "share" on "camera" page either. This is the logcat:
Thanks for your patience and help! I can't express my gratitude.
Hello Joe! We're sorry for delay, working on it.
Thanks Maryna! I appreciate it. ![]()
Also, I'm having trouble with the "Map" page. When I click "Show location" button, the map centers on my location if GPS service is enabled.
If I then click "get directions" button nothing happens on the map component, but the panel populates directions in text.
The blue route or path on the map component does not appear if I click "show location" button then "get directions" button.
The blue line only appears if I manually type an address in the "inputSource" component and the "inputDestination" component, then click "get directions" button.
So basically if I input addresses manually and then click "get directions" the page functions well. If I click the "show location" button then the "get directions" button, the page does not function properly.
Any thoughts?
Hello,
Excuse me If I use this post to ask a question regardling to social sharing plugin...I follow steps found in https://github.com/EddyVerbruggen/Soc..., and some tips from this thread, And now the plugin is working fine in my installed APP...
I ́m testing the app, and check in console, and I have this error in console:
Do I need to add some code?
thanks
Hi all!
@Alex PubliFitness Garcia
If you test in browser cordova is not defined, this is normal behavior. It's defined in hybrid app only. If you don't like this message, you can add check if cordova is defined in SocialSharing.js
@Joe
Regarding camera...
1) Rename camera screen to something else, for example CameraScreen
2) On clock on Share on Camera screen you do prewindow.plugins.socialsharing.share(null, null,$('#cameraimage').jqplotToImageStr({}), null);/prebut there is no jqplot. Instead pre$('#cameraimage').jqplotToImageStr({})/preyou have to paste what camera returns (save photo to localStorage and pass it from localStorage to socialsharing plugin)
Regarding map...
It shows ok for us. What address you specify that route is not shown on map?
Thanks Maryna!
Step 2 I added the run javascript action on click event.
Did I map the data correctly?
When I click "take picture" logcat shows this:
When I click "share" button this shows in logat:
Is this the correct way to save photos in localStorage? How do I go about accessing that localStorage item and share it via the socialsharing plugin?
Referring to the Map page:
Perhaps sometimes when I use "show location" button to locate, it gives me an approximate address, for example:
4000-5800 Smith St." showing in inputSource component. Could this perhaps affect the "blue line route" to show on map component?
Thanks so much!!
Hello!
1) Yes, you did the mapping correctly. Use the following JS to send the picture prewindow.plugins.socialsharing.share(null, null,localStorage.getItem("cameraimage"), null);/pre2) "approximate address" - this is result from Google. Maybe your coordinates are defined not accurately or this is the way Google decode them. Not sure there is something we can do.
Hi Maryna!
When I click "take picture" button, nothing happens. This is the logcat:
When I click "share" button, I get this in logcat:
and farther down this:
The code for click event on "share" button worked well! It prompted me to share via my chosen method. I selected Facebook, and when the status update screen showed, there was no image attached to the status update.