Re: [android-developers] Re: Urgent help required

2011-11-12 Thread Jim Graham
On Fri, Nov 11, 2011 at 02:30:05AM -0800, Sunil Mishra wrote: > home.html > > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > http://www.w3.org/1999/xhtml"; xml:lang="en"> > > ODMS This is code for you web server? I never knew that a complete web SERVER could be written in HTML.

[android-developers] Re: Urgent help required

2011-11-12 Thread skink
Thomas napisał(a): > Hello, > > You state you want to share this on a public network. What is the URL > where the html and and other files live"? The code is straight > forward enough if that is what you want to do. > > Best, > Tom B OP problem is that he has at least some files as app resour

[android-developers] Re: Urgent help required

2011-11-11 Thread Thomas
Hello, You state you want to share this on a public network. What is the URL where the html and and other files live"? The code is straight forward enough if that is what you want to do. Best, Tom B On Nov 10, 8:24 am, Sunil Mishra wrote: > Hi, > > I have developed a HTTP web server and sendi

[android-developers] Re: Urgent Help required

2011-11-11 Thread Ali Chousein
It's pretty straightforward: https://github.com/facebook/facebook-android-sdk - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/ https:/

[android-developers] Re: Urgent Help required

2011-11-11 Thread Spiral123
use the Facebook android SDK instead plz. Thanks in advance. On Nov 11, 11:27 am, chowdary nani wrote: > Please how to integrate face book in android.I am trying to do it > using fbconnection/api.jar but i am facing problem in loading the jar -- You received this message because you are subscr

[android-developers] Re: Urgent help required

2011-11-11 Thread Android2ee
@Daniel, you're a great guy (smart, kind, precise and exact)... Thanks. On Nov 11, 3:43 pm, Daniel Drozdzewski wrote: > On 11 November 2011 14:23, Sunil Mishra wrote: > > > @skink and @Dainel > > > According to me URL translation is like follows > > > 1. Read the html file before sending > > 2.

[android-developers] Re: Urgent help required

2011-11-11 Thread skink
On Nov 11, 3:23 pm, Sunil Mishra wrote: > @skink and @Dainel > > According to me URL translation is like follows > > 1. Read the html file before sending > 2. Grab the relative url > 3. Convert it to absolute url > 4. Write the html file with the converted absolute url > > Please correct me if i

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
@Daniel Thanks! I'l try on this and get back to you if i have any doubt. Thanks once again! On Nov 11, 7:43 pm, Daniel Drozdzewski wrote: > On 11 November 2011 14:23, Sunil Mishra wrote: > > > @skink and @Dainel > > > According to me URL translation is like follows > > > 1. Read the html file

Re: [android-developers] Re: Urgent help required

2011-11-11 Thread Daniel Drozdzewski
On 11 November 2011 14:23, Sunil Mishra wrote: > @skink and @Dainel > > According to me URL translation is like follows > > 1. Read the html file before sending > 2. Grab the relative url > 3. Convert it to absolute url > 4. Write the html file with the converted absolute url > > Please correct me

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
@IcedNet You mean to say, i must put all the html, css and images in the assets folder. Right? On Nov 11, 6:52 pm, IcedNet wrote: > treat the assets folder as /  (root) for your server, put it all in > there... > > On Nov 11, 8:43 am, Sunil Mishra wrote: > > > > > > > > > As a workaround i trie

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
@skink and @Dainel According to me URL translation is like follows 1. Read the html file before sending 2. Grab the relative url 3. Convert it to absolute url 4. Write the html file with the converted absolute url Please correct me if i am going wrong. Or provide me a link which explains about U

[android-developers] Re: Urgent help required

2011-11-11 Thread IcedNet
treat the assets folder as / (root) for your server, put it all in there... On Nov 11, 8:43 am, Sunil Mishra wrote: > As a workaround i tried storing the image in app_images folder in > sdcard and trying to provide the url of that path. But still the > issues exists. Is there any other work aro

[android-developers] Re: Urgent help required

2011-11-11 Thread skink
On Nov 11, 2:43 pm, Sunil Mishra wrote: > As a workaround i tried storing the image in app_images folder in > sdcard and trying to provide the url of that path. But still the > issues exists. Is there any other work around possible?? > > And do you have any clue > > On Nov 11, 5:18 pm, Daniel Dr

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
As a workaround i tried storing the image in app_images folder in sdcard and trying to provide the url of that path. But still the issues exists. Is there any other work around possible?? And do you have any clue On Nov 11, 5:18 pm, Daniel Drozdzewski wrote: > Sunil, > > You should not have deve

Re: [android-developers] Re: Urgent help required

