Tilting Char Problem
Tilting Char Problem
I used pages for my line graph but whenever I display an Alert Dialog or go to another activity (without finishing the activity containing the graph) and go back when go to other graph page it tilts. But before displaying and going to another activity, browsing graph pages is fine.
- Attachments
-
- WP_20140318_10_22_26_Pro.jpg (354.25 KiB) Viewed 19056 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hello JAP,
I'm not able to reproduce the problem here. Can you please attach a simple example project we can run "as-is" to reproduce the problem here and provide information on the exact environment in which you reproduce it?
Thanks in advance.
I'm not able to reproduce the problem here. Can you please attach a simple example project we can run "as-is" to reproduce the problem here and provide information on the exact environment in which you reproduce it?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Tilting Char Problem
The data is coming from an FTP server, is there a way we can do the exchange of information more private?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hi JAP,
You can post your files at www.steema.net/upload or send them to narcis at steema dot com.
BTW, you don't need to include production data, you can use random test data.
You can post your files at www.steema.net/upload or send them to narcis at steema dot com.
BTW, you don't need to include production data, you can use random test data.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Tilting Char Problem
I would like to follow-up on this problem. I can't upload the project because it's too large. I uploaded in my OneDrive, where can I send the link privately?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hi JAP,
You can send it to info at steema dot com referencing this thread. However, there's no need you send your production project but a simple self contained example as explained in point two here.
Thanks in advance.
You can send it to info at steema dot com referencing this thread. However, there's no need you send your production project but a simple self contained example as explained in point two here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hi JAP,
I have received your project. It's quite a big project and would take us a lot of time isolating charting code and being able to find where the problem might be. Moreover, I can not even compile it. I get those error messages:
Error 1 Cannot convert lambda expression to type 'Android.Content.IDialogInterfaceOnClickListener' because it is not a delegate type G:\temp\HelloVS-1\HelloVS-1\HelloVS.Droid\FetchWaveformActivity.cs 360 44 HelloVS.Droid
Error 2 No overload for method 'insertDB' takes 8 arguments G:\temp\HelloVS-1\HelloVS-1\HelloVS.Droid\FetchWaveformActivity.cs 398 17 HelloVS.Droid
So, could you please arrange a Short, Self Contained, Correct (Compilable), Example reproducing the issue you reported? Please follow the recomendations in the link I posted.
Thanks in advance.
I have received your project. It's quite a big project and would take us a lot of time isolating charting code and being able to find where the problem might be. Moreover, I can not even compile it. I get those error messages:
Error 1 Cannot convert lambda expression to type 'Android.Content.IDialogInterfaceOnClickListener' because it is not a delegate type G:\temp\HelloVS-1\HelloVS-1\HelloVS.Droid\FetchWaveformActivity.cs 360 44 HelloVS.Droid
Error 2 No overload for method 'insertDB' takes 8 arguments G:\temp\HelloVS-1\HelloVS-1\HelloVS.Droid\FetchWaveformActivity.cs 398 17 HelloVS.Droid
So, could you please arrange a Short, Self Contained, Correct (Compilable), Example reproducing the issue you reported? Please follow the recomendations in the link I posted.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Tilting Char Problem
Sorry for that sir. The link to the updated project is sent to Ms. Ara of Sales, the person whom I gave the link of the initial project for this problem.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hello JAP,
Thanks for the new project. Honestly, this is the smallest application you can arrange reproducing the problem? It's bluetooth activation necessary? When I click the "List FTP Directory" button I get and Unhandled exception:
System.IndexOutOfRangeException: Array index is out of range.
at the line below in the getFileListDetails at fetchFTP.cs.
changing it to:
I still get:
System.FormatException: String was not recognized as a valid DateTime.
Is it really necessary to use data from an FTP? From our side, real data is not necessary. It would be preferable that you used random/test data that reproduce the problem instead. Here you can find an example creating a dataset at run-time.
I also see that your project still contains an important number of classes. Please remove ALL code that is not related with TeeChart and is not essential to reproduce the problem so that we can focus on working on the issue you are experiencing instead of having to search through your project and understand it.
Thanks for the new project. Honestly, this is the smallest application you can arrange reproducing the problem? It's bluetooth activation necessary? When I click the "List FTP Directory" button I get and Unhandled exception:
System.IndexOutOfRangeException: Array index is out of range.
at the line below in the getFileListDetails at fetchFTP.cs.
Code: Select all
DateTime formatTime = Convert.ToDateTime(splitDetails[1] + splitDetails[2]);
Code: Select all
DateTime formatTime = Convert.ToDateTime(splitDetails[0] + splitDetails[1]);
System.FormatException: String was not recognized as a valid DateTime.
Is it really necessary to use data from an FTP? From our side, real data is not necessary. It would be preferable that you used random/test data that reproduce the problem instead. Here you can find an example creating a dataset at run-time.
I also see that your project still contains an important number of classes. Please remove ALL code that is not related with TeeChart and is not essential to reproduce the problem so that we can focus on working on the issue you are experiencing instead of having to search through your project and understand it.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Tilting Char Problem
I'm sorry sir about the project. I sent a link to Ms. Ara of sales for the updated project, hoping the revision satisfies your requirements
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hi JAP,
Thanks for the new project. At least I can run it now. However, I'm still unable to reproduce the problem. What I'm doing:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons.
4. Press the "Patient Details" button.
5. Navigate through the chart as in step 3.
Which are the exact steps I should follow to reproduce the problem?
Thanks in advance.
Thanks for the new project. At least I can run it now. However, I'm still unable to reproduce the problem. What I'm doing:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons.
4. Press the "Patient Details" button.
5. Navigate through the chart as in step 3.
Which are the exact steps I should follow to reproduce the problem?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Tilting Char Problem
Good to hear thatHi JAP,
Thanks for the new project. At least I can run it now. However, I'm still unable to reproduce the problem. What I'm doing:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons.
4. Press the "Patient Details" button.
5. Navigate through the chart as in step 3.
Which are the exact steps I should follow to reproduce the problem?
The steps you've mentioned SHOULD re-produce the problem. Here are the steps wherein at the end I encounter the problem:
METHOD #1:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Patient Details" button.
5. Press the "Back" button of the dialog box.
5. Navigate through the chart as in step 3.
METHOD #2:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Send Feedback" button.
5. Choose the "Messaging" option
6. Press the "Just once" button
7. Press back button to go back to the chart screen of the application
8. Navigate through the chart as in step 3.
METHOD #3:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Home" button.
5. Hold the "Home" button and choose the running process of the application (or navigate through the application list and choose the application)
6. Navigate through the chart as in step 3.
I'm debugging using an Android-based smartphone by the way since the simulator is slow.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hi JAP,
Thanks for the info. I'm still unable to reproduce the problem here though. Does this occur with any specific device? Could you please let us know the specifications of the device where the problem occurs? I'm using a Nexus 4 phone with Android 4.4.2.
Thanks in advance.
Thanks for the info. I'm still unable to reproduce the problem here though. Does this occur with any specific device? Could you please let us know the specifications of the device where the problem occurs? I'm using a Nexus 4 phone with Android 4.4.2.
At step 4 I already get "Messaging" option without choosing it. Then I don't understand which is the "Just once" button, I don't see anything about that. Anyway, continuing with steps 7 and 8 doesn't reproduce the problem either.METHOD #2:
1. Run the application.
2. Press the "FETCH" button.
3. Navigate through the chart pressing first, last, next and previous buttons. (This is to check whether the chart navigation is okay)
4. Press the "Send Feedback" button.
5. Choose the "Messaging" option
6. Press the "Just once" button
7. Press back button to go back to the chart screen of the application
8. Navigate through the chart as in step 3.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Tilting Char Problem
I think you only have 1 messaging app that's why. Going back to reproducing the problem, it's weird to hear that. Did you deploy it in an actual device? Should I send a video where I produce the problem on the same "sample" project I gave you?At step 4 I already get "Messaging" option without choosing it. Then I don't understand which is the "Just once" button, I don't see anything about that. Anyway, continuing with steps 7 and 8 doesn't reproduce the problem either.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Tilting Char Problem
Hi JAP,
Thanks in advance.
Yes, a Google Nexus 4 device with Android 4.4.2. That's why I'm asking about the specification or brand and model of the device with which you reproduce the problem. Can you reproduce the problem with different devices?JAP wrote:Did you deploy it in an actual device?
I think it's pretty clear how the problem should be reproduced. I wonder if one has to press the page navigation buttons many times before it occurs. Anyway, if you send the video I'll watch it and try to do the same here.JAP wrote:Should I send a video where I produce the problem on the same "sample" project I gave you?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |