as the title said, i was wondering if we can programme the xda2 to
process an sms command that is sent from other mobile phone users,
for example, we send a sms message to the xda2 and command the xda2 to take pictures using the camera then send back the pictures to the mobile phone user via mms
thx
ys it can, but you need to understand hot to send command to camera application. Windows is basically based on modules. API is available on everywhere, you just need to use it.
prd00 said:
API is available on everywhere, you just need to use it.
Click to expand...
Click to collapse
Camera API is unavailable.
hmmm... so we cant send command for the camera application since
camera API is unavailable?
or is there another way to do it?
i jus need to know how to make the xda2 to be able to process the sms command that it received and use it for applications,such as the camera that is =]
shinichi21 said:
hmmm... so we cant send command for the camera application since camera API is unavailable?
Click to expand...
Click to collapse
You can run camera application and simulate keypressed programally to take shots. Or you can reverse engeneer its API.
i jus need to know how to make the xda2 to be able to process the sms command that it received and use it for applications
Click to expand...
Click to collapse
Read the MSDN. API for receiving SMS messages is described there. Search for "SmsOpen" function or read this - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k2/html/sms_apps2.asp
mamaich said:
prd00 said:
API is available on everywhere, you just need to use it.
Click to expand...
Click to collapse
Camera API is unavailable.
Click to expand...
Click to collapse
I downloaded a .NET API wrapper with source code and sample from opennetcf.org. Its for the .NET Compact Framework, written in C#.
Haven't had time to try it yet.
GeirFrimann said:
I downloaded a .NET API wrapper with source code and sample from opennetcf.org.
Click to expand...
Click to collapse
This cannot be called "API". The library just executes the built-in camera application and makes screenshots with it.
mamaich said:
GeirFrimann said:
I downloaded a .NET API wrapper with source code and sample from opennetcf.org.
Click to expand...
Click to collapse
This cannot be called "API". The library just executes the built-in camera application and makes screenshots with it.
Click to expand...
Click to collapse
No, as I mentioned it's a wrapper for tha API, and a example of how to use it is provided. I haven't had time to try it, but will post a review as soon as I'we tried it!
so how to programme xda2 for applicaton to be exact, since im quite new to xda2.
what programming language need to use?
and we do it in pc or at the xda2 it self?
do we need any 'development kit' to do the programming?my supervisor said without development kit we cant programme the xda2
:roll: thx
shinichi21 said:
so how to programme xda2 for applicaton to be exact, since im quite new to xda2.
what programming language need to use?
and we do it in pc or at the xda2 it self?
do we need any 'development kit' to do the programming?my supervisor said without development kit we cant programme the xda2
:roll: thx
Click to expand...
Click to collapse
You'll need MS Visual .NET 2003 (VB.NET or C#). The source code for this wrapper is C#, and samples in bot VB.NET and C#.
Sample compiled exe
Does anyone have a compiled exe of the sample provided in the HTCCameraAPI.zip .
Kind Regards
Clive
I would like to know if someone can give some help in how to run a camera application and simulate keypressed programally to take shots.
Or if my PDA (Qtek 2020) is compatible with HTCCameraAPI or if there is a more suitable API.
Thanks
ask JGUI :wink:
an example app for magican http://www.jgui.net/invisibleshooter/
Related
I've build a version of crypto phone for PocketPC 2003. ( unsing the sources from www.cryptophone.de ),
with some workarrounds for license test.
I don't have two phone to test it yet. If anyone can test it please send feedback.
As i see it use data call as link layer so your provider must suport it.
PS: Who's testing it , please send feedback.
I've tested in my Qtek 2020, (XDA II, MDA II…).
Is it working? I was able to compile it too, but it died on exchanging keys.
mamaich said:
Is it working? I was able to compile it too, but it died on exchanging keys.
Click to expand...
Click to collapse
Don't work. :-(
I have programmed 2 xda 1 with wm2003 and the crypto, it works perfectly. The only bug is the "file" bar vanishes after a call is placed or received, other than that its great. 8)
Can you post what you changed in the source file in order we could reply your compiled code?
The idea is simple, if we can have access to the original source code and can do the changes you documented, generating the same code as you, with the same hash value for the encrypted code, we can assure that your code have the same security of cryptophone.
dumb ?
what is cryptophone?
Hi,
i am very interested in this (or a similar) software for
the Wallaby or Himalaya platform.
Anyone here who has a working & easy too install binary?
(Or are there any real free & opensource applications like cryptophone?).
kind regards,
Ben
Has anyone managed to get cryptophone working on the XDA ??
... or find a similar program ??
Regards
There are several similar commercial projects. Just wait some time for their announcements.
mamaich said:
There are several similar commercial projects. Just wait some time for their announcements.
Click to expand...
Click to collapse
Hi mamaich,
thnx for that prompt reply
I know about cryptophone.de, raseac.com.br & caspertech.com
Are there any others I have missed ??
Regards
John
2-3 russian companies are also working on similar projects. I don't know their sites.
cryptophone Somebody to compiled? for motorola smartphone mpx220 :?
one more company.
http://www.securegsm.com
and question - where is source download page on http://www.cryptophone.de ?
in general "cryptophone" application isn't difficult
- good vocoder
- some crypto
- good realtime data transfer - CSD for GSM network
- some audio components like AEC
could some one point me to good ARM implementation of vocoder with 2.4-4.8kbitps bitrate? ARM9(v5) PXAxxx ~100MIPS.
Free is preferable, but reasonable commertial offers are welcome too.
just a question,
isn`t it possible with the sourcecode of this software and the sdk for windows mobile 2003 smartphones to make a installer?
is very interesting, or?
is there any other software for ppc or smartphone avalable?
a free wm5 client for this should be awesome! coders go compile now!
is the encryption limited to "only" this version of application ?
- or is there some sort of standard ?
ryhor said:
one more company.
http://www.securegsm.com
and question - where is source download page on http://www.cryptophone.de ?
in general "cryptophone" application isn't difficult
- good vocoder
- some crypto
- good realtime data transfer - CSD for GSM network
- some audio components like AEC
could some one point me to good ARM implementation of vocoder with 2.4-4.8kbitps bitrate? ARM9(v5) PXAxxx ~100MIPS.
Free is preferable, but reasonable commertial offers are welcome too.
Click to expand...
Click to collapse
here
http://www.cryptophone.de/support/downloads/downloads.html
Lord Ashmedai said:
I've tested in my Qtek 2020, (XDA II, MDA II…).
Click to expand...
Click to collapse
Hi, did you manage to get it to work?
I tried on my O2 xda... it hung on the key exchange part...
It concerns me that this program starts two processs, spcore.exe and ui2003.exe. I have not looked over the code, but can you tell me why it must use two. Furthermore once they are going there is no way to stop the spcore.exe. My guess is that if that process contains the thread that is waiting for tapi events, its stopping mechanism has not been implemented properly. If you want to make a thread that is waiting for the event for line state then when the user wants to stop the thread/process, the event interest needs to be reset. eg SetCommMask(hSerialHandle,0); ,but it must be done from the ui thread not the waiting thread because obviously the waiting thread cant do anything. Once it is set to 0 (as apposed to EV_RXCHAR for example) the waiting thread will finish waiting imeadiately.
I tried sending a message to destroy the window with no effect, I then tried using terminatethread to stop it but that did not work so it must be in an api call (such as waiting).
On my mini it starts up ok, and dose not interfear with the phone. I could not test the functionality because the only other phone I had with me was my xda and it dose not install corectly on that. No error messages on intalation but the icon in the program files is not shown properly and it fails when I try to start it.
hi
any one know how to code my own Today Screen Plugin?
i m a programmer.
i want to create my own usefull Today Screen Plugin like Clock.
short cuts. and timer..
i can only develop application for O2, but i dont know how to make
Today Screen
Hi tinkyawoo!
I assume you program in c++?
Today plug-in is basically a DLL that exports two functions with fixed ordinals.
InitCustomItem - the important one, and another (don't remember the name) for options dialog (if you want one).
There is an article on this at www.pocketpcdn.com.
You can also use my code published here for reference:
http://forum.xda-developers.com/viewtopic.php?t=45084
Good luck!
thanks. i will check it
tinkyawoo: if you're a programmer, I suggest checking out the SDK; it has a good example framework for a plugin, although watch out for the repainting bug in the sample.
Otherwise, read levenum's source code as well. It's excellent. You can learn a lot.
V
Would it not be possible....
Would it not be possible to write a small dll which can be controlled from VB.NET or C#.net to display certain things?
If this was released (under BSD or another permissive licence) then we could all use it to develop stuff, which would help those of us who's first language is Basic
Today Plugin
Unfortunately you can't write today screen DLLs in .Net.
There is a lot of info on the microsoft web site - if u care to search.
They do - however - give you a means of writing a EVC DLL that calls a .net application for the today screen info , but I haven't tried it.
Charlie Grillo
Re: Would it not be possible....
What do you mean by "controlled from". Do you want a .NET app to be able to effect the plug in somehow? If so, it is possible...since .NET is managed code and the plug-in is a native dll, the simplest way to have the two communicate is via windows messages.
You can do the following:
-Register a custom Message that your .NET app will broadcast to your plug-in(s)
-in your DLL WndProc procedure, listen for that message and act accordingly
Alternatively, you can have the dll do the same thing, but ofcourse, your .net app would have to be running to recieve that message (unless you have the dll launch it directly).
JonTheNiceGuy said:
Would it not be possible to write a small dll which can be controlled from VB.NET or C#.net to display certain things?
If this was released (under BSD or another permissive licence) then we could all use it to develop stuff, which would help those of us who's first language is Basic
Click to expand...
Click to collapse
Hi guys,
I need a vs2005 compilable version of c++ unmanaged code to use on a today plugin.
I have a few classes that I found somewhere but they're quite heavy on the dll...
Problem is I only find mfc classes and since today plugins are a mfc "no go" i'm left empty handed...
Thanks
philocritus said:
Hi guys,
I need a vs2005 compilable version of c++ unmanaged code to use on a today plugin.
I have a few classes that I found somewhere but they're quite heavy on the dll...
Problem is I only find mfc classes and since today plugins are a mfc "no go" i'm left empty handed...
Thanks
Click to expand...
Click to collapse
Check here:
http://www.xdp.it/cximage.htm
It's a wide imaging API in aC++ (look for the PocketPC port in downloads section). There will be a lot of things that you may not use... but it includes gif support may be you can extract it from there....
Hope this helps.
APBilbo said:
Check here:
http://www.xdp.it/cximage.htm
It's a wide imaging API in aC++ (look for the PocketPC port in downloads section). There will be a lot of things that you may not use... but it includes gif support may be you can extract it from there....
Hope this helps.
Click to expand...
Click to collapse
Thanks for the quick reply apbilbo!
I'm using that one for now. Yesterday I ripped the code down to gif-bmp support only, but still the final dll was about 400kb... too large!
I'll still be trying to rip extra-funtions since i ripped only the classes and includes for now..
Do you use it on throttle?
philocritus said:
Thanks for the quick reply apbilbo!
I'm using that one for now. Yesterday I ripped the code down to gif-bmp support only, but still the final dll was about 400kb... too large!
I'll still be trying to rip extra-funtions since i ripped only the classes and includes for now..
Do you use it on throttle?
Click to expand...
Click to collapse
Throttle code is MFC . Also it doesn't have gif support (other than the one provided by the IImagin api).... for now .
APBilbo said:
Throttle code is MFC . Also it doesn't have gif support (other than the one provided by the IImagin api).... for now .
Click to expand...
Click to collapse
your right... should have remembered that when I saw the .exe on the today plugin version..
Do you happen to know a sweet simple template for .net today plugin programming?
the one on the msdn site is pretty crappy :S
philocritus said:
your right... should have remembered that when I saw the .exe on the today plugin version..
Do you happen to know a sweet simple template for .net today plugin programming?
the one on the msdn site is pretty crappy :S
Click to expand...
Click to collapse
nope sorry... that's the only one I know
Everyone, I am sorry for the fallowing post as I am sure that it is a silly question but I just can't figure this one out. Yes, I have searched everything that I could think of.
I am trying to access a security alarm system that has a web interface. On my pc I put in the web address, username and password. Then a Java interface is launched, inter the security code and tada I'm in. Now here is my question, with my new tilt2 I can get all the way to the part where the Java interface is launched and then nothing.
Is there any way to get java interface to launch on my tilt2?
Thank you
Try this thread http://forum.xda-developers.com/showthread.php?t=544770
It may work for you, also Search for Adobe_FlashLite_3.1_WWE.cab
I hope this helps, its a start for you anyway.
osrix25 said:
Try this thread http://forum.xda-developers.com/showthread.php?t=544770
It may work for you, also Search for Adobe_FlashLite_3.1_WWE.cab
I hope this helps, its a start for you anyway.
Click to expand...
Click to collapse
He asked for Java not Flash.
And to answer your question, no, you can't.
Just because java application on mobile phone use j2me which is java adapted for mobile and there is no chance that a mobile java virtual machine can ever run a desktop java applet.
Regards
Thomas
tlefeuvre said:
He asked for Java not Flash.
And to answer your question, no, you can't.
Just because java application on mobile phone use j2me which is java adapted for mobile and there is no chance that a mobile java virtual machine can ever run a desktop java applet.
Regards
Thomas
Click to expand...
Click to collapse
Alright mate. I don't know what program he's trying to run or wether the applet is actually java or flash based. clearly you have all the answers.
osrix25 & tlefeuvre, thank you for your help. I was afraid that this would be the case. There is a service that will allow this communication with WM but it is an extra step in the process. I post all of m information on a third party website that converts the control to html the I can edit (for a fee). I am more worried about reducing the level of security with this program.
.357
Hey there,
I tried to create an app with the HTC One M8 and it´s Duallens "depthsensor".
The problem is that there is no way to activate the second rear camera in android.
In android.hardware.camera package there are some hidden methods like : enableSubCam...so I´ll tried to use java reflection to activate these SubCam, but it doesn´t work at all...
I need some depth information in realtime for my application and I thought with the new DualLens this would be possible.
Also I tried to understand the HTC DualLens SDK, but all this stuff works on an jpg format and without creating an new depthMap
So what do you think is the best method to access 1. the second rear camera or 2. directly some kind of depthMap with help from HTC SDK?
gurd123 said:
Hey there,
I tried to create an app with the HTC One M8 and it´s Duallens "depthsensor".
The problem is that there is no way to activate the second rear camera in android.
In android.hardware.camera package there are some hidden methods like : enableSubCam...so I´ll tried to use java reflection to activate these SubCam, but it doesn´t work at all...
I need some depth information in realtime for my application and I thought with the new DualLens this would be possible.
Also I tried to understand the HTC DualLens SDK, but all this stuff works on an jpg format and without creating an new depthMap
So what do you think is the best method to access 1. the second rear camera or 2. directly some kind of depthMap with help from HTC SDK?
Click to expand...
Click to collapse
i remember there was an app (german) that take 2 pictures at the same time from both rear cameras but the app was just to show that both work so it was like open app>automatic capture>save both pictures>exit.
got it : http://forum.xda-developers.com/showthread.php?t=2722352
yeah I´ve seen this app, but it´s hard coded on the linux kernel ...
and like I said I´ll try to calculate the depthMap in realtime, so a continious Depth-Matrix with opencv for example and not just a jpg
isn´t there a possibility to access the hardware components of an smartphone and activate them?
gurd123 said:
yeah I´ve seen this app, but it´s hard coded on the linux kernel ...
and like I said I´ll try to calculate the depthMap in realtime, so a continious Depth-Matrix with opencv for example and not just a jpg
isn´t there a possibility to access the hardware components of an smartphone and activate them?
Click to expand...
Click to collapse
Maybe this will help you
Code:
[URL="https://www.htcdev.com/devcenter/opensense-sdk/htc-dual-lens-api/htc-dual-lens-sdk-installation/"]https://www.htcdev.com/devcenter/opensense-sdk/htc-dual-lens-api/htc-dual-lens-sdk-installation/[/URL]
like I said in the first post, I´ve tried to understand the SDK, but in my oppinion it´s not for creating a file...
you´re just allowed to use the already created depth information of an jpg-file...
or has anyone made some other experiences with the SDK?
Have you solved the problem?
Hi,
I have the similar situation and would like to know if you have found a solution to this problem.
I agree with you that the SDK provided by the HTC website is for depth info extraction from already created image. The SDK is not viable for realtime depth processing.
Please let me know if you have the solution for this problem.
Thanks!
gurd123 said:
Hey there,
I tried to create an app with the HTC One M8 and it´s Duallens "depthsensor".
The problem is that there is no way to activate the second rear camera in android.
In android.hardware.camera package there are some hidden methods like : enableSubCam...so I´ll tried to use java reflection to activate these SubCam, but it doesn´t work at all...
I need some depth information in realtime for my application and I thought with the new DualLens this would be possible.
Also I tried to understand the HTC DualLens SDK, but all this stuff works on an jpg format and without creating an new depthMap
So what do you think is the best method to access 1. the second rear camera or 2. directly some kind of depthMap with help from HTC SDK?
Click to expand...
Click to collapse