yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Software Development] sensboston:
First, I'd like to wish happy New Year for everybody!

Second, I have a question to xda's developers: is there a working and non-ugly (without involving WebBrowser window) library for WP7 to access DropBox API version 1 (it's important, new apps can't use ver 0 anymore; all codeplex'es libs are using version 0 and seems like nobody planned to improve their non-working stuff).

I'm also interested in non-ugly (as Microsoft Live SDK) access library to SkyDrive, also without WebBrowser (it's a most stupidest and ugly API I've ever seen!).

If you have your own working code, could you please share with me for my new free app? I don't have much time to write my own implementation, and I hope that someone has already done this job.

Thanks!
[Windows Phone 7 Software Development] Budniu:
I saw already apps, check BoxShot:

Free: http://www.windowsphone.com/en-US/apps/0be109c4-08be-4ac3-a96b-70ef2b0580e3

Pay: http://www.windowsphone.com/en-US/apps/1abb6e8c-d1ca-4209-a7b8-c2d657ffc9b4
[Windows Phone 7 Software Development] sensboston:
Hmm... :eek: Seems like you didn't understand me, I need Silverlight library, not an app.

BoxShot is using DropNet library, ver 0 of DropBox API only...
[Windows Phone 7 Software Development] Budniu:
Ok, sr. You're right, I don't understand. :o
[Windows Phone 7 Software Development] singularity0821:
How about this: http://sharpbox.codeplex.com/releases/view/74634
[Windows Phone 7 Software Development] sensboston:
Unfortunately, not working at all (for DropBox) even their demo app :( Also, they are using synchronous http calls and current code just block whole thread execution.
[Windows Phone 7 Software Development] snickler:
I'm sure we can figure out how to get it without using the web browser :). I'll see what I can figure out if you want.
[Windows Phone 7 Software Development] sensboston:
I'm 100% sure it's possible :) I just don't have time to work with the new API (v 1) specs and OAuth. So if you have time and want to implement - it's really will be great! And of course I can help you with testing (using my project).

P.S. BTW, SharpBox designed to use synchronous calls; I don't like this way. IMHO good implementation should be more "WP7-oriented"...
[Windows Phone 7 Software Development] singularity0821:
And how about this: http://dkdevelopment.net/what-im-doing/dropnet/
[Windows Phone 7 Software Development] sensboston:
This one is working but it's "lazy" and kinda ugly solution (author is using WebBrowser window to login to Dropbox account). I completely dislike this way. Same ugly as MS SkyDrive API :(
[Windows Phone 7 Software Development] PG2G:
Isn't that how most apps that use OAuth work?
[Windows Phone 7 Software Development] sensboston:
I don't know, actually, but all Dropbox access libs (API v. 0) are working without showing browser window.

P.S. I've found on the Dropbox devs forum, it's possible (but not a guaranteed) to ask dropbox support team to change your app and secret keys to API version 0.
[Windows Phone 7 Software Development] d1k_is:
Hello,

I'm the developer behind DropNet. Just a bit of background on the change to API v1: Dropbox wanted to support the full oauth spec which actually requires the web login. I know this makes it not as "clean" for the apps but makes it more secure for Dropbox. They have also announced they will be turning off API v0 sometime in the future (Though they have not stated when).

I dont think the authentication is process is too bad, once you get your head around it. Its accepted by users that they will have to login via the website nowadays (Twitter and Facebook do it as well).
[Windows Phone 7 Software Development] sensboston:
What do you mean by that? I don't know term "web login"... If you mean - "I guess it requires a kinda unknown - for me - parameters or headers for HTTP POST/GET request" - I'll agree but it's definitely not a point to display slow loading and ugly web page each time you need an access to your files. Do you know, what is the actual login technique in API 1 (I mean what kind of params , headers, cookies are used, not a "web login" stuff)?
[Windows Phone 7 Software Development] d1k_is:
Hmmm, sounds like you have the wrong idea about the authentication.

First of all the authentication is a 3 step process (for the developer), step 1 is to get a request token from the API, step 2 is to browse to the site (using the request token as page parameters) so the user can login, step 3 is authorizing the request token (changing it to an access token).

