yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] stephj:
I tried the above program on an emulated device connected to the net via its host PC's connection and it worked a treat.

To get through a proxy, you will need to add the following code.

Program.GetSystemTime((Now))
**************INSERT THIS ****************
Dim Proxy as new WebProxy("http://ProxyServer:80/",true)
proxy.Credentials = CredentialCache.DefaultCredentials
WebRequest.DefaultWebProxy = proxy
**************INSERT ENDS ****************
Dim ResponseStream As Stream = WebRequest.Create("http://www.timeapi.org/utc/now").GetResponse.GetResponseStream

Where the first parameter of the WebProxy constructor is the name of your proxy server, and the port it uses. Here at work, we can get away with just using our proxy server's internal network DNS name of "Internet:8080", to access the outside web through a Microsoft ISA Proxy/Firewall. Note in this case the proxy uses a different port number of 8080 as opposed to the default http port of 80. If yours is not 80 you will have to provide it. You may have to do some groundwork to track down the name of your proxy server, and the port it uses. I would start by looking at the proxy setup in Settings->Connections->'Set up my proxy server' for starters.

CredentialCache.DefaultCredentials, picks up your default login/credentials and passes them to the proxy server. If it works properly, you should go through it, seamlessly.

Good luck!
[Windows Mobile Development and Hacking General] wubbledoos:
Hi steph,

i tweaked this slightly and set up a webreference in my program, i then pull the time down from that in the format of "2011-12-12T09:43:14", it then splits it.

The problem i am having is that sometimes it seems to add an hour to the time.

Any ideas?
[Windows Mobile Development and Hacking General] stephj:
What time zone is your device operating under?

Start->Settings->[System]->Clock & Alarms->[Time]

What's the zone, and is it Home or Visiting? - I'll see if I can duplicate it.
[Windows Mobile Development and Hacking General] wubbledoos:
GMT London and is set as Home.

As a test I set the time on the device to: 01/06/1999 and time 01:00:00. When i run the program the first time i press my 'Update Time' button and it returns 12/12/11 and 12:53:04, so 1 hour ahead. If i press the button again I get the correct time.

I notice on your original post that the time returned had +00:00 on the end but you dont seem to use it when you break the string down, is this not required?

Thanks for the help, much appreciated
[Windows Mobile Development and Hacking General] stephj:
At least I can duplicate it, so that is a start. It only seems to throw the hour forward if the date has changed, which explains why the second call to it corrects the time.

If you just knock the time back a couple of hours, a single call of the program sets the correct time.

Interesting. I'll try and get to the bottom of it, might take a day or so, on and off.

Edit: Got it!

The 1st of June 1999 is in BST one hour in front of GMT/UTC. The first call changes the date and time using BST, leaving the time pushed forward one hour. The date is then set to today's date which is in GMT/UTC. The second call sets the time against the GMT Timezone which corrects the time.

Set the date time to 04:00 yesterday and it works fine.

I'll see if we can fix it a bit better. More later.........

Here's the cure: It's C#, I'll leave you to convert it to VB.

The secret is to set the time twice, but stall the thread for ten seconds inbetween. The device will sort itself out in the gap, as various time and date housekeeping tasks are triggered. The second SetTime(), will carry out the final fix of the time before the program finally ends.

This should also work in BST when changing from a GMT/UTC date, and should also work with all global time zones.

Add this:

using System.Threading;

SetSystemTime(ref Now);
Thread.Sleep(10000);
SetSystemTime(ref Now);
[Windows Mobile Development and Hacking General] wubbledoos:
that's great steph, thanks again.
[Windows Mobile Development and Hacking General] stephj:
There is a minor problem with the previous code:- If the minute happens to roll over in the 10 seconds while the process is asleep, then the change of minute will be lost.

Here's a better solution. Create a DateTime object in which to store the returned date and time from the WebRequest().

Use it to set the system date/time, and then advance it forward ten seconds.

Set the date/time with it again, after the ten second sleep() has elapsed.

Seems to work O.K. Post bug reports to this thread, if you find it doesn't.

using System;
using System.Net;
using System.Text;
using System.Threading;
using System.IO;
using System.Runtime.InteropServices;

