Custom Camera Application - Windows Mobile Software Development

Hi, I'm new to mobile development but I'm trying to develop a custom camera application to pick up the tech. The mobile device I'm current using is the HTC HD2.
What I'm trying to do is to develop a custom camera application without launching the HTC camera interface. The samples that I've tried always launched the default HTC camera interface. I've been looking into several articles including the ones in codeprojects and msdn but most of them suggested using the managed code CameraCaptureDialog or the unmanaged SHCAMERACAPTURE. I've tried looking into the samples using both and they are not doing what I'm want.
The reason I'm trying to use the default manufacturer app is so I can add additional features such as laying different grid patterns on the screen as composition guide.
I appreciate any help or pointers on this. Thanks.

I too am very interested in a camera API for HTC.
The best example I found so far is:
http://alexmogurenko.com/blog/directshownetcf/
This works, and the examples are good, but it only gives you a very low resolution.
From what I gather, this is a problem with HTC not supplying the required drivers. I can't imagine why HTC would not give developers a good API for the full capabilities of the camera, as more devs using this API can only benefit HTC.
This seems like a very common need, I'd love to see a good solution.

a selfish move for HTC...i guess they think this way they can increase sales in their new product lineups....

Related

[DEV] Binding CorePlayerService

I am developing simple widget with some music controls on it. I was able to control both Android and HTC music services using bindService(), .Stub.asInterface() and 2 separate IMediaPlaybackService.aidl files (for both packages accordingly). However, I have not succeeded in searching for the .aidl file for Samsung player. It is my understanding that it should be somethig like ICorePlayerService.aidl using ICorePlayerService interface. Since I have not found any, I tried to create my own using the same function names that Android and HTC use; however, it did not work.
Have you any idea how to control Samsung music player from own app? Thank you for your time.
Yes, the name of the site says: xda-developers and yes its an Android Development section, but I guess there arent many people here knowing Android API.. I know a little, but not to that much extent, especially when it comes to proprietary software.
Consider this a shameless bump!
Pure music widget author already did it, so I guess its possible (though he said before that its not).
He did, but I guess I cannot actually ask developer, how to code features of his paid application ).
Then again, why not? It's not like you have anything to lose here...the worst that can happen is that he won't help you.
Well, it has been a long time, and still no reply from the dev :-(. Is there anybody who figured it out?

[Q] Hardware access?

I am an absolute beginner in C# coding and i would like to create a simple flashlight application, i know some basic C# coding but i was just wondering how i would go about gaining access to the hardware, like the flashlight, does anyone know of a link, webpage, instructional video etc. where i could find this information? all help is greatly appreciated.
again i do have some experience in coding, ive made a veryyyyyyyy simple app i would just like to expand on it.
Have you checked out the code samples on msdn yet? http://msdn.microsoft.com/en-us/library/ff431744(v=vs.92).aspx, the second sample in camera deals with using the hardware like the camera itself, flash etc in your applications. There's also a section that gives code examples for sensors and what not as well as tons of other useful info on that site. Hope it helps. Ohh, and welcome to xda.

Trying to modify Camera.so to bring back some 1.2 functionality

Been a lot of complaints on other forums about the crippled camera app in bada 2.0 and I'd like to restore some of the fuctionality from 1.2. Perhaps it's not actually possible as all I have seen is the KK5 app brought back to enable front camera, and no 1.2 app for bada 2.0 to restore some of the other missing functions like pause in video recording or editing options. So if this is waste of time please let me know, but I though the main problem was passing the sequrity check which has now been solved thanks to kubika. SO if possible this is the precise scope of the project:
It's not just the ability to pause a video recording, or edit anything after, there's a lot of other stuff too...
NO Image Quality selection
NO countinous/sequance shoot mode
NO sharpness, saruration, contrast adjustment... but still have auto contrast check box... as oppesed to what?!?!?
NO thumbnail or info view for picture when reviewing from cammera app
NO edit fuction for anything from anywhere as already mentioned... though admittedly if I really want to edit a pic I'll probably do it on my PC anyway.
Although a noob at this I do have some expeciance with PC's, and my understanding is that bada apps are in C++ so if one can decompile and recompile the camera app. Then ALL missing functions, with possible exception of editing that probably calls on seperate app, should be easily recoverable in the bada 2.0 camera app. I've actually checked the samsung developer website, and it gives guidelines on how to implemnet many of these functions if whishing to create your own app, so the code should be easy to reinsert even for me in their own app. The one problem may be creating/inserting buttons/tiles for the menus if not already available but simply uncalled, which I hope is actually the case since one can easily recover the record call button.
The main issue is I don't know how to decompile the two apps to read and compare the code, and then recompile them, so could someone please point me to the appropriate program(s) with hopefuly some instructions on how to use them. I think this is something that may be appreciated by many since we can now more easily upload modified apps, and is a relatively simple mod for a noob to atempt... so if anyone can offer some help with that to get me started, it's a project I'd be looking to take up .
innovative ..
liked your idea.
+1
to keep it simple, you can't 'decompile' a binary code to a c++ code, the compiling process is a one-way procedure..

[Q] Choosing a framework for hybrid app

Hello guys !
I'm starting developping with Phonegap. I have a first app to make which will be quite heavy, technically speaking. A lot of data retrieving, many different displays... I need advices to choose the framework to use.
I have read a lot on Jquery Mobile, the most widely used today and the one I feeled comfortable using since I already know Jquery... But it has many issued I don't want to deal with (UI is too much IOS, sometimes gets very slow because not using hardware acceleration, no MVW structure...). Plus, one of the Phonegap creators told in a post it's not a good idea to use JQM with Phonegap since it's too heavy : sintaxi.com/you-half-assed-it
I read a lot on many blogs, forums, on stackoverflow... The paid side has many great things like Sencha Touch, KendoUI or PhoneJS. Any of them could be good. I just don't know if they worth paying since there are a lot of free solutions.
Then two of them got my attention : Ionic ( ionicframework.com ) and OnsenUI ( onsenui.io ). Both seems pretty cool and with great features, native look and hardware acceleration use, but... One is in Alpha, the other in Beta ! Is it reliable to use such tools, that seems not ready for production ?
Some just advice to use Bootstrap... Some say to use Zepto ( zeptojs.com ). A lot of these advices were given 1 or 2 years ago.
Well... As you see, I need actual advices, and preferably from people who already tried many of these solutions
Thanks ahead !
( Sorry for not linking sites, I am a new member so I'm not allowed to post outside links )
JerryBels said:
Hello guys !
I'm starting developping with Phonegap. I have a first app to make which will be quite heavy, technically speaking. A lot of data retrieving, many different displays... I need advices to choose the framework to use.
I have read a lot on Jquery Mobile, the most widely used today and the one I feeled comfortable using since I already know Jquery... But it has many issued I don't want to deal with (UI is too much IOS, sometimes gets very slow because not using hardware acceleration, no MVW structure...). Plus, one of the Phonegap creators told in a post it's not a good idea to use JQM with Phonegap since it's too heavy : sintaxi.com/you-half-assed-it
I read a lot on many blogs, forums, on stackoverflow... The paid side has many great things like Sencha Touch, KendoUI or PhoneJS. Any of them could be good. I just don't know if they worth paying since there are a lot of free solutions.
Then two of them got my attention : Ionic ( ionicframework.com ) and OnsenUI ( onsenui.io ). Both seems pretty cool and with great features, native look and hardware acceleration use, but... One is in Alpha, the other in Beta ! Is it reliable to use such tools, that seems not ready for production ?
Some just advice to use Bootstrap... Some say to use Zepto ( zeptojs.com ). A lot of these advices were given 1 or 2 years ago.
Well... As you see, I need actual advices, and preferably from people who already tried many of these solutions
Thanks ahead !
( Sorry for not linking sites, I am a new member so I'm not allowed to post outside links )
Click to expand...
Click to collapse
Hi i too work in mobile web applications. I suggest you to have look more into the sencha touch. Sencha is not fully paid framework. There is a gpl version of sencha which most corporates uses . the advantage of sencha is it can be used with phonegap or without phonegap. Also the docs are well documented and you will get an easy hello world application using the sencha cmd tool. The sencha docs is designed such that we can even try our code directly to alter the shown examples.
Ok as developer view sencha erradicates the most difficult part of mobile web app developmnt.ie the ui. Ui is well documented and created such that we doesnt want to deal much with ui issues when it is moved from devices to devices and os to os.
For heavy applications this is best because the sencha apps are mvc structure. I have beem worked in sencha apps that have more than 16 differnt screens on its own.
Sent from my Nexus 4 using Tapatalk
jaison thomas said:
Hi i too work in mobile web applications. I suggest you to have look more into the sencha touch. Sencha is not fully paid framework. There is a gpl version of sencha which most corporates uses . the advantage of sencha is it can be used with phonegap or without phonegap. Also the docs are well documented and you will get an easy hello world application using the sencha cmd tool. The sencha docs is designed such that we can even try our code directly to alter the shown examples.
Ok as developer view sencha erradicates the most difficult part of mobile web app developmnt.ie the ui. Ui is well documented and created such that we doesnt want to deal much with ui issues when it is moved from devices to devices and os to os.
For heavy applications this is best because the sencha apps are mvc structure. I have beem worked in sencha apps that have more than 16 differnt screens on its own.
Click to expand...
Click to collapse
Hi ! Thanks for your comment. I'm considering Sencha could be my final solution. I have read somewhere that coding in everything else than its own IDe is very bad experience, and the IDE comes with the paid version only...
Still open for more advices if someone feels like
Up !
I finally launched the project using the Ionic very promising framework. If it doesn't fit in I will give a try to Sencha. Thanks for your help, I will come back and tell about my experiments !
I'm doing a project with jQM right now, got the iOS version going and still working on Android and Windows Phone (clients...) and looking for something better. (Performance, native look and feel, SASS/LESS based preferably, etc.)
Ionic looks great, but with Gingerbread still holding a 20% market share I'm wary. Chocolate Chip UI seems pretty cool, and Sencha and Intel's App Framework seem promising as well.
How did things go with Ionic? Is it really only functional on 4.2 and above?
Sent from my XT1060 using Tapatalk
mau006 said:
I'm doing a project with jQM right now, got the iOS version going and still working on Android and Windows Phone (clients...) and looking for something better. (Performance, native look and feel, SASS/LESS based preferably, etc.)
Ionic looks great, but with Gingerbread still holding a 20% market share I'm wary. Chocolate Chip UI seems pretty cool, and Sencha and Intel's App Framework seem promising as well.
How did things go with Ionic? Is it really only functional on 4.2 and above?
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
Hi friend,
I'm sorry but I have very little time to work on my app, so I didn't see much already... I will eventually come back to tell about my experience with it, but it will be only in some more time !
However, all I saw about it sounds even more amazing than just promising !
I've made mobile sites using jQuery Mobile and although it was very good at what it did, I always felt like I was trying to swat a fly with a tank. It's large, it's heavy and it does a LOT more than you need if you're just looking for a UI.
I've switched to Bootstrap for web apps. It requires jQuery which is good, since I'd not want to have to use a different library for DOM manipulation, and it's very lightweight. Also, it's quite easy to skin (much easier than jQM) so changing the overall style is easy. There's also a lot more custom-built themes out there for it than there is for jQM.
tl;dr Use Bootstrap and jQuery (not jQM). Compact, easy and quick.
Take a look at ratchet goratchet.com . Its 2.00 version is very new and lightweight.
today, I am working with ionic and angular js, using visual studio to code, I think ionic is really common with better default ui than default control android. ionic have 1.x stable and beta at 2.x
Hi
I recommend 2 Angular Ionic 2, if you start a project.
Angular 2 is in release candidate
Ionic 2 is in beta, but it works well
Performance is much better with Angular 2.
it's a bit early to use Ionic 2 ?
Currently the beta.10 is sufficiently stable. We must work with workarounds for some points.
I created a post on the topic, It will be simpler:
http://forum.xda-developers.com/android/software/build-hybrid-app-angular2-ionic2-t3425535
I have used cordova for my android application 1 year ago with eclipse. I can say that android was the easiest to create among others (iPhone apps, windows or blackberry) It was also quite fast working like a native app although it was hybrid. I also added voice detection with android. There are many plugins for cordova for adding different features to your hybrid mobile app.
I am using Cordova for my wp8 apps developments. I had trouble adding the sound plugin but finally i succeeded. It is a nice framework.
Choosing a framework for hybrid app
Thanks for sharing.
Cordova + Angular2 + OnsenUI2
(wanted to post this in a new topic, but forum rules demand I make a few posts first)
I was having much of the same question (but with a much humbler ambition of an app), so I did some research and set my mind on this trio of frameworks:
Cordova - for the code-once philosophy
Angular 2 - for an easy implementation of the model-view-controller pattern
Onsen UI 2 - for polished UI components
Problem is, I'm a bit of a newbie at this, and while everything makes sense when reading the Getting Started page for each framework, putting everything together hasn't quite occurred yet in my mind. I'm still trying to figure out how to get the project started, and figure out what its directory structure should look like.
I'm wondering if anyone here would be willing to spend an hour of handholding mentoring to help me get started?

Use Apache Cordova?

Hey everyone! In response to a recent suggestion by a colleague, I've determined Cordova may be the best course of action for my current project. The reason we determined this, is because what I'm developing is already a web-app, that is complete, in which I can make a responsive style for mobile browsers & use Cordova to use a webview to access the app. So I'm looking for advice from experienced developers to see if this would be a viable option.
Let me start by giving you a run-down of the project. The project is called SecurSend. It is a private messaging platform that allows the user to submit sensitive information, without the worry of being monitored or keylogged. The end-user will compose a message which will generate a unique URL to the content, the recipient will receive this URL, and when accessing the content, it is permanently destroyed from the server. I don't currently have the site live, or it'd be much easier to show you, but the premise is security.
There is no current mobile theme for the site, however, it wouldn't be too difficult to implement. For something like this, do you feel Cordova would be the best option? Also, if you have any advice on Cordova, I wouldn't mind!
AutonomousHC said:
project is called SecurSend. It is a private messaging platform that allows the user to submit sensitive information, without the worry of being monitored or keylogged. The
Click to expand...
Click to collapse
re: the app:
thinking some combo of xmpp + OTR and webrtc might do it
(OTR adds end-to end encryption to xmpp and as browser support for webrtc improves there's peer-to-peer udp possibilities in webrtc)
Re Cordova:
. not yet sure but from looking at some javascript-based apps I've seen done with it what I've seen of it looks like an easier place to start for installable web apps (curious too)
Yes cordova is great for this. The only thing Cordova is not great at is high performance games but that is changing soon.
wowbro said:
Yes cordova is great for this. The only thing Cordova is not great at is high performance games but that is changing soon.
Click to expand...
Click to collapse
This sounds like an interesting concept, but I have heard you don't get the full native experience with Cordova (the UI seems different than that of native applications).
Do buttons and dialogs look the same as native apps?
Can you, for example, create transparent action bars, or side bars?
Or, notifications or watch faces for Android Wear?
wowbro said:
Yes cordova is great for this. The only thing Cordova is not great at is high performance games but that is changing soon.
Click to expand...
Click to collapse
Alternatively, you could use Steroids.js which has most native features built-in -- even Native UI components, MAPS API, Camera API, etc.
Cordova can achieve this, but as stated before, you will suffer some performance issues (especially Android 4.4 and lower)
I believe that doing web apps is the best for trying new ideas on all major platforms. The effort is very low compared to native development and performance is sufficient.
Ionic Framework has great performance and is continuously improving.
Though I wouldn't recommend web apps for games I recently released an open source zombie game called zland (zland.io).
Maybe React Native could be interesting for you as well. You will get true native performance.
With React Native you can share a code base between platforms but have to rewrite platform dependent thinks.
They recently released it for Android so you can deploy to both iOS and Android.
I estimate the effort somewhere between web apps and native apps.

Categories

Resources