yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] sims:
great job!

by my part i'm still waiting for my providers news.

let's see....

sims
[Windows Mobile Development and Hacking General] BBB:
Re: Camera Functions

Hi Dan,

managed to get this data too using dumpbin.exe.

Have you (or anyone else) managed to gain any more info about the function types and parameters.

Cheers,

Ben
[Windows Mobile Development and Hacking General] itsme:
I think they are pretty standard, and just map to the

createfile("CAM1:")', readfile, writefile, deviceiocontrol, etc.

functions that all devices implement.

the IoControl function is the most interesting, you would have to reverse it to see what ioctls it supports.
[Windows Mobile Development and Hacking General] BBB:
Any chance you could go into a bit more detail?

Thanks,

BBB
[Windows Mobile Development and Hacking General] dutty:
a little bit more research; these are the required dlls for camera.exe

aacdll.dll	Path not Found.

aygshell.dll	Path not Found.

colorconvscaling.dll	Path not Found.

coredll.dll	Path not Found.

gsmamrdll.dll	Path not Found.

gsmamrenc.dll	Path not Found.

gx.dll	Path not Found.

h263videoenc.dll	Path not Found.

mfcce300.dll	Path not Found.

midilib.dll	Path not Found.

mp4_reader.dll	Path not Found.

mp4spvd.dll	Path not Found.

mp4writer.dll	Path not Found.

mpeg4spvideoenc.dll	Path not Found.

note_prj.dll	Path not Found.
[Windows Mobile Development and Hacking General] dutty:
imports for MP4Writer.dll:

// Type : Imports

// gCreateMP4Movie	Information not available

// gCloseMovie	Information not available

// gMakeH263Atom	Information not available

// gAddToStsdBox	Information not available

// gMakeGSM_AMR_NB_Atom	Information not available

// gCloseTrack	Information not available

// gGetMovieAtomSize	Information not available

// gAddNSamplesToTrack	Information not available

// gAddSampleToTrack	Information not available

// gGetTrackSize	Information not available

// gAddTrack	Information not available

// gMakeEsdsAtom	Information not available

imports for MP4_Reader.dll

// gOpenMP4File	Information not available

// gGetMovieInfo	Information not available

// gGetTrakIds	Information not available

// gGetNextSyncPoint	Information not available

// gCloseTrakSession	Information not available

// gReadSample	Information not available

// gGetMaxSampleSize	Information not available

// gIsSyncPoint	Information not available

// gOpenTrakSession	Information not available

// gGetTimeOfSampleNum	Information not available

// gGetSampleNumForTime	Information not available

// gCloseMP4File	Information not available

// gGetTotalSamplesInTrak	Information not available

// gGetDecoderCfg	Information not available
[Windows Mobile Development and Hacking General] dutty:
can anyone post camera.dll here? i cannot get it off the device so i can't try to more infos about its export/imports
[Windows Mobile Development and Hacking General] cristux:
Hello,

What about "HTCCamera.dll" in "\Windows" ?

I've found this entrypoint in the dll :

start
Camera_Init
Camera_Begin
Camera_End
Camera_GetPreviewImage
Camera_GetStillImage
Camera_Deinit
Camera_GetStatus
Camera_GetProperty
Camera_SetProperty
Camera_GetSensorSupport
Camera_ReadRegister
Camera_WriteRegister
CreateFileW
CloseHandle

DeviceIoControl

SOFTWARE\\Drivers\\HTCCAMERAAPI

I'm not a developper, so i can't do anymore
[Windows Mobile Development and Hacking General] pebe:
Hi folks,

I've investigated the Pocket LOOX 720 and found the following: When I run the camera application, that comes with the device, then close that application, and after that execute this code below, then can I see the last picture from the camera on the display.

HINSTANCE hd = LoadLibrary(L"HTCcamera1.dll");
typedef int(*t)(void*);
t Camera_Init = (t)GetProcAddress(hd, L"Camera_Init");
t Camera_Begin = (t)GetProcAddress(hd, L"Camera_Begin");

int test[1000];
memset(test, 0, 1000*sizeof(int));

int rt = Camera_Init(test);

//test[3] = 1; // if value set -> no picture will be displayed

rt = Camera_Begin(test);

It means, the Camera_Init and Camera_Begin functions are something doing, but no new picture will be taken. Making the camera full running seems to be only a little step.
[Windows Mobile Development and Hacking General] milesmowbray:
Hi,

Have a look at this page :

http://blog.opennetcf.org/ncowburn/PermaLink,guid,5f0ebbac-8199-4ad1-aaa5-5e84af695359.aspx

