http daemon on eris - Droid Eris Q&A, Help & Troubleshooting

Good evening...
I was just wondering if it is theoretically possible for me to host a web page using some sort of http daemon on my eris? Has anybody heard of this elsewhere I searched around on this forum and did not find anything relevant.
Thanks,
Trip

Completely possible, I have compiled an httpD for an ARM device before, I will have to look it up.
Now my question, why?

Very Evil reasons...
nah I am just curious and it would be pretty cool to have...it coudl possibly interface with the phone's sensors and give us realtime information about the phone in our browser...for example our own theft recovery methods or battery info just random stuff really.
This is the problem of having ideas and having zero programming knowledge.

I myself have searched the market and google for a pre-existing way to do this. I can Run an FTP server on my phone with swiFTP and have used that capability many times, HTTP would be nifty as hell.

Related

[Q] IE required web pages

Just a question, not really to the Vibrant but it's the phone I have.
Anyways, at school (tech dept) we use a program that we use for job requests. We can use the client or a web based version. but the Web Based requires IE to work properly. I tried loading it on the Dolphin but it doesn't seem to work on that or the Default browser. Is there anyway to get this to work on Andy?
We are looking to get Android Tablets for the techs and would like to use it.
Really biggest question is... is the site coded in asp (.Net derivative or otherwise)...
Second would be, are you ALLOWED to edit the source to comment out the IE requirement. (Assuming the site does browser detection).
Honestly, doubt you could make it work easily.... Unless the webclient doesnt do browser detection and its just on paper "IE only".
I'm in the same boat, IE only webapp (.net and ajax). I use PocketCloud vnc app to remote into a windows box and run it that way. Works well for me.
Sent from my SGH-T959 using XDA App
Haxel said:
Really biggest question is... is the site coded in asp (.Net derivative or otherwise)...
Click to expand...
Click to collapse
How is that a factor?
ASP, ASP.NET, et. al .NET back-end frameworks, don't require IE.
lol
Teamviewer is another app that works awesome as well. Just install Teamveiwer android app and teamviewer on your computer and you will be able to remote in without much difficulty.
Basically what we want to do is have the tablets and be able to use the web based version of the app to push things out to comptuers/look up work orders. The program is called Altiris. So third party apps like Teamviewer wouldn't be needed.
From Altiris we can push updates, programs via scripts to all computers on the domain, and apparently the app requires IE.. I don't have the exact details. I have emailed our lead guy working with Altiris to see if we can edit the tag for IE requirement or changing the browser check, havent' heard anything yet.
EDIT: Sorry for being kind of vague and short on the OP.
We use Alteris at my company as well and from a user perspective it is one painful app to have to deal with. When it scans the computer it slows down the user computer like nothing else.
presence06 said:
Basically what we want to do is have the tablets and be able to use the web based version of the app to push things out to comptuers/look up work orders. The program is called Altiris. So third party apps like Teamviewer wouldn't be needed.
From Altiris we can push updates, programs via scripts to all computers on the domain, and apparently the app requires IE.. I don't have the exact details. I have emailed our lead guy working with Altiris to see if we can edit the tag for IE requirement or changing the browser check, havent' heard anything yet.
EDIT: Sorry for being kind of vague and short on the OP.
Click to expand...
Click to collapse
Sounds like it's using active directory roles to do various things via built-in windows mechanisms.
A start would be to authenticate your device on the domain. No idea where to begin with that, though.
What mrxela was probably trying to say is that it could be using ActiveX. Do you know if this is the case?
Ian
It's kind a pain, esepeically when it goes down. But it is useful.
ipugh said:
How is that a factor?
ASP, ASP.NET, et. al .NET back-end frameworks, don't require IE.
lol
Click to expand...
Click to collapse
... oh lol your telling me a joke right? Your giving me a question then guessing answer to it... that must be your intent.
Based on coding, Firefox for various reasons does not acknowledge the "shortcuts" in code (usually the main reason asp sites do not work in FF, or "undocumented" microsoft api calls). Other browsers have similar issues, or may have a different issue with the same piece of code. Any more detail than that serves no purpose. So yes, ASP, ASP.NET and the framework can REQUIRE/ONLY work in IE. Thats why it is a factor.
I'll report back with hopefully some answers to these questions
Haxel said:
... oh lol your telling me a joke right? Your giving me a question then guessing answer to it... that must be your intent.
Based on coding, Firefox for various reasons does not acknowledge the "shortcuts" in code (usually the main reason asp sites do not work in FF, or "undocumented" microsoft api calls). Other browsers have similar issues, or may have a different issue with the same piece of code. Any more detail than that serves no purpose. So yes, ASP, ASP.NET and the framework can REQUIRE/ONLY work in IE. Thats why it is a factor.
Click to expand...
Click to collapse
You are unequivocally incorrect.
To say that IE is more lenient on various standards is one thing, but to describe it in such a fashion that you have is completely wrong.
A browser is not making "api" calls to "undocumented" Microsoft libraries. lol.. Further, a browser is interpreting markup that is controlled by the developer. As far as I know, there are no back-end frameworks that limit or control what markup you generate.
This has zero to do with Microsoft, and a lot to do with browser-specific javascript or markup, etc.
But really, you're incorrect and to purport your answer as being a solution or a reason is not only wrong, but could potentially derail his efforts.
Ian
I wish I had more info on altiris, we reviewed it about 2 years ago and went with Landesk and SCCM combo. I dont remember much about it, if its AD integrated you may have other issues to add on to your plate along with the browser detection.
I might be able to find the old install CD on our share and see, but wouldnt be until Monday that I could go to the office to find it.
ipugh said:
You are unequivocally incorrect.
To say that IE is more lenient on various standards is one thing, but to describe it in such a fashion that you have is completely wrong.
A browser is not making "api" calls to "undocumented" Microsoft libraries. lol
This has zero to do with Microsoft, and a lot to do with browser-specific javascript or markup, etc.
But really, you're incorrect and to purport your answer as being a solution or a reason is not only wrong, but could potentially derail his efforts.
Ian
Click to expand...
Click to collapse
oooh you must be a programmer, thats great. Over thinking is a programmers strong point. I have to fix that kind of stuff all the time. Up until later in the posting you didnt even know the software he was using.
As far as "undocumented api", you can embed .NET applications into the site (as you should know)... along with vbscript ect ect. Which with proprietary software they can/have added such in and gone OOPSIE DONT APPLY PATCH X OR IT WILL BREAK. (Which BTW is why some calls remain "undocumented" as microsoft is not sure they wish to keep it in the current form for whatever reason.) This can and does involve microsoft, or am I mistaken C# and the like is microsoft engineered and is using their own proprietary interpreter (.NET). Even if it is server side, the client side matters. Not to mention if it uses ActiveX...
I was giving the poor soul warning on speed bumps he MAY run across. Take it as you will. This wasnt an epeen contest.
Haxel said:
oooh you must be a programmer, thats great. Over thinking is a programmers strong point. I have to fix that kind of stuff all the time.
Click to expand...
Click to collapse
Engineer. And I correct people who are incorrect on a regular basis.
Ian
Just to clarify, I have the pleasure of having to use a web based in-house app built in CF, app was coded with to specifically check for firefox client and disallow any other clients. Yes, it can be changed fairly easy to work with other browsers, but that's on infinite back-burner...
Another set of web apps is built in .NET with third party ajax modules. It does not run a client check, but no browser except IE6 and above is able to even load these applications. .vb code behind does not exist so no one can even begin to touch anything without messing up another process.
VNC and desktop clients are your ray of hope when you are knee deep in doo doo!
The Web Address/website needs Active X and has a .cab file that gets installed to use the Altiris web client..
Bump.
So if this site requires Active X to run properly is there a way to run it on a different browser or in Stock Android Browser?
presence06 said:
Bump.
So if this site requires Active X to run properly is there a way to run it on a different browser or in Stock Android Browser?
Click to expand...
Click to collapse
Active X is a Microsoft only technology and IE is the only browser that supports it. There are ways to do most things that can be done with Active X using other client side technologies and in some cases plug-ins, but it requires more work and a larger support footprint on the part of the developer. If the developer does not support or provide a plug-in for your browser or have an alternate page that will do the same thing in javascript then you are going to be stuck with IE.
On the Android mobile platform having add-on or plug-in ability means either using Dophin HD, or Firefox Mobile (used to be Fennec). However, this is a moot point since it sounds like the developers have chosen not to support the platform.
This is where pressure from clients that have purchased their software comes in. With the right pressure they may add the ability or at least put it in the roadmap for a future version, but for right now you are most likely stuck with Internet Exploder.

