question about 'html control' - Windows Mobile Development and Hacking General

Can I access html ojbect in c++ code?
such as access div object's innertHTML property or activeX object.
Or when my application get NM_HOTSPOT message,can I handle this request just like it is handled by http server? For exam,html control post sth to a url like http://localhost/fake.txt,and I'd like to read \fake.txt in my application and return fake.txt's content to html control
Thanks

Related

wm6+ proxy to modify urls on the fly

Is there a wm6+ proxy which has capability to modify the urls on the fly ?
For e.g. if user types http://www.cnn.com it could modify it to http://www.cnn.com?browser=winmo ?
I know for most of the sites the extra parameter will be useless but I need the extra parameter to be sent to few of the websites which my friend owns..
since I need that parameter to be appended to each request (image,css,js file, form post url etc) Just manually typing the url in browser will not work for me.
any ideas ?

J2ME web server, access localhost using IE

I am trying to make a program in j2me (using Esmertec JBed) that acts as a web server (that only serves the localhost) and calls a browser to connect to itself.
Sounds simple enough, but I can't get it to work.
I am using the web server code here:
http://javaswamy.blogspot.com/2003/09/j2me-turning-your-phone-into-web.html
and added
"platformRequest("http://localhost/");"
to the end of startApp()
There are 2 problems, though. The JVM cannot open the URL because apparently it cannot run opera while my code is running (it can't run 2 java programs at the same time?)
If I open IE and go to "localhost", I get "Action Canceled".
Anyone has experience with this?
If you are interested, I am trying to make an offline wikipedia reader. I don't want to lose all the formatting, and using the browser to render HTML sounds like the easy way to me (I can even implement links since it runs as the server). I will just write a program to convert all the wikitext to HTML on a PC, and somehow produce a database based on a wikipedia XML dump. There is no HTML renderer for j2me.
Many thanks!

WebView and sort of private webserver

Hi All.
I'm looking for some implementation advice. I hope you can help me
I'm planning to build an application working mostly inside a WebView and some javascript code running inside of it. I need also that the underlying native java code to provide, as a dedicated web server for this WebView, any kind of data (typically json strings) in response to ajax calls made by the javascript program.
A ContentProvider sounds a good idea, mainly because it allows me to addess it using an URL in the javascript code but it only lets me serve static files, so it isn't suitable. I need to generate run-time the answer string to ajax calls.
I hope I explained myself. How can build this kind of private web server?
thanks for all your help.

Commerce Application

Hello,
Early apologies if this is an incorrect forum but it's what i found about app development. If so can someone link me to something relevant?
I am going to preface this post by saying I have been using OOP languages for a long time now yet all localized self contained programs usually in python. I've gotten fairly used to some of the android API and parsing XML data to java and the reverse however I'm completely ignorant when it comes to php parsing.
I'm working on an android project for a client. I want to do an commerce application. Starting off I have already established XML UI's for a logging in, new user, main menu, and product search page. My main concern at this point is getting the remote data. Please correct me if I'm wrong but this was my plan for data handling.
Three different PHP scripts on a remote go-daddy server to access a database that holds a user data table as well as a product data table structure is as you'd expect user:{first_name, last_name, password, ect....} product:{SKU, UPC, Name, ect...}.
One of these PHP scripts pulls data from the products table for the products activity. One compares log-in credentials for the log-in activity so people can find purchase history ect... and one inserts rows to the user table for the new user activity.
Again if this isn't optimal some advice would be helpful. If this setup works however I already have a written PHP script(again held on the remote server) that parses the data into JSON format. My next step would be to write the java for the products activity to run the script and parse the JSON back into a usable format. Is there a specific java library to do this? Any UML depictions or tutorial links would be appreciated,
Secondly a big concern would be the new user script specifically how do i pass data from the java activity into the php "Insert script" i've read some on GET and it seems to be applicable to html but not java also this would be stupid for password security. again any help on any of these matters would be appreciated.
Have a look at Google's Gson library. It's great.

[SDK] Amerra Connect: A Cloud for Clouds - ONE Universal API

Proud to release our new game-changing platform Amerra Connect, a virtual cloud platform that provides universal APIs to use other cloud services including application & database servers, social networks, file storage, media encoding/streaming, and messaging services. Request your FREE App key to try our Alpha Version SDK exclusively at AmerraConnect.com!
Getting started with Amerra Connect & our “Hello World!” Tutorial
In this tutorial, we introduce Amerra Connect’s datastore functions. One of our features, allows you to create a new attribute name and assign a string value, “Hello World“ to it. Then you request this attribute value from the Amerra Connect datastore to display it on your web page. Please learn more about this and our new release of the SDK (Alpha 0.1.6) for JAVA at doc.amerraconnect.com!
Showing a Google Map Only Take 3 Lines of Code?
When you need to render a map on your application by searching for a physical address, Amerra Connect is an easy solution - and all you need is to add three lines of code.
We have a tutorial showing how to render a Google map by searching the physical address of Rockefeller center here doc.amerraconnect.com.
If you'd like to be an Alpha Tester of our new AmerraConnect SDK 0.1.6 for PHP and Java, please visit AmerraConnect.com!

Categories

Resources