Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Miscellaneous Issues with App

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.

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Miscellaneous Issues with App

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:
Image

And also nothing happens when I click "share" on "camera" page either. This is the logcat:
Image

Thanks for your patience and help! I can't express my gratitude.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Miscellaneous Issues with App

Hello Joe! We're sorry for delay, working on it.

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Miscellaneous Issues with App

Thanks Maryna! I appreciate it. :)

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Miscellaneous Issues with App

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?

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Miscellaneous Issues with App

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

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Miscellaneous Issues with App

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?

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Miscellaneous Issues with App

Thanks Maryna!

Step 2 I added the run javascript action on click event.

Did I map the data correctly?

Image

When I click "take picture" logcat shows this:

Image

When I click "share" button this shows in logat:

Image

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!!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Miscellaneous Issues with App

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.

Joe Paisley
Posts: 0
Joined: Thu Mar 14, 2013 8:41 pm

Miscellaneous Issues with App

Hi Maryna!

When I click "take picture" button, nothing happens. This is the logcat:

Image

When I click "share" button, I get this in logcat:

Image

and farther down this:

Image

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.

Return to “Issues”