Gesture programming question - General Questions and Answers

What is the easiest way to program a gesture so it can launch an application?

If you understand VB.net
take a look here:
http://forum.xda-developers.com/showthread.php?t=375294
I just take the position of the mouse cursor, and then the next position after some time (or mouseMove event). then I can Get the direction/speed/length of the move, out of every direction you can create a string for example L=Left, R=Right, U=Up, D=Down
just compare the string with one you have saved.
I would like to create a config app for my tool, but due to lack of time and my Fuel Blaster this will come not in the next time

http://www.ftouchsl.com/

@style1: thx but i wanna make my own application

It is rather easy, was not my idea, i think I have found it in C# somewhere in the forum, maybe you find it, but It should be difficult to change it from vb to c#.
You will just to find a way to get the mousemove/-up/-down events of the screen even when you app isnt in the foreground, maybe the api can help you

Moved to Questions & Answers forum.

"i think I have found it in C# somewhere in the forum, maybe you find it, but It should be difficult to change it from vb to c#."
not at all one got all the same options in vb.net as in c#.net
vb.net just have a horrid syntax

Rudegar said:
"i think I have found it in C# somewhere in the forum, maybe you find it, but It should be difficult to change it from vb to c#."
not at all one got all the same options in vb.net as in c#.net
vb.net just have a horrid syntax
Click to expand...
Click to collapse
I wanted to say that it isnt be difficult

Related

Help finding file search application

I would be very happy this xmas if I can find an application like I describe below.
My request is simple, so simple I cannot find it anywhere! I've searched and searched and wasted hours online trying to find it to no avail.
I would like to find a file explorer application with an interface like the Search Today plugin that will search locally in the main memory and sd card but not only web pages; an application like the type-to-search function found in Initiate for Palm devices.
It can be either a plugin or a button-assignable application (even better!).
I want to be able to start typing a word in the Today screen (or anywhere else by pressing a button) and the application will look through EVERYTHING in the phone and show all the instances of that word/phase narrowing it down as I type, and once I find what I am after and click on it, if it is an application it will open it, if it is a file it will open an application by file association, if it is a phone number it will open the phone application, if it is a video file it will play it, and so on.
I'm not after skins or pretty intefaces that flip and turn or anything of the sort, I don't need any of that because I want to use my phone efficiently, because for me it is a tool not a show-off thingy to beat the iPhone. I want an efficient, plain and simple "search and you shall find" kind of application, with a small footprint, preferably.
Cubes are very nice to look at and some people spent heaps of time honing their skills in developing it but at times they bore me, sorry.
Is there anything available that will do what I need? Please?
I'm searching for the same thing! I know one but its exclusive to sierra voq smartphone: it's called myvoq
I sort of knew that it was not going to be easy to find but I am still hopeful that the great brains out there would have come up with something.
wovens said:
I sort of knew that it was not going to be easy to find but I am still hopeful that the great brains out there would have come up with something.
Click to expand...
Click to collapse
I have a wm2k3 rom from the Sierra VOQ which has the myVOQ in it... But I can't dump it... I get some "can't load compressor dll" when dumping it...
philocritus said:
I have a wm2k3 rom from the Sierra VOQ which has the myVOQ in it... But I can't dump it... I get some "can't load compressor dll" when dumping it...
Click to expand...
Click to collapse
Thank you but I think even if you managed to dump your ROM or copy the dll it probably would not have worked because I think the phone is a smartphone, i.e., no touch screen, am I right? I believe software made for smartphones cannot be made to work on touchscreen-phones.
But thanks for trying.
Regards,
w
I discovered the correct terminology for what I am after: "Predictive on-device Search" - see article here. But still no concrete results.
wovens said:
I discovered the correct terminology for what I am after: "Predictive on-device Search" - see article here. But still no concrete results.
Click to expand...
Click to collapse
I've found a few but only for s60 symbian phones...
not one for windows mobile.

