Related
reposted to Dev&Hack forum Aug 9th, 12:30pm PST
I'm not a developer, and only an intermediate(?) VBA programmer for my own solutions. (Though several of those are quite involved.)
I have a question that I'd like to post on the Developers forum, because I believe it falls in "their" wheelhouse.
I've read and respect the posting guidelines published for each forum and the site generally.
I've done my web search diligence, and have posted inquiry on other sites specific to my device and the particular application(s) involved. No luck.
Am requesting permission/blessing to post the following:
Keystrokes as code?
Specifically Excel Mobile keyboard shortcut Alt-PgUp/Dn
I've created several Keystroke "routines" to minimize stylus use in Excel Mobile. I've mapped to hardware buttons, and they all work great... except Alt-PgUp(and PgDn). In Excel, these key combos will scroll one screen left or right, respectively. Other similarly-coded "routines" work as expected.
I've worked around this for now by recording screentaps in Excel's horizontal scrollbar. Unfortunately, the location of that s/b depends on whether SIP is active. If it is, the vertical co-ordinates of the screentaps become irrelevant and/or potentially destructive to my intended result. I prefer to avoid "position dependent" commands whenever possible for obvious reasons.
I have several other programs at my disposal to effect the Alt-PgUp/Dn shortcut(s).... IF I knew how to define the values(?) of Alt-PgUp/Dn in a script.
(MortScript, PHMkeys, Pen Commander, Spb FullScreenKb, PDA MediaKb)
I've been all over the web, and I think I understand keystroke scan-codes and values... and how they work together. Is there something akin to an ASCII "value" for this key combination? (099/0A1; 073/081; 153/161)?
Any ideas are appreciated. I've no aversion to research or work, but can't figure out what to ask or where to look further.
(I just really need a more direct/reliable functionality to scroll entire screen at a time left/right.)
Thanks in advance if anyone can help.
Dell Axim x51v WM5 (if it matters)
(Please feel free to "re-direct"/re-locate/modify/enlighten etc.)
pro-fit2: your post sounds like one of the very few that truly does merit going in the developer forum Please repost it there.
BTW, the solution to your problem sounds like you could just emulate scrollbar commands, rather then keyboard commands. That's fairly easy to do by posting WM_VSCROLL or directly manipulating the scrollbars in code. With that you can emulate smooth scroll, line scroll and page scroll. I wrote an app that can do that, once upon a time.
V
Scroll bar control, accessing, WM_HSCROLL
Vijay, thank you for permission and input.
Before I go further, I like the sound of your suggestion, but my code background is primarily VBA thru Excel, from which I access some minor(?) "other" things like PrintDialog, or other MS Office apps...
I'm willing to work through the API(?) to access window scrollbar controls, WM_HSCROLL (etc), but I would need a more basic start. If it's easy to generate, I'd love to see some further detail on the approach you described.
Thanks either way,
Pro-Fit
pro-fit2: apologies for being an ass, but could you open a thread in the developers forum, and I'll paste some code in.
I would open it for you, but it's better if it's opened under your member ID.
To get you started, this is a not particularly good article on scrollbar functions in vb.net. It's not VBA, but should give you an idea.
There are two ways to control the scrolling -
method 1: by sending the scrollbar a rough command to scroll up/down/left/right one line or one page. [ WM_VSCROLL with SB_LINEDOWN/SB_PAGEDOWN ]
method 2: by sending specific thumbposition control commands, which will give you fine control over the scrollbar. Frankly, this is probably what you don't need as it requires you to interrogate the scrollbar and then react accordingly. You just need to emulate line up/down I think. Look into SetScrollInfo etc.
Again, apologies for being obtuse, but there's no point filling this thread with redundant info. But start here:
http://windowssdk.msdn.microsoft.com/en-us/library/ms674659(vs.80).aspx
Open the development thread and we'll continue
V
Hey developers,
Believe me, I tried searching quite a lot but couldn't find an answer, never tried this kind of developing ever.
Let's say that my point is to disable part of screen - eg below 400px will not work - my app will catch those mouse events and stop them.
I tried speaking with Chainfire on IRC but he went for gaming or so and he offered me injecting dll's. I'm not sure if that would be the best idea since I'd prefer to do it on background rather than loading it with all apps.
I was thinking another few minutes and how about loading it as driver or some kind of touchscreen filter and running inside device.exe or any other kernel process (or just as background process, doesn't matter those few kB in memory).
Thanks for any push in any way of doing this, believe me, you won't regret the result . OndraSter
Not sure this is possible with the Win32 HWnd stuff, you can catch and handle Window Messages only within the Window said messages are posted to. Never seen a way to do it system wide. Would probably involve replacing some fairly fundamental components. Same sort of thing we are looking at to get multi-touch working correctly on the HD2.
I heard someone got it working with keyboard, but mouse not because of lack LL_MOUSE stuff etc
maybe develop a driver, like i.e. Touch response does.
Yep that was one of two things that came to my mind - driver or service...
But I have no idea where to start with it though...
A Small Story to serve as an introductory:
So a while back, when I got my brilliant Excalibur, I started developing small applications. Some of you may recall the, now long dead , thread I had called CycloneApps [By Request]. I started with C#, and did some ok things [in my opinion] and they helped serve as a learning block for bigger and better developments. I have gone from CMail.exe, the command-line replacement to tmail.exe, all the way to FFP_LockScreen [Fake FingerPrint LockScreen], which unfortunately was aimed at Touch-Screen phone users as a project I undertook as I showed interest on a thread in the Software Development sub-forum. I got my original inspirations and 'drive' to develop from this here community, the Excalibur owners or supporters, and I thought it be best that I now fulfill a request made by Ookba, the great Chef who has brought our phones new life.
See, shortly after I started taking requests, Ookba suggested I re-make SMSBubbles to be more functional with the ROM. At the time, with the speeds of the .NET CF, it seemed impossible to really do. But I come back to you all now with the knowledge of C++ So as a token of my appreciation to all Excalibur owners, I want to develop CycBubbles, an SMSBubbles remake with features YOU want!
--------------------------------------------------------------------------
Having said all of that, I ask now that if anyone has any interest in such a program becoming available to the Excalibur, they reply to this thread with Ideas concerning one of the following:
Soft-Keys: What should the LEFT soft-key and RIGHT soft-key do [ and under what circumstances] ?
Look and Feel: Do you like the SMSBubbles 'bubble', or do you want something different? [Realize that more complex designs = slower speed]
Rules: How about some filter-rules about when the bubble should or should NOT appear.
Positioning: Do we all like the bubble at the bottom of the screen? Maybe we can make it more PPC-Like if it were in the Center, or from the TOP.
Extra Functions: What kind of extras would you like? (i.e. Should I utilize the 0 - 9 keys on the keyboard to do something?)
Once I get the ideas from YOU guys/girls, on what YOU want this program to do, I can start developing
Please consider
if you want to see this program really flourish
Reserved for later use
Rules would be awesome. How about setting bubbles only for certain contacts? Would the .cab install work for other ROM's besides ookba's?
I would most definitely aim to make the program ROM INdependent.
Thank You for the feedback
it would be interesting to make the left and right soft keys customizable...
and as for the location/look of the bubbles, that to would be nice to customize and to relocate wherever the user feels. top, bottom, left, right, center...
the rules sounds good, and maybe apply an ignore feature to certain annoying contacts lol. like a black list on contacts that the bubbles won't show up for.<-- pretty much what Frostmoon said. lol
pretty much make it user customizable friendly.
nice to see you around these parts again.
Due to the rather disheartening amount of feedback on this thread, I will most likely not develop this in the near future .
I am currently consumed with finishing up my next version of Fake FingerPrint LockScreen for Touch-Screen phones, but that should be over in about a week.
I have been pondering re-starting development on my Horizon Home-Screen, if any of you remember that (if not, you can search it). My further knowledge of C++ will most definitely assist me in making this HomeScreen I had dreamed of making a while back when I only knew C#.
So I suppose be on the lookout for any news on that, and check here occassionally to see if I post back. For now, I am going to leave this on Stage 1 (Gathering Ideas), NOT DISCONTINUED, because I do hope to have the time to come back to this soon and give back to the community that started me off
Cyclonezephyrxz7 said:
Due to the rather disheartening amount of feedback on this thread, I will most likely not develop this in the near future .
Click to expand...
Click to collapse
Yeah it's a real shame as the idea was requested by users yet response so small, no longer have an Excalibur but think that the development of a SMS bubble app with more configurable options would be welcomed by many smartphone users and not just Excalibur, maybe worth thinking as a project for D&H rather than just Excalibur users.
>sms bubble duration
>marque of sms
>if recived multiple sms we shuld b able to select the one to view....
>customizable soft buttons becoz diffrent user wants different settings..
>user created themes
> rules is another great idea... coz somtimes service provider sends lots of annoing sms + others
>hide the vip sms.. and it requires password to view the sms( it can b a seperate function to lock the sms bubble with password)
>photo of the sender... if it is from the saved contact...
> a floating bubble would b great the flows from up-down or vice versa.... until the user press a button..
somecuitears said:
>sms bubble duration
>marque of sms
>if recived multiple sms we shuld b able to select the one to view....
>customizable soft buttons becoz diffrent user wants different settings..
>user created themes
> rules is another great idea... coz somtimes service provider sends lots of annoing sms + others
>hide the vip sms.. and it requires password to view the sms( it can b a seperate function to lock the sms bubble with password)
>photo of the sender... if it is from the saved contact...
> a floating bubble would b great the flows from up-down or vice versa.... until the user press a button..
Click to expand...
Click to collapse
good ideas!
stylez said:
Yeah it's a real shame as the idea was requested by users yet response so small, no longer have an Excalibur but think that the development of a SMS bubble app with more configurable options would be welcomed by many smartphone users and not just Excalibur, maybe worth thinking as a project for D&H rather than just Excalibur users.
Click to expand...
Click to collapse
yes, it is a shame. i was really looking forward to this.
best of luck with you home screen development, will check in on that time to time.
somecuitears said:
>sms bubble duration
>marque of sms
>if recived multiple sms we shuld b able to select the one to view....
>customizable soft buttons becoz diffrent user wants different settings..
>user created themes
> rules is another great idea... coz somtimes service provider sends lots of annoing sms + others
>hide the vip sms.. and it requires password to view the sms( it can b a seperate function to lock the sms bubble with password)
>photo of the sender... if it is from the saved contact...
> a floating bubble would b great the flows from up-down or vice versa.... until the user press a button..
Click to expand...
Click to collapse
As stated above, good ideas!
@Cyclonezephyrxz7 - This can be a good start don't you think?. Thanks for your work dude, I hope to see this project rolling out
@Mr.Clown (and all others too)
Yes, it did serve as a sort of inspiration to start up. Thank You to those who did contribute ideas thus-far. I have not started up a thread yet, but http://forum.xda-developers.com/showpost.php?p=7166724&postcount=39
Expect something soon (Within a month maybe?)
Also, I am now officially a co-founder, and primary developer for Chicken-Egg Solutions. This will become my main venue for application development and requests, as well as web-design, computer repair, and problem solutions (Most of these will be taken care of by my friend, the other Co-Founder). The website will be up soon (www.chicken-eggsolutions.com), check back every so often
Hi Cyclone,
We met in another thread. But I would like to raise my function request here for your consideration.
I am looking for a delivery note management function that allows my to keep track of my sms receiver. I would like to know who, by name, have received my sms and at what time. I don't know if such function is appropriate for the software you are developing. If so, please consider to add this function into it. If not, appreciate if you can point me to the right direction.
So are you requesting, as opposed to the normal Delivery Requests that Windows Offers, to make a type of 'Delivery Notification' that gets stored in some XML-like file for future reference?
It will be great if the software can list out the receiver name and date/time of the delivery notification. It will ever greater if it can match the sms/delivery notification with the acknowledgement send out by the receiver after receiving my sms.
If it only output an XML, user will have to figure out how to display it on a mobile phone.
how about an option of reading the incoming sms....like in nokia mobiles
Like Text-To-Speech?
Cyclonezephyrxz7 said:
Like Text-To-Speech?
Click to expand...
Click to collapse
ya... how about that.. i think it shuld be customizable soft button or a different button..
I will see. I feel that that may increase the size of the app distinctly, and also distinctly reduce the speed. Although I could probably figure a way to not let it be affected.
Anywho, Thank you, ALL, so much for these ideas. I suppose that I will start attempting to make this once I am fully done with my FFP_LS pro (Which, by the way, works on Excaliburs! and other non-touch-screen phones ) and when I get my internet back fully.
Cyclonezephyrxz7 said:
I will see. I feel that that may increase the size of the app distinctly, and also distinctly reduce the speed. Although I could probably figure a way to not let it be affected.
Anywho, Thank you, ALL, so much for these ideas. I suppose that I will start attempting to make this once I am fully done with my FFP_LS pro (Which, by the way, works on Excaliburs! and other non-touch-screen phones ) and when I get my internet back fully.
Click to expand...
Click to collapse
Thanks for your work and for sharing it, we will wait then
Revised Idea, and then some
Okay, so this post contains a little meat to it
1) I want to let people know about FFP_LockScreen Pro 2.0, now available on my website( www.chicken-eggsolutions.com ). My partner and I do app development as well as web design/development. FFP_LS Pro 2.0 is fully based on C++, has many customizable components, and best of all it is (what I consider to be) a pretty legitimate replacement lock for our phones. I have made this version (and all future versions) compliant with our lovely Excaliburs. Instead of having to press the screen, trick people with a "slight of hand" by putting your finger on-screen while pressing the space-bar with your knuckle (thats how it works for me) and it will start scanning. Trust me, it mystified half my family already haha. Anywho, it is shareware, so there is a free NON-EXPIRING trial. THe trial has its limiatations however. Also, another feature that is in this for our lovely Exca's that is currently NOT available to TOuch-Screen phones is true replacement (sorta) of the default lock. By using specific API commands, I was able to get it to run when we initiate the default lock! Cocky as it may sound, I feel this lockscreen beats S2U2 in 3 ways: (1) Tests have shown it to boot faster, (2) it actually replaces the default lock, and doesn't use some timeout trick, and (3) is actually blocks other windows [unlike S2U2 which can be overridden by pressing the TaskManager key or Messaging Key (on my phone at least)]. So yeah, personally I recommend it, but I made it. I will extend the same challenge here as I did on the Development forums: If you can make an interesting skin for the program, you can win a free license (3$ value)
2) So recently I have become extremely pissed off with tmail.exe. When I have actual 'conversation - length' messages, it is slow and just overall frustrating! So I thought, "Hey, I am already starting CycBubbles...why not make it a whole 'suite' type thing". So I am considering making my own Messaging Client EXE. It would be a major switch, as it would eliminate CE MAPI for the most part (it would keep messages stored there, but its main access would be via XML). Then as an extension to this I can h ave CycBubbles. Generally, I find, SMSBubbles works...and it is reliant on CE Mapi, so I can make one reliant on XML, not CE MAPI, that works comfortably with my own client. What do you think of that idea? This would obviously require a lot more time. But if it is what I imagine I can do, it will be faster and better
So I guess that is it really... If i remember anything else I wanted to say, I will post back again!
Hi Everyone,
Using the SkeletonApp default code, how would I insert a void or whatever (sorry not knowing the terminology yet) that would run each cycle of the program like a counter or something?
Just keep it simple, just a "run this always" loop while maintaining the button functions would be great.
OR-
I did read something on the web that said Java/Android does not use a main run void() like C#,C++ and others do, but in fact it uses more than one function/class or something as it's loop.
Is that true?
EDIT: why is this in the windows forum, I posted in the Android...since a mod missed it I will re-post in Android.
Hey guys, like the title says, I'm attempting to create an app, but with little success at this point.
What I want to do, didn't sound all that complicated in my head. I want to make an episode guide for a TV show I like. Nothing too fancy, but I do want it to look WP7-authentic.
First off, I don't know or really understanding coding in the slightest. I was hoping to be able to design most of the app through the on-screen WP7 display, which it seems I can do a lot on.
From what I've gathered, here's what I'd like to do:
Use the "Pivots" as the different story arcs or "seasons"
Within each pivot, Episode # and Title
But I'd also like to go one further and have each episode be clickable, which would take the user to a page containing info about the respective episode. Synopsis, International Titles, Airdate, etc.
It's a big project, I just need a little help getting it going.
Thanks!
dbG33K
what you're describing can be done one of two ways.
1. just display images after images
2. input text into the program
from what im gathering, it should be fairly easy for you to do as this is the sort of beginner stuff in most windows phone 7 programming books. id suggest you look into programming because even the slightest pivots and transitions require code.
now if you were on android or webos, thats different. they have full on graphics based programming thats a simple matter of drag and drop and choose function.
Download Expression Blend. You can do pretty much everything without having to write any code. It includes a "Pivot" template which has a pivot all ready for you, then you just add PivotItems using your mouse. Then you can use the Sample Data feature to mock up how your episode data will look.
The only thing you would have to write code for would be to pull the episode information from a datasource. Bind it to your controls and Expression will have the rest done for you.
http://www.microsoft.com/expression/windowsphone/
Sample Data:
http://expression.microsoft.com/en-us/ee426896.aspx
First thing you'll need before you even open Visual Studio or Blend is a data feed.
An rss feed is ideal, And I'm sure theres alot of them out there for TV listings. Without that, theres little you can do (other than screen scraping websites, but people don't look too kindly on that)
If you can find me a Url for the RSS feed you want to use, I'll be more than willing to help you out
xanderkaiber said:
First thing you'll need before you even open Visual Studio or Blend is a data feed.
An rss feed is ideal, And I'm sure theres alot of them out there for TV listings. Without that, theres little you can do (other than screen scraping websites, but people don't look too kindly on that)
If you can find me a Url for the RSS feed you want to use, I'll be more than willing to help you out
Click to expand...
Click to collapse
What he said
I'd be willing to help you out as well. I'm in the process of writing a feed reader to help me make the move WP7 from WPF/Silverlight. The idea I have for the UI is similar to yours and the feed reader (at least in the basic form) will be open source so I've no problem sharing my code...
I appreciate your willingness to help me out, but it's actually a series that has been over for quite a while.
Hey guys, I've gotten much further on my app and have become a little more well-acquainted with coding in the form of using Expression Blend 4. That said, I do have a few questions:
1. After making a few pages, I decided to make a sort of Welcome page for my app. How do I tell it to show that page first instead of "MainPage.xaml"?
2. On that welcome page, I would like to make a button that pulls up the user's E-mail and have it have my e-mail as the recipient.
Thanks a bunch!
This is in the WMAppManifest.xml file within the Properties folder.
for the email look into the email compose task
barryallott said:
This is in the WMAppManifest.xml file within the Properties folder.
for the email look into the email compose task
Click to expand...
Click to collapse
That doesn't really help me too much...
What am I supposed to do in the WMAppManifest.xml?
And where do I find the email compose task, and how do I implement it into the app?
EDIT: Nevermind, I figured out both of those questions. A new question, though: How do I take screen shots of the app? I need at least one to submit it to the marketplace, but I don't know how :/
dbG33K said:
That doesn't really help me too much...
What am I supposed to do in the WMAppManifest.xml?
And where do I find the email compose task, and how do I implement it into the app?
EDIT: Nevermind, I figured out both of those questions. A new question, though: How do I take screen shots of the app? I need at least one to submit it to the marketplace, but I don't know how :/
Click to expand...
Click to collapse
Download this:
http://www.innovativetechguy.com/?p=13
Make sure your emulator is set to 100% size and uncheck the "Show Device" checkbox in the tool. That will give you the necessary 480x800 sized .png
There's a fair lot you can do using the designer panel, but you will definitely need C# code for what happens 'behind the curtains'. Things like pulling the episodes from the internet and such.
I definitely recommend these tutorials:
Windows Phone 7 Development for Absolute Beginners.
It builds up slowly, but definitely gives you the foundation you need to put together basic applications.
Hey guys I found this thread and after reading it I feel I have a lot in common with dbG33K's tasks & questions. I feel I have a lot to offer WP7 apps as I learn more! I started out in January learning and studying as an absolute beginner (even did the 5 day course online). After a lot of studying, I felt confident enough to write my first BIG app.
I'm pretty good at the xaml part and getting real familiar with c# as I go along. Also, I think I have all the pieces I need, just need help putting it all together. I'm using an API for the data source (i have all the dlls and resources in place even all the c# methods for the API).
I have the UI all put together, now working on the c#. I'm just unsure on the binding part. I know my listboxes and other controls should be binded to a method in c#, but what calls that method? When the page loads that listbox, textblock, etc? Also, what kind of coding is generally used inside the {} of the methods that pulls info from the datasource?
As I have learned a lot aver the past couple of months, I find that I've learned it from examples I've found online, but I'm drawing a blank on this one. Any help would be great!
Thanks!
Do any of you can tellme how can I save text from the text box??
Sent from my LG-C900 using XDA Windows Phone 7 App