Once you get an access token you can save that in your app and use it forever (or until the user removes access from your app) this means the user will only have to login the first time they run the app as you will have their access token saved locally which you can use to access the API functions (but the access token only works with the API Keys it was created with).

For more info check out the DropNet documentation for the Authentication process (http://dkdevelopment.net/what-im-doing/dropnet/) Theres also a sample app in the Github project.
[Windows Phone 7 Software Development] sensboston:
It sound like you have no idea how the browsers works... "Browse", "navigate" - it's good terms for users, not for developers. From a technical point of view, browser makes an HTTP or HTTPS request to the host and receive a response. So, what you (and dropbox dev and marketing team) called "token" is a text/binary data, part of the response.

So, what is preventing you to make a direct call to dropbox web service using WebRequest?

P.S. I definitely don't like the whole idea to use browser cookies (it suppose to be a kind cookie) for authentication: as for dropbox, as for ms skydrive. It's just ugly - period. And about security - I don't think it's a huge improvement.
[Windows Phone 7 Software Development] d1k_is:
Sorry I was only trying to help.

The tokens are string values and you use a GET via HTTPS sending them as page parameters.

You dont use browser cookies as the dropbox API keeps track of the token you are authenticating against.
[Windows Phone 7 Software Development] sensboston:
Just tried your WP7 example app from DropNet. Actually it demonstrates a little bit more than nothing :( Could you make a real example, with folders browsing and file operations, please?

P.S. You should use mobile version of dropbox - it feets WP7 screen much better than regular desktop.
[Windows Phone 7 Software Development] Mittaa:
600 MB additional free storage :)

Hi all

Just found a smart way to increase your Dropbox account with 600 MB:

1 Sign into your existing Dropbox account (or create a new account)

2 Goto https://www.dropbox.com/free

3 Follow instructions ... and voila 600 MB additional free storage :)
[Windows Phone 7 Software Development] Fettmull:
thx for the tip, I now got 3,12 GB :)
[Windows Phone 7 Software Development] singularity0821:
And if you go here and register your university Email address you get 500 for each referral instead of 250 :) But all that is a little off-topic ;)
[Windows Phone 7 Software Development] acidhax:
sensboston, you seriously need to research OAuth before you become rude. If you don't like the way it's made, make it yourself.

You have to use the web browser. End of discussion. Unless you want to emulate the browser, which I doubt you can do. The user does not care if you have to authorize via web-view.
[Windows Phone 7 Software Development] sensboston:
What are you talking about? If you have nothing to say, better to say nothing...
[Windows Phone 7 Software Development] tvbusy:
sensboston, OAuth is a major step forward for user security. It does bother developers as it involves a "dirty" step in the authentication.

As a user, I just simply can't say how much I love OAuth. The only authentication I'll need to make is against the service that I registered my account with. With OAuth, I no longer have to provide my credential to yet another app, risking it being stored somewhere. I wish the OAuth providers (like DropBox and Twitter) try to make it so hard that no one can by pass the login by simulating the HTTP traffic. This way, my credentials is much, much more safe.

As a developer, it's dirty though, but once you weight the benefit of user, it's a great feature. For my application, I can guarantee user that my application no longer takes their password. Everything they do will be via the service they trusted. Zero risk of their credential being leaked.

One annoying thing I had with both SkyDrive, (I guess also apply to DropBox) was the "Remember my password" check box in the authentication page. Next time I display the authentication browser again, it automatically login, and I hated that.

You have multiple choices here:

1. When the browser is loaded, load the logout page first, which will definitely clears out the cookies. Don't try those cookies delete methods using javascript on the internet. Just show the log out screen, and once the page is loaded, cancel the page display and shows the login page. This will take less than half a second and works all the time.

2. In SkyDrive case, I think it can be a feature. The next time the authentication page is displayed, the browser remembers the cookies, so user doesn't have to login. Instead, SkyDrive will display the confirmation page again so that user can either tap on "OK" to trust our app, or click log out and then sign in using another credentials. I can't speak for the DropBox case as I've not tried it, but it's quite convenient for the user.

