|
hi
i need to show battery level on my C# windows-ce program
how i can do it ? without harm my program preforms ?
thanks in advance
|
|
|
|
|
I'm not sure how fast is, but this is one way (if you ask this?):
[DllImport("coredll")]
private static extern uint GetSystemPowerStatusEx(SYSTEM_POWER_STATUS lpSystemPowerStatus, bool fUpdate);
public class SYSTEM_POWER_STATUS
{
public byte ACLineStatus;
public byte BatteryFlag;
public byte BatteryLifePercent;
public byte Reserved1;
public uint BatteryLifeTime;
public uint BatteryFullLifeTime;
public byte Reserved2;
public byte BackupBatteryFlag;
public byte BackupBatteryLifePercent;
public byte Reserved3;
public uint BackupBatteryLifeTime;
public uint BackupBatteryFullLifeTime;
}
SYSTEM_POWER_STATUS status;
uint return = GetSystemPowerStatusEx(status, false);
|
|
|
|
|
|
Hello Everyone
I'm trying to create a small project in my laptop. Could someone please tell me once this application is up and running is there a possibility to access this application via bluetooth on to my mobile phone.
Please feel free to correct if my question is not at clear explonation...
Kind regards
Roni
|
|
|
|
|
Unless the application is a published web application the answer is no. And then no bluetooth required, just an internet connection.
Typically applications need to target a particular device platform(iPhone, Android, WP7). So unless your project targets one of those platforms it wont work. It's a lot like saying can I run my windows app on Apple or Linux.
"You get that on the big jobs."
|
|
|
|
|
Hey all,
I am trying to figure out something simple...maybe..
A very simple 2 xaml page app for windows phone.
Page1 has a button with default text.."button"..no biggie
OnHold event navigates to second page: this I have...that was easy.
Page 2 has a Listbox, with say 3 items..item1, item2 and item3.
Here's what I want to do.
I select an item, 1 or 2 or 3, and the items name is displayed in the button...updated text...so now the button says item1 , for example.
Also...the item selected, selects an object that resides ina folder in the solution.. Lets say I call this folder Resources..and in the folder are text files or png's or whatever..
How would I update the text in the button, that shows the selected item from a different page?
|
|
|
|
|
You could pass parameters between pages just like in HTML pages so as to update the button content. An example is mentioned here:
How To: Perform Page Navigation
Hope this answers your question.
Sandeep.
|
|
|
|
|
Hi all,
please can anybody help me to idenify the modem type in AT command.
i want to identify the modem is GSM or CDMA type.
thanks in advance.
|
|
|
|
|
See here[^].
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
use ATI for manufacturer info.
use AT&V(ATI3) for complete modem settings.
|
|
|
|
|
ATI return such type of response
Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
Model: EC156
Revision: TCPU_HWEC156DT01
ESN: +GSN:8027b7b7
+GCAP: +CIS707-A,CIS-856-A,+MS, +ES, +DS, +FCLASS
now how to idetify the modem on the basis of thiis.
thanks.
|
|
|
|
|
Happy New Year Learner
Actually I forgot that at command, but i used this command long back,,
please check with the below command?
AT+BAND?
AT!BAND
AR+BAND=?
|
|
|
|
|
these all are gives ERROR response.
|
|
|
|
|
check this 2 also
at+wbnd
at+cops
|
|
|
|
|
hi all,
can anyone help me to get the delivery report os sms in at command.
using both PDU and Text mode.
thanks.
|
|
|
|
|
AT+CSMP? use this command to set the delivery report status.
see this link[^]
Delivery report will receive automatically when the sms reaches to the party.
|
|
|
|
|
i chk out this link,but i dont understand how to receive delivery report in my application.
actually i am sending message using AT command from my PC so i want to receive delivery report on my PC.
is this possible,please help me.
thanks.
|
|
|
|
|
Normally Delivery reports are not AT command based responses,
they lands automatically when SMS received by the receiver.
Write a event handler on your receiver(RX) and watch for the delivery response.
Good Luck
|
|
|
|
|
thanks for info.
can u please help me to implement the recevier event handler,coz i have no idea of this.
please help me to do this.
thanks.
|
|
|
|
|
I wand to add a share app button in my app, which will create a SMS message with a link to my app.
I don't know what the link to my app will look like, nor how to generate it dynamically (if I could?)
Any tips on that?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
hi
what will be with windows-mobile and windows-ce ?
i see many new terminals from motorola...datalogic...and more for the business sector
that came with Windows-CE 6.0 and Windows-Mobile 6.5
but in Visual-Studio 2010 there isn't any support for this.
i don't see any business terminal that work with windows-phone-7.
is the windows-mobile and windows-ce is dead ? is this the time to start work with android ?
what microsoft plans to do ?
|
|
|
|
|
|
Hey all,
At work, I have to program for Windows Mobile Device. When I have done developing, I have to deploy to customer's site. The customer has about 18 devices.
When I were at the customer's site, I connected the device one by one. Each time I used my computer to connect to a new device (via cradle), there would be a message at the lower right of my computer. The message says something abuot Microsoft Windows Mobile Remote Adapter #1. Once I finished one, I just pull the device out of the cradle. I connected the next one and I get the same message, but the number kept increasing.
I have searched the registry and I find it at:
HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Enum \ USB \ VID_067E&PID_1003 \ 9946130-b56a-0801-0323-49666464afd6
I try to remove this key but say access denied. How to remove those keys (the key under USB \ VID_067E&PID_1003 \ ) ?
modified 16-Dec-11 13:40pm.
|
|
|
|
|
You should have something showing in the hidden icons part of your taskbar. Right click on each icon and select the Disconnect/Eject or similar option.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Don't! Adding, removing, editing or otherwise fiddling with registry keys can leave your PC unusable unless you are sure that you know what you are doing.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|