offlnie webapps - KIN Two Software Development

I'm not sure why this works on the KIN (because it doesn't work on the wp7), but it does. The browser on the KIN supports the HTML5 cache manifest command, info here (http://en.wikipedia.org/wiki/The_cache_manifest_in_HTML5). To prove this here is a working offline tetris game I have on my KIN (tetris.alexkessinger.net), the only problem is I can't actually play it because there are no arrow keys on the phone, but it is fully functioning (I get to watch the pieces fall).
So here is my idea... I see we do have developers in this forum so maybe they can try to either create some javascript webapps designed to run on the KIN that use the manifest to cache the needed files.
OR maybe we could use the cache manifest to cache an executable file and then have that filed executed through another website that gives the command to run it. I'm sure that is just wishful thinking and more than likely won't work, but I thought I would throw that out there.

Nice suggestion, but unfortunately it will not work. Just because the game is available offline doesn't mean the browser supports the HTML5 cache manifest. Pretty well every browser that I know of does and always has had a cache to store some webpage files. The KIN browser is no different. The KIN is just storing the javascript from that webpage in the cache. The tetris game is not the type of web application the HTML5 cache manifest wiki describes. Furthermore, to cache anything from the KIN browser, the 'anything' must be supported by the browser--such as the javascript used to run the tetris game. Executable files are not supported by the KIN browser.

Thanks
Thanks for clearing that up for me, like I've said before I'm not a programmer (at least not in the last 10 years). However, this game is successfully cached and able to run hours after visiting the page. So maybe there is a way to duplicate it so that other javascript games can be made available to use offline. I just don't know how this game is caching the coding along with the images needed to run it. I thought it was the cache manifest because when I view the page source it says "<html manifest="tetris.manifest">".
Let me know your thoughts, I plan to try and duplicate it next week with a blackjack game, but I am in the middle of finals so I don't have time until the middle of next week. Also, like I said I'm not a programmer so I will be trying to reteach myself, so it's gonna take a while and probably not work.

I may have posted the wrong wiki link, but the cache manifest comand does work. Below is a link to a game, with needed images, that will cahe on the phone. it is available around 12 hours after opening it. So if you put it as an "app" it is almost the same thing. Just visit it before you leave wifi and youll be good until you are in wifi again.
http://192.168.1.22/webapps/bubbles/bubbles.html

kintwofan said:
http://192.168.1.22/webapps/bubbles/bubbles.html
Click to expand...
Click to collapse
It was a worthy try, man, but that link is to an address on your local network. Do you have someone on the internet we can access? Or can you port forward port 80 through your router, to that system, to allow external access?

It is a router problem. I tried to open port 80 last night, but it still is not working. I am going to play with it some and see if it is a firewall problem OR if I just messed up when setting up the port forwarding. Sorry, like I've said I am not an expert.

It's a bad address, cause he's giving out the LAN address asigned by the router.
For you to be able to use it, you would need to be in his lan or in an VPN to his lan.
To real test what you got externaly, you need to give the external (to world) ip which is given by your own router admin panel, and/or websites like whatismyip.com.
then you need to do Nat from your external Ip to your local ip, specifying so in the router.
Or else, just share the website in a zip, and save time to do stuff like eat an ice cream, drink a soda/beer and have fun.

Thanks John
Thanks for the advice because this was my first time trying to make it available to everyone and clearly I couldn't do it. However, here is the file folder below. I have also done a couple of simple java apps that don't have any images (tic tac toe, blackjack, and the scientific calculator that was created by gsearle) I didn't include any of them because this bubbles one has images and shows the cache manifest works better. Also I don't have gsearle's permission so I wouldn't redistribute his work.

RE : Offline webapp.
Here is mine : a QR-Code Generator. No flash, java, php, ...just HTML5 & JavaScript. Works offline too!

Related

Anyone able to get JavaFX on their Dash?

Hi People,
If you go here: Google "javafx for windows mobile download" you can DL the JavaFX update from SUN, which I did. It installed fine. (Sorry, my account is apparently too new to post the link).
It also comes with a few demo apps to try. But when I try to run it, I get an error:
"Calculated only a partial product UUID!This can cause problems with the correct device identification."
I called T-mobile and explained this, and that I had just updated the Dash to the latest T=Mobile/Windows CE OS version 5.2.1236, build 17741.0.2.1.
Of course they said they can't support any 2rd party apps. They also questioned whether the Dash was "too old" to run JavaFX. I have a hard time believing that last part. It runs plain old Java just fine.
I am hoping someone could try the DL I mention above and post the results, with the goal of getting JavaFX working on my/other peoples Dash.
As a footnote,I found this error posted a few other places with no answer.
likesjava said:
Hi People,
If you go here: Google "javafx for windows mobile download" you can DL the JavaFX update from SUN, which I did. It installed fine. (Sorry, my account is apparently too new to post the link).
It also comes with a few demo apps to try. But when I try to run it, I get an error:
"Calculated only a partial product UUID!This can cause problems with the correct device identification."
I called T-mobile and explained this, and that I had just updated the Dash to the latest T=Mobile/Windows CE OS version 5.2.1236, build 17741.0.2.1.
Of course they said they can't support any 2rd party apps. They also questioned whether the Dash was "too old" to run JavaFX. I have a hard time believing that last part. It runs plain old Java just fine.
I am hoping someone could try the DL I mention above and post the results, with the goal of getting JavaFX working on my/other peoples Dash.
As a footnote,I found this error posted a few other places with no answer.
Click to expand...
Click to collapse
i just downloaded it and it does work. my thoughts are that you probably need to upgrade your rom. your version 5.2.1236 is a bit dated and my guess is that's why it's not working for you. currently im running 3vo 6.5 and it's working just fine, overclocked to 274. try updating your OS/rom first, it should work after that.
btw there are plenty of forums around here that give good tutorials on updating your OS/rom if you've never done it before. study and up and take the plunge!
likesjava said:
I called T-mobile and explained this, and that I had just updated the Dash to the latest T=Mobile/Windows CE OS version 5.2.1236, build 17741.0.2.1.
Of course they said they can't support any 2rd party apps. They also questioned whether the Dash was "too old" to run JavaFX. I have a hard time believing that last part. It runs plain old Java just fine.
Click to expand...
Click to collapse
one more thing, tmobile isn't very tech savvy when it comes to this sort of thing. they have much info at their fingertips but they have to search to find it and most of them aren't that good at it. they are trained on newer phones but not the older ones. trust me i'd know, i used to work at a tech center. they have a decent database with logs on problems customers have had in the past and solutions, but the rep on the phone isn't always able to find the info. i was one of the better ones but they didnt want to move me to permanent tech even though that's what i was good at, and instead shuffled me to cust service to argue with people about their bills... so i quit
anyway, it's best to come here first and ask rather than ask them. we'll probably save you some time
Thank you Young!
I took the plunge and downloaded and flashed EXCA-3VOLUTION_WM65_3VO.3.00.112509. Along the way I applied the app unlock as instructed. I wonder - would the app unlock alone have been enough?
Well, in any case JavaFX is up and running! Yay! - thanks to you
I had no idea that there were people writing all sorts of new OS etc for these phones - I'm just a phone user.
Now - silly question but - none of these new ROMS allow free wifi or Internet access do they?
hey, what is JavaFx ??? Does it like JBed Java ?
It runs on any device that can run Java. Think of it as a prettier, fancier, high tech looking java. Its actually pretty fun to program as well. And its free (the development environment).
Here are some Google results for your question:
JavaFX is a software platform for creating and delivering rich Internet applications that can run across a wide variety of connected devices. ..
What is JavaFX?
JavaFX is a rich client platform for building cross-device applications and content. Designed to enable easy creation and deployment of rich internet applications (RIAs) with immersive media and content, the JavaFX platform ensures that RIAs look and behave consistently across diverse form factors and devices.
The JavaFX platform release includes the following components:
* JavaFX SDK which includes the JavaFX compiler and runtime tools, graphics, media, web services, and rich text libraries to create RIAs for the desktop, browser and mobile platforms.
* NetBeans IDE for JavaFX which provides a sophisticated integrated development environment for building, previewing, and debugging JavaFX applications. The editor features a drag-and-drop palette to quickly add JavaFX objects with transformations, effects and animation. This IDE also comes with its own set of Building Block samples and the JavaFX Mobile Emulator, a mobile phone simulator.
* JavaFX Production Suite is a suite of tools and plugins that enable designers to export graphical assets to JavaFX applications.
likesjava said:
Thank you Young!
I took the plunge and downloaded and flashed EXCA-3VOLUTION_WM65_3VO.3.00.112509. Along the way I applied the app unlock as instructed. I wonder - would the app unlock alone have been enough?
Well, in any case JavaFX is up and running! Yay! - thanks to you
I had no idea that there were people writing all sorts of new OS etc for these phones - I'm just a phone user.
Now - silly question but - none of these new ROMS allow free wifi or Internet access do they?
Click to expand...
Click to collapse
np, glad to be of help. it woulda been nice if my email program let me know i had a reply earlier though
anyway, about the free wifi and internet... no programs can do that, that i know of. there are ways to hack into other peeps networks for free bandwidth from pc's (as i've seen it done), but if you want free internet on the phone there's only a few simple options...
1. pay for it, either through a phone carrier ex: tmobile, at&t, etc. or get a router for your home network and at least then you can connect to your home wifi.
2. find a starbucks, local coffee house, hospital, or any place that is pumpin out free wifi and hop on the network.
anyway, even if there were those types of 'programs' you couldn't post about it here cuz it would get taken off immediately and the person posted would probably get banned. they're not too friendly about that stuff

