Hi guys,
I was wanting to look at the default sms app to see how it works and possibly look into modifying parts. I've googled high and low and still havent found the source, does anyone know how I would get it just for the sms app?
Any help is much appreciated.
Sorry, can't post links, but here is some source for you.
Code:
public void sendSMS(String phoneNumber, String message)
{
SmsManager sms = SmsManager.getDefault();
Pendingetent pi = Pendingetent.getActivity(this, 0, new Intent(this, SMS.class), 0);
sms.sendTextMessage(phoneNumber, null, message, pi, null);
}
Don't forget to set manifest permissions for "SEND_SMS" and "RECEIVE_SMS" if required.
Code:
<manifest>
...
<uses-permission android:name="android.permission.SEND_SMS">
</uses-permission>
...
</manifest>
Thanks, much appreciated. How come you are not able to post links? would it be possible to PM them to me? Thanks again.
http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=summary
I had this exact same thought yesterday.
I was thinking that I could easily take the stock SMS app and modify it to include what I consider an annoyingly missing feature, marking a message or thread unread. How hard could it be? Just add a new item to a context menu and then some SQL that will mark the message unread.
Well, apparently it is kinda hard.
Here's what I did:
I got the source for the SMS app by typing this:
git clone git://android.git.kernel.org/platform/packages/apps/Mms.git
Then I went to Eclipse, created a new Android project and said "from existing source" and pointed it to this folder I'd just checked out of the repository.
FAIL.
Tons of red Xs in Eclipse. Tons of references it couldn't find. I started digging through the repo to see if I could find the things it wanted and started adding those to the project, but one thing just lead to another missing dependency and after adding half a dozen other apps I just gave up.
Maybe I need the entire framework or something? In that case, I have no idea how to set up the project and how to build just that app based on the stock app.
I know this can be done. People have branched other stock apps (the launcher, the email client, etc.) and released their own enhanced versions. But I just couldn't figure out how to get started -- I couldn't even build an UNMODIFIED version.
If anyone can point me in the right directions, that would be quite helpful.
Thanks!
Sorry for pushing a somewhat dated thread, but this topic is very interessting for me as well since all Messaging apps currently kind of suck and I really like the minimalistic approach of the default app but it lacks basic features.
Any new ideas?
A link to the best source I could find:
http://grepcode.com/file/repository...pps/4.0.3_r1/com/android/mms/MmsApp.java?av=f
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A
okay thank you
Anyone knows where to get the source?
Any help would be greatly appreciated!
Found it!
https://github.com/android/platform_packages_apps_mms
edit: Weird problem. Lots of errors with missing classes/methods even though I can find those classes in online repos with the same API level (4.0.3). Importing those classes is not an option since a lot of new dependencies would be missing.
I know that the source is MMS for 4.0.4 but I find a lot of sources with the needed classes in the 4.0.3 framework. How is that possible?
edit2: Just found out that Google introduced their own Javadoc where they can hide experimental methods/classes for certain APIs but still use them in their stock apps. Now I only have to find a way to trick the system
I have been using this app for a long time now, and thought of sharing it with every one.
NOTE: I am not the creator of this app and am just sharing it with every one. All the praise and thanks for this useful app goes to the creator Rayman Zhang.
This dictionary Uses libraries which are in turn created by some one else. I am providing the links to the libraries that I use and were downloaded from a Chinese forum called bbs.pdafans.com
The official website for Rayman Zhang's MDict app can be found here
The libraries are uploaded here
The above link also has a copy of the latest MDict version 3.0. The libraries are of Merriam-Webster Collegiate 11th ed, Concise English-Chinese-English dictionary and Modern English-Chinese-English dictionary.
I do not have any other libraries available with me, so you can go ahead and search online. Rayman Zhang also provides a few links to some libraries on his website.
Again... I did not make this software, and am just sharing it with you all.
Enjoy!
great..applications
good,thanks
Audio lib
Yes, really good application.. but has anybody found audio library for chinese pronunciation?
audio lib
I got audio lib but just only english words (80.000) If someone would like to get them I can share
Medical database
Anyone who has the library for medical dictionary for use in MSDict?
Hey guys,
I'm really new to this app development and would like to ask one of you experienced developers a question.
Basically I have recently been creating mobile websites from a set of css files which are just a basic template. The template files have individual files for some of the most common pages that a small business would need, google map, contact us with form, menu, opening hours and so on.
What happens is you simply upload the company logo and such into the images folder, update the css style sheet for colours, then simply edit one of the relevant pages e.g place the food items in the menu page.
When the whole set of files gets uploaded it creates a personalised functional business mobile website.
What I would like to know is, would it be possible to set something like this up for an android app? Whereby the user could simply change the details as above and then compile the apk file which will create the app?
Your input is much appreciated, also have any of you got any idea where I could get someone to code something like this?
Regards,
Stephen
I have an idea to integrate the S-Note app with the rest of my Note 3 (Android 5.0 rooted) file system using its undocumented feature of auto-converting URL-like text into clickable links. In a nutshell, I want to click such a link (it recognizes http:// and ftp://) pointing to a local file on my device and have that file displayed in one of the apps supporting it. The obvious way to do that is installing a local http server.
That worked to some extent as expected. However, the webserver app I've found on the Play is in java, have a lot of advanced features I don't need, and thus consuming too much of resources to keep online 24/7...
My question is: what would be the best modern way to achieve what I want? E.g. a small native code single threaded daemon I can autostart on the system's restart to serve my files?
I saw the Native Android Web Server 1.1 but it's not working anymore (see that thread for details).
I've been on de-googled custom android for a long time. Yet I haven't figured out a good alternative for Google Lens character recognition. There's a service called Tesseract that can be used for OCR & Text Extraction. But I couldn't find a suitable app to utilize it. Any suggestions from others is highly appreciated.