[Q] censoring / blocking websites on android

Hi
First time poster so I'm sorry if this is the wrong place for this or posted before, as I can't seem to find any info!
I am an an android and c# developer and although possibly not a majorly technical question I am just wondering what the options are:
Can you block or restrict websites on an android mobile?
In windows if I want a simple way to stop someone getting at a website I would just stick it in the hosts file and direct it somewhere else. You can also buy programs that will block certain websites.
What are the options to do something similar on a android mobile? Ideally something that can't be easily detected or uninstalled?
I'm thinking for kids with mobiles.
The home PC would be completely locked down, especially with a developer as a parent, but I don't know how you would lock down the mobiles internet?
Bex
Well.. I'm sorry for the stupid question, but I have just discovered Android does have a hosts file!
I shall be testing that out later to see if it works!

[Q] Android Development with tcpdump.

Hi, sorry l haven't yet reached the minimum 10 posts, but l'm having trouble finding information online, mainly due to my naivety with programming, and l'd really appreciate any sort of advice.
I'm creating an android application that will sniff the entire network and display the results to screen. I'm aware of similar applications in the market however from my research l have found them to only monitor the packets on the device itself, not including the other traffic on the network (caused by other devices).
make sense? It is possible to tap into the network and intercept every packet right? l believe this is known as "monitor mode"? I'm using a Transformer Prime.
well anyway, l've created my UI, and have root access, installed TCPDUMP and works well through the terminal emulator.
Now to my question, How would I go about implementing TCPDUMP into my application to compute the necessary commands? Once I've created the strings to send, how would I actually send them to TCPDUMP and relay the information across to my app?
I hope this makes sense, once again l'm sorry for my noobness.
Thanks

