FiveTouch FAQ

Re: FiveTouch FAQ

Postby Gale FORd » Wed Jun 17, 2015 2:05 pm

I really want to get this to work on the phone. I need to create a proof of concept for the owners.
If you think it will make a difference we can go ahead with developer option and maybe I can send changes via apk.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: FiveTouch FAQ

Postby Gale FORd » Wed Jun 17, 2015 2:10 pm

Funny, I decided to reload prg after changing Scintilla settings and the code highlighting went away. Typing letters work ok now but the delete/backspace does not work at all.
I thought maybe I could mark some text and press space bar to delete it but you cannot mark text in this mode either. Dang if do and dang if you don't.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 2:52 pm

Gale,

Gale FORd wrote:Ok, I was able to add some code to prg on phone.
With the code below, when I press run button it returns error "Unknown or unregistered symbol DOWNLOADLOCATION"

Code: Select all  Expand view
#include "FiveTouch.ch"
     
function Main()
  local cFileLocation, cFile
  cFileLocation := DownloadLocation()+"/"  
  cFile := "test.dbf"
  if file( cFileLocation+cFile )
    MemoWrit( cFile, MemoRead( cFileLocation+cFile ) )
  endif
   MsgInfo( "Hello world from FiveTouch" )

return nil             
 


Please add this function to your PRG:

Code: Select all  Expand view
function DownloadLocation()

return QStandardPaths():StandardLocations( 14 ):Value( 0 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 2:54 pm

Gale,

Gale FORd wrote:On setting "use Scintilla" it is really hard to tell because it is so small. But it looks like it is unchecked. I tried changing it so it looks checked but it did not help. When I went back to settings it looked like it was unchecked again. Not matter what I change it to and press "ok" the code in the window still looks like it is using Scintilla and the editing is still problematic.


When you uncheck "use Scintilla" then you have to press on "New" and you will get a standard multiline editor
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 2:56 pm

Gale,

Gale FORd wrote:Funny, I decided to reload prg after changing Scintilla settings and the code highlighting went away. Typing letters work ok now but the delete/backspace does not work at all.
I thought maybe I could mark some text and press space bar to delete it but you cannot mark text in this mode either. Dang if do and dang if you don't.


The best way to go is to develop from FiveTouch Windows version and then send the PRG to your android device once it is tested
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 3:00 pm

Gale,

Gale FORd wrote:I really want to get this to work on the phone. I need to create a proof of concept for the owners.
If you think it will make a difference we can go ahead with developer option and maybe I can send changes via apk.


FiveTouch is great for quickly developing and testing a prototype.

Once it is finished, then you can build your own APK. I will send you an email with all the tools that you need to install.

For now, its better if you focus on starting as you are doing, so you get used to it.

I will prepare you an email with all the tools that you have to install and how to use them.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Gale FORd » Wed Jun 17, 2015 3:28 pm

I understand about developing on something other than phone.
The problem is you have to update the phone sometime to test.
So far I have not been able to get test.dbf where I can even see the controls.prg sample working you sent in the apk.
I know we will get this working it is just a little frustrating when it is right there in front of you.

Thanks,
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 4:32 pm

Gale,

I am going to try it here step by step...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 4:52 pm

Gale,

Here it worked fine on first try. I sent myself an email with user.dbf and downloaded it.

Then I went to FiveTouch and run this code and worked as expected :-)

I coded it from the tablet itself. The Scintilla source code editor works fine on this Android tablet.

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Gale FORd » Wed Jun 17, 2015 5:35 pm

I understand. i have tried it on tablets also, but my target destination for this project is phones. I will also have limited control over the model. That is why I am spending so much time this early in the process to see how it might work on a phone.

I still plan to develop and run on computers and tablets. I am testing on Laptop, Microsoft Surface Pro 3, and Android tablet and phone. some day maybe Ipad and Iphone.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 5:49 pm

To develop you need at least a tablet as a phone is too small to code on it

Maybe you could install TeamViewer support on it and easily manage it from your PC :-)

I have done it a few times and works great
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Gale FORd » Wed Jun 17, 2015 6:07 pm

sure, I have no desire to develop on phone. Just need it to run and test on phone. Still trying to get some testing and evaluation of phone capabilities.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: FiveTouch FAQ

Postby Antonio Linares » Wed Jun 17, 2015 6:09 pm

Gale,

When you are ready to start building your APKs please let me know it and I will provide you
all that you need to install on your PC.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveTouch FAQ

Postby Gale FORd » Wed Jun 17, 2015 6:58 pm

OK, thanks.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: FiveTouch FAQ

Postby vilian » Thu Feb 18, 2016 10:31 pm

Antonio,

Is it working to IOS?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 977
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

PreviousNext

Return to FiveTouch

Who is online

Users browsing this forum: No registered users and 0 guests