Page 6 of 9

Miscellaneous Issues with App

Posted: Tue Feb 11, 2014 8:49 am
by Maryna Brodina

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.


Miscellaneous Issues with App

Posted: Thu Feb 13, 2014 4:43 am
by Joe Paisley

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.


Miscellaneous Issues with App

Posted: Mon Feb 17, 2014 6:24 pm
by Maryna Brodina

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


Miscellaneous Issues with App

Posted: Mon Feb 17, 2014 6:31 pm
by Joe Paisley

Thanks Maryna! I appreciate it. :)


Miscellaneous Issues with App

Posted: Mon Feb 17, 2014 7:18 pm
by Joe Paisley

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?


Miscellaneous Issues with App

Posted: Wed Feb 19, 2014 12:21 am
by Alex GG

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


Miscellaneous Issues with App

Posted: Wed Feb 19, 2014 10:52 pm
by Maryna Brodina

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?


Miscellaneous Issues with App

Posted: Thu Feb 20, 2014 7:28 pm
by Joe Paisley

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


Miscellaneous Issues with App

Posted: Fri Feb 21, 2014 5:54 pm
by Maryna Brodina

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.


Miscellaneous Issues with App

Posted: Fri Feb 21, 2014 11:48 pm
by Joe Paisley

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.