App not allowing me to sign in due to custom rom

Hi everyone,
So the company that provides the TV channels in my country (like the cable companies in the US) has a streaming service that streams most of these channels online to phones, tablets, computers.
The problem is that their app is, according to them "not supported on hacked devices". Just so we're clear, we're talking about Android here, and hacked = root/custom rom, which this stupid company considers illegal. In some devices, they check both root and custom rom, in some only one of them, and in some the app will work even if you have both. For example, on my Nexus 4 the app worked with stock rom that was rooted. Now that I am running a custom rom, trying to hide root using various apps does not work. So obviously the problem, with my device at least, is running the custom rom.
I'm currently learning Java & Android development and have decided to use the little knowledge that I have to try to find the lines of code responsible for this idiotic check.
I looked up many tools for decompiling apps and have finally found a good one, called JadX.
http://androidcracking.blogspot.co.il/2014/03/jadx-dex-to-java-decompiler.html#links
This decompiler is excellent, but gives me a scary amount of code files to look. Even so, trying to search all of them (JadX has that functionality) for the code that checks for root/custom rom has turned up nothing. I have also tried to search for the message they give me when I open the app (about hacked devices not working) but I found nothing, again.
One more thing - a developer that also tried to solve this problem said he traced the problem back to DxDrmDlcCore. I searched it, found it a some class, but not sure what to do now (delete the entire class and recompile?)
Can someone here direct me towards what I need to be looking for?
OR
Is the solution really simple, such as editing my build.prop? Someone suggested it once, but did not know what lines to edit.
If someone is ready to step up to the challenge, I can upload the apk.
Thank you!

A simple, hacky way to support mdns/avahi/bonjour/zeroconf system-wide

As a guy with half a dozen Raspberry Pi's around the house, not to mention other devices, I'm getting totally fed up with Android not supporting mDNS.
So I had a simple idea of how to hack support pretty easily. Basically, an app that browses for avahi/bonjour/zeroconf/mdns (we already have dozens of these), with the tiny additional feature that it'd update /etc/hosts with all discovered hosts.
It's crude, but at least I could have all my devices' ssh/vnc/ftp/mpd/etc services saved as bookmarks ONCE instead of copy/pasting IP addresses like an idiot every time something happens to have rebooted or whatever.
So before I start learning android development just for this one feature, my question is if anyone has already done this?

Categories

Resources