Hope this helps you calm down.
[Windows Phone 7 Software Development] sensboston:
tvbusy, I don't need to calm down 'cause I don't particularly worried :) And "yes", I already know the OAuth advantages. Technically I can agree to use system browser (btw, this implementation also have not only pros but cons too; it's not 100% secure). But the main problem is: currently we don't have - or I don't know - good and easy implementation/API. Have you checked current MS implementation for SkyDrive or mentioned here DropNet?
[Windows Phone 7 Software Development] tvbusy:
I'm using both SkyDrive and DropNet for my WP7 app. They're working fine, though I have a problem with the SkyDrive limitation of supported file extension.

For DropBox, DropNet is the best library you can find. I've tried their REST API before but changed to use DropNet instead, as it's much easier and the workflow is much smoother compared to doing it myself.

For SkyDrive, you should try Microsoft's Live SDK first, which provides the Sign In control which handles almost everything, but not very useful if you want offline capability. I'm using SkyDrive REST API for my application since I need offline access to synchronize data. There are immediate grant which gives you an access key for 1 hour only, and authorization grant which gives you an access key and refresh token so that you can refresh your access key after it has expired.

I agree that OAuth is not 100% secure, but as I've said before, much more secure for user than typing their password to every app they'd want to use.
[Windows Phone 7 Software Development] sensboston:
Could you please send me a small example with latest DropNet (using API 1)? Something very simple: authorize once, list and download files. Original example is non-functional.

Thanks!
[Windows Phone 7 Software Development] tvbusy:
You can take a look at:

https://github.com/7Pass/7Pass

Specifically, look at the file KeePass\Sources\DropBox\DropBoxAuth.xaml.cs
[Windows Phone 7 Software Development] sensboston:
Hmm... It's not what I asked for. BTW, your app isn't good example - marketpalce version still using API 0, today's github copy don't work with dropbox at all - only show "connection error" message.