namespace GetTime
{
class Program
{
[DllImport("coredll.dll")]
private extern static uint SetSystemTime(ref SYSTEMTIME lpSystemTime);

private struct SYSTEMTIME
{
public ushort wYear;
public ushort wMonth;
public ushort wDayOfWeek;
public ushort wDay;
public ushort wHour;
public ushort wMinute;
public ushort wSecond;
public ushort wMilliseconds;
}

static void Main(string[] args)
{
byte[] Buffer = new byte[25];
string DateString;
string[] DateItems = new string[8];
char[] Separators = new char[7] { '-', '-', 'T', ':', ':', '+', ':' };
SYSTEMTIME Now = new SYSTEMTIME();

Stream ResponseStream = WebRequest.Create("http://www.timeapi.org/utc/now").GetResponse().GetResponseStream();
ResponseStream.Read(Buffer, 0, 25);
ResponseStream.Close();

DateString = Encoding.UTF8.GetString(Buffer, 0, 25);
DateItems = DateString.Split(Separators);
DateTime SaveTime = new DateTime(Convert.ToInt32(DateItems[0]),Convert.ToInt32(DateItems[1]),Convert.ToInt32(DateItems[2]),Convert.ToInt32(DateItems[3]),Convert.ToInt32(DateItems[4]),Convert.ToInt32(DateItems[5]));

Now.wYear = Convert.ToUInt16(SaveTime.Year);
Now.wMonth = Convert.ToUInt16(SaveTime.Month);
Now.wDay = Convert.ToUInt16(SaveTime.Day);
Now.wHour = Convert.ToUInt16(SaveTime.Hour);
Now.wMinute = Convert.ToUInt16(SaveTime.Minute);
Now.wSecond = Convert.ToUInt16(SaveTime.Second);
Now.wMilliseconds = 0;

SetSystemTime(ref Now);
SaveTime.AddSeconds(10);
Thread.Sleep(10000);

Now.wYear = Convert.ToUInt16(SaveTime.Year);
Now.wMonth = Convert.ToUInt16(SaveTime.Month);
Now.wDay = Convert.ToUInt16(SaveTime.Day);
Now.wHour = Convert.ToUInt16(SaveTime.Hour);
Now.wMinute = Convert.ToUInt16(SaveTime.Minute);
Now.wSecond = Convert.ToUInt16(SaveTime.Second);
SetSystemTime(ref Now);
}
}
}

C# .NET CF 2.0 WinMo 5.0 onwards executable is included in the zip file.

It is a console application, so don't expect anything much to happen until the 'hourglass' disappears.

If the first SetSystemTime() ends up changing the date across a Daylight Saving Boundary date, then, during the sleep() period, the device's housekeeping date/time/alarm services will probably retrigger any outstanding task and event reminders for 'today'.

P.S. GetSystemTime() can be dropped it is not required.
[Windows Mobile Development and Hacking General] wubbledoos:
works like a charm steph, nice one. thanks.
[Windows Mobile Development and Hacking General] prabhat:
@stephj, Thanks for the updated code :).

Cheers!!!
[Windows Mobile Development and Hacking General] wubbledoos:
Seem to be having a problem with this since UK has put the clocks forward an hour, every time I update using this code my device is adding an hour to the time.

The device is an M3 Mobile.
[Windows Mobile Development and Hacking General] stephj:
What are the settings on the Start-> Settings->Clock and Alarms->Time[Tab]

It should still have the Home radio button active and the time zone set to GMT London, Dublin. The mobile device should take care of daylight saving itself.

Is your M3 running WinMo 6.1 or 6.5? But I can't see it making much difference.

Works OK on a stock 6.1 Kaiser (Vodafone v1615)

Update: Also seems to work OK on the WM 6.5.3 Professional emulator.
[Windows Mobile Development and Hacking General] marcsayer:
Well on my Kaisers (running either wm 6.1 or 6.5) I use SKTsync to sync my device clock to one of the NIST or SNTP servers. It's freeware and it does it all for you, all you do is run the app. It's soooo simple. I also run an app called CT Scheduler lite. I use it to automatically run SKTsync every night.
[Desire Q&A, Help & Troubleshooting] mitz101:
Hey Everyone, i updated my ROM to MildWild V-1.7 oxygen based and now i have not got access to my SD card at all, even worse i cannot make and receive calls! my signal bar is 0 all the time. I tried searching for the USB brick solution which i think may fix it:S but everytime i plug my usb cable into the phone and try to use adb windows cannot find the driver, which before used to work perfectly. If anyone has any idea of what to do and can help me out please help!

Thanks
[Desire Q&A, Help & Troubleshooting] mitz101:
Solved it! fastboot.exe didnt come with android sdk so had to google search it and download it and then mounted back the sd card using adb:D reinstalled the back up i made before updating and now everything is back to normal! i think it bricked as i updated the rom while my charge cable was in the phone:S
[Samsung Galaxy Nexus] mcL1988:
Hey guys,