Has some .net code attached that manipulates the XDA II camera software, might be useful.

Nick
[Windows Mobile Development and Hacking General] a15184:
Hi all!

I dont have XDA device, but an SPV e200 phone which also uses the HTC camera dll. Analysing the camera application that comes with the phone (Camera.exe) i found out that it uses HTCCamera1.dll. doing a dumpbin on this got me exactly the same functions as in previous posts. The porblem is to find the correct parameters and return values.

Diggin into the HTCCamera1.dll using disassembler i found out some refrences to BICamera.dll. I dont know if u guys have that also?

and basically that's what i found.. im going to rty the code on the previous post! nice find!! :D

pls post all the findings! :D

thanks
[Windows Mobile Development and Hacking General] mamaich:
Imate 1.72 ROM does not have references for bicamera.dll. But HTCCamera.dll internal name is CAM.DLL according to its export table.
[Windows Mobile Development and Hacking General] a15184:
Hey Pebe!

cant u post anything else? more detailed stuff? How did u get the last imge? is that array of ints filled with something?? I've tried with mine and it does nothing

Thanks
[Windows Mobile Development and Hacking General] pebe:
Nick,

I've tried Neils .net wrapper. It launches the camera application, but the message to the callback window is not sent after taking a picture and my application don't get the image.

Besides I've determined some properties of the HTC camera using the dll after a pure initialization by this code.

HINSTANCE hd = LoadLibrary(L"HTCcamera1.dll");
typedef int(*T1)(void*);
typedef int(*T2)(int, int*);
T1 Camera_Init = (T1)GetProcAddress(hd, L"Camera_Init");
T2 Camera_GetProperty = (T2)GetProcAddress(hd, L"Camera_GetProperty");

int test[100];
int rt = Camera_Init(test);

int props[12];
memset(props, 0xff, sizeof props);

Camera_GetProperty( 5, &props[5]);
Camera_GetProperty( 6, &props[6]);
Camera_GetProperty( 7, &props[7]);
Camera_GetProperty( 8, &props[8]);
Camera_GetProperty( 9, &props[9]);
Camera_GetProperty( 10, &props[10]);

Camera_Init sets the first 4 bytes of the passed test array to 0. Camera_GetProperty returns the following values (all other properties <5 and >10 are set to 0):

props[5] : 5

props[6] : 112

props[7] : 4

props[8] : 4

props[9] : 0

props[10] : 2

Does anybody have an idea about the meaning of this property values? Wich properties have to be set by the Camera_SetProperty function to take a new picture afterwards?

Thanks
[Windows Mobile Development and Hacking General] rvjr:
Hi pebe,

have you ever tried to set one of those properties? may be you have to set the property 1 to a nonzero value to take a picture? the other values could have been things like the 'exposure time' (is it called like that?)... have you tried to change settings in the camera application? does this affect the return values?

regards,

rainer.

PS: I have the same goal... i do also own a Loox 720 and i'm trying to take photographs, because the pocketpc controls my robot (and i want it to take pictures :))
[Windows Mobile Development and Hacking General] rvjr:
Hi again!

have you perhaps experimented with 'Camera_Begin', 'Camera_Deinit', 'Camera_End' or 'Camera_FlashLight' ?

I copied your code and found out, that my loox returns the same property values as you metioned. the init functions returns '1' and sets the first byte of the parameter to '0'. is that correct?

rainer.
[Windows Mobile Development and Hacking General] rvjr:
Now i've found out, that a second call to 'Camera_Init' returns '0' and sets the first byte of the parameter to '1'. But i could not figure out how to use the 'Deinit' function. It seems that i gave it the wrong parameters because i always get 'first chance exceptions' after calling it.
[Windows Mobile Development and Hacking General] chaps5555:
Help needed on HTCCameraAPI

Hello gurus,

As all you have been working on this dll. i am developing an camera aplication for my XDAO2 device were i need to use this HTCCameraAPI.

i am developing applcation in EVC++4.0 for the device can i use tis dll directly with it or in need to write down a different code for it using it functions. and please tell me how can we use the functions.

Waiting for your reply eagerly.

Regards

Naveen
[Windows Mobile Development and Hacking General] rvjr:
I haven't had any real success with it till now. But I will continue to work on next week or so, because I do need this dll for my robot :)

I do not know yet, how a picture is taken, but the live capturing is apparently done by the CameraBegin function. I think you have to provide it a pointer to a previously allocated memory space where it can capture the live capture data. Unfortunately, this live capture is of poor resolution, regardless of the photo size settings!

To make real 'high-res' photographs, it seems to use a callback function or similar methods, but I don't know anything about that at the moment.

