wizzard: (Default)
А как оператор узнает, какая у меня модель телефона? (в некоторых кабинетах просто написано, ну и при отправке настроек отправляют разное)

У него есть IMEI -> Vendor_ID & Model_ID mapping? Или есть какой-то протокол? Или как-то еще?
wizzard: (Default)
The web is going mobile! And you've decided to catch the wave too.
Good. Well, until you have decided to support all those "dumb" phones...
(And Nintendo Wii, and some TVs)

At least, if you stick to Opera Mini, you will have proper Javascript, XHR, CSS and a lot of other goodies.
But you are inevitably going to debug all this stuff. Here's how:

Q: I am tired of switching to my phone. Is there an emulator?
A: Touch-enabled phones: http://www.opera.com/developer/tools/mini/
Keypad phones: http://www.opera.com/developer/tools/mini/?ver=4

Q: Well, no good. Where are all the Javascript errors?
A: debug:console (You can bookmark this address, of course)

Q: How to view the page source code, then?
A: server:source

Q: But the screen is so tiny?
A: server:source?post=http://your.server.com/script
If you go to this address on Opera Mini, your server will receive HTTP POST request with the following fields:

host: your website domain
url: page you are on
html: html source code ;)


For more information, see:
- http://dev.opera.com/articles/view/opera-mini-web-content-authoring-guidelines/
- http://dev.opera.com/articles/view/opera-mini-5-developers/

Hope this will be useful to somebody :)



Profile

wizzard: (Default)
wizzard

January 2019

S M T W T F S
  12 345
6789101112
1314 1516171819
202122 23242526
2728293031  

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 23rd, 2025 02:50 pm
Powered by Dreamwidth Studios