|
Have you come up with any good ideas?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Hi,
You can query the current battery details by using some Platform Invoke code to access a native system API called GetSystemPowerStatusEx2.
David Kline has a good example of how to do this via C# on his blog entry - "Is my device running on battery or AC?" available at http://blogs.msdn.com/davidklinems/archive/2005/02/10/370591.aspx[^]
With respect to the memory status. This would depend upon exactly which figure / memory statistic you want to obtain. Are you wanting to know the total RAM within your device, or the amount currently available to your application for example?
Hope this helps,
Christopher Fairbairn
Windows Mobile Development blog
http://www.christec.co.nz/blog/
|
|
|
|
|
Windows Mobile 6 Pro. Anybody know how to make skins for this?
Specifically I want to skin the phone dialer pad.
I can use C++ if neccesary but would prefer to do it in C#.
|
|
|
|
|
Have you come up with any good ideas?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
Any Good Iedas for a skin? Or a good idea of how?
|
|
|
|
|
Hi
I am new to mobile applications and working on my first ever sample application.
Development environement .Net 2005
Target Mobile : k-Jam with windows 5.0
My Problems are the following.
1. The application is single form, So when I resize the form in design time and install on my PPC it always cover the complete screen instead of orignal size which is given while designing.
2. There is one textbox on my form, When It get focus I need to show the screen keyboard so user can write any thing using touch screen instead of using qwerty keyboard.
Any idea's
Regards
Rizwan Bashir
<a href="http://www.alm-soft.com/">ALM Soft</a>[<a href="http://www.alm-soft.com/" target="_blank" title="New Window">^</a>]
|
|
|
|
|
Do you want to have a Form with the "normal" - size, or an form wich is like a popup window?
To show the softkeyboard you have to create an inputpanel on your form.
Microsoft.WindowsCE.Forms.InputPanel myInputPanel = new Microsoft.WindowsCE.Forms.InputPanel();
then on the gotFocus of the Textbox
myInputPanel.Enabled = true;
that´s it
Regards
|
|
|
|
|
Hi,
Rizwan Bashir wrote: I am new to mobile applications and working on my first ever sample application.
I have a couple of blog posts which might help with these issues.
Rizwan Bashir wrote: 1. The application is single form, So when I resize the form in design time and install on my PPC it always cover the complete screen instead of orignal size which is given while designing.
This is by design. The Windows Mobile design guidelines suggest all application windows are fullscreen. You will notice this is how all the built in applications behave. I wouldn't suggest breaking this convention.
However if you do want to give it a go, take a look at a blog posting of mine titled "Creating non full screen forms and custom MessageBoxes" http://www.christec.co.nz/blog/archives/134[^]. But the entire technique is rather fragile and not worth the effort in my opinion...
Rizwan Bashir wrote: 2. There is one textbox on my form, When It get focus I need to show the screen keyboard so user can write any thing using touch screen instead of using qwerty keyboard.
For this you should investigate the InputPanel control within the toolbox of the forms designer. A blog post of mine called "Manage soft input panel (SIP)" available at http://www.christec.co.nz/blog/archives/42[^] may be of help. Especially the section titled "Automatic SIP Popup".
Hope this helps,
Christopher Fairbairn
Windows Mobile Development blog
http://www.christec.co.nz/blog/
|
|
|
|
|
I have a Form with an maximized WindowState. When I open the Openfiledialog and select a File, wich i want to open in my program, the windowstate is no mor maxamized, but when i request the windostate from the system, it seems to be maxamized.
using (OpenFileDialog myOpenFileDialog = new OpenFileDialog())
{
myOpenFileDialog.InitialDirectory = "\\Storage Card\\";
myOpenFileDialog.Filter = "xml files (*.xml)|*.xml";
myOpenFileDialog.FilterIndex = 1;
DialogResult result = myOpenFileDialog.ShowDialog();
if (result == DialogResult.OK)
{
xmlPath = myOpenFileDialog.FileName;
if (activeProject != null)
activeProject.CreateAndOpenEmptyProject();
activeProject = TModelProject.getInstance();
//InitApplDate(xmlPath);
activeProject.open(xmlPath);
if (activeProject.xmlDoc == null)
{
MessageBox.Show("Error");
}
Cursor.Current = Cursors.WaitCursor;
VMain.SuspendLayout();
activeProject.Load();
activeProject.LoadAll();
vTreeView1.InitView(activeProject);
Cursor.Current = Cursors.Default;
}
}
Can anybody help me?
Thx
|
|
|
|
|
Hello,
i just found the mistake.
I suspend the mainfrom but i forgot to resume it.
If you use this.SuspendLayout(); folowwing you have to use ResumeLayout();
Regards
|
|
|
|
|
hi
how can i get the level of battery and memory in c# code ?
for pocket pc ?
thanks
|
|
|
|
|
|
What type of programs that i can make mobile software?
Thanks
Socheat
|
|
|
|
|
Socheat.Net wrote: What type of programs that i can make mobile software?
Sounds like you need to pick up a good book and read about this. But the short version of the answer to your question is that you can create most common / every day type .NET Applications on a mobile device as well (even database driven).
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
hiii 2all.......i m doingproject in asp.net and c#.
i want guidance from u people 2 build an eficient programm.
kindly help me in solving this problem.waiting 4 reply.....
|
|
|
|
|
Hi,
I am an experienced ASP.NET (C#) developer. But I am new to embedded programming using .net...Can anybody guide me where to find information about it?
Thanks,
ap.
|
|
|
|
|
As you can read at this link on MSDN, eVB is considered obsolete technology now:
http://msdn.microsoft.com/mobility/windowsmobile/downloads/evb.aspx[^]
I recommend that use a standard Mobile .NET Application instead, but if you are still set on using eVB, you can download and use it for free at the link above.
Pete
Pete Soheil
DigiOz Multimedia
http://www.digioz.com
|
|
|
|
|
Hi Pete,
Thanks for your reply.
Actually I am an ASP.NET(C#) developer. I want to shift to embedded programming using .NET(C#). Therefore, I am looking for any sample projects or any tutorial for the purpose. Any guidance will be appreciated.
Regards,
ap.
|
|
|
|
|
Dear All,
I am using windows mobile 6.0
I want to add some pictures in datagrid. I tried a lot but not able to add it in datagrid.
Even I am not able to edit datagrid cells during run time.
Its quite urgent for my project.
Plesae help me.
Thanks you a lot in advance.
Manoj Batra
|
|
|
|
|
|
Hi!
I'm developing webservice application for mobile device using windows mobile 6, webserver produces pages that contains gmaps.
The first problem that I discovered that Internet Explorer Mobile have trouble with AJAX, after searching net
I got even more confused since
according to MS IEM shouldn't have
any problem besides small ones..
But if you surf even to simple gmap application
I just get empty page the body script won't load.
I'm hopping you have some suggestion for work around.
Thank you in advance!
|
|
|
|
|
|
Hello everybody,
i m new native coder in windows mobile i m facing lot much problems in developent how i will seek information regarding with my queries??
any specific coding blog only for native coders
since i have quite seen that code project just contain coding by WTL,MFC, or through managed code(.net compact framework)what abt raw native coders
microsofts help is also not clearly distinguish between native coders & managed coders.
pls help native coders since its difficult to built application in native coding.
|
|
|
|
|
|
hi
I would like to know which mobile/embedded software is compatible with MS VC++ 6.0 version(eg:WinCE 3.0 etc).
thanx in advance
"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
|
|
|
|