Developing WP7 file Transfer app - Windows Phone 7 Q&A, Help & Troubleshooting

Hi, I'm a final year Computer Science Student. My Final year project is to design a windows phone 7 app for transferring files from a remote database /sever to the windows phone device.
I have never been taught any C# or windows phone development. So far I have developed a windows phone 7 client app which connects to an SQL Server 2008 database, I can query the database from the app and return and display the text stored within the database tables. I am also able to store a picture in the database as binary data.
Can anyone advise me is it possible to store pdf and office documents within the SQL server database and download them to the windows phone 7 client and then open/view these files on the device. I believe that any files must be downloaded directly to isolated storage on the device but that there are restraints where that these files cannot be accessed by any other apps on the phone.
Any help or advice would be greatly appreciated..

It's possible to open supported media and documents (pictures, PDFs, etc.) from an app, I'm pretty sure (for example, see the SkyDrive app). I know that it's possible using native code and a couple of other mildly undocumented features. Using only official APIs... never tried, but I think it can be done (I'm just not sure how).
Unless you use the undocumented ID_CAP_FILEVIEWER capability in your app (or use one of a number of available hacks), your app will not have write permissions anywhere except in its isolated storage. Officially, one app can't access the isolated storage of another app, although the Office stuff may bend the rules somewhat.

Related

Does WP7 have API feature parity with Iphone and Android with Mango?