Network Exploits Kin TWOm

Network Exploitation
Hello Everyone! This is my first ever post, I just got the Kin TWOm a few days ago and i've been playing around with a few different exploits.
Port Scanning
There are only two open ports on this device:
Port 138: NetBios-DGM
Port 137: Microsoft Windows Mobile netbios-ssn
I will be attempting to run a few different netbios attacks and I'll let you guys know if I gain root access!
Browser Exploits
According to the Wikipedia page on the Kin Series of phones the Browser Agent is: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.12; en-US; KIN.Two 1.0)
I will also attempt to run many IE 6,7,8 etc. exploits on this device.
I'LL KEEP YOU GUYS POSTED! Also, If you know any more information about the networking aspect of this device PLEASE RESPOND TO THIS POST!
Thanks.
True, but port hacks use the 139 port.
Also, netbios commands (alas "nbstat") don't work with the kin ip (just retested with router-asigned local ip), but kin answers pings.
Also, dont just believe what wiki says. Test a browser detector page for the browser headers, and the capabilities.
As we have understood the storage upload/download i guess that we can also retest this kind of approach.
Dont want to upset ya, but i tried most of the exploits and the meta xploit things without nothing more than explorer crashes without rooting. Also, we do not know anything (or almost) from the OS, so shellcodes in ARM assembly may not work when using dll addresses.
As othes say that the M versions can open youtube, that's a good point to check too. I will think about it.
Edit, just checked it. Kin uses the "rtsp" protocol, which was unable on the version "kin two" (without M). Unfortunately, my kin doesnt play any vid from the net (maybe because not using 3g and just wifi).
Don't forget to test on 1.00 firmware. Since 1.00 had KIN Studio, which synced up everything. You might be able to get through the KIN Studio Sync.
Give me a working kin two then. Also, a CDMA connection tower to at least, get the kin to try to call home.
.... just kidding.
@john, your kin wont let you watch videos? Well it's not because your using a wifi network because I use a wifi network all the time. If you want youtube to work, then go to the page with the video, close out, go to settings then browser and delete temporary files and cache
i appoligize if this doesnt pertain, but on MS answers fourms i read that the loop on the orginial KIN OS uses a URL to function. Maybe this is exploitable..
somebody should look into this though.
So.. i doubt that is up to a common user level to test this but, as i said before, the kin two (twoM version only) uses RTSP.
It's possible to use a custom url for that protocol in the normal address bar. For example:
rtsp://lamewebsite.com/roflvideo/
Of course, if you'r on a lan, you can achive something like:
rtsp://192.168.1.2/roflvideotest/
having a a custom program listening on port 554 (default rtsp) at 192.168.1.2 .
There are some exploits (old, around the web) called "PoC rtsp exploit" which uses customized rtsp packets to execute code and/or crash the receiver program.
Mmmm or probably not crashing either, but showing the "Doh! can't play this".
Of course, as you can see, you can patiently wait for a rtsp random url (not a real rtsp one) to load ("Loading...") to see that's Zune (aka "Music & more") App what loads the video.
So zune is the program to crash and/or exploit, which is not a weak target (not much more info about it or its weaknesses).
@JohnKussack,
What about this HTTP zune exploit that allows overwriting zune files:
http://securityresponse.symantec.co...sponse/attacksignatures/detail.jsp?asid=22921
(I don't know anything about this exploit other than that it exists)
Marcellus1 said:
What about this HTTP zune exploit that allows overwriting zune files:
http://securityresponse.symantec.co...sponse/attacksignatures/detail.jsp?asid=22921
Click to expand...
Click to collapse
From what i see, it's a (microsoft caused) name mistake. This seems to be for the Zune software at windows, not for the zune software (at Zune devices/kin).
It's like zune of zune devices under zune os to run zune apps in a zune world where everything is named zune.
Yup, i was right. Just tested a local server at home:
Code:
Kin RTSP server test on port 554
Waiting for connection from the kin
Kin connected from Address: ('192.168.2.150', 49173)
##########################
DESCRIBE rtsp://192.168.2.134/ RTSP/1.0
CSeq: 1
Accept: application/sdp
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)
##########################
Edit: after several tries, it seems like it just su.... accepts .3gp files, and refuses to get another filetype. Ironically, the Microsoft papers about this, say that rtsp client should send the accepted files with the DESCRIBE request. (Home team failing, anyone?).
I doubt it would just accept the exploit idea (found the code for the exploit and did not work, just normal error) or be a possible hole into the system.
johnkussack said:
Edit: after several tries, it seems like it just su.... accepts .3gp files, and refuses to get another filetype.
Click to expand...
Click to collapse
Have you tried an mp4 or m4a file?
Marcellus1 said:
Have you tried an mp4 or m4a file?
Click to expand...
Click to collapse
Not in the mood. It just refused the others, so i skipped creating or downloading a mp4 to test.
Anyway, every joe can stream in Vlc (windows) and test both. I just tested local issues.
Would this exploit work or be useful? It is said to cause an exploitable heap corruption using a GIF file:
http://mobile.securiteam.com/exploits/5YP012A8AW.html
Here's another potential exploit that works by sending a malformed RTSP response header that allows shell code to be executed:
http://www.eweek.com/c/a/Security/Trio-of-Exploits-Out-for-Windows-QuickTime-RTSP-Flaw/
Marcellus1 said:
Would this exploit work or be useful? It is said to cause an exploitable heap corruption using a GIF file:
http://mobile.securiteam.com/exploits/5YP012A8AW.html
Here's another potential exploit that works by sending a malformed RTSP response header that allows shell code to be executed:
http://www.eweek.com/c/a/Security/Trio-of-Exploits-Out-for-Windows-QuickTime-RTSP-Flaw/
Click to expand...
Click to collapse
No. The second one is my named rtsp exploit.
why dosent some one try using the v cast store instead od android or windows 7

