[Q] How to fake the browser to make it believe it's windows platform - Android Software/Hacking General [Developers Only]

Hi all,
I would like enter my company web portal trough Android devices like Nexus One or Nook Color... this portal is designed on IE but I believe it could run also on other browser... well I tried to set user agent to IE6 in the stock Android browser (running CM7) but the web portal still says me that a Windows plattform is required...
is there a way to fake the site and make it believe it's a Windows platform?
Thanks!

Related

[Q] Can an android tablet be put onto a Windows-run environment

Hey there XDA.
i'm in the IT department for a big-time company, and we (obviously) have specific security parameters on our network.
Recently, with all of the talk about android tablets because of CES and other factors (i personally own a Viewsonic G-Tablet running VEGAn 5.1b) the team and i have come to wonder if we would be able to put an android tablet onto the domain the same way we would a regular old Windows PC/Laptop or a Blackberry phone onto the exchange server.
We use Citrix clients/servers as well as pc/laptops, and so far, as i've been scouring the market, i've been able to find a Citrix app, and a Wyse terminal app, which could be used to open VPN sessions on the server, as well as the obvious app which allows an android device to be connected completely with Microsoft Exchange Server. ( touchdown http://www.nitrodesk.com/TouchDown.aspx )
So, XDA, i figured, where else would i go but here, to the most well versed android development website on the interwebs, to ask if you guys might know of anything at all, or if something could be done.
Any ideas?
It would be awesome if someone could help me out with this.
Sent from my X10a using XDA App

[Q] Programming language for Windows mobile devices

We are a small company looking to do some inhouse programming using tablets. Initially we were going to move forward on an Android Honeycomb platform because we have only Java developers here. But it looks like we can't get rugged tablets for that platform. There seem to be a lot more rugged tablets that are Windows based.
Initially I thought that we would have to use C# /.Net to code for native applications for the Windows tablets (and Windows specific API). But a colleague of mine thought we could use Java to build native applications on the Windows tablets also. Is this true? Can I use Java to build applications that can be deployed both to the Windows tablets and the Honeycombs? Our applications will also use GPS location based services. Any feedback/pointers would be sincerely appreciated. Thanks.
What devices are you talking about? Phones (running Windows Mobile 6 or Windows Phone 7) or tablets (like the iPad, currently running Windows 7 and in the future Windows 8)?
Most of Windows-based tablets are based in just normal Windows computers on x86 processor. Only very few are Windows CE-based.
On Windows XP/7 tablet PCs you can write in Java without any problem. I am not sure about GPS usage, but it can be read using JNI or just serial port. You can have some common classes/class libraries for Windows and Android, but the device logic and UI needs to be specific (and the JVM is different - Sun JVM vs. Dalvik).
On Windows 8 with "Metro", however, there is no sign yet you can develop WinRT apps using Java.
I am talking about Windows 7 tablets (and Windows 8 in future)
If you want create an app you need C# and silverlight
stre67 said:
I am talking about Windows 7 tablets (and Windows 8 in future)
Click to expand...
Click to collapse
Well for Windows 7 you can develop using more or less whatever you prefer since there are no differences between the OS on the desktop and a tablet.
So yes, you can use Java for Windows 7.
There is some API for Location services in Windows 7 however I don't know the details about this.
I also don't know much about Android, but if you can develop for Android in Java you can at least share some code between the Windows 7 and Android version of your software.
Windows 8 will introduce a new kind of app (metro-style app) and those apps can only be written in HTML5 and Javascript or C#/VB.Net/C++/C and XAML.
However, users will still be able to use your Java Apps on Windows 8.
so it looks like Windows 7 is like a windows 7 PC. I can't find any specific books on amazon, so I do apologize if my questions are stupid.
1) Can I develop a Java application similar to that of a desktop and deploy the EAR/WAR file to the windows 7 tablet? if so, does the tablet have an inbuilt web server type application (websphere, tomcat) to serve pages? if not, will the app be loaded on a remote server and be accessed via a browser? In this case the tablet will need an internet connection all the time, correct?
Thanks again.
A Windows 7 Tablet is basically just running the desktop version of Windows 7 so you can do anything with the tablet that you could do with a Windows 7 desktop machine.
Note that Windows Phone 7 is an entirely different operating system that's barely connected.

WIndows Phone 7 Browser as IOS\Android\Desktop

