How to implement OpenID Connect in Android Studio - Java for Android App Development

Basically, I want the user to login their steam account, but steam requires OpenID authentication. Ive googled OpenID and found almost 0 documentation other than explaining what its purpose is. Can anyone link me to a good tutorial or provide details on how this should be done? Im very lost.

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

How do I setup proxy on wifi?

Is there a working solution for this? cos i've searched the forum and apparently there is none. Can't believe the latest HTC Hero, the best android phone HTC can offer currently, has no proxy setting on wifi. It's like a big joke to me. I wish I had researched before I bought it
anyway, I've tried the "any cut" to create a shortcut to proxy settings and set accordingly, doesn't work.
Please anyone if you have a working solution, please share it with us.
openvpn
http://android.modaco.com/content/software/291919/openvpn-on-android/
thanks for you help.
but I dont think openvpn is the answer here...because in many places (my office for one) you can only access the web through a http proxy server. and htc hero doesn't allows that. not to mention the openvpn thing, which only works by connecting to a certain port which obviously is not allowed in such environment. openvpn can connect to a 443 port too but hey, we need to have a working http proxy first then we can connect using https, and the proxy server need to support https proxy...but that's not relevant here. so i cut the crap.
thanks anyway
any other solution to this android can't support proxy settings on wifi thing?
I don't know if this could work but try to mount the filesystem with write access through adb (I don't know how to do that), find one file that is used as a startup script (I don't know which one is it either) and place the following lines there:
Code:
export http_proxy=http://myproxy:port
export ftp_proxy=http://myproxy:port
Reboot the device, open a terminal (in the device) and type echo $http_proxy and see if outputs what is supposed to. If it does, maybe you're all set and you just need to test the web and see if it really works.
Sorry for not being able to help you with some of the steps but this is my basic linux knowledge kicking in, my android linux knowledge is below basic and I have no time to explore it further at the moment.
I'm curious about the results though .
http://code.google.com/p/proxysetting/
EDIT: doesn't work on cupcake apparently.

[SOLVED][Q] Android Login Application

Hello everyone !
I want to create an android app, that should take input username and password and then login to a website. Basically any website. Well, I am trying to create an app for a website with login page in .aspx form.
I googled regarding this but was unable to find some effective solution. Almost all websites I searched contained only login page design and a simple java code which equals username and password and then makes a toast text. I need some info regarding how to login into that particular page with active session.
Let login page be: 127.0.0.1/login.aspx
I am not a beginner and have developed few apps. This project is very important for me. So please help me regarding this.
Anykind of help is highly appreciated. Please do help.
Thanks
Come On Guys , Show some effort
Making apps "for website" in my opinion could be easily sorted turning the app "server side"... read my comment at this post.
By following my advice you have several advantages:
Users don't need to update their app when new version comes out
Harder to crack (unless they hack your server...)
Compatibility with different platforms/os
No disk-space needed on user device
If you really really need java code for that (as it's a school project requiring java or something ...) have you considered using raw sockets (probably not the best idea, but you asked for "Any kind of help" so... ) ? You said you have experience (I don't with java so can't help with the code, but I used similar technique in python, php, etc, ...) so it shouldn't be hard to find a simple code snippet for handling raw packet sending... Use your PC and fire up Wireshark or any other sniffer and debug the communication between client-server. Look at the header informations and data sent, and it will be easy to replicate those request-response via raw socket.

Bypassing web filters on android.

Hello all! I hope I'm posting this in the correct place. Anyway I'm here to ask if anyone knows how to bypass web filters on android? At my school McAfee filters any inappropriate websites, this includes forums, blogs, and things of that nature. I tried using Orbot but I'm stuck setting it up. Any help will be appreciated.
You can use tunnelguru.com to browse everywhere you want, if the website is allowed within the mcaffee policy
Oh cool, I'll give that a try. Thanks for your response!
The website was blocked :/ any other suggestions?
Do you want something that is free?
You could also consider setting up a tunnel from your home, but it's somewhat complicated.
vpn
Another option could be a VPN service. I've used VPNBook.com before with satisfactory results, and it should work for you too as long as the firewall doesn't block the ports that the VPN uses. I remember back in my last couple years of high school, the web filters were starting to get ridiculously strict, VPN is the only way to use legitimate websites sometimes.
Bill720 said:
Another option could be a VPN service. I've used VPNBook.com before with satisfactory results, and it should work for you too as long as the firewall doesn't block the ports that the VPN uses. I remember back in my last couple years of high school, the web filters were starting to get ridiculously strict, VPN is the only way to use legitimate websites sometimes.
Click to expand...
Click to collapse
It is possible to create your own vpn server at home and this would allow you toconnect to anything, this is possible easily as there are many guides on the internet step by step to create a vpn service. !
VPN book
W18WAR said:
It is possible to create your own vpn server at home and this would allow you toconnect to anything, this is possible easily as there are many guides on the internet step by step to create a vpn service. !
Click to expand...
Click to collapse
That also does work. It was a little tricky to set up, but I eventually got it going once myself. If you're concerned about privacy using a public VPN like VPNBook, doing it yourself could be a great alternative.
Bill720 said:
That also does work. It was a little tricky to set up, but I eventually got it going once myself. If you're concerned about privacy using a public VPN like VPNBook, doing it yourself could be a great alternative.
Click to expand...
Click to collapse
If my suggestion helped don't forget to hit thanks
There are loads of guides online for this however I cannot post links but my search query in google was "create your own VPN server at home step by step" and then i chose the top result and it is a perfect step by step guide on how to install a VPN Server in your home to use as a proxy bypass.

Categories

Resources