Newb to C# question, trying to display jpg menu

I've been posting left and right on these forums since I got my new phone (Blackstone). I've done some programming before (c/++ and java) but mainly more scripting in Matlab and maple (if you can call the latter scripting ).
But since I've gotten my new HD, I've been wanting to program for it. So I thought my first program would be a simple but fun multiplayer game, which would allow me to learn c# in the process.
I've gotten hold of VS2008 through my uni, and a few different C# books (couldn't find a specific WM6 C# book though, and MSDN is a huge mess, what with obsolete libraries, mixing WinEmbedded and WinCE with compact.NET and a mess of unusefull and incomplete pseudocode).
So I've started through the books and it all seems kinda straight forward: classes are declared with their variables, the accessors/methods and constructors; you create an instance of the class and load in it's variables, then you draw them.
And now I'm stuck trying to just displaying a goddamned jpg.
I've attached my program code (VS2008 project) and the jpgs. What I'm trying to do here (before even getting started on the game logic) is just display a form with a background image, draw three menu buttons on top and a sound on/off button.
The start/options/exit buttons will lead to their respective forms, and the sound on/off button does just that.
What I've tried to do is create a new class. ImageBtn, which implements my button behaviour (show button, if pressed display pressedversion of the button and then perform action).
The Mash2 main() directs to MainmenuForm, which loads the bckgrnd and buttons using the mainmenufoprm.designer and the imagebtn class. The rest of the forms are placeholders.
Please, could someone who knows more of C# than me (ie practically anyone ) have a look at my Mash2.cs, FormMainmenu.cs and ImageBtn.cs to see what I'm doing wrong?
Am I not loading the jpg's correctly? Is my custom class not declared correctly? Is it a problem with my use of winArray? Or how I invoke graphics.drawimage?
I just have no idea, and what's more humiliating is that everything I look up on google gives me a different, badly written and obviously syntax incorrect example of how it should be done and they're all done using very different techniques.
PS: as I've said, I've attached my project files, but if people can't be bothered I could post the code inline. Also any links to WinMobile, compact.NET C# forums which could help would be much appreciated. Hell, any help would be a life^H^H sanity saver!

Possible convert my iPhone-app to Android?

