Android :: Approach To Program A Mobile Website For Any Device
May 6, 2010
My wish is to know how I can program a mobile website, that fit to all mobile phones.
Are there any special approaches to recognize a device and render the code according to it?
Which tools and coding languages are required?
My first thought was to hold the website in XML, which would be parsed depending on the device.
You have to consider old phones, even devices with only wap support.
For example: The mobile website has to recognize Nokia N75 and render/send the code that looks optimal for this device. Same thing with an iPhone or a Motorola Razr.
View 6 Replies
Jun 4, 2010
We need to make an application that runs on iPhone, Android and BB. What is the best approach to write the least ammount of code? I know about some frameworks but I am not sure the best approach.
View 5 Replies
View Related
Jan 16, 2010
I am developing an Android app that needs to communicate bi-directionally with a server. By that, I mean either the server or the device can send a message at any time, with an arbitrary amount of time in between messages. Sending data from the device to the server is a common and I think well understood task, but I'm not as sure what the best approach is to go in the opposite direction from the server to the device.
I think having the device periodically poll the server may be a bad idea due to latency and the drain on the battery, but I'd be willing to consider this option. My plan at the moment is to send text messages from the server via an email-to-SMS bridge, and to have my app run a service to receive and handle these messages.
The question I have is if there are any best practices for this scenario, and if using text messages has some downsides that I have failed to consider. For the sake of this question, I want to assume that users have an unlimited text data plan, so paying per text won't be an issue.
View 2 Replies
View Related
Sep 14, 2010
How to make website that should compatibility with desktop browser as well as mobile browser?
View 2 Replies
View Related
Nov 26, 2009
Is there an app or mobile website that is good for just TV listings?
View 1 Replies
View Related
Jan 4, 2010
I'm looking to create a mobile version of our website/web app. What's a good way to provide the best, most fully featured version.Part of the reason for creating it is instead of an iPhone app, so I'd like to offer an iPhone web app that takes full advantage of the iPhone's version of WebKit (so CSS animations, being able to rely on good javascript support etc). However, I'd also like the site to work well on other smart phones as well as more basic mobile phones as well.Do I create two sites (Mobile WebKit and basic mobile web) and redirect based on User Agent? Can I create one site that degrades well? What are the possibilities, and how do other people handle it? Also: are mobile web simulators worth a damn? I have an iPhone, so can test easily on that. If I want to test on Blackberry/Palm Pre do I really need a device or are there reliable simulators?
View 1 Replies
View Related
Nov 16, 2010
I'm looking for some resources (online is good so I don't have to buy books, but books are ok) about mobile website development. I'm specifically targeting (in order) iPhone, Android, Blackberry. I'm proficient in HTML, and am getting into HTML5. I want to learn more about it in general, but specifically about using geolocation, detecting phone types, optimizing css, and a few other topics. Does anyone have suggestions on where to look?
View 3 Replies
View Related
Mar 2, 2010
I've a very simple static web page (only css and links, no scripts).
It looks good on android and iphone, but too small. I'm guessing they put it smaller since it work for most of the sites.
How can i override this and make him look the size i want it to be?
View 1 Replies
View Related
Jul 26, 2010
I have seen few apps having exact same UI when you access the app through stand alone app or through their mobile website. What are the pros and cons of both approaches while developing the app?
View 1 Replies
View Related
Nov 8, 2010
My code:
WebView webView = new WebView(this); webView.getSettings().setJavaScriptEnabled(true);
webView.loadUrl("http://www.preisjaeger.at"); setContentView(webView);
The site the I downloaded appears on the Webview, but only the content for mobile devices. How to deactivate the mobile content?
View 1 Replies
View Related
Jan 18, 2010
I was tried for RTSP stream for a long time, finally I could success to play the RTSP stream from mobile Youtube website:
http://m.youtube.com/
My approach is to copy the stream link and paste it in my code, then, there are sometimes success to work(play) on Android and sometimes will not. I can't figure out why? Is something wrong about Youtube server? Because my code is just the same, and only change is the stream link URL. I used VideoView widget and my Android platform is sdk 1.5 and under x86-based, so I really want to know why and how can I solved for this. This is the logcat when I can't work for the video stream.
W/PlayerDriver( 2116): Using generic video MIO
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
I/ServiceManager( 2112): service 'media.audio_flinger' died
W/MediaPlayer( 3344): MediaPlayer server died!
E/MediaPlayer( 3344): error (100, 0)
E/MediaPlayer( 3344): Error (100,0)
I/ServiceManager( 2112): service 'media.camera' died
D/VideoView( 3344): Error: 100,0
View 2 Replies
View Related
Jun 3, 2010
how can I get my fixed width site to always appear "fully zoomed in" on webkit (iphone and android) browsers? right now, it looks fine on an iPhone and "too small/zoomed out" on an Android phones that have higher resolution.i'm trying this viewport: <meta name="viewport" content="user-scalable=yes, width=device-width, target-densityDpi=device-dpi, initial-scale=1.0" />
View 1 Replies
View Related
Feb 5, 2010
this android aplication get mobile number to get the device only
View 2 Replies
View Related
Jun 4, 2012
I have a wordpress site with a responsive theme for mobile and I was wondering if it was possible to take that theme, place it to an app and it would recieve updates from the msql server. Sorta like how twitter and facebook mobile have the same design as the apps.
View 5 Replies
View Related
Jun 24, 2011
My Samsung Epic, using Dolphin browser, usually defaults to the mobile version of a website. So if I type in www.abc.com, it will search out m.abc.com. I don't know if it's Android, or Dophin, or just something in the website itself, but it does that. And normally it's right. Sometimes, however, the mobile site is soo dummied down and so useless I want to get to the main site. So how do I do that? It keeps going to the mobile site.
View 7 Replies
View Related
May 3, 2010
I've noticed some websites automatically route to the mobile version, while others go to the full site. Is there rhyme or reason to how this works and is it user controllable? Which do most people prefer, mobile or full?
View 9 Replies
View Related
Jul 3, 2010
so i have an n1 for at&t and i just got the ota update for froyo last night. today i'm trying out the default web browser to see what kinds of flash videos i can see. i already downloaded the flash player from the market. plus i went into the setting for the browser with regards to "about:debug" then changed the UAString to desktop. but for some reason when i go to a website like nbc.com to try and go watch a full episode of the office, it only loads the mobile version of the site. also when i check out the facebook page it always automatically loads the "touch" version of the site. how can i get it to default to the desktop regular full site version? can anyone tell me a way around this or a setting change other than try a different browser?
View 10 Replies
View Related
Jan 13, 2010
I'm retreiving data from an Internet service. Is there a way to control which (data) connection the device uses for connecting to a website?(access via wifi or via the cellular network).
View 1 Replies
View Related
Jun 4, 2010
How to stop youtube displaying the page designed for Mobile phones? I just want to view the site in my internet browser the same way as I can on my computer but when I am on youtube and I choose the Desktop view at the bottom of the page it just reverts back to Mobile view instead. I've disabled all the settings in my browser that convert sites to mobile views etc etc. It only does it on youtube and I cant stand the youtube app on my phone. I don't want any other apps or anything like that I just want to view it like I do on my comp.
View 1 Replies
View Related
Jan 30, 2010
When I open some websites like espn.com and engadget.com I can't open it in the normal http format. Why does it always open in mobile format, and can you disable this? Anybody else have this problem?
View 6 Replies
View Related
Jul 14, 2012
Is it possible using the stock browser to not go to a mobile website? When I search certain websites it gives me the mobile version.
is there any way to block this and make it only go to the web version or atleast hide the fact from the internet that I am on a mobile device?
View 3 Replies
View Related
Jul 27, 2011
I had recently switched over from HTC's stock browser to Opera Mobile browser and I'm loving it. It's much smoother and just feels better but something that was really well done in the stock browser is Google's site; really easy to use and looks and feels great. However, in Opera Mobile, it's a really bad, watered-down version that just looks ugly. Is there a way to get the good Google site to work on Opera Mobile?
HTC Sensation
View 9 Replies
View Related
Apr 24, 2010
I would like to create a program wich communicates between pc and an android mobile connected to USB via tcp/ip. Is this possible? How can I get the IP-address to a connected mobile from PC or the other way around?
View 1 Replies
View Related
Oct 11, 2009
I was just wondering if anybody knows of a mobile image hosting website that will allow me to upload wh image from my HTC hero and then host it and give me the picture link once uploaded? I've tried one or two but they say 'upload disabled' when I've tried, so I just wondered if anyone here had successfully used one.
View 9 Replies
View Related
Dec 23, 2009
Has anyone else noticed that the text on the mobile version of ESPN's website gets cut off on the Droid's browser? I feel like this is a relatively recent change, but I really couldn't say for sure.
View 1 Replies
View Related
Nov 22, 2010
I cant load the hotmail mobile website onto my default web browser in android 1.6. Is their a way to fix this
View 6 Replies
View Related
Jun 23, 2010
Can we view the database of Emails on Device through DDMS ? How ever i can see and access the database of SMS on Emulator through DDMS.
View 2 Replies
View Related
Aug 13, 2010
My first activity is creating a second activity within its onCreate:
CODE:............
The second activity has EditText views for the username and password along with submit and cancel buttons. When either button is pushed, the text from username and password is sent back to activity one (via onActivityResult), which connects to a server to see if the username is available. While connecting to the server showDialog is used to show a ProgressDialog. When the server responds, the ProgressDialog is dismissed and an AlertDialog is shown. This works fine as long as the device is not rotated.
Here's the problem: if the user rotates the device from within the second activity and pushes submit, the first activity re-invokes its onCreate, which ends up launching the second activity again since the username and password are still null.
Does anyone have any suggestions to get around this?
Is there a method that could be used to pass data from activity-2 to activity-1's onCreate? I wouldn't want to use a database in this case, as that seems like overkill.
I've thought about containing the server communication and dialogs to activity 2, but then I'd have duplicate server code in activity 1 and activity 2 (activity 1 connects to the server for other things too). Another issue I'd have with this approach is that the user has an option to cancel creating the password, in which case I want the app to finish. If I called finish from activity 2, activity 1 would appear and I don't want that to show unless a username and password have been created.
It just occurred to me - if I could replace activity 2 with a dialog it might make things simpler. The dialog view needs to have 2 EditTexts and 2 buttons. Can I create something like this and use the showDialog method?
View 1 Replies
View Related
Feb 21, 2010
I have noticed that some apk's that cost money on android market are available to download from some torrent sites for free. I don't think many of the developers here enjoys that very much. So my question is if there are ways in Android to get around this so that you can't copy a program from device to device?
View 3 Replies
View Related
Aug 11, 2010
Is there any unique id on Android Mobile?? If it is then how many digit it has?
How can I access that through my program?
View 2 Replies
View Related