Please tell me if you know better or if you had any other success with the dll usage.

regards,

Rainer jr.
[Windows Mobile Development and Hacking General] chaps5555:
reagrding HTCCameraAPI

hi,

i have just started working on it. as i progress i will let u know, at present i am facing problems in visual studio .net 2003 instalation .As the application and is built in it.. So need to getit installed first.

Regards

Naveen
[Windows Mobile Development and Hacking General] chaps5555:
Has any one used htccamera api fuctions in evc++

Hello ,

Has any one tried or used the htccamera api functions in evc++4.0 program ,

If any ane is try and have used please reply , i am also trying to do the same .

need some help.

regards

Naveen koul
[Windows Mobile Development and Hacking General] chaps5555:
Reagrding HTC camera application for ppc ( got certain erro)

Sir,

As I tried to open camera application (HTCCameraAPI) developed in CS (samples)

I am getting certain error

An unhandled exception of type " System. Missing Method Exception' occured in CamCapturePPC.exe.

can any one help me out.

Regards

Naveen
[Windows Mobile Development and Hacking General] classicxda:
http://www.fotofield.com/indexen.html

Have a look at http://www.fotofield.com/indexen.html this guy seems to have cracked it.
[Windows Mobile Development and Hacking General] Rayan:
Can someone please post a .zip file with all this .DLLS?

I'm trying to see if this software can work under Windows Mobile 5.0

aacdll.dll

aygshell.dll

colorconvscaling.dll

coredll.dll

gsmamrdll.dll

gsmamrenc.dll

gx.dll Path

h263videoenc.dll

mfcce300.dll

midilib.dll

mp4_reader.dll

mp4spvd.dll

mp4writer.dll

mpeg4spvideoenc.dll

note_prj.dll

Thanks,

Rayan
[Windows Mobile Development and Hacking General] MaxSyntax:
That FotoField malarky uses the prototype wrapper I wrote in C# :)

As for getting things working under WM 5.0, there's actually a Camera API built into the OS that gives devs access to the camera both in managed and native code. Check out the WM 5.0 SDK for more details
[Windows Mobile Development and Hacking General] Rayan:
Yeah, but I was thinking that while someone develops a decent Video Camera application we could have the old version running on WM5.0... :cry:
[Windows Mobile Development and Hacking General] chaps5555:
have any one been able to use hTCcamera aapi functions in EV

Hello,

have you been successful in bringing the camera functions in evc++.

I ahve not got the success yet to get the functions working in evc++.

have you founf anyother way to get it owrking.

Regards

chaps 8)
[Windows Mobile Development and Hacking General] MaxSyntax:
Yep, I've had this working in C++. In fact, the underpinnings on the managed version is essentially IPC :)
[Windows Mobile Development and Hacking General] chaps5555:
hi max how u got it working

hi max,

i am presently trying to use it in EVC++4.0 can u please help me . I am unable to use the api , How can we use th api in EVC++.

will the cowburn dll directly work in evc++.

Regards

Chaps
[Windows Mobile Development and Hacking General] chaps5555:
regarding cowburn dll and camera functions

Hi max,

Can you please tellme can i use the cowburn dll and it sfuctions directly in evc++ without modifying it or there is some other dll or any way out for this

waiting for your reply eagerly.

Regards

chaps
[Windows Mobile Development and Hacking General] chue:
Regarding Camera.dll API Specification such as CAM_IOControl

Hi

I am working associated with Camera.dll too, but no interface i know.

I need CAM_IOControl parameter description.

Please tell me about it.

Regards

Chue
[Windows Mobile Development and Hacking General] Josephazar:
Got some functions figured out!!

Hey i got some functions figured out in the htccamera.dll, but still stuck on Camera_getPreviewImage, i mean this functions takes 2 parameters, and returns in them the width and high of the image, but i can't figure out, where and how should it return the actual address or any format of the picture itself.

Anyone might be able to help?!
[Windows Mobile Development and Hacking General] Danny-B-:
Been looking through "CameraPicture.dll" from the XDA2i and came across a few references to "Arcsoft" so i decided to do a little exploration.

A quick search with google came up with this site http://www.arcsoft.com/products/ms_photobase/

Which looks pretty interesting, there prices look decent too :)

i think O2 must have used this software to write the Camera functions, it may be different on the XDA 2 but i dont know cos i dont have one :P
[Windows Mobile Development and Hacking General] defroster:
How hard is it to get the old camera software (2003) on mobile 5.0 ?

MAN 5.0's software is crap..

