Hi there,
I want to write an app that does some user defined manipulation on outgoing SMS. This should be something like text manipulation but it should also be possible to disallow android to send the sms so that it can be sent by some other way like the internet.
First I thought of an own SMS application but thats some sort of overhead for such a simple thing to do.
So my second thought was "What if I could just register an alternative SmsManager class for the whole system?". A look into the sources of android told me that the getDefault() function of SmsManager just creates a instance of its own so I cannot implement a new SmsManager and set it as default.
Any idea how that could be done?
Because the only other way that comes into my mind is to re-write the SmsManager class, find out in which Jar package on the system it is and replace the original with my own. But in my opinion that is a dirty hack and is not the be used for an application which I wanted to make public...
Well, anyone here who has an idea how to do that? Just implementing a function which absorbs the SMS which should be sent an manipulates it seems not be the way how it could be done...
Thanks for sharing your ideas!
PS: Well, actually, my phone doesnt start. It says something like 'you're a noob, don't use this'. Any ideas?
Sorry, had to make this joke about the not working phone
Related
So I'm trying to write an application that changes the volume of my phone at given points in time. I know that there is atleast one application that already does exactly this, but where's the fun in downloading (and paying for) it? I want to do it myself
The only part of the application that is missing is that I want it to be able to schedule these events somehow. I don't want it running in the background eating extra battery/cpu power. My phone runs Windows Mobile 6.1 Professional. I'm writing the app in C#, but it doesn't really matter what language you answer in.
So does anyone here know how to do this or maybe has a suggestion on where I could look for an answer?
Any help is greatly appreciated!
/Json84
Are there some coders with some time here ?
We can see that the mail apps on Android are not so good.
Is there one coder who can take a look to port "npop" a well known mail (pop) app on Windows Mobile ?
I have the sources available.
Thanks !
Unless the sources are in Java (which im sure windows mobile is programmed in some C derivative) then it'll be hard to just port it over. a vast majority of the code will have to be rewritten and it'd hardly be the same app. What are you looking for in a mail app specifically? Perhaps someone can write one with those features. Unfortunately I have very little experience in coding (I can do non-GUI stuff in Python, Ruby + C#) But I could have a go, some of it is probably very simple and i'm a master at editing already written code to make it better
Yes the main code is available in C and I know that the app have to be rewritten.
Maybe it can help to get some ideas to build a new app really similar.
What's so special in npop that the default G1 mail app lacks?
/Mats
That's what I was trying to get at... if, for example, it has IMAP support, or something the default mail app doesn't have, it'd be better to ask for a program to be written with that purpose in mind... but rewriting a program is a lot harder in many respects, not to mention depending on the liscence, you have to ask the auther for permission etc.
I use the default mail app to connect to my second gmail account via IMAP and it works just fine. There's a forked version of the default app called k9 that improves on the default app a lot. Google "g1 k9 mail"
I second the recommendation for K9, which lives at http://code.google.com/p/k9mail/ and is open source.
Perhaps give that a try and come back with suggestions for anything you don't like about it?
leon_citron is yet using k-9 and he is not happy with it...
Yes, clearly....
Try to read a file included in a mail for exemple, works sometimes, sometimes not...
Other exemple, you can delete mail from the phone, but not from server.
With npop, you can add filters, delete mails from phone or server, or both and many many more things
Hey devs, still working on making it so that HTC Messaging will handle incoming SMSs from Google Voice. At first I was starting with trying to change HTCMessaging to connect via web instead of SMSC, but that has proven to be a big circular pain, so now I'm trying a different route. I'm tweaking some code that is very similar functionally to OneDialer that will accept the incoming SMS and also send out via packet data, but what I'm trying to do is have it insert the contents of that message directly into whereever HTCMessaging stores SMS(and also activate Notification even), but I can't find it. Any help getting pointed in the right direction would be greatly appreciated, It'd be nice to have free SMS from Google Voice show up in the gorgeous Messaging tab.
Bump...and small update: 1.) I have found and analyzed the dll that handles all the SMS commands with IDA Pro, but past that I'm basically looking at a massive amount of code I could definitely use help sorting through, and 2.) I know that SMS are stored in cemail.vol which obviously is edb format, and I don't know if I can find the code in right applications, like Microsoft My Phone, in order to write to that file.
So right now I'm at a crossroads, with two routes I think I could take:
- I could tweak HTC Messaging to pull from a file of my own making
- I could create a program that is able to write to cemail.vol, while this method would simplify everything after that part of the process, and create the most desirable results, it would be very difficult to unlock the file in the first place because it is locked by the very messaging client I want to read from it.
I would GREATLY appreciate the help of any devs out there who are smarter than me, because I'm sure a lot of people are going to want this app once it is finished.
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)
Is it possible to somehow use classes from the MS.Internal namespace, things like MS.Internal.TextBoxView which is the type of a sub-object of the ContentControl of a textbox?
I mean use them in a "normal" app on a locked end-user phone, and getting away with it as far as certification is concerned so it can appear normally in the Marketplace?
The Visual Studio debugger is able to display information about such objects somehow, that's where I got the knowledge of the existence of this TextBoxView class in the first place, but of course that does not mean that a normal app can do likewise.
Googling for "WP7 reflection" showed me hits in other places like StackOverflow with info that probably this will just run into security exceptions anyway, because MS does not want devs to use "undocumented APIs", but I am curious whether somebody here has tried to "hack" this and can report first-hand.
rbrunner7 said:
Is it possible to somehow use classes from the MS.Internal namespace, things like MS.Internal.TextBoxView which is the type of a sub-object of the ContentControl of a textbox?
I mean use them in a "normal" app on a locked end-user phone, and getting away with it as far as certification is concerned so it can appear normally in the Marketplace?
The Visual Studio debugger is able to display information about such objects somehow, that's where I got the knowledge of the existence of this TextBoxView class in the first place, but of course that does not mean that a normal app can do likewise.
Googling for "WP7 reflection" showed me hits in other places like StackOverflow with info that probably this will just run into security exceptions anyway, because MS does not want devs to use "undocumented APIs", but I am curious whether somebody here has tried to "hack" this and can report first-hand.
Click to expand...
Click to collapse
I highly doubt.. more towards no for this. Microsoft pretty much will deny anything in the low level APIs from being accepted in the Marketplace. A way to check this is to use the Marketplace Test Kit in VS 2010 (Project -> Open Marketplace Test Kit). It will tell you if something you're using will fail as it does the same type of quick test that happens when you upload a XAP for submission.