yesterday i got my phone :) well, i used HTC_IME keyboard for nearly two years on my X10 before and i wanted to use it again...i installed it and there was a problem. i took the high resolution-keyboard, but it still is too small for the phones resolution, so the keyboard is very small in the left corner :(

does anyone have an idea, how to solve the problem?

or are there any information about something like HTC_IME_HD ? :)
[Samsung Galaxy Nexus] mysterioustko:
Maybe try the keyboard for the Rezound. Since it too has a 720p screen it may work for you.
[Samsung Galaxy Nexus] mcL1988:
hm, i can't find a download-possibility...wether on xda, nor on google...do you know sth? :)
[Samsung Galaxy Nexus] thegrau:
You can buy Smart Keyboard Pro on the Market. With the right settings itcan mimic the HTC IME perfectly, has a skin with HTC look and can do evem more with a wide variety of settings. I use to miss HTC IME when I switched to the Nexus One 2 years ago, but this keyboard hasn't left me since...
[Samsung Galaxy Nexus] mcL1988:
The style doesn't really care, i need a T9-Board with German-Dictionary and...T9^^. Push one button for one letter

*edit* bought it, happy with it :) thanks
[Samsung Galaxy Nexus] player911:
Thumb Keyboard, Smart Keyboard, and SwiftKey X all support the higher resolutions.

I use Thumb Keyboard on my Asus Transformer. I understand the HTC_IME is unique. Perhaps try the Rezound forums and see if anyone will post it.
[Samsung Galaxy Nexus] rashad1:
That was my keyboard of choice, up until the ICS keyboard. Its more accurate than ever, keeps up with my keystrokes and had the best auto correct/ word prediction
[Samsung Galaxy Nexus] AMoosa:
+1

I've been using it since HTC_IME got buggy on my SGS2. Well worth the money.
[Samsung Galaxy Nexus] kolyan:
I bought Smart KB Pro and still using HTC-IME (not on Nexus) because its better in prediction. You cant just use KB from another Sense device, it needs to be ported
[Xperia Play Q&A, Help & Troubleshooting] redtemo:
this morning i couldnt unlock phone.touchscreen has no response

so decided to reset using control buttons

touchscreen didnt work either

removed sd card and sim to reset didnt work too

used pc companion repair phone to update firmware-Tried...dont work