Nodo with SQL

Hello there,
I am developing a game for wp7, and I want to have a user login with skills an level. This users and levels I want toread and write from an SQL database.
But until now I found no API to connect. Is there any free solution to implement a database in wp7 (not linq)?
Thank you
Sent from my HD7 T9292 using Board Express
Nope, not in Nodo. You have to use linq-To-XML. This should be perfectly fine for small amounts of data.
If you can wait for Mango you can use a SQL CE database, but you still need to use Linq-to-SQL:
http://msdn.microsoft.com/en-us/library/hh202860(v=VS.92).aspx
Sent from my 7 Pro T7576 using Board Express
I know linq as a local database.
If I understand right linq-to-SQL is a one time sync? So I have to sync linq and SQL in the beginning and end of game.
So I would create for each user a linq db and then all linq dbs would be synced in SQL?
Sounds difficult, but I will give it a try this we
Sent from my HD2 with NoDo using Board Express
win98 said:
I know linq as a local database.
If I understand right linq-to-SQL is a one time sync? So I have to sync linq and SQL in the beginning and end of game.
So I would create for each user a linq db and then all linq dbs would be synced in SQL?
Sounds difficult, but I will give it a try this we
Sent from my HD2 with NoDo using Board Express
Click to expand...
Click to collapse
Sorry, do you want to connect to a remote SQL database on a webserver, or a just store a database on the phone itself? If on the phone itself, you can create on database for each user (Mango only).
If you want to sync with a remote server, you will need to interact with the server using some sort of Web Services. Then the Web Services do the reading/writing to/from the SQL sevrer and send the information back to the phone (you can currently do this in Nodo).
It should not be local, if its possible.
I want to subscribe on a free SQL host like I've of these: http://www.free-webhosts.com/free-mysql-database.php
Then I want to do the user management there and want do update the level and skills of the user who is logged in. A bit like a windows live account with the gamer points.
I would be glad if I can use SQL commands with c#.
I hope it become more easier to understand . Thank you for helping.
Do you got any sample code or tutorial how to use SQL in wp7? I failed :-D
Sent from my HD2 with NoDo using Board Express
With NoDo, you can't directly access an SQL server.
And even with Mango, I'd be careful doing such a thing, it can really be dangerous on many levels.
The best solution would be to use a web service, which could be accessed from your phone (via the WebClient class) and would handle the dirty work of connecting to the database and executing SQL queries (eg. inserting or retrieving data and outputting in XML format). This way even if you alter the structure of your database you don't have to change a single line of code in the app (that means you'll avoid resubmission), but only the web service code.
As a general suggestion, handle the more things you can server-side.
SQL Protocols are not really designed to work over slow/unreliable connections like the Internet, especially when it comes to 3G and so on. So it really would be best to encapsulate everything into a WebService to which you then send the Nickname, Game and Score and which allows to get the top rankings as well as a given players rankings.
I guess we won't see the ability to connect to remote SQL Servers through ADO.Net as it most likely would lead to bad user experience anyhow.
StevieBallz said:
SQL Protocols are not really designed to work over slow/unreliable connections like the Internet, especially when it comes to 3G and so on. So it really would be best to encapsulate everything into a WebService to which you then send the Nickname, Game and Score and which allows to get the top rankings as well as a given players rankings.
I guess we won't see the ability to connect to remote SQL Servers through ADO.Net as it most likely would lead to bad user experience anyhow.
Click to expand...
Click to collapse
i am good in sql and there are free sql hosters, thats why i wanted to try it with sql.
so, the webservice, is this kind of php? can i also get some free hosters for these services?
i found in google some sample code, but i dont understand where the data will be "stored". Is this going to be like a "cloud app"
edit: grrr looking for "free webservices" in goog but i just find free homepage hosting sites
I find this topic really interesting because it tackles something I just can't wrap my head around: getting Windows Phone 7 to interact with a SQL database just doesn't seem like it's been explained in a straightforward enough manner.
For instance, my case is one where I need my app to extract info from a MySQL db stored on my website, parse that data and display each entry as an item in a pivot control. Turns out that no, SQL is not supported natively so I must go out of my way and recode my data into something that WP7 can understand; I read it's XML and that makes sense, so I have designed an auto-updating XML file on my website with data I want fed into the WP7 app. This is a workaround to connecting directly to a SQL database, as it only requires there to be a PHP file periodically creating an XML file with the info I need and it won't expose any SQL connection credentials, etc. I do not manage users on my site, so maybe win98 needs to find a way for WP7 to call a PHP page, send it a user ID or something and then retrieve that user's info. But any way, I think XML can work perfectly as a means to communicate between SQL and WP7 apps.
But, I don't know how to make this XML file populate the pages of my app. In Expression Blend I can import the XML as sample data, but it does this during design time and not at run time. This means that Blend can see my data and display it how I want it displayed, but I can't take this to runtime and have it displayed like that on the phone. So far, I haven't seen a single easy to follow step by step tutorial on how to parse information coming from an XML file on a WP7 app.
Any suggestions on how to overcome this hurdle we both face? I am familiar with web programming, but I know jack sh*t about C#, so Linq is greek to me.
Ok so I really got this wrong, that with Mango you get SQL and ports support so that you can remotely interact with an SQL server, with sql commands pretty much like you would do on a desktop and how you could do with WinMo ??
Best practices aside, You still get to do that with webservices ?