So does WP7 have the API`s to create any APP currently on IPHONE OR ANDROID?? and are features now on the same level??? If not whats missing?? and in what areas is Windows Phone ahead if any?
WP7's current API is missing a lot of stuff, mostly sockets. But all of that is coming with Mango and after that, it will be on really high level of integration and possibilities. And if we take in count also the fact that whole .NET (C#) with XNA framework is super easy and super awesome to code with (compared to Java and C++), I think that WP7 will be the best coding platform in here.
XNA will still be missing custom shaders in Mango, right? That would be big for 3D gaming.
There's still no way to handle files between apps (I.e. you can't and won't be able to write an app that would become a default app for a certain file type).
Other than that, native APIs are missing, which makes some apps outright impossible (browsers, codecs, media players), others expensive because virtually no code cam be reused from other platforms (games, Satnav).
vangrieg said:
There's still no way to handle files between apps (I.e. you can't and won't be able to write an app that would become a default app for a certain file type).
Click to expand...
Click to collapse
Are you sure about this one? In one of the demo videos, they showed an example of trying to open a PDF file from SkyDrive, and it knew to go to the Marketplace to get the Adobe reader app. And if I remember correctly, they mentioned that the same capability would exist for at least some other file types.
RoboDad said:
Are you sure about this one? In one of the demo videos, they showed an example of trying to open a PDF file from SkyDrive, and it knew to go to the Marketplace to get the Adobe reader app. And if I remember correctly, they mentioned that the same capability would exist for at least some other file types.
Click to expand...
Click to collapse
This is nothing new for PDF. For other file types, I simply see no references in dev tools or on MSDN. If you want to register your app as a filetype handler, you need to have APIs for, say, IE to pass a file to your app, and the capability needs to be declared in a manifest file or something. It's nowhere to be found as far as I see.

Lumia 800 shared documents

Hi guys,
I´ve got one question, is it possible to create file transfer on wifi? I want create wifi network something like family group in Windows 7. And if its possible do this betwen WP and android phone or WP and windows 7 PC.
Thanks a lot.
No, not possible; but you can try DFT Bluetooth file transfer if you have a fully unlocked or rooted phone and see if that works. Currently there is no way of doing what you are asking via email, MMS or Wifi.
It doesn´t working via e-mail too ?
Root Webserver (see my sig) allows easily taking files off (or putting them on) a Windows phone via WiFi. It's not the most elegant approach, but it's easy to use.
There has been talk of somebody implementing SMB (the network protocol that is used for Windows networking) using the sockets APIs in WP7, but I'm not even sure the official APIs are complete enough and even if they are, it'll be quite a bit of work to implement (the SAMBA project has been trying on Linux for years, and is only mostly there).
I'm quite certain it's possible to attach arbitrary files to email, but nobody has found the way *yet* so that's not currently possible. Also, the email client isn't going to let you save attachments to arbitrary locations, because it's designed to work with the very low permissions of the OS by default.

These Android apps for WP7???

Hi guys, today I saw Nokia WP7 Lumia 800, before myself.
No doubt WP7 looked Beautiful. I mean Android is far better in definition of smartphone, for e.g. True multitasking, etc. but I never found Android OS beautiful.
I had Android in my hand (CM7 with complete ICS look, also ICS status bar), and my friend had WP7, and WP7 looked amazingly beautiful.
Personally I would love an OS which is beautiful, since I look at it (the OS), and I'm not a huge app user. Also I'm not a user who does not need apps running in background. Here are the apps that I use on Android (only these apps)----
1) App Lock - Prevent unauthorized access for any person to any of my apps (Very useful)
2) Calculus Tools
3) Handy Calc
4) Concise Offline Dictionary (Very useful)
5) Moon Reader (epub reader ebook reader) (Very Very useful)
6) MX Player (Very useful, plays any video format)
7) Opera Mini & Opera Mobile (Very useful, saves data cost, but IE10 does same, opera saves 97% how much IE10?)
8) USB Tunnel (Reverse Tether, very useful)
So, I want to ask, are these apps ( or there replacement apps )are available on WP7 market, or WP8 market???
I'm looking forward to buy WP8 in future. Please reply if you know these apps or replacement apps are available for WP7 orWP8?
Also, Windows is major PC OS, and I'll always have Windows ( Mac never ), and Windows PC has many software, so there is great possibility that WP8 will see many new apps in market, ( WP8 ports of the PC softwares ). Also looking for full integration with my PC. ( like iOS and MAC).
"App Lock" sounds like something that should be provided by the OS. On WP7 you can easily set a PIN or password, and configure the phone's lock behavior in other ways. That said, I don't know of a way to lock apps without also locking the rest of the phone (although some behaviors, like taking pictures or placing calls using voice, can be enabled even while the phone is locked if you want them to be).
The calculator that comes with the phone is very good, but if you want something more like a graphing calculator (or otherwise intnded for calculus) you'll need an app. I don't know how good they are, since I just tend to use the Scientific and Programmer calculator modes (which are built in), but such apps do exist.
There are a number of offline dictionary apps, for sure. English is well-supported, but quite a few lenguages are in the offline dictionary app list.
There are many Ebook reader apps. I personally use the Kindle app (which takes minor hacking to use with ebooks not from the Kindle store, and uses .MOBI or .PRC files) but there are several free apps for EPUB as well.
Not sure about media player apps. Most of them just support the codecs built into the phone (which are a good selection, but hardly all-encompassing). Apps are allowed to implement additional codecs, but I have never personally used any that do. Zune software on the PC can transcode most codecs to something the phone can read when you sync the files from your PC, though.
Opera (mini and mobile) for Windows Phone is currently only available on fully-unlocked custom ROMs, though it may be made to work on root-unlocked stock ROMs soon. I don't know about the data savings of Windows Phone IE.
USB Tunnel is for letting the phone connect through the PC's Internet connection? That feature is built into the OS. When the phone connects to the Zune software on the PC, it automatically enables Ethernet over USB.
Please bear in mind that nobody knows anything much about what will be available for WP8 right now. It was ony just announced, is still months from release, and there's very little meaningful and reliable information about it available yet.

Issue when edit documents on a windows server using android device

Hi!
I have a issue.
I am helping a company to use android devices productively in there business.
The key function they need is to edit Word and Excel files from a windows fileserver using there android tablet and/or phones.
The problem is when we do this the tablet saves the updated dosument localy on the device, not on the server.
If you look at the document on the server nothing is saved.
If you look at the device you have a copy of the document where all the changes are saved.
Is there any way to make it to save the document directly on to the server?
We have used ES File explorer and OfficeSuite.
I dont think it has something to do with the apps.
Would we get a different result if we used a Linux fileserver instead? For example Ubuntu server?
Maybe it is linux and windows compability problems?
Thanks in advanced!
BR
Eric

[Q] Mapping a shared Windows file to Android using Adhoc

I am newer to Android development but would like to know how to communicate with my Windows 8 (7 or XP) environment over Adhoc from my Android phone. I have researched this topic and I generally see people refer to the play store to download an app. I don't just want the functionality, but I want to know how to do it myself. Whether if there is a specific library I can use through android development, or if their is some command line option I can use via Android to do this.
So, how would I go about browsing files on my Windows machine without using an app? I know the Android O/S (at least what I gathered from the articles I have read) does not support this. So what are developers doing in their apps to create this connection? Or what is the best book to buy to help me understand how to do this?
Thanks!
google about android socket file transfer

Categories

Resources