What I'd be happy with tho, is if someone worked out how to adjust the quality of videos, I mean, the compression and framerate the codec uses at the moment is a joke (what is it, made for a 2mb SD card??) - and that's surely just a quality value in the codec .dll ?
[Windows Mobile Development and Hacking General] Antoine29:
Hi all,

About this HTCCamera1.dll API issue :

I've been testing some sample code on a HTC Touch Cruise, and the Camera_Init() function crashes with a "datatype misalignment" error.

typedef BOOL (WINAPI *CAMERA_INIT)(int *ErrorNumber);
...

HINSTANCE	g_hCamera = NULL;
CAMERA_INIT	g_CameraInit = NULL;

g_hCamera = LoadLibrary(_T("HTCCamera1.dll"));
if (!g_hCamera)
return -1;

g_CameraInit = (CAMERA_INIT)GetProcAddress(g_hCamera,_T("Camera_Init"));

if (!g_CameraInit)
return -1;

int nRet;
int test = 1;

// Initialize the camera module.
nRet = g_CameraInit(test); //---> crashes with datatype misalignment

This code works great on older PPC like Universal ones. But now I'm afraid that the API for the HTCCamera1.DLL on the Touch could have changed :

What could be the new prototype for Camera_Init ?

Has somebody ever noticed anything similar with the Camera API ?

Thanx a lot for your help !!
[Windows Mobile Development and Hacking General] Antoine29:
Looking into the disassembly, I've got the feelings that Camera_Init expects 2 parameters instead of 1 in the previous versions :

This code returns me a 0x00000000 value, and I've no more "Datatype misalignment"

int nCurrentModule = 1;
int nSecondParam = 0;

// Initialize the camera module.
nRet = g_CameraInit(&nCurrentModule,&nSecondParam);

I've no idea what could be that second parameter stand for, has someone an idea ?
[Windows Mobile Development and Hacking General] jim_arqiva:
Hi Antoine

Did you figure out the Camera_Init function problem? Do you have source code or documentation that describes how to use the HTCCamera1.dll library?

Jim
[HD2 Android Q&A, Help & Troubleshooting and Genera] white-energy:
The Important:

If you sign up with someone's referral link, both you and the person who's referral link you used get 5GB of extra space.

If anyone would like a win-win situation, here's my referral link

(By the way, you do actually need to download and install the desktop/mobile app before you get the extra 5GB of storage)​

The News:

I think this offer will not last.. so go grab 'em fast
[Sony Xperia T, TL, TX, V] i.sohaib3:
Hey guys, i recently bought a brand new xperia T, everything is quiet classy in this bond phone except for its WiFi...the problem im facing is that i used to have desire x previously...the spots where desire x showed 3 bars, xperia shows a bar or sometimes just a dot same is the problem with my galaxy nexus, but the nexus hardly drops the connection at v.weak signals on the other hand my xperia drops the connection if the signals are too weak...i just want to know am i the only one experiencing this problem...is it my hardware or what? i hate sony for this!

Sony Xperia T LT30p

Custom Rom 4.1.2 (DooMKernel)

9.1.A.0.489
[Sony Xperia T, TL, TX, V] Caliban1982:
Only in the beginning I had problems with weak signals. solved it by unchecking the option "avoid poor connections" @ advanced WiFi settings. This would make my phone drop the connection when the signal was low.
[Sony Xperia T, TL, TX, V] i.sohaib3:
I've unchecked that aswell but the problem persists really annoyed
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] anubis1126:
For some reason i am now getting messaging f,c on any custom rom never had this before, so am asking if anyone else had this issue and found a fix on stock lsz messaging works fine, also i dont change dpi it is standard thanks
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ashwin.kj:
Do you restore old message when jumping from one rom to another?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] anubis1126:
Have tried both dirty and clean installs and still the same
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ashwin.kj:
Just clarifying. So after a clean install as soon as you open message, you experience fc?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] anubis1126:
as soon as i receive a message i get an f,c
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ashwin.kj:
Sorry have no idea about that. The problem I had to do with involved restoring from titanium backup.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] anubis1126:
No probs thanks for looking
[Galaxy S III Accessories] Bei60:
Hey guys, so I bought the Otterbox commuter and I must say Im happy with it except for one thing, the buttons are hard to press on. Both the volume and power key. I wanted to know if there are any suggestions on how I can soften it up, so it would be easy to press one. I thought it might get easier as time will pass but its really really stiff and even if I will wait a few weeks, it won't be a huge difference.