Hi!
Ive just finished an iPhone-application, and Im looking into the possibility to convert it to an android-application.
Let me tell you the basic structure of the app:
- It has a simple drill-down-menu, with three levels of lists. Pressing a list-item will bring you deeper down into the hierarchy, and pressing a back-button will take you up a step.
- At the bottom of the hierarchy is a webview that loads a unique webpage depending on the hierarchical path the user has taken. These web-pages (html and javascript) are all localized on the device so it never goes online.
- The webpages has two main resources: images, and sound (mp3). The sound should be playable from within the webpage. All these resources are also loaded from the device.
- When exiting the app, it should save its location and when relaunched it should reopen that location.
As you can see, its a pretty simple application. Im wondering if anybody could detail a little what I need for this to come alive on Android. Perhaps the application-layout Im after is so generic, even, that there is a template for this?
My background as a programmer is mostly C++ and C#, so Im more at home with the Java-syntax than the awful Objective-C that iPhone uses.
So far Ive installed the development-environment, and have tried out the basic "Hello Android"-sample. Thats about it for the moment.
porting your iphone add to android
hi there,
i'm a android programmer and did many games already. you can see my games at:
not sure you still need help to port your iphone app to android. may be you can send me the source code. i can do it for you. very easy for me.
Tony Chan
[email protected]
Android uses java syntax and java libraries
so if you like java, then you would probably like android
layouts are done in XML
chingy1788 said:
Android uses java syntax and java libraries
so if you like java, then you would probably like android
layouts are done in XML
Click to expand...
Click to collapse
hehe well said
I don't think anybody can tell you what you need to do. Just start by reading through all of this: http://developer.android.com/guide/topics/fundamentals.html and you should be able to handle this.
Note: your application appears to be trivial.
One thing that I suggest is that you forget about locally-stored web pages and just rewrite those pages in Android/Java. The reason I suggest this is that unlike apple, you can't make any assumptions about what browser the user has installed (if any), or what rendering engine their browser happens to have, or javascript engine, etc. There are AT LEAST three different rendering engines in use on Android, including khtml, gecko, and presto. There are at LEAST two different JAVASCRIPT engines, including SquirrelFish and V8, and soon you will be able to add SpiderMonkey to this list (when Firefox launches). And no, you can't force your application to call on a particular browser since this would violate the modularity designed into the platform.
DANNEMAN101 said:
Hi!
Ive just finished an iPhone-application, and Im looking into the possibility to convert it to an android-application.
Let me tell you the basic structure of the app:
- It has a simple drill-down-menu, with three levels of lists. Pressing a list-item will bring you deeper down into the hierarchy, and pressing a back-button will take you up a step.
- At the bottom of the hierarchy is a webview that loads a unique webpage depending on the hierarchical path the user has taken. These web-pages (html and javascript) are all localized on the device so it never goes online.
- The webpages has two main resources: images, and sound (mp3). The sound should be playable from within the webpage. All these resources are also loaded from the device.
- When exiting the app, it should save its location and when relaunched it should reopen that location.
As you can see, its a pretty simple application. Im wondering if anybody could detail a little what I need for this to come alive on Android. Perhaps the application-layout Im after is so generic, even, that there is a template for this?
My background as a programmer is mostly C++ and C#, so Im more at home with the Java-syntax than the awful Objective-C that iPhone uses.
So far Ive installed the development-environment, and have tried out the basic "Hello Android"-sample. Thats about it for the moment.
Click to expand...
Click to collapse
look at the NDK
Freedomcaller said:
look at the NDK
Click to expand...
Click to collapse
The NDK is *NOT APPLICABLE*.
Why don't you create a converter from iPhone to Android? There are few Italian app.. only this is better than Android for Italian user.. but I love Android!
I have an app that has been created for android, and I need help creating it for the iphone. I'll share the source code if someone will create the app for me please.
DANNEMAN101 said:
Hi!
Ive just finished an iPhone-application, and Im looking into the possibility to convert it to an android-application.
Let me tell you the basic structure of the app:
- It has a simple drill-down-menu, with three levels of lists. Pressing a list-item will bring you deeper down into the hierarchy, and pressing a back-button will take you up a step.
- At the bottom of the hierarchy is a webview that loads a unique webpage depending on the hierarchical path the user has taken. These web-pages (html and javascript) are all localized on the device so it never goes online.
- The webpages has two main resources: images, and sound (mp3). The sound should be playable from within the webpage. All these resources are also loaded from the device.
- When exiting the app, it should save its location and when relaunched it should reopen that location.
As you can see, its a pretty simple application. Im wondering if anybody could detail a little what I need for this to come alive on Android. Perhaps the application-layout Im after is so generic, even, that there is a template for this?
My background as a programmer is mostly C++ and C#, so Im more at home with the Java-syntax than the awful Objective-C that iPhone uses.
So far Ive installed the development-environment, and have tried out the basic "Hello Android"-sample. Thats about it for the moment.
Click to expand...
Click to collapse
Is it possible to post this in the Q&A and not development section?
sparksco said:
Is it possible to post this in the Q&A and not development section?
Click to expand...
Click to collapse
This is from the first half of 2009, I highly doubt that they care where it should be posted (now).
Converting iPhone app to Android will be greate.
I would like to have All My Recipes iphone app in my Galaxy Tab
It was be great if somebody can port the secret of mana game from iphone to android ! =)

help with creating windows phone app

