Look up dictionary on android (MENU and principal DICTIONARY)

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
nimbona
Posts: 28
Joined: June 2nd, 2018, 2:43 pm

Look up dictionary on android (MENU and principal DICTIONARY)

Post by nimbona »

Hello every one.
I need help. I have a problem on android. I have one dictionnary and a menu, when i am on desktop i can go to principal dictionary after menu but when i deploy that two dictionary on android, i can't finish menu and proced to principal dictionary.I must enty to each dictionary. An other thing is that when i try to add application by"add application" "dropbox" i get an error like this " No applicatios found on server".

I dont' see how to resolve the problem.
Find below the program that i use in menu in order to connect to dropbox:

{Application 'MENU' logic file generated by CSPro}
PROC GLOBAL

numeric server=1, formulaire = 2;
//Transfert de donnees
function synchronization(action)
if action=server then

// Connexion à dropbox
if syncconnect(Dropbox)=1 then
// envoie de données à Dropbox
syncdata(PUT,DATAMEN_DICT);
syncdisconnect();
endif;

elseif action=formulaire then
// Connexion à Dropbox
if syncconnect(Dropbox)=1 then
// Téléchargement des formulaires à partir de Dropbox
syncfile(GET,"DATABASETCHAD/DATAMEN.pff","DATAMEN.pff" );
syncfile(GET,"DATABASETCHAD/DATAMEN.pen","DATAMEN.pen");
syncfile(GET,"DATABASETCHAD/MENU.pff","MENU.pff");
syncfile(GET,"DATABASETCHAD/MENU.pen","MENU.pen");
syncdisconnect();
endif;
endif;
end;


function launchdeploymentDataEntry()
string pathToEntrydeployment = "DATAMEN.pff";
if execpff(pathToEntrydeployment, stop) = notappl then errmsg("Echec de lancement");
endif; end;

PROC MENU_FF

preproc
userbar(clear);
//Bouton d'envoie des données
userbar( add button,"Envoyer données au Serveur", synchronization(server));
//Bouton de mise à jour des formulaires
userbar( add button,"Télécharger les nouveaux formulaires", synchronization(formulaire));
userbar(add spacing,50);
userbar(show);



Thank for your response
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Look up dictionary on android (MENU and principal DICTIONARY)

Post by Gregory Martin »

I think that it would be more helpful if you posted your entire application. You have a function, launchdeploymentDataEntry, that launches a different application, but I don't see it being called anywhere in your code. It's hard to determine what might be happening without seeing all of the code.
Post Reply