Android-dev.it Community

 
Annunci

:arrow: Benvenuto!, se non sei ancora un utente registrato: puoi registrati qui, oppure effettua il login
:arrow: Apri un forum sul tuo nuovo smartphone Android e collabora con noi! (dettagli)

www.agendadigitale.org
Image


Sponsor
It is currently Tue May 22, 2012 9:00 am

All times are UTC + 1 hour


 Topics   Replies   Views   Last post 
No new posts На интернет-витрине

by popowahgjfghjoiuyt on Sat May 19, 2012 2:25 pm in Amministrazione

0

12

Sat May 19, 2012 2:25 pm

popowahgjfghjoiuyt

No new posts Apri un forum sul tuo nuovo smartphone Android!

[ Go to page: 1, 2, 3 ]

by ReattileGar on Fri May 18, 2012 5:27 pm in Amministrazione

27

12514

Fri May 18, 2012 5:27 pm

ReattileGar

No new posts Новый: базы для хрумера - профессиональный софт для СЕО.

by Renatafe on Fri May 18, 2012 3:14 pm in Amministrazione

0

17

Fri May 18, 2012 3:14 pm

Renatafe

No new posts Pace is undoubtedly the vital affordable Jerseys Wholesale d

by barnettmmolive2012 on Wed May 16, 2012 7:36 am in Amministrazione

1

47

Wed May 16, 2012 7:36 am

barnettmmolive2012

No new posts Problema di compatibilità app

by deran on Tue May 15, 2012 10:44 am in Sviluppo e programmazione in Android

4

200

Tue May 15, 2012 10:44 am

deran




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Domanda da neofita ...
PostPosted: Thu Apr 28, 2011 1:50 pm 
Offline
User avatar

Joined: Wed Apr 27, 2011 1:14 pm
Posts: 6
Cellulare Android: HTC Desire HD
Operatore: 3
Punti Android: ?
Buongiorno a tutti,

sono il gestore di un sito web. Stiamo pensando alla realizzazione di una app che porti su android le funzioni che oggi sono disponibili online sul sito.
La domanda da neofita riguarda l'approccio alla realizzazione di una app del genere.
Nel mio caso è meglio pensare ad un parser che legga le pagine html e quindi importi le informazioni nella app oppure è meglio sviluppare lato web delle primitive che invocate opportunamente dalla app restituiscano le informazioni richieste nel formato più consono ad android (xml ????)

Grazie per i vostri consigli.

A presto.


Top
 Profile  
 
 Post subject: Re: Domanda da neofita ...
PostPosted: Tue May 03, 2011 9:56 pm 
Offline
User avatar

Joined: Wed Apr 27, 2011 1:14 pm
Posts: 6
Cellulare Android: HTC Desire HD
Operatore: 3
Punti Android: ?
Ragazzi è cosi strana come domanda ?
Nessuno che mi da una indicazione ?


Top
 Profile  
 
 Post subject: Re: Domanda da neofita ...
PostPosted: Wed May 04, 2011 3:46 pm 
Offline
Moderatore
User avatar

Joined: Thu Dec 27, 2007 3:51 pm
Posts: 986
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 1320
Ciao,
molto meglio sviluppae un client su Android che invoce dei web services implementati sul sito, anzichè il parsing delle pagine html.
Il formato dei dati utilizzati dai web services può essere xml ma anche altri (ad esempio Android supporta JSON che è molto più efficiente)


Top
 Profile  
 
 Post subject: Re: Domanda da neofita ...
PostPosted: Wed May 04, 2011 4:33 pm 
Offline
User avatar

Joined: Wed Apr 27, 2011 1:14 pm
Posts: 6
Cellulare Android: HTC Desire HD
Operatore: 3
Punti Android: ?
Grazie della risposta Verix.
Però non capisco una cosa, il client android in che modo "interagisce" con il sito web ?
Interroga direttamente il database del sito ? Si interfaccia direttamente a (per esempio) mysql o sqlserver ?

Grazie ancora.

Ciao.


Top
 Profile  
 
 Post subject: Re: Domanda da neofita ...
PostPosted: Thu May 05, 2011 5:08 pm 
Offline
User avatar

Joined: Thu Dec 27, 2007 7:09 pm
Posts: 659
Cellulare Android: HTC Dream
Operatore: TIM
Punti Android: 758
arfry wrote:
Grazie della risposta Verix.
Però non capisco una cosa, il client android in che modo "interagisce" con il sito web ?
Interroga direttamente il database del sito ? Si interfaccia direttamente a (per esempio) mysql o sqlserver ?

Grazie ancora.

Ciao.

Il metodo "ortodosso" di comunicazione tra un client e un sito web è tramite web services:
- il client invoca un web services (tramite il GET o il POST di un indirizzo WEB al quale si aggiungono i parametri della richiesta)
- il web services sul sito WEB di solito è implementato sotto forma di uno script PHP
- lo script PHP interroga il database, prepara la risposta e la invia al client (di solito la risposta è codificata in XML o JSON

Leggi i thread relativi ai web services su questo forum per avere info utili su come implementarli in Android, oppure leggi un tutorial generale

_________________
***URLs are hidden from guests, please register and login to view the hyperlink***


Top
 Profile  
 
 Post subject: Re: Domanda da neofita ...
PostPosted: Fri May 06, 2011 10:03 am 
Offline
User avatar

Joined: Wed Apr 27, 2011 1:14 pm
Posts: 6
Cellulare Android: HTC Desire HD
Operatore: 3
Punti Android: ?
Grazie mille barban,

hai risposto chiaramente alla mia domanda.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
phpBB SEO

All trademarks and logos used in this site are of properties of their respective owners.