cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Mobile Analytics Kit

former_member192971
Participant
0 Kudos

Hello Experts ,

We ran into an issue with Analytics when we tried to run the HTML file in the Browser .

Steps I followed :

**Created a Table in SQL Anywhere using Sybase Mobile SDK IDE .

** Developed an MBO Based on that Table.

**Deployed it in the local server, even tried with cloud .

**Created a Mobile Work flow Application based on MBO and Took a chart along with that to trying to display MBO data in charts.

**Generated work flow application.

**After that I tried to add some code in Javascript files like Custom.js , MyLayout.js , MyQuery.js and soon....Then finally tried to run HTML5 ...Following errors raised...

I did this prototype as per the 'Makit Developer's Guide HTML5 Document'(you can find it in the below link) Example from Pg 52-67 Couple of times .

http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01757.0213/doc/html/title.html


When we tried to Run the HTM file , Browser is throwing the following errors .

In Web Browser  when pressed Get Data button it throwed following Error :-

Inline image 1

When Clicked Column chart it throwed following error :-

Inline image 2

Inline image 3

I think above errors are related to 'URL' problem which it need to access the database . So I think we need to pass URI  somewhere in those JavaScript files .

Note : We can see that MBO data in the Android Emulator along with charts but coming to View them in browser , issue occured .

   Could any one try to resolve this ...

Appreciate your help .

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

I am unable to view your screen shots. 

What version of SUP are you using?

former_member192971
Participant
0 Kudos

Hi Daniel , I am using SUP version 2.1.3,  Anyways I am attaching the screen shot images once again , pls find them...

X

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks for the screen shots.  What device or simulator are you running this on?

The referenced PDF appears to go to page 31 so I was unable to locate the example from page 52.

The following are a couple of samples that include MAKit that may be of some use.

Using Sencha Touch, MBOs and MAKit https://cw.sdn.sap.com/cw/docs/DOC-152392

SUP 2.2 SP02 New Hybrid App Designer Features https://cw.sdn.sap.com/cw/docs/DOC-152841