Find Jobs
Hire Freelancers

Titanium Webview local storage to device storage API

$30-250 USD

Cerrado
Publicado hace más de 9 años

$30-250 USD

Pagado a la entrega
Simple application for experienced titanium developer. Problem: We have a web based app that uses javascript to store string information in local storage ([login to view URL]) using key/value pairs. We want to build a wrapper for this site so we can release it as a native application in IOS Ipad, iphone, and android. Our website needs to store more than max 5mb limit for local storage on mobile. We need to build a bridge between the titanium local device storage and javascript. We will build the client javascript to detect if it is on mobile device and send custom events to titanium API you build. The webview has to point to REMOTE website and CANNOT point to local assets. This means it will use evalJS in titanium and listen for custom events fired by the client. This is a sample of how the titanium code would look (I do not know titanium so this is just for explanation): IF WE CAN PASS data to each other back and forth that would be better than setting variables in javascript like I did below. var webview = [login to view URL]({ url: '[login to view URL]' // REMOTE URL }); [login to view URL](webview); [login to view URL]('load',function(e) { // CAN TITANIUM listen for custom events from the javascript? [login to view URL]('Custom-Event-GET', function(e) { var ret = [login to view URL]("GET_KEY"); // GET_DATA_KEY will be a html javascript variable that will be populated with a string which is the key to "get" // ..... here you would locate the data you stored on the DEVICE storage (ipad hard drive for example) // .... the data you locate and set would be stored under a key of ("GET_KEY") and if it // was not found you would return null var f = [login to view URL]([login to view URL], ret); var contents = [login to view URL](); // you now set javascript variable to return data var ret = [login to view URL]("GET_RETURN=" + [login to view URL] + ";"); )}; [login to view URL]('Custom-Event-SET', function(e) { var keyToSave = [login to view URL]("SET_KEY"); var dataToSave = [login to view URL]("SET_DATA"); // SET_KEY will be a html javascript variable that will be populated with a string which is the key to "set" or save the data under // SET_DATA will be a html javascript variable that will be populated with a string which is the data to "set" or save within the key (file) specified above (SET_KEY) // ..... here you would store/save the data in the html variable SET_DATA that you now have // ..... in dataToSave variable above // .... the data you store/save would be saved under the key above keyToSave (SET_KEY) that you got from the client javascript // The only data type you will ever be sent is string // data but it could be up to 10mb size per key and is only limited by the user's hard drive space available on the mobile device (ipad, tablet, etc) // the only reason a failure should ever occur is if the user's hard drive is full var f = [login to view URL]([login to view URL], keyToSave); if( [login to view URL](dataToSave) ){ // write to the file return true;} )}; }); This is sample of how the remote client html would look: <html> <head> <script> var GET_KEY = ""; var SET_KEY = ""; var SET_DATA = ""; var GET_RETURN = null; function get(){ $.trigger( "Custom-Event-GET" ); // here i setInterval and keep checking GET_RETURN until its not null because your titanium set it UNLESS WE CAN PASS DATA BACK AND FORTH IN EVENTS! PLEASE CHECK! } function set(){ $.trigger( "Custom-Event-SET" ); } </script> </head> <body/> </html>
ID del proyecto: 6568999

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
6 freelancers están ofertando un promedio de $865 USD por este trabajo
Avatar del usuario
Hi SIR, Please go through my reviews for information on my expertise in Titanium. i can start todat itself. regards, Amar
$667 USD en 4 días
5,0 (20 comentarios)
5,3
5,3
Avatar del usuario
Hi, Hope we are the one whom you are finding. What you want is what we can give you exactly. I believe in straight forward chats and its really good if we can chat on functions in detail. I have some specific suggestions too if you want to apply. We generally dont bid on projects which we cant do but this project we can surely achieve. Plus our services are unique which you cant get it anywhere else. We have 24/7 support, lifetime fixes at no cost, Help in marketing of the product, special dedicated resources on the projects, etc. For more information please open a chat, Thanks Deves
$1.800 USD en 30 días
5,0 (2 comentarios)
3,3
3,3
Avatar del usuario
A proposal has not yet been provided
$147 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Brandon, United States
0,0
0
Forma de pago verificada
Miembro desde nov 4, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.