More sample code programs for Xperia - Windows Mobile Development and Hacking General

Hi
I'm looking for more sample code examples to write a native app in c++ for Xperia. The tutorial with the SDK isn't sufficient.
Any help is appreciated
Thanks

chz013 said:
Hi
I'm looking for more sample code examples to write a native app in c++ for Xperia. The tutorial with the SDK isn't sufficient.
Any help is appreciated
Thanks
Click to expand...
Click to collapse
Use "Search this forum" and look for "open source", it should give you something to start with

Xperia - Bottom menu with HelloWorldPanel example question
Hi
I tried modifying the HelloWorldPanel example that comes with the SDK.
I still have trouble trying to show the custom bottom menus of the Xperia screen.
Could someone share the code snippets on how to get this to work ?
I like to have 2 menu on the left and on the right, and one menu has items to pick from the list when clicked.
Many thanks!

Related

SMS Fun Tool

Hi everybody. When I write SMS with my girlfriend I sometimes mess with the text. For example I write the text down on a paper and writh it backwards like:
Hi sweetheart. I just wanted to say that I stay here one more day. I love you --->
ouy evol I. yad erom eno ereh yats I taht yas ot detnaw tsuj I. traehteews ih.
So that she has to read it from the end.
Unfortunatly I am not a programmer. Could anybody write a tool that can mirro an sms text please. Then it would be easier. No need of paper anylonger.
And if anybody else has more funny ideas it could end up in a fun sms tool.
Thanks alot.
Greets Alex
oh yeah great fun. I suggest you ask your girlfriend to look at the phone facing a mirror and read the text from the mirror image. Just joking no offince There are serious issues which need to be resolved with XDA2 SMS before we can make fun out of it.
Kufi, have you really thinked on what you said ? did you try the mirror ? was the same effect ?
Alex, if i have some time, i'll write a simple app to do it in the next days and post it here
regards
Hey Hbatista! Sounds great!
Thank you very much!
@ kufi if you turn your display off you get a mirror
Alex
loooool guys, you are wonderful! I tried the mirror but what I saw was the ugly me..
here's your tool with source code
Glad that good humour still persists!
Here's your app. I'm including source code and a ARM cab to do the installation. You should copy the cab and dat file to your device and proceed to installation.
Hope it helps
regards!
talking about good humor..
I included in the about box a small credit to Kuffi!
Hi hbatista! Thank you very much for your cool tool.
A copy function would be cool though. Because then I could copy any text into a sms or mms using the normal tools which also stire the send messages.
And... Nice Mirror Pic Man!!
Thanks.
Alex
right away!
no problem!
here's the new version with a copy/paste menu!
Thanks Man.
Really nice one.
Alex
Now I get an error:
MirrorSms.exe
MissingMethodException
Application::Run+0xf
frmSendMirrorSms:Main+0xa
Is anything else exept the files you attached needed to run it properly?
Alex
sorry!
yep.. I only tested it on emulator, and I don't know why the opennetcf is not being correctly installed...
this new version is working...
Now another funny thing. Does anybody remeber these secred languages form childhood? We were about 5 children and we had such a language training it for weeks. At the end we were really fluent and nobody could understand us. My sister and I still use this language for fun every now and then.
Now we could transfair this to SMS.
For example: Iluvi aluvam coluvomiluving laluvateluver.
which means: I a m co mi ng la te r
I am coming later.
The rule is: After each vowel you put luv and then repeat the vowel if there are more vowels in a row like ea you take all of them and put luv there like ealuvea.
Do you like my suggestion?
Any other ideas?
Alex
lol
well, and what about random ? :lol:
the source code is there, so any other posters can change it. now i have to come back to my vehicle tracking system
Thanks anyway.
Very nice tool
Greets
Alex
phonenumber?
Do you need to type the phone number in by hand? I don't know any phonenumber nowadays ...
Copy/paste doesn't seem to work in that field
phonenumber?
Do you need to type the phone number in by hand? I don't know any phonenumber nowadays ...
Copy/paste doesn't seem to work in that field
contacts integration only available at commercial release
(read this post title) :lol:
I'm just kidding.
Well, integration with contacts will be a little more difficult. There is no library to do it in the language i used.
Even the clipboard integration was more difficult than sending the sms (can u imagine ?), because compact framework does not support CE clipboard.
I'm not fluent in eC++, but maybe other posters can do it...
Although, if i have some time i will do it...
regards
Hello hbatista,
I'm trying to find a simple programming language to program small nice functions for my Qtec. can you suggest an affordable language ?
thanks
See OpenNetCF
Hi Abalgir
Right now, the best choice would be eC++ (embedded visual c), but for someone initiating, it could be complicated. You can also choose embedded visual basic (eVB).
Although, Microsoft operating systems are migrating to "Managed code" and .net technologies. This means that you should start thinking on using .net to program the devices. In .net you can choose your favorite language, like c# or vb.net, but i prefer c#.
With .net compact framework, you can do a lot of things, but some core fiunctionalities are still not available, but you can use something like OpenNetCF (see www.opennetcf.org) to do core things like sendsms, etc
hope it helps
All the tools you need to develop for windows mobile
I received some private messages with more questions about how to develop for qtek
Here's a link that better explains what i said earlier and gives more details about everything you need to develop for windows mobile:
http://msdn.microsoft.com/mobility/...ry/en-us/dnppcgen/html/devtoolsmobileapps.asp
Emulators are included in PocketPC 2003 sdks
regards

