MIDP KVM proxy Settings. - Windows Mobile Development and Hacking General

Hi.
I am trying to make the Opera_Mini work using JEODE MIDP 2.0 profile.
My service provider does not allow me to make internet connections except for a predefined wap server in my current GPRS Plan. But I have a \'hacked\' IP address and Port through which I can tunnel through to get \'full\'access to the Internet.
Again, I can easily configure NetFront to make use of this proxy for browsing.
The requirement is to make the Opera_mini Midlet to connect using this proxy.
What I have found was the VM uses an APN, instead of the specific proxy&port to connect to the internet.
I tried with a few other VMs like J9. But ALL of them cant tunnel.
I found this information on the MIDP configuration parameter to set the HTTP proxy:-
com.sun.midp.io.http.proxy=<url>:<port>
I am yet to create a link which takes this parameter to the VM as an argument.
Again, I have no clue about the MIDP_HOME parameter value w.r.t JEODE or J9. If so, i could set the same values in the $(MIDP_HOME)/lib/internal.config file - instead of passing as a -D parameter.
Do you think this will work?. Anyone faced any problem with HTTP Proxy setting for vm?
Please let me know!
Thanks in Advance and Regards,
Vinod

(Hopefully) final MIDlet Bible main feature & hack & standards compliance chart published!
It was yesterday that I’ve published a larger excerpt from my forthcoming MIDlet Bible (a full roundup & tutorial explaining what MIDlets are, why you would want to run them, what applications there are to do this etc.), focusing on mostly 3D games. I haven’t been lazy in the meantime: I’ve made some serious updates to the main feature & hack & standards compliance chart of the Bible. The reason I’m posting it as a preview is pretty simple: it will still take me some two or three days to completely finish and, finally, publish the MIDlet Bible. In the meantime, however, you can already check out the new chart. I’m absolutely sure you’ll find it useful if you’re into gaming or running probably the, after Opera Mobile, second best Web Browser for Windows Mobile, Opera Mini 4 beta 2. Or, alternatively, the really unique and useful Gmail MIDlet, which is far more usable than any other Windows Mobile mailer tool.
I’ve, as has already been stated, greatly enhanced the previous version published over a month ago. I’ve added discussions of ClearType / font smoothing, automatic network connection, proxies, text input fields / areas etc. and I’ve even published the source code (!) of some of my test MIDlets I’ve written specifically for these tests. (I’m a Java pro.)
The chart is HERE, should you want to check it out before I, finally, publish the MIDlet Bible.
Comments are REALLY welcome!

Related

MSN Messenger Proxy Development (Help Required)

Hi,
I'm new to this forum and the world of XDA's, I was given one for Christmas and now I am looking at developing software to extend it, after finding out that MSN Messenger does not work with Pay-As-You-Go on O2 (and other providers) because of the limitation of other ports, I've decided to build a proxy for messenger so that it can connect over the HTTP protocol.
I have a lot of previous experience with Messenger at the protocol level, I have developed many pieces of software which connect to the servers as normal clients would, most importantly I have a good understanding of how the Proxy system works.
I have not developed in many system-level languages before, however. I am mainly a PHP coder and am learning VB .NET at college, however I plan on doing this project in either VB .NET or C++.
What I require help with is how to actually pick-up/hijack the commands sent to the server, before they are sent to the server. Is there any way of doing this without MSN supporting a proxy, I've seen it done on many pieces of software, but does anyone here have the knowledge to help me do that? Once I have the messenger interface the Proxy system will be a breeze to complete.
Would anyone be able to help me out with the above, in terms of a section of code, or a suggestion for a website to look at?
Many Thanks
Andy
P.S. Sorry my explanation is a bit vague but that is the best way to explain it, I could draw a picture of what I mean if anyone requires
I believe what you are trying to do is of great importance for many users..
I can't help in the proraming field.. since my info in this field are really limited..
However.. I would sugget another soulotion ..
why don't try creating an application that works as socks server for the msn messenger...
there many similar programs for the PC.. like www.hopster.com
if you can port it into PPC platform, it will be awesome
Happy holidays :wink:

Android SQL Client

