Forums/Layer Development Platform/Feature Requests

PlannedDoneNot planned

Layar-specific User-Agent header for internal Layar browser

Vsevolod Novikov
suggested this on August 02, 2011 12:00

It would be very useful to have a possibility to differ http requests from Layar internal browser. It might be accomplished using UserAgent HTTP request header. Now the header passed from Android looks like:

Mozilla/5.0 (Linux; U; Android 2.2.1; ru-ru; X10i Build/CyanogenMod 6.1.3) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

Basing this string, it is not possible now to recognize that the page has been requested by the Layar internal browser. I also don't see any additional headers to make it possible.

 

Comments latest first

User photo
Corne Jong

Started adding layar identification to the urls i provide to layar.

 

example:

http://exampleserver/project/1/detail/1/layar/1/language/1

 

It helps me. But indeed the useragent would be a huge improvement. Eventhought you might consider loosing the layar specific tags as <video: etc.

 

Regards.

October 10, 2011 16:34
User photo
xuan
staff

Hello All,

A change request has been created (CR-347).

Best Regards,

Xuan

October 10, 2011 16:26
User photo
Corne Jong

indeed need to know if the layar browser is used or a normal browser since layar need different tags.

 

 

August 29, 2011 13:56