If anyone knows some tricks, or can even give me an advice about this, that would be great. Thanks :)
[Galaxy S III Accessories] tsukot:
it will soften up as time pass by, like a month or so. Sometimes, the way you put on the commuter makes the volume and power buttons not working/stiff. Lastly, you'll get used to it and you didn't even noticed that you had built muscles on your fingers. :D
[Galaxy S III Accessories] Bei60:
okay thanks :)
[Galaxy S III Accessories] Restola:
Pull or push the soft rubber where it peeks out near the screen close to the buttons. The hard plastic is so tight it distorts the rubber and misaligns the buttons.

Tapatalk via CM10.1 Galaxy S3
[Galaxy S III Accessories] clninja:
You people have weak little fingers or something.. Or I have hulk fingers because I Dont think my commuter is hard to push at all
[Galaxy S III Accessories] felixthecat:
My flap for power is nearly over broken off
[Galaxy S III Accessories] saj222:
I read somewhere that one dude suggested putting the soft inner part on his car dashboard for a couple hours in the sun to soften it up. He had positive results. Ymmv.
[Galaxy S III Accessories] MadFlava:
Mine did this as well. Otterbox replaced it, no questions asked.
[Galaxy S III Accessories] :
I have the case as well and yes the buttons are hard to press. It gets easier over time.. or maybe I'm just getting used to it...
[T-Mobile, Samsung Galaxy SIII] ickster:
Hi guys.

The feature that causes the screen to zoom in when doubletapped is giving me fits. I'm not consciously doubletapping but it constantly zooms in , driving me nuts. I did a search but cannot find anything on this.

Is there a way to disable this zoom feature when on the internet?

Thanks in advance.
[T-Mobile, Samsung Galaxy SIII] mt3g:
Are you sure you're not just swiping your hand along the side of the phone (the screen going vertically)? This is a Jellybean "feature" with no options to disable. There are a couple roms in the Dev section that have it removed, but I don't think its a simple edit to get it out.
[T-Mobile, Samsung Galaxy SIII] myowin:
Yeah currently infamous rom has option to disable in the latest build. I think jovy is planning to implement that as well but he is under the weather. But the is no simple way to remove or disable now.

we are all Noobs at XDA. please help each other.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] positiveg:
Yep, I have a Galaxy Note 10.1 as a personal tablet. My employer has approved a me to get one for work. I already use my Note 10.1 for work stuff

I was wondering what would you guys suggest me get another 10.1 or something similar

I'll need data so one with a sim card and at least 10" screen

thanks

Nopes not really a lover of the iPad. lol

thanks

G
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jdgreat4:
For productivity, the note is the best. You can check out the note 8.0 as well
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] hygradeb:
If i had the choice I would get either the note 10.1 or 8 with 3g, I am bias and cant see any other make worth getting,

If you are not in a rush wait and see what new version appears in the next few months.
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] positiveg:
Thanks guys I have to get one soon, so I'm thinking of just getting another Note 10. With data this oneni have is 4G
[LG Optimus L9 P760, P765, P768, P769] blcistheking:
Is it possible to control(next track, previous track) the default music player with the volume buttons?

Can it be done using a different music player such as the walkman app in conjunction with holo locker?
[LG Optimus L9 P760, P765, P768, P769] Gh0sT.RPG:
Dont know about the app u r talking, but try PlayerPro , it has an option to change track by vol rockr, but only in lock screen :good:
[LG Optimus L9 P760, P765, P768, P769] psychoace:
I think he is talking about using the volume buttons to change music tracks while on the lockscreen with the default music app
[LG Optimus L9 P760, P765, P768, P769] Gh0sT.RPG:
He asked s it possible with other music app, i answered referring to that part of question.
[LG Optimus L9 P760, P765, P768, P769] blcistheking:
I've used playerpro before but I've always had issues with it due to the fact that you can't lock playlist, so when ever i scroll through one i end up moving songs around.

I know the L9 has LG's custom lock screen and that the walkman music player wouldn't work with it nor can the volume buttons be used for playback controls but I'm not sure if using a different lock screen such as holo locker (https://play.google.com/store/apps/details?id=com.mobint.locker&hl=en) will cause it to change.

a link to the walkman app

http://xdaforums.com/showthread.php?t=2056639 (the semcmusic apk)
[LG Optimus L9 P760, P765, P768, P769] gdjindal:
Hello Buddy,

I found these two apps from market just try them:

VolumeNext

Pocket Skip Track
[Desire Q&A, Help & Troubleshooting] icefun:
Hello,

I have problem with my phone and adb, I have installed all driver for my htc, adb, fastboot,.. but when I try to check for connected devices in adb via adb devices command the list is empty even if windows recognize the device. I have tried it in Ubuntu, but the situation is same.

I don't know whats wrong, because it works for my Gnex and GTab.