Hi All,
Does anyone know of a SQL client for Android? Just something for running basic queries when I need to check on a system and can't be arsed waiting for a computer to boot up. The databases I use are MS SQL Server.
I've searched about and can't find anything. I've also had a look at the dev docs for Android and it looks like it should be straight forward using the java.sql class but unfortunately Java isn't in my skill set at the moment and the day job & life in general doesn't leave me with much time to learn it.
If there isn't a program does anyone have any plans to write one ;-)
Cheers
Keith
Anyone ???
It'd be pretty darn insecure to open up your databases to use a remote client like that, why not just use something like phpmyadmin for it? It runs fine in the android browser and theres tons of alternatives that probably have iphone themes that would work great. Alternatively you could get debian set up and grab one of the hundreds of apps to do it in the repository
I need this as well. I'm constantly on SQL Enterprise Manager on my PC and when mobile, I have to teamviewer to my desktop and run queries there, which is such a torture.
I've bought RemoteDB, which I can't seem to get to work properly, I can't switch databases and the connection registry is very confusing.
Anybody?!
Also interested
I'm also interested in this topic.
As far as opening your db's up to the internet, that's a bogus argument. Anyone remotely managing enterprise databases will be using a vpn tunnel, and not the open web.
Having an Android app to connect to Microsoft SQL and Oracle would be extremely helpful. I've been trying to figure out how to mod Oracle's SQLDeveloper to do just that but without any success so far.
aSQL - Remote Control, new launch
Remote Control Client for Microsoft SQL Server 2005/2008/2008R2/2012.
aSQL - Remote Control Lite is a powerful Microsoft SQL Server client providing Access to your server in your Pocket. Access all of your databases, Jobs and Processes as well from your mobile device.Simple and Fast application providing advanced features.
aSQL - Remote Control Lite Provide features like:
- Providing connectivity to different servers on your Network.
- Ability to store Server Information for future use.
- Job START/STOP only a click away.
- Kill any running Processes From your mobile device.
- View Databases details - View File size.
Google Play Store link -
"market://details?id=com.sqlforce.aSQL"
SQL Client
Hi Guys
I looked for something like this for a while as well, and couldn't find anything that did what I wanted, so I made one myself
Key features I wanted are the following
Be able to connect directly to a db server. I used the jdts jdbc driver for Java to get this right
Be able to connect to any SQL Server db. I'll add support for Postgres and MySQL if this gains any popularity
List of all databases on the server (excluding system dbs) and allow you to quickly switch between them
List tables in the currently selected db, and generate Select statements for them
List stored procedures in the currently selected db, and pull the code for them so you can change it
Use a tabbed interface for the different sql queries, to allow you to run many queries at once
This is all done and works really well. Large queries take longer to run than they would on a pc, but they run nonetheless.
Let me know what you think, and feel free to suggest features. If enough people like it and use it, I'll bite the bullet and buy the developer so I can publish it on the Play store
I hope you enjoy it
ps. The installer is signed with the standard testing key, so you will need to go into your settings and allow applications from unknown sources
pps. I ask for internet access to get access to the network sockets, but dont actually connect to the internet.
danegoodwin -
I've downloaded it and played with it a bit - looks good. One feature I'd suggest off the top is storing the connection info. It's a pain having to enter the server address and username each time.
If you are still looking for a SQL client I had written one as well.
It should cover most of the popular databases and works well with tablets and phones.
SQLTool Pro
https://play.google.com/store/apps/details?id=com.nraboy.sqltool
I'm also open to suggestions and questions if anyone decides to give it a try.
nraboy said:
If you are still looking for a SQL client I had written one as well.
It should cover most of the popular databases and works well with tablets and phones.
SQLTool Pro
https://play.google.com/store/apps/details?id=com.nraboy.sqltool
I'm also open to suggestions and questions if anyone decides to give it a try.
Click to expand...
Click to collapse
so, this one does BOTH MySQL and MS SQL, and, your other one *just* MySQL ?
thanks, anyone
abbots said:
so, this one does BOTH MySQL and MS SQL, and, your other one *just* MySQL ?
thanks, anyone
Click to expand...
Click to collapse
Correct. The pro version will handle MySQL, MS SQL, PostgreSQL, Sybase, and Oracle up to version 10.1.
The MySQL version is strictly MySQL.
nraboy said:
Correct. The pro version will handle MySQL, MS SQL, PostgreSQL, Sybase, and Oracle up to version 10.1.
The MySQL version is strictly MySQL.
Click to expand...
Click to collapse
thanks for reply (and for nice app!)
nice, looks good... even better, seems to work well....connected to remote MySQL OK
suggestion: please auto-suggest correct ports for relevant SQLs
so, editing can only be done via queries ? (time to learn SQL syntax..?)
next, I'll try connecting to MS SQL, whilst I know a tiny bit about MySQL, I know nothing about MS, might be asking for help...
Nic,
need some help, if you can:
having issues with MS SQL, MS SQL is on a cloud server, for all I know, port could be blocked..
I've setup definition with port 1433, get 'failed to connect'
how to t/s outside of the app ?
should "telnet host 1433 " work ?
I'm getting
# telnet mssql2008.xx.yy 1433
Trying 202.111.22.33...
telnet: connect to address 202.111.22.33: Connection timed out
what else can I try ?
thanks for any pointers!
abbots said:
thanks for reply (and for nice app!)
nice, looks good... even better, seems to work well....connected to remote MySQL OK
suggestion: please auto-suggest correct ports for relevant SQLs
so, editing can only be done via queries ? (time to learn SQL syntax..?)
next, I'll try connecting to MS SQL, whilst I know a tiny bit about MySQL, I know nothing about MS, might be asking for help...
Nic,
need some help, if you can:
having issues with MS SQL, MS SQL is on a cloud server, for all I know, port could be blocked..
I've setup definition with port 1433, get 'failed to connect'
how to t/s outside of the app ?
should "telnet host 1433 " work ?
I'm getting
# telnet mssql2008.xx.yy 1433
Trying 202.111.22.33...
telnet: connect to address 202.111.22.33: Connection timed out
what else can I try ?
thanks for any pointers!
Click to expand...
Click to collapse
Hinting a default port is a good idea. I will see about adding in an upcoming release.
Yes right now anything beyond a simple select or delete must be done with a custom query. My goal is to make it more like the desktop editors, but since I am the only developer it might take a while. But I am not saying it won't happen.
If telnet is failing to connect then there is a firewall rule blocking your IP. Three things could fix this.
1. Add your IP to the database allow list (talk to the DBA)
2. If you can connect to the network the DB is on via VPN then you should. The db might be restricted to local IP
3. Use the SSH features of SQLTool to connect to a server on the databases allow list
You were smart to try the telnet. I would have done the same thing.
Feel free to contact me here or through the tools site. I'm happy to help
nraboy said:
You were smart to try the telnet. I would have done the same thing.
Click to expand...
Click to collapse
ahem, not that smart.....
forgot to specify sql type...... ooops
suggestion: don't allow save unless all req. stuff filled in...
OK, I seem to be in.
can I dump/backup with this app ?
thanks.
decent app, well done, wish you success in further development, if I can help in any way, happy to try
now I need to figure out how to dump this MS SQL into my Linux machine
abbots said:
ahem, not that smart.....
forgot to specify sql type...... ooops
suggestion: don't allow save unless all req. stuff filled in...
OK, I seem to be in.
can I dump/backup with this app ?
thanks.
decent app, well done, wish you success in further development, if I can help in any way, happy to try
Click to expand...
Click to collapse
Nice catch on the SQL Type. I will work to correct that.
For dump / backup are you referring to data or structure or both? Right now I have exporting DDL on my things to do list, but if you're referring to something else I'd like to hear it.
Thanks for the compliments on my app. I definitely want to hear more suggestions if you have them. Also please don't forget to rate well when you get a chance