2011-11-11 Thread Daniel Drozdzewski
Sunil, You should not have developed your http server, but utilise some OSS project that does that. Your links to images or any other resource are relative to the context of that web page (or web application) running within your web server. wwwroot - websiteA -images -topWrapper-bg.jpg

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
@Kostya Thanks for pointing that out! But i am still unable to load the image. I placed the image in "assets" folder and trying to access that using background-image:url(file:///android_asset/topBanner.jpg); but unable to do so... On Nov 11, 4:41 pm, Kostya Vasilyev wrote: > raw != assets > > 11

Re: [android-developers] Re: Urgent help required

2011-11-11 Thread Kostya Vasilyev
raw != assets 11.11.2011 15:27, Sunil Mishra пишет: I tried changing background-image:url('images/css/topBanner.jpg') to background-image:url(file://android_asset/raw/images/css/ topBanner.jpg' ) but it still not working. -- Kostya Vasilyev -- You received this message because you are subscri

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
I tried changing background-image:url('images/css/topBanner.jpg') to background-image:url(file://android_asset/raw/images/css/ topBanner.jpg' ) but it still not working. On Nov 11, 4:20 pm, Miguel Morales wrote: > They sure are. > > On Fri, Nov 11, 2011 at 3:14 AM, Sunil Mishra wrote: > > > > > >

Re: [android-developers] Re: Urgent help required

2011-11-11 Thread Miguel Morales
They sure are. On Fri, Nov 11, 2011 at 3:14 AM, Sunil Mishra wrote: > The images are in res->raw->images->css > > On Nov 11, 3:38 pm, Miguel Morales wrote: > > That's better, most likely you'll want to put your html/images in the res > > folder and then user the following path: > > > > file://an

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
The images are in res->raw->images->css On Nov 11, 3:38 pm, Miguel Morales wrote: > That's better, most likely you'll want to put your html/images in the res > folder and then user the following path: > > file://android_asset/file_path.png > > If you are downloading these files dynamically, then

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
Can you give me example on how to do the same for the following line: background-image:url('images/css/topBanner.jpg'); //a line of home.html We cannot directly replace that with 'file://android_asset/raw/images/ css/topBanner.jpg' On Nov 11, 3:38 pm, Miguel Morales wrote: > That's better, most

Re: [android-developers] Re: Urgent help required

2011-11-11 Thread Miguel Morales
That's better, most likely you'll want to put your html/images in the res folder and then user the following path: file://android_asset/file_path.png If you are downloading these files dynamically, then simply change the file:// path. On Fri, Nov 11, 2011 at 2:30 AM, Sunil Mishra wrote: > home.

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
home.html http://www.w3.org/1999/xhtml"; xml:lang="en"> ODMS html { background: #d2d2d2; margin:0 0 0 -1px; padding:0; overflow-Y: scroll; } body { padding:0; margin :0; display:table; width:100%; } body { c

Re: [android-developers] Re: Urgent help required

2011-11-11 Thread Miguel Morales
That's not detailed at all, very bad explanation. Again, you'll have to post code, logs, etc. On Fri, Nov 11, 2011 at 12:28 AM, Sunil Mishra wrote: > Because i want the contents of my phone to be shared, i am able to do > that. Only thing i need is to design the html page that i am sending > with

[android-developers] Re: Urgent help required

2011-11-11 Thread Sunil Mishra
Because i want the contents of my phone to be shared, i am able to do that. Only thing i need is to design the html page that i am sending with css. I am unable to use any images in the html page. On Nov 11, 12:12 pm, Miguel Morales wrote: > Why not have the HTTP server on the PC and use the Andr

Re: [android-developers] Re: Urgent help required

2011-11-10 Thread Miguel Morales
Why not have the HTTP server on the PC and use the Android device as a client? You'll probably have to post code, logs, etc to get better help. At least explain, in much better detail, your issue. On Thu, Nov 10, 2011 at 10:56 PM, Sunil Mishra wrote: > I want to share the contents across the ne

[android-developers] Re: Urgent help required

2011-11-10 Thread Sunil Mishra
I want to share the contents across the network, so i developed the server. Any clue on how to fix my problem? On Nov 11, 9:38 am, Zsolt Vasvari wrote: > You have developed your own web server?  Why? > > On Nov 11, 12:32 pm, Sunil Mishra wrote: > > > > > > > > > @TreKing - I have developed the s

[android-developers] Re: Urgent help required

2011-11-10 Thread Zsolt Vasvari
You have developed your own web server? Why? On Nov 11, 12:32 pm, Sunil Mishra wrote: > @TreKing - I have developed the server in Android itself. And i am > accessing that via PC's Web browser. > > On Nov 11, 12:39 am, TreKing wrote: > > > > > On Thu, Nov 10, 2011 at 7:24 AM, Sunil Mishra wrote

[android-developers] Re: Urgent help required

2011-11-10 Thread Sunil Mishra
@TreKing - I have developed the server in Android itself. And i am accessing that via PC's Web browser. On Nov 11, 12:39 am, TreKing wrote: > On Thu, Nov 10, 2011 at 7:24 AM, Sunil Mishra wrote: > > > I have developed a HTTP web server and sending HTML files. But now i > > am trying to use images

[android-developers] Re: Urgent help required

2011-11-10 Thread Zsolt Vasvari
Does it matter? He needs urgent free help. That's all that matters. Now help him. On Nov 11, 3:39 am, TreKing wrote: > On Thu, Nov 10, 2011 at 7:24 AM, Sunil Mishra wrote: > > > I have developed a HTTP web server and sending HTML files. But now i > > am trying to use images for background in th