conversion of web Application to mobile Apllication

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

conversion of web Application to mobile Apllication

Postby shreyas.nie » Thu Jul 07, 2011 9:13 am

Hi All,

i have an web application in .net i want to create an android mobile application to access that pages, similar to Facebook Mobile application in Android. Please help me i am new to android.thanks in advance :)
shreyas.nie
Freshman
Freshman
 
Posts: 8
Joined: Thu Jul 07, 2011 7:27 am

Top

Re: conversion of web Application to mobile Apllication

Postby raj_J2ME » Mon Jul 11, 2011 10:55 am

Welcome to the android forums :)

Please note that developing an app for the mobile and accessing an app from the mobile are quite different things. The subject of this thread and the body are describing the two different things. Kindly clear the requirement so that the people can provide exact answer.
Thanks with Regards,
Raj - The Kernel
raj_J2ME
Master Developer
Master Developer
 
Posts: 311
Joined: Tue Feb 15, 2011 7:40 am
Location: The Capital of India,

Re: conversion of web Application to mobile Apllication

Postby shreyas.nie » Mon Jul 11, 2011 11:32 am

HI raj,

Thanks for the suggestion, actually i have an web application project ,i want to develop an application in andriod so that i can access this web pages from my android phone.

for ex Facebook is an web application but we have an mobile application in android phones on click of it will redirect to Facebook's log in page with mobile compatible view.

i have one web application i just want to create an application for my android phone on click which it will redirect to my web page link

please help me i am new to android
shreyas.nie
Freshman
Freshman
 
Posts: 8
Joined: Thu Jul 07, 2011 7:27 am

Re: conversion of web Application to mobile Apllication

Postby raj_J2ME » Thu Jul 14, 2011 11:08 am

That means you wanna just open a particular web application from the android app. Therefore to do that you need to launch the browser of the device and then let that browser open the same web application in it. To do that you need to pas the url for the website,

Kindly check this code for the same:

Code: Select all
          String url = "http://facebook.com/";
          Intent i = new Intent(Intent.ACTION_VIEW);
          i.setData(Uri.parse(url));
          startActivity(i);


This is the working code for the same. Check and revert.
Thanks with Regards,
Raj - The Kernel
raj_J2ME
Master Developer
Master Developer
 
Posts: 311
Joined: Tue Feb 15, 2011 7:40 am
Location: The Capital of India,

Re: conversion of web Application to mobile Apllication

Postby shreyas.nie » Tue Jul 19, 2011 2:35 pm

raj_J2ME wrote:That means you wanna just open a particular web application from the android app. Therefore to do that you need to launch the browser of the device and then let that browser open the same web application in it. To do that you need to pas the url for the website,

Kindly check this code for the same:

Code: Select all
          String url = "http://facebook.com/";
          Intent i = new Intent(Intent.ACTION_VIEW);
          i.setData(Uri.parse(url));
          startActivity(i);


This is the working code for the same. Check and revert.
raj_J2ME wrote:That means you wanna just open a particular web application from the android app. Therefore to do that you need to launch the browser of the device and then let that browser open the same web application in it. To do that you need to pas the url for the website,



Kindly check this code for the same:

Code: Select all
          String url = "http://facebook.com/";
          Intent i = new Intent(Intent.ACTION_VIEW);
          i.setData(Uri.parse(url));
          startActivity(i);


This is the working code for the same. Check and revert.



Thanks Raj, Its working. Is their any way i can convert those web pages compatible to my mobile screen because now the controls what appears in the screen are very big. Thanks once again :).
shreyas.nie
Freshman
Freshman
 
Posts: 8
Joined: Thu Jul 07, 2011 7:27 am

Re: conversion of web Application to mobile Apllication

Postby shreyas.nie » Wed Jul 20, 2011 6:46 am

Thanks Raj its working , is there any way to convert them to mobile compatible view because the controls appears to big in mobile screen. Thanks once again
shreyas.nie
Freshman
Freshman
 
Posts: 8
Joined: Thu Jul 07, 2011 7:27 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: Google Feedfetcher and 6 guests