Opera and NTLM support

Hi all,
since a couple of days I have a new HD2 and it's fantastic!
On my old Diamond I was able to enable the NTLM support in Network section of Opera config file but, with a big surprise, in the current configuration (on HD2) the NTLM is missing (in the Network section and other of configuration file).
Since I need authentication for ISA proxy (via NTLM) on company intranet (my connection is through dedicated APN that link directly on company intranet) I can't use Opera on my HD.
Any suggestion or workaround?
IE works corretly but don't suppport multi touch zoom so I would like to use Opera.
The previous version of Opera installed on Diamod (last italian official ROM) work perfectly.
Thanks all!!
I'm interested in this too (just bookmarking the page really).
I use IE as Opera doesn't work, but would rather use Opera. I browse private folders via IIS and don't have the opportunity to log in with Opera.
johncmolyneux said:
I'm interested in this too (just bookmarking the page really).
I use IE as Opera doesn't work, but would rather use Opera. I browse private folders via IIS and don't have the opportunity to log in with Opera.
Click to expand...
Click to collapse
Doing the same (bookmarking), just for fun I tried to check some webapps on my corporate Intranet set up with IIS integrated authentication and it worked perfectly with IE. I didn't try with Opera. Will do on monday and see if I can come up with a solution
pat12 said:
Doing the same (bookmarking), just for fun I tried to check some webapps on my corporate Intranet set up with IIS integrated authentication and it worked perfectly with IE. I didn't try with Opera. Will do on monday and see if I can come up with a solution
Click to expand...
Click to collapse
Opera doesn't offer a dialog to enter domain authentication. It just says "the server requested a login authentication method that is not supported."
It seems pretty sure of itself
I'm not entirely happy about this, but there appears to be a workround...
http://forums.asp.net/t/305782.aspx
Doesn't help if you don't have admin rights on the server, of course.
You are right on both accounts! It IS very sure of itself. As MS would say, this is not a bug, this is a feature or this is by design.
As for the workaround, I hadn't seen your post until now and being sysadmin for a lot of IIS servers, I thought about the same solution, tested and it works. I came back here to report about it but you beat me to the post by almost 48 hours -
Anyway, it's not a good solution and not everybody with a HD2 has admin rights on the IIS servers of his company.
So we are stuck with IE until maybe a new version of Opera mobile. After all, Opera on desktops supports it (sort of...)
Ok, thanks for support.
What sounds strange to me, is that Opera installed on my old Diamond implement the NTLM authentication and the version on HD2 (newer) not at all. Moreover I installed the Opera 10 beta and, in this version also, the NTLM support is missing (I don't find it in the configuration file).
Why they removed it?

Advice on the choice of querying a remote DB

Hello everyone,
I come to you for some advice about an application I'm developing for Android 1.6 and higher.
Specifically, this application must be able to query a remote MySQL database and display the retrieved data. It need also be able to UPDATE data on this databse and that is where things get complicated ...
For selection queries, I wrote a small PHP script on the remote server that retrieves the desired data in the database and encodes them in JSON. From my Android application, I have no problem to retrieve, process and display them.
Now I wonder about the solution (if there is one ...) to run UPDATE from my application on the remote database. For now, I see only two solutions:
- Develop a webService on the server with an update method. Several problems with that: it seems webServices on Android are not easy (not native, have to go through external libs). Moreover, as it's UPDATE query, I want to make sure nobody else can use this webService.
- Alternatively, write a PHP script that makes the UPDATE and call it via HTTP. Same problem as webService: I want to secure this call to be sure that only I can use this script. These scripts can be integrated into an application already present on my server and which is secured by login / password. So, if it is possible to manage PHP sessions from Android, it's won! but Ican't find anything about it ...
What do you think? Ideas?
Thx!

[Q] need help ,developing group messaging over WLAN

I am supposed to develop a group messaging app (IM client) using WLAN ,its a term project.This app is supposed to list all the available users that are connected over the wlan and provide the user with the options ,to create a group ,send group messages or send messages individually over the wlan.I have had experience of developing android apps in the past but none of them have ever been network based.
I need to know :
1.what Internet protocols will be used .(sip? ,voip?) for DNS etc ,yeah i have below meager networking knowledge.
2.what areas do i need to research any links to resources will be quite helpfull .
3.any open source app that offers the same functionality
4.do i need to set up a server aswell ?
I would be really thankfull for your advice on this .
Take a look at XMPP which is an extendable and open source messaging protocol.
DNS is just used to convert names to numbers, so you'd give your server a name and create a DNS A record, then the clients would use that name to locate the server. XMPP works over TCP/IP which is useful as it's implemented in every operating system I'm aware of. There are also XMPP clients (which is a protocol that works on top of TCP/IP) for all platforms out there as well.
Check wikipedia for XMPP to give you background information, then look at something like openfire as a server implementation, it's pretty simple to setup and has a web based configuration.
Configure Microsoft Communicator

Categories

Resources