used update service too..nope :(

help!!
[Galaxy Tab  Android Development] jmz:
This rom is the complete work of sbrissen. I only ported it to Tab using jt1134's script. So many many thanks to both of these great developers.

Ported from the fascinate rom.

Just flash in CWM Recovery

For all the details of this rom and screenshots please visit the original thread here

Issues

-------------------

-The kernel will replace your cwr. For now at least

-After setting the lockscreen you will need to reboot for it to be sized right.

-Cannot receive SMS

-Charges but animation does not show.

Working

-------------------

-3G

-Wifi

-Bluetooth

-And anything else not listed above

Download
[Desire Q&A, Help & Troubleshooting] shwouchk:
Hello,

For the past few months, I've had an annoying black blob on all of the photos taken with the camera. Example: 51ebk4 at twitgoo (not allowed to post links yet)

First question: I tried removing the cover and also gently cleaning the ccd, and yet nothing helped. Is there a chance to fix it by some software methods?

Second question: A couple of days ago I went to the place where I bought my phone to have it fixed, because I thought it was under warranty. Then I found out that the phone was bought not in March as I thought, but in early November. The shopkeeper claimed that since the warranty expired, he cannot fix it for free (although in either case it would have cost him money, since I have no official HTC representation here). I feel that since the problem existed for at least several months, and have proof in the form of dated photos uploaded to various places, I should get the repair for free. What do you think? Am I being unreasonable? If not, what is the best course of action? To send it to HTC perhaps? or will they shrug me off as well?

Thanks!
[Desire Q&A, Help & Troubleshooting] stankyou:
Try to use some other camera app on the market to see if the problem persists. Now if it does and you are rooted, try to use a different ROM to see if it's the ROM giving you those camera issues.

If you are not rooted and everything is stock then I guess you really have a problem with the phone.
[Desire Q&A, Help & Troubleshooting] shwouchk:
This happens in all camera applications and with all ROMs
[Xperia Play Q&A, Help & Troubleshooting] hurricane128:
i recently rooted my Xperia Play R800i to install cyanogenmod 7.1 but when i installed it, it no longer detected my SIM Card.....or any service or signal for that matter so i restored it back to Android 2.3.2 which can now detect my SIM card and everything but the Wifi no longer works and when i try to turn it on it keeps saying error

is there any advice on how to fix it? i will greatly appreciate any help
[Xperia Play Q&A, Help & Troubleshooting] 007shark:
Have you tried using flashtool? I would try that with the appropriate ftf file for your phone.
[Xperia Play Q&A, Help & Troubleshooting] fma965:
I believe Your using wrong modules for your ROM or kernel

Swyped from my Xperia Play via Tapatalk
[Xperia Play Q&A, Help & Troubleshooting] AndroHero:
Did you flash the stock kernel.sin? Wifi won't work because your still using the CM kernel.
[Samsung Galaxy Nexus] djcr33p:
My new Nexus and it's charger have had a falling out:

My charger won't charge my phone, but charges other people's phones. And other people's chargers charge my phone!!?

What's really weird is that my charger charges my phone when it's switched off but I've done a data wipe and it still won't work once the phone is powered on, so my question is:

What the motherf*ck?

Anyone seen this before?

I rooted, clockworked and installed paul obrien's customised ROM with the volume fix and extra menu and search buttons. And my phone was fine. I've got other chargers knocking around, although they're not the same. Should I be worried?
[Samsung Galaxy Nexus] djcr33p:
b b b bump?
[Samsung Galaxy Nexus] mskip:
Please dont bump threads especially after such a short time its considered spam and can end up with the thread being closed.

What charger are you using to try and charge your Nexus? Mains or usb? I only got a usb cable in my box and they are pretty much just standard micro usb cables. You should also be able to use any 5V mains to usb converter which you plug the usb cable into to charge your device so as long as you can find some combination that works then I wouldnt worry too much about it.

However if you are concerned then send the phone back for a replacement while you are able to.

Mark.
[Samsung Galaxy Nexus] hotleadsingerguy:
You'd think the first place you'd go to would be Google or Samsung. Why wouldn't you give them a call first?
[Samsung Galaxy Nexus] zevrosenthal:
I have found that some of the lower power (1 amp or less) chargers are having trouble with the larger phones with bigger batteries. Interestingly, my old SGS2 desktop cradle/charger wouldn't charge the SGN (which fits into the charger - sticks out a bit but the phone sits on the mini-USB fine) with the charger that came with the desktop cradle. I replaced it with the higher powered (10W?) usb charger that came with my ipad2 and, lo & behold, the phone will charge.

Not sure if this helps or not but I've discovered that not all chargers are created equal.
[Samsung Galaxy Nexus] player911:
Yea, some of the higher powered phones/tablets won't charge over the lower power chargers... hence why tablets won't charge over a PC-USB connection.

Sounds like the charger is faulty... unless nothing charges the phone.
[Samsung Galaxy Nexus] djcr33p:
Thanks for that stellar advice, and if the issue hadn't followed rooting and rom-ing my phone and hence invalidating my warranty, and not occurring prior to the fact, then maybe I would've. And just for the record, have you ever called Google regarding an issue with your phone?

EZ
[Samsung Galaxy Nexus] djcr33p:
Sorry, if I wasn't clear (and for spamming the forum?) but I got a UK SGN via phones4u on o2 and I received in the box a USB cable and an AC wall charger with a USB socket on it.

I don't think you guys are getting how weird this is:

If I connect my Nexus to a PC with the USB cable that came with it, it doesn't charge.

If I connect the USB to the supplied AC wall adapter and plug it into my phone it doesn't charge.

If I connect anyone else's smartphone phone to my Nexus charger, be it just USB cable or with AC it charges.

And if I connect anyone else's USB cable and/or charger to my phone it charges!?

My phone will charge from the supplied kit only when it is powered off, hence a software issue and not a hardware issue which is why I didn't call Samsung.

I've done a factory reset, I've restored to backups made prior to the issue occurring. I haven't admittedly done the full unroot and stock restore as yet and would rather not. I just wondered if anyone else here had experienced weirdness with the supplied charger?

Many thanks guys, sorry for the sarcasm earlier, it's just that I'm not lazy, I read and read up on things before posting questions. And I've posted very few questions on XDA since I registered here after buying my Milestone. I'm only posting in the general discussion thread so didn't think it'd be a big deal if I bumped this. The reason I did is I only have a limited time before I no longer qualify for a hardware replacement from the supplier if I claim it faulty. (which I kinda don't think it is)

EZ
[Samsung Galaxy Nexus] karatewilliam:
Bumping this thread since I'm having almost the exact same problem and found this thread after searching. How did you solve it?

My situation is like this:

If I connect my Nexus to a PC with the USB cable that came with it, it does charge.

If I connect the USB to the supplied AC wall adapter and plug it into my phone it doesn't charge.

If I connect anyone else's smartphone phone to my Nexus charger, be it just USB cable or with AC it charges.

And if I connect anyone else's USB cable and/or charger to my phone it charges!?

My phone will not charge from the supplied kit when it is powered off.

Feels very wierd, the other two chargers I have tried were a 700mA ZTE Blade charger and a 2A Asus Transformer charger, both are charging my Nexus perfectly fine.
[AT&T Samsung Galaxy S II SGH-I777] bassahaulic:
Ever since my Captivate I've been using my phone to shoot video quite a bit.

When I flashed CM7 onto the Cappy when I would record video it would jump around, backwards, and just mess up entirely. I couldn't see it happen when I was recording. Only on playback. So I flashed stock 2.2 and left it.

I now have the SGSII, so again I try CM7. The camera is performing MUCH better. But still has a slight jump every now and then.

Is this normal?

Also, how would I go about installing a different camera app? I tried a few different ways. Adb and Root explorer to install a "modded camera" to no success. What am I doing wrong?

Sorry if this is in the wrong section. Seemed to be the proper place as it has to do with CM7 and its development.
[AT&T Samsung Galaxy S II SGH-I777] Nick281051:
No this has nothing to do with development.
[AT&T Samsung Galaxy S II SGH-I777] EnemyOfGlaDOS:
Yikes! I must be up before the mods :D .. wrong section dude- try Q&A!
[AT&T Samsung Galaxy S II SGH-I777] Divine_Madcat:
Hey now, some of us sleep for a living you know. ;)
[AT&T Samsung Galaxy S II SGH-I777] EnemyOfGlaDOS:
I was surprised to see the thread still open, but forgot you guys had magic powers and can move 'em to different sections! :p
[AT&T Samsung Galaxy S II SGH-I777] bassahaulic:
And no useful answers. :(

Sigh.
[Desire HD Q&A, Help & Troubleshooting] user31085:
Hello,

i have a question about my desire hd. i can install only apk files and zip files are not install.

with the runny rom i can zip apps, but with revolution 6.2.0 i can only install apk apps.

but why? why i can`t install zip apps?
[Desire HD Q&A, Help & Troubleshooting] jegavelan:
Hi

Can install from recovery mode
[Desire HD Q&A, Help & Troubleshooting] xl3nt:
Reboot into recovery and select install zip from sd find the zip in question and flash it
[Desire HD Q&A, Help & Troubleshooting] user31085:
It's not a recovery file - i think. i want to download a app in the market but the app is not in order with the original roms and with the revoltion 6.2.0.

unter system/apps/ there are zip files and these zip files are my app what i need. but i think apps are apk only.

it may be some apps in the market are zip?
[Desire HD Q&A, Help & Troubleshooting] user31085:
Here are the two apps, which are as zip.

i have no idea. this two apps work only with the runny 4.0 rom and with revolution 6.2.0 they do not work with this rom. i think it doesn't work because that are zip files.

does anyone have an idea?
[Desire HD Q&A, Help & Troubleshooting] radixon:
Not too sure here, but look in /data/app-private

I think you might find the apk in there :)

My banking app does this and I just pulled the apk from there and just install from that afterwards.

ppA ADX gnisu DH eriseD CTH ym morf tneS
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] cameltoegeo:
want to hear from others that were wronged by amazon wireless.... After doing my research on what phone I wanted, I took advantage of the deal going on @Amazon wireless on Thanksgiving, where you got the skyrocket for a penny--- went thru the steps---approved thru AT&T--showed IN STOCK ordered it.... Supposed to ship within one week (2 day free shipping...yeah right) So the next day I return to the site to gain more info---now I see the skyrocket is "not available" backorder... Thought , good thing I bought yesterday (said IN STOCK when I cashed out) so I check my order and find that ship date is JAN. 9 ! :mad: Ordered on Nov 24th, I called in and found that they threw me in the backorder pool...That is BS I told them , because it said IN STOCK when I purchased... Had this info been laid in front of me @ time of purchase I may have done something diff. Even now if you go to the site, it will show "backordered, ships in 1 - 2 weeks--really? And my order from Nov 24th goes all the way to Jan 9th? So, looking for others wronged by Amazon..... . I also checked with both at&t and Samsung. ...no shortage of skyrockets........... Thanks for listening
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] cdshepherd:
Sorry about your bad luck my friend. Mine showed up from Amazon two days after I ordered it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] draztikrhymez:
I ordered on the 21st and didn't get it until the 28th because Amazon shipped too late in the day for ups to send it on time in 2 days.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Renatog:
I also ordered on Monday 11/21 and got mine Wed. 11/23...sorry for your bad luck. But you still got it for $.01 right? I've checked prices and they're now at $189 or something.