All -
I am trying to write a Web Browser application for Windows Phone 7 and I am able to create a general browser application (not that hard) but the specific site that I am writing the application for does not technically "Support" Windows Phone 7. What I want to do is to have the Windows Phone 7 browser somehow make the site think that it is an Android, IOS, or Desktop machine so the site can be viewed on windows phone. Currently I am just using the general Navigate argument to display the site in a browser control but have not seen any properties to change for the browser to control to tell it what to show the page as, any help would be greatly appreciated. I am doing all of my dev work in VS 2010.
Thank you,
John
You need to set the User-Agent header to a user-agent string used by one of the other browsers. There are a few apps that already do this., incidentally.
jbailey1882 said:
All -
I am trying to write a Web Browser application for Windows Phone 7 and I am able to create a general browser application (not that hard) but the specific site that I am writing the application for does not technically "Support" Windows Phone 7. What I want to do is to have the Windows Phone 7 browser somehow make the site think that it is an Android, IOS, or Desktop machine so the site can be viewed on windows phone. Currently I am just using the general Navigate argument to display the site in a browser control but have not seen any properties to change for the browser to control to tell it what to show the page as, any help would be greatly appreciated. I am doing all of my dev work in VS 2010.
Thank you,
John
Click to expand...
Click to collapse
The Navigate() method accepts a parameter for user agent string. But will only work for initial page requests, not for clicked links from within the webbrowser content.

[Q] Exe files

Hi I'm farely new to xda (over on the Rezound forums mostly). Just recently I've been looking into tablets since my laptop died. My friend has this tablet and from what I've seen and read it's a good buy. Since im replacing my laptop with this I'd need to be able to run exe files. Is it possible to root and mod this to be able to run exe files? Or not since this a an android device? Sorry if this is a basic question again I'm new here. Thanks for help in advance
hmmmm, i dont think thats possible. Unless you install a different OS on it. But with pure android OS, i dont think so. EXE is kind of windows specific. But, what app are you trying to install using an EXE file? Im pretty sure there is an android equivelant for the app.
May have problems with it as exe is a program compiled for x86/x64, not ARM. Same reason why Windows RT & Pro aren't the same. Pro runs on x64 and can run normal exe's. RT runs on ARM and can't run native windows programs.
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
NickS VR4 said:
May have problems with it as exe is a program compiled for x86/x64, not ARM.
Click to expand...
Click to collapse
And even if it was compiled for ARM, it won't run on Android. EXE is an Windows executable and depends on the Windows runtime libraries.
It would be nice to see someone developer a full blown version of Wine for Android, or if companies like Codeweavers can make CrossOver for Android to allow the use of .exe Windows applications.
I know this is not impossible and very possible if Android is really just a Google controlled version of Linux.
My first and only paid $ purchase of Linux was Xandros 2.0 desktop OS, and one of that OS main selling features was that it had Crossover integrated into it. I could download .exe's and install them on Xandros and run Windows apps. :laugh:
You're looking at two different processor architectures on two different operating systems. You would need a whole lot more than just a crossover/wine for Android. Consider purchasing the Asus Vivo Tab (not the Vivo Tab RT) if you have to run .NET/win32/WinRT executables. Also consider if android has equivalent apps that suit your needs. What kind of Windows programs do you use?
Update:
https://play.google.com/store/apps/details?id=com.max2idea.android.limbo.main&hl=en
If you ran this, installed Trinux on it and ran wine/crossover (provided they even support Trinux) you MIGHT have a chance at running windows apps. But it will likely be insanely slow.
The other option is to buy a new server, install Windows Server 2008/Server 2008 R2, buy a router that supports VPN, get a really good internet service (preferably with symmetrical data rates), buy the XTraLogic RDP app for android, tunnel into your VPN from your android device, set up terminal services on Windows Server, buy one Terminal Services Client Access License, configure RemoteApp in terminal services and run the apps using XTraLogic RDP on your android from your windows server. You would have to keep the server running 24/7.
My point being, even if you could pull this off, it would be incredibly impractical. Consider alternatives, like equivalent apps for Android or an X86 tablet.
this post is relevant

OpenSuse, CUPS, and Android

So I've setup opensuse to run as a CUPS server for my network. I'm wanting to be able to print easily from both android and iOS mobile devices. There's an application on github called Cloud-print-connector and so far it's working great for both android and iOS, with one exception. On my android devices, all 3 printers that I've setup show in the list of available printers. They all have the same name so you can't tell which is which printer. If I change the default printer in suse, then the name that shows up in Android changes. Anyone have any clue why this might be? It shows up correctly on iOS and on other computers through google chrome web browser, but not in Android.

Categories

Resources