the key to hacking the KIN

the key to hacking this phone, as ive noticed, isnt getting a new os. ive paid attention and i think i know what to do. we need a new internet browser. if you think about it, the browser is the problem because of its zero functionality. what we need to do is make an html parser in java that is invoked in javascript (dezgrz thx for finding out about the javascript apps). i think we should focus on getting this done.
Its a good idea but we have no way of uploading a new browser to the device.
X-15D9W8491 said:
the key to hacking this phone, as ive noticed, isnt getting a new os. ive paid attention and i think i know what to do. we need a new internet browser. if you think about it, the browser is the problem because of its zero functionality. what we need to do is make an html parser in java that is invoked in javascript (dezgrz thx for finding out about the javascript apps). i think we should focus on getting this done.
Click to expand...
Click to collapse
Your post makes no sense.
First because that's not the key for hacking
Second cause java applications can't be invoked from javascript.
it does make sense @johnkussack
is does make sense. you can invoke a java app through js. quit criticizing me just because you dont know what youre talking about. and besides, what i meant to say (if this makes it easier to understand) is that we code a java app onto the phone that automatically connects to the browser and a download is set off in javascript that bypasses anything written into the browser by editing the permissions, etc by editing the browser and just making a new one and not being lazy. you of all people should know this makes sense because you programmed and app onto the kin! besides, the whole thing about hacking is to be optimistic or you never get it done and youre impeding development with stupid posts like your last. get a grip and post something important instead of that trash next time!
thats the point
WEM97 said:
Its a good idea but we have no way of uploading a new browser to the device.
Click to expand...
Click to collapse
exactly my point. we could just create a new app like john did only we make it work like john obviously failed to do.
X-15D9W8491 said:
exactly my point. we could just create a new app like john did only we make it work like john obviously failed to do.
Click to expand...
Click to collapse
~~~~~~~~~~~~~~Forgotten~~~~~~~~~~~~
X-15D9W8491 said:
nonsense stuff
Click to expand...
Click to collapse
First of all, you'r messing it all
Second, to run a java application you would need to have a java virtual machine (which kin has not), or interpretation for java applets (which kin has not).
Third, i do know what i talk about, cause i code in Java & Javascript.
X-15D9W8491 said:
is that we code a java app onto the phone that automatically connects to the browser and a download is set off in javascript that bypasses anything written into the browser by editing the permissions, etc by editing the browser and just making a new one and not being lazy.
Click to expand...
Click to collapse
Here one could stop reading. Also you can call Kitt to try to hack it, but it may not answer.
So, do your work before saying that other have failed where you have no success either.
And if we could do that magic stuff, last thing we should do is care about a new browser, when you could just install opera for win ce. So all the topic is going nowhere.
johnkussack said:
First of all, you'r messing it all
Second, to run a java application you would need to have a java virtual machine (which kin has not), or interpretation for java applets (which kin has not).
Third, i do know what i talk about, cause i code in Java & Javascript.
Here one could stop reading. Also you can call Kitt to try to hack it, but it may not answer.
So, do your work before saying that other have failed where you have no success either.
And if we could do that magic stuff, last thing we should do is care about a new browser, when you could just install opera for win ce. So all the topic is going nowhere.
Click to expand...
Click to collapse
first, i havent had any success yet because those were plans. i havent tried this yet.
second, if putting on opera could help, why didnt you do it, "genius"?
if this thread is going nowhere then do me a favor and stop posting on it!
piss off
soninja8 said:
You sound like a smart-ass. You think its so simple that you decide to make fun of John. Without John we wouldnt have done anything by now so you should just shut it.
Click to expand...
Click to collapse
that post was an a and b conversation between me and john so c your way out, dumbass. and you should shut it because you havent really helped at all, john has gotten me nowhere because i started from the beginning before i was part of this, and i need absolutely no input from you.
X-15D9W8491 said:
second, if putting on opera could help, why didnt you do it, "genius"?
Click to expand...
Click to collapse
because we don't know how to do that yet.
I don't own this device, but a friend does. What happens if you download an exe or cab from the browser?
xboxfanj said:
I don't own this device, but a friend does. What happens if you download an exe or cab from the browser?
Click to expand...
Click to collapse
It tells you the file type is not supported. Basically, you can't download something to the Kin that it isn't designed to handle.
X-15D9W8491 said:
that post was an a and b conversation between me and john so c your way out, dumbass. and you should shut it because you havent really helped at all, john has gotten me nowhere because i started from the beginning before i was part of this, and i need absolutely no input from you.
Click to expand...
Click to collapse
~~~~~Forgotten~~~~~
I am not taking sides here but you guys both have points. X has a really good idea though so at least try. show proof it dosent work then i will agree with you. Its a good idea but we dont have the means of getting into the KIN.
there comes a time
Code:
the key to hacking this phone,[COLOR="Silver"][SIZE="1"] as ive noticed,[/SIZE][/COLOR] isnt getting a new os.
This is a solid point. We should not examine the possibilities of a new operating system until we are able to work with the current one.
Code:
[COLOR="Silver"][SIZE="1"] ive paid attention and i think i know what to do.[/SIZE][/COLOR] we need a new internet [B]browser.[/B] if you think about it, the browser is the problem because of its zero functionality.
Maybe so. Though the current OS has many shortcommings of, you could definitely argue that none are as confining as the browser
Code:
what we need to do is make an html parser in java
I am not sure what you mean by this. My initial impression is that coding an HTML parser from the ground up in Java is far out of the scope of this project. Perhaps you will explain it's purpose in a later part of your post.
Code:
that is invoked in javascript (dezgrz thx for finding out about the javascript apps).
I guess what you mean by this is to use the current browser's javascript interpreter to invoke the HTML parser. There are a few severe hurdles you'd have to overcome to do this.
First of all and from what I understand, the Kin's built-in browser is IE 6 for Mobile. Web developers and users alike agree that IE6, regrardless of it's environment is a very broken web browser. Despite this, it is still a full-featured web browser, at least by Microsoft's standards. So for the purpose of security, Microsoft has probably constructed the browser in such a way that code run in it will be heavily isolated from the rest of the OS. I know that exploits for IE6 are a dime a dozen but even most of those require more access to the device than we have. Our situation is compounded by the fact that, even as far as other mobile versions of IE6 go, the Kin's browser is badly crippled.
Second of all, assuming you could somehow invoke the Java code through JS, the Java code would still have to be interpreted and run using a Java interpreter which the phone lacks. Java is an interpreted language. What that means is that in the most basic sense, a Java application is comprised of a bunch of text files containing programmer code. When you 'run' a java application, what you are really doing is running a special program (called a Java INTERPRETER, what we've been talking about) that takes that programmer code and turns it into computer code that is capable of being executed. The interpreter is the part that the Kin lacks. Without it, the text files of programmer code that are the java application just look like ordinary text files to the Kin.
Code:
[COLOR="Silver"][SIZE="1"]i think we should focus on getting this done.[/SIZE][/COLOR]
...and unfortunately we've come to the end of the post. I have only talked about some of the preliminary issues with your project roadmap but IMHO they'd be pretty fatal to it's success.
Let me know if you'd like me to explain anything else to you. In the meanwhile, let's wait and see what more directed people like JK come up with.
Oh thank goodness, another post. Perhaps this one will explain some of the discontinuities that arose in the first post.
Code:
[COLOR="Silver"][SIZE="1"]is does make sense.[/SIZE][/COLOR] you can invoke a java app through js.
I am not aware of any way to do so, especially on as crippled a browser as the kin one. I've already kind of addressed this in the previous post albeit indirectly.
Code:
[COLOR="Silver"][SIZE="1"]quit criticizing me just because you dont know what youre talking about. and besides, what i meant to say (if this makes it easier to understand) is that[/SIZE][/COLOR]
I've decided to minify all the psychosocial turmoil content in his posts in order to make what I am referring to more clear.
Code:
we code a java app onto the phone that automatically connects to the browser
This portion confused me for a bit as in the first post you talked about a Java HTML parser howerver now it seems to have changed to something that simply interfaces the current browser. Maybe this would be more within the scope of the project but you'd still have to get through all the aforementioned hurdles. Even so I'm not really sure what purpose it would serve.
Code:
and a download is set off in javascript that
Oh ok, here you are explaining how the Java code gets to the browser. You use javascript injection to make the browser download the Java application.
Code:
bypasses anything written into the browser
Now, this would be a real trick. Accomplishing this would be equivalent to acquiring a U-Boat by fishing in the toilet.
Code:
by editing the permissions, etc by editing the browser
Another primary problem about your train of thought is that you seemingly assume that javascript is capable of doing debug-level computing tasks such as significantly modifying a compiled binary and perform priveleged filesystem operations. Stuff like this would be a pain in the neck to do even on a desktop computer with suited programming languages.
Code:
and just making a new one [COLOR="Silver"][SIZE="1"]and not being lazy. [/SIZE][/COLOR]
Javascript is a language designed for the web, not general purpose and certainly not for creating another web browser from scratch. JS, like Java is an interpreted language except the interpreter is included in the web browser. I am not sure coding a web browser within a web browser would produce very desireable results, esp. with such limited processing power as is available on Kin hardware.
Code:
[COLOR="Silver"][SIZE="1"]you of all people should know this makes sense because [/SIZE][/COLOR]you programmed and app onto the kin![COLOR="Silver"][SIZE="1"] besides, the whole thing about hacking is to be optimistic or you never get it done and youre impeding development with stupid posts like your last. get a grip and post something important instead of that trash next time![/SIZE][/COLOR]
hm. hm.
In conclusion, have a nice day.
In fact,iirc the Kin doesnt even have Javascript but JScript. Microsoft implementation, compatible with javascript itself.
http://en.wikipedia.org/wiki/JScript
The funny commands which could expose part of the system doesnt work, of course.
That's just weird
johnkussack said:
In fact,iirc the Kin doesnt even have Javascript but JScript. Microsoft implementation, compatible with javascript itself.
http://en.wikipedia.org/wiki/JScript
The funny commands which could expose part of the system doesnt work, of course.
Click to expand...
Click to collapse
ok. first, let's forget our arguments and move on, those have nothing to do with what we are trying to accomplish. Second, how related is jscript to javascript because microsoft always has to make weird implementations of porgramming languages. This could possibly be a minor setback. Third, i'll admit that some things I posted didn't make sense, so i'll make them more understandable in the future.

[Q] cant view my dvr cameras on windows rt

Hi all
I have purchased a windows Rt and love it. The only thing I can't figure out is I can't access my dvr cameras though internet explorer on my device through my ip address and port number. I can view it on my desktop pc.
Is there any app or way I can view my dvr host on windows rt??
steve.zdravko said:
Hi all
I have purchased a windows Rt and love it. The only thing I can't figure out is I can't access my dvr cameras though internet explorer on my device through my ip address and port number. I can view it on my desktop pc.
Is there any app or way I can view my dvr host on windows rt??
Click to expand...
Click to collapse
BUMP
How is the DVR content presented? If it's HTML(5), that should be no problem at all, so it's probably not. The next most likely is Flash, which RT supports but which may not work when specifying an IP address. You could try using the registry tweak that was previously required for Flash on unknown sites (see the EnableFlash script in my signature). If it's a Java applet, you're screwed (in more ways than one; if you've had the Java browser plugin enabled on your home PC for the last few months, there's an excellent chance that your machine has been infected through it; that thing has atrocious security bugs). If it's some other third-party plugin, for example an ActiveX control from the DVR manufacturer, it's probably not going to work on RT just because RT run on ARM chips and typical ActiveX controls are compiled for x86 (it's possible to make ARM ActiveX, but nobody does and you'd need to "jailbreak" the device before installing the plugin anyhow).
GoodDayToDie said:
How is the DVR content presented? If it's HTML(5), that should be no problem at all, so it's probably not. The next most likely is Flash, which RT supports but which may not work when specifying an IP address. You could try using the registry tweak that was previously required for Flash on unknown sites (see the EnableFlash script in my signature). If it's a Java applet, you're screwed (in more ways than one; if you've had the Java browser plugin enabled on your home PC for the last few months, there's an excellent chance that your machine has been infected through it; that thing has atrocious security bugs). If it's some other third-party plugin, for example an ActiveX control from the DVR manufacturer, it's probably not going to work on RT just because RT run on ARM chips and typical ActiveX controls are compiled for x86 (it's possible to make ARM ActiveX, but nobody does and you'd need to "jailbreak" the device before installing the plugin anyhow).
Click to expand...
Click to collapse
The DVR is set up with its own ip and port forwarding number, and that how I connect to it from other desktop PC's. Or it gives me an option to view it through a program called CMS lite which the Win RT doesn't allow me the download. I have jailbroken my RT as well.
What happens when you connect to that IP and port on your RT device? What do you see in the browser (if anything)? Does it connect, or does it say it couldn't find the site? You haven't actually explained the problem very well at all, even to the point of saying what device it is. We probably don't have your exact setup at home, so you'll need to be very precise describing it so that we know how to fix it.
You also didn't answer my question in the previous post. How is the content normally presented? Flash or HTML5 should be fine, but *might* take some tweaking. Java or a plugin are unlikely to work, although I suppose it's possible that the x86 emulator could be made to work with a plugin.
For that matter, have you tried the x86 emulator with your CMS Lite program? It's unlikely to work, but worth a shot.
GoodDayToDie said:
What happens when you connect to that IP and port on your RT device? What do you see in the browser (if anything)? Does it connect, or does it say it couldn't find the site? You haven't actually explained the problem very well at all, even to the point of saying what device it is. We probably don't have your exact setup at home, so you'll need to be very precise describing it so that we know how to fix it.
You also didn't answer my question in the previous post. How is the content normally presented? Flash or HTML5 should be fine, but *might* take some tweaking. Java or a plugin are unlikely to work, although I suppose it's possible that the x86 emulator could be made to work with a plugin.
For that matter, have you tried the x86 emulator with your CMS Lite program? It's unlikely to work, but worth a shot.
Click to expand...
Click to collapse
my device is a windows rt surface. when I open internet explorer and type in my ip and port number in the search engine it comes up with my login and password which I type in. after that the screen comes to a blank white screen which gives me the option. Webserver or CMS lite setup I always view them from webserver. Once I click webserver the screen just says on a blank white screen.
as for how the content present normally im not really sure.
A simple way to tell is to load the page in a desktop browser where it works, then right-click the video and see what menu comes up. If it's the Flashplayer menu, that's something that RT can handle. If it's something else (Silverlight or Java or a custom ActiveX), that may not be possible. Another way to tell would be to save that blank page to a file (I believe Ctrl+S works for this, at least on the desktop mode of IE, or you can do it from the Tools->File menu, or the File menu on the menu bar that is shown when you tap Alt). Send or post the HTML somewhere that we can read it, and we can tell you what it will take to view the page.
another question.. im still new to the windows rt group I have jail broken the RT surface. Is there any torrent client for downloads.
I wanna download movies from a website. thanks
Free Download Manager (it is in the ported apps thread) can be used as a torrent client. However discussion of piracy is prohibited so might want to zip it on the movies part.
Monotorrent was attempted on RT but I think ended up being buggy.
SixSixSevenSeven said:
Free Download Manager (it is in the ported apps thread) can be used as a torrent client. However discussion of piracy is prohibited so might want to zip it on the movies part.
Monotorrent was attempted on RT but I think ended up being buggy.
Click to expand...
Click to collapse
can u please send me the link
Read the forum rules, especially the first one. Then, read my signature. I don't mind helping people find obscure stuff, but this does not qualify. Please put forth at least a little effort on your own part...
I shouldn't have to share a link having told you where it is. Its easy to find, a) its in the list of ported applications in the RT development and hacking section. b) it has its own thread in that same section. c) it is listed on google. d) it is listed on forum search.

Categories

Resources