coding help

i have searched the internet for tutorials or anything that would help and could not find much at all so i figured what better place to ask than here...
i have a little experience in VB and would like to start doing some applications for my PPC. i have done a few small math programs that do simple conversions...as simple as taking input from an input box hitting a button and displaying the output in a label. i would like to learn how to manipulate files, do such things as creating a launcher and doing input functions like the moving of an image like in slide to unlock or scrolling with finger etc. so if anyone could point me in the right direction that would be great whether it be a tutorial or source code or what ever.
thanks in advance and thanks to all the people that provide awesome software and help on this forum...maybe one day i can share something i make
Google is your friend:
http://msdn2.microsoft.com/en-us/library/ms838273.aspx

coding plugins

I'm getting bored, so I've been looking into programming in c/c++, which I know can be compiled to run on PPC. So I was wondering, what language is used for today plugins (c++?) and how do you make it actually WORK as a today screen plugin, rather than just a program? Tutorials?
P.S. Sorry, I just realized that this is in the wrong section, maybe a mod can move it?
As far as I know, C++ is the only way to code a today plugin. I've never tried to write one my self, so I can't give you any links to tutorials, however a quick search should find one.
I believe there is an article on MSDN about this, and you might also have success looking around the forum as some nice people here post the source code as well as the files.
http://forum.xda-developers.com/showthread.php?t=237932
http://forum.xda-developers.com/showthread.php?t=249665&highlight=today
eightball200 said:
I'm getting bored, so I've been looking into programming in c/c++, which I know can be compiled to run on PPC. So I was wondering, what language is used for today plugins (c++?) and how do you make it actually WORK as a today screen plugin, rather than just a program? Tutorials?
P.S. Sorry, I just realized that this is in the wrong section, maybe a mod can move it?
Click to expand...
Click to collapse
C++ is the way to go- but there is also a C++ plugin that can load managed C# code... But I've never tried it..

How to write diamond programs

Hi guys I would like to have a go at writing programs for my MDA but it’s been quite a while since I last did some programming so need some advice on what language to use and what programs I need to write and compile the code. Any advice would be great.
Thanks
Tim
hawkeyetim said:
Hi guys I would like to have a go at writing programs for my MDA but it’s been quite a while since I last did some programming so need some advice on what language to use and what programs I need to write and compile the code. Any advice would be great.
Thanks
Tim
Click to expand...
Click to collapse
First advice is that you should use the search function!
I did one search for programming in here (Themes, Applications and Software) and got this
http://forum.xda-developers.com/showthread.php?t=434147&highlight=programming
http://forum.xda-developers.com/showthread.php?t=425752&highlight=programming
also, try looking in 'Development and Hacking'
http://forum.xda-developers.com/forumdisplay.php?f=260
good luck with the development... hope to see some nice apps from u soon

How does one write Applications for TF3D?

Hi All,
I was wondering, and I have read already a lot on this forum, about how actually to write applications for TF3D.
I know anbout the M9Editor and the CTC Image editor, but those do not give me the knowledge I need to create an app like Calendar 0.75.
Is this knowledge available somewhere?
and maybe a sample app like "Hello World" to explore the way of working?
thanks and regards,
Gordon

Categories

Resources