hello
i am in the middle of developing an app, nothing special. just a converter for my use.
my main page has three buttons on it, but i want to link them to another page in my application
eg MainPage.xaml to page1.xaml.
i am using visual basic, and when i create windows applications i use
either:
me.visible = false
page1.visible = true
or
MainPage.visible=false
Page1.visible = true.
but this is not the same for windows phone coding, and its really confused me, i should also state i am a beginner in coding for windows phone, as this is my first decent app
if anyone can help, that would be amazing!!
I think this is what you're gonna want to use:
http://msdn.microsoft.com/en-us/library/ms591053.aspx
For C# you could do something like this:
Uri nav = new Uri("page1.xaml");
NavigationService.Navigate(nav);
but I don't really know about VB.
thanks
i dont really know anything about C# as i am still in school, and the language we learn there is VB.
if i were to add this, would i put this in the mainpage.xaml or would it go somewhere else?
i have just looked over the URL and it makes sense, but its just making it harder than it needs to be, i dont see why Microsoft couldnt keep the same language like your creating an application for windows 7. ahh well, i shall be trying this when i get home as right now im babysitting ;D
i want to complete my app by next friday as i am going abroad and want to test it out in a real life situation
Can someone help me, i cant progress with my app without this knowledge.
a fast reply will be good. thanks SlimShady322, but i dont really get it, can someone explain how to do it
Put these lines in a click event of a button:
Code:
Dim nav As New Uri("page1.xaml")
NavigationService.Navigate(nav)

[Q] how execute/apply xml file?

Hello,
I have a lot of problems with omnia 7 due to app profile network of samsung haven´t got the profile of my operator. I can set it thanks to a post of here, but I think that it is a bit difficult and you need the computer to set it. As I have studied some of programming c#, I decided to make an app that set mms and internet. I have already done the screen and I´ve get to make that app create the file xml with the code in order to set mms and internet, but I haven´t found information about how execute/apply the file xml with the app. Where can I find about it?
PD: Sorry, I do not control English very well
Hi,
I guess it's a topic a bit complex, but can not someone help me with this?
You use an OEM COM interface, accessed from C# by using Microsoft.Phone.InteropServices.ComBridge. One easy way to see how this is done is to look at the source of an app that does it. If you can't get the source to DiagProvXML, you could always just decompile it (decompiling .NET code is pretty easy and there are several tools that can do it). There are several other apps that also use provxml; one or more of them may offer source access.
Hi,
Thank for your help and I can select the services that I have load, but I have a small problem that I hadn't taken into account. I know c# but my apps are a lot of more easy that diagprovxml, and I can´t find the part of program that I´m interested. I use "JustDecompile" to decompile the app. Could you tell me what class(or classes) is (are) what I'm looking for?
Thank you very much again
Hmm... it's not linked in my SIG because it's out-o-date, but you could try using Search to find my old DeployProvXml app. It includes a pretty straightforward example of using provxml.
Essentially, you need the following things:
The interopservices DLL (allows you to use the ComBridge class).
The OEM DLLs (DMXMLCOM.dll and such).
COM class and interface definitions for them in C# (this is the stuff with the [ComImport] attributes and the GUIDs).
ID_CAP_INTEROPSERVICES in your WMAppManifest.
WPInteropManifest.xml file in your project.
Use the ComBridge to register the COM interfaces, then create an instance of the COM class(es), cast to the appropriate interface type(s), and use a variable of the interface type like any other .NET object.
You can read a bit more about COM and native code in Heathcliff74's guide. It's aimed at making your own native libraries, so skip all the stuff about creating your own COM classes and writing native code. http://forum.xda-developers.com/showthread.php?t=1299134
Hi again, Does the method WP7RootToolsSDK.Environment.ProcessConfigXml allow to set the parameters that have a tipical xml file?
thank you again
I'm not sure what you mean by "set the parameters" but the Root Tools SDK does in fact allow you to consume ProvXML files now (I think it even supports the query provXML and returns the output, though I haven't tried).

Categories

Resources