Could you please create a simple, one page example using "clear" DropNet (without your wrapping classes; if it so perfect, it shouldn't be a problem!) that list the dropbox directory, and download file by tap?

P.S. Update: I forgot to add app key & secret. But after adding (I used my app keys, for API 1) I've got another error: "Error listing folder content. Please try again later". On the another run, dropbox login is not saved and still displaying me a login page. You call it "best library"?..
[Windows Phone 7 Software Development] Dbeattie:
I used DropNet today, had it up and working in about 20 mins. Nice library.
[Desire HD Q&A, Help & Troubleshooting] AbhimanyuHTC:
Guys,

I need to read the meeting body of calendar. In most of the devices and even in htc desire, i get the value in description column of event table, but description field of event table is null in htc desire hd

anyone having idea about the table/column name for this field, please help.
[General Questions and Answers] ahmedsqt:
Hello there;

I bought "GLALAXY S2 GT-I9100" and hasn't gotten arabic language. I brought it with me to saudi arabia and I want it know to readas\write arabic as well as english. How would I be able to do that.

Thanks.::(
[Droid X General] touch-aaron:
So I started having issues with my Evo4g (unlocked to work on nTelos), so I went back to my Milestone X (Droid X). I followed the procedures found here and elsewhere to root the OTA 2.3.5 update. All was well until I went to use Wireless Tether. Within 10 seconds of starting it, it says "3g data link lost" and disconnects any wifi clients.

I found a few different instructions, and installed the Droid X Bootstrap recovery, installed the TBH patch, and rebooted. The problem persists. I even tried the wifi tether beta that allows you to select the device type, but that doesn't help at all.

One thing to note is that no matter what wifi tethering app I use (Wireless Tether, Wifi Tether, Barnacle, OpenGarden), the built in hotspot program pops open and says "Tethering or Hotspot active"--then I get the "3g data link lost" My "3g" icon will then disappear and reappear at random, and while it's gone, the phone itself doesn't have a data connection. Once I close any tethering programs, the phone's data works again. The same thing happens when I try to use the built in hot spot program.

It seems as if enabling tethering kills the cellular data connection, and somehow resets it. I read somewhere about issues with this phone and wifi+3g working at the same time, but with wifi enabled, connected to an access point, I have cellular connectivity (since calls come through)

Any ideas?
[Droid X General] whateverworks101:
Wireless Tether

droidxforums.com/forum/droid-x-hacks/30698-guide-wireless-tethering-your-own-risk.html

Take out the space

Gives lots of options for 2.3.and above. It all starts with freezing the main 4 programs that records the tethering data. Read there and it will explane.
[Droid X General] touch-aaron:
those four programs don't exist that I can find on the nTelos device. One strange thing though, I used AndSQLite per some of those instructions to browse the databases, and there are lots of things with vzw in their names (verizon wireless). I wonder if Motorola made a generic ROM, and this just doesn't have Verizon's bloat in it yet.

nTelos doesn't charge us for tethering, but they don't officially support it yet either, so they're no help.

What's the simplest way to go back to 2.2 ?
[Droid X General] touch-aaron:
For an update if anybody runs across this, if I select "Routing Fix" in the Wifi Tether settings, it works.
[Droid X General] kastone:
you may contact nTelos to see if they can assist. Their toll free line is 18774683567.

kastone
[Droid X General] touch-aaron:
Apparently this only works sometime. Sometimes the tethering works, sometimes it doesn't.

I'm an nTelos re-seller. They tell me that since it's "not officially supported" that they cannot help.
[Droid X General] touch-aaron:
is there a way to go back to 2.2?
[Droid X General] touch-aaron:
TTT. Really looking to get wifi tethering back.
[AT&T Samsung Galaxy S II SGH-I777] tbong777:
Wife is due for upgrade. Been running a Captivate (running Pinnacle).

HUGE difference between hers and my i9100 in lag etc. I just don't see the development enthusiasm for the ATT SGS II as there was for the Captivate. As I see more and more i9100 ROMS ported over I wonder if I should just get her one. I bought an i9100 because when I had the Captivate the i9100 ROMs were numerous and well supported, Having had mine for months I have become used to the processes. Not to mention Unlimited Data at $10 a month is pretty nice.

So Do I buy her a used i9100 on Ebay and officially upgrade to an iphone and sell it? The savings of $20 a month for ATT (dumb phone) UL data alone (as I am running on mine) will easily pay for the i9100. Or

just get the i777 (and at least Root it) knowing she could not care less about rooting and custom Roms and don't use over 100mb of Data a month anyway. Or maybe just get her an iphone and call it day....nah. The HTC Vivid looks good for a stock device as well.

The i9100 is a slam dunk for me (love the FM radio and developer support)
[AT&T Samsung Galaxy S II SGH-I777] brent8577:
you should not buy an iphone.
[AT&T Samsung Galaxy S II SGH-I777] PatriotXT92:
In terms of development, we are also able to use a majority of the i9100 ROMs thanks to the Hellraiser package made by Entropy. There are a lot of similarities between the two phones. Its really up to you.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Part of the reason you don't see that much apparent dev enthusiasm is because we don't need that much - Nearly anything that can be done has been done by the I9100 community, and it's VERY easy to bring most of that here. I've seen quite a few well known devs that own I777s and don't do development for it because there isn't a need - there are plenty of ROM choices that Just Plain Work.

Hell at this point, every custom kernel for I777 is running off of the I9100 source code base. (Well, when I actually release the build I'm testing now...)

The only thing where at any significant disadvantage is ICS - We can't start playing with it until kernel source drops for I9100 ICS. That said - I9100 ICS isn't really stable yet so we're not missing out on much.

Basically, it's FM Radio vs. NFC - While NFC is primarily a toy right now, eventually it has a lot of potential. A hell of a lot more potential than having your sanity destroyed by listening to Clear Channel's crap. FM Radio is in few phones these days because FM is dead - Clear Channel killed it. People don't want to listen to the same ten songs repeated every hour, with 50% commercials in between.
[AT&T Samsung Galaxy S II SGH-I777] Gutterball:
So true! I just use pandora which has like a 15 second commercial once in a while and its free and you get to create your own stations! I never understood the fuss over fm radio. I seen alot of people wanting that in the atrix forums too but why!? Fm radio never has anything good to listen to anyway! Plus as mentioned commercials and news breaks and all that BS they can keep it!
[AT&T Samsung Galaxy S II SGH-I777] Phalanx7621:
Hey gutter what up? When'd you join the sgs2 revolution ? Saw you over on atrix forums, i just recently switched myself.
[AT&T Samsung Galaxy S II SGH-I777] Gutterball:
LOL got 2 for a penny refurb with contract renewals! Got one for the daughter and one for myself! I Love this phone! I kept the atrix as a spare but I couldn't go back now! No way! :D Good to see ya Phalanx! Wonder who else will pop up around here now! What rom you running on this beast?
[Xperia Play Q&A, Help & Troubleshooting] Just Cause 2:
Is there any way to add some apps/games to pre-installed ?

If there is a way to do it please tell me how im a newbie and I might ask alot of questions.

Regards,

JC2
[Xperia Play Q&A, Help & Troubleshooting] romcio47:
Well basically pre-installed means "installed apps, (if paid or under the copyright such as google apps) still protected by the law but legally and originally dependend to the ROM provided by manufacturer/producer/network operator/developer and free to use for everyone who owns the device" which is mainly the phone.

So I think there is no reasonable way to add pre-installed games/apps, but only download/buy them and just install...

I don't really see the point of this question but I'll be happy if my post helps you.

Cheers!
[Xperia Play Q&A, Help & Troubleshooting] MilkyJoePD:
Put the apk in the system/app folder then install it.

That doesn't sound like what you're asking, but the closest I know you can do. Or you can use Titanium Backup to convert it to a system app.
[Xperia Play Q&A, Help & Troubleshooting] Just Cause 2:
How can I use titanium backup to convert it to a system app? :eek:
[Xperia Play Q&A, Help & Troubleshooting] MilkyJoePD:
In Titanium Backup long press the app and choose convert to system app. You need the paid for version though.
[Xperia Play Q&A, Help & Troubleshooting] Just Cause 2:
Thanks ¡!!!!¡

You solved my problem :D
[Asus  Eee Pad Transformer Prime] Orion66:
Guys i don't know how about you but after new OTA I have very serous problems with performance. While changing desktop screens i notice very big lags. a huge ones. it is no smooth anymore. also changing performance modes is less smoother. what is going on?
[Asus  Eee Pad Transformer Prime] tdrussell:
factory reset? :(
[Asus  Eee Pad Transformer Prime] Orion66:
Well i turned prime off and turned it on but this time without dock. Now it seems to be all ok. Strange...
[Asus  Eee Pad Transformer Prime] King John:
Any custom widgets or anything that'd make it screw up?
[Asus  Eee Pad Transformer Prime] Orion66:
i think it was some how connected with the dock.
[Asus  Eee Pad Transformer Prime] skeptikal:
I haven't had any issues as of yet after the ota. You might try the reset.

Edit:// sorry refreshed after I posted. Glad it seems okay now. Jealous u have a dock!
[Samsung Galaxy Nexus] carnagey:
I have to admit I have been a bit miffed at what Verizon has done with the Galaxy Nexus. I think it is a great phone but I think Verizon has stripped allot of what was special about being a nexus from the phone.

Apparently someone from Droid Life feels the same way. Here is their article on Verizon and the GNex

http://www.droid-life.com/2011/12/30/verizon-needs-google-opinion/

What are your thoughts?
[Samsung Galaxy Nexus] joshnichols189:
This person is also wrong.. they complain about google wallet not being included but it isn't included on the GSM nexus.. it isn't part of AOSP. Also.. the only differences between Verizon and GSM include two semi useful apps that you can remove, a battery cover without Google, and no free tethering. It's not even a big deal.. most of the comments on that article bash the author anyways because he doesn't appear to know anything.
[Samsung Galaxy Nexus] carnagey:
I still think the Galaxy Nexus is the best phone out there. It just seems like it is becoming less of what I thought a Nexus was. Maybe I had the wrong impression of what a Nexus was in the first place. I am no dev, I've just had the feeling it is headed in the wrong direction... slowly