Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

cabbage for android

1111214161745

Comments

  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    Bomber6 wrote: »
    EDIT: In hindsight, this may be what you are actually talking about. I know a good deal of Java but have yet to make the transition to Android so Intents etc aren't yet part of my vocab :D

    That is indeed what I was talking about :)

    I'm having doubts about this now though...

    The Intent used in the stock SMS app appears to be undocumented. It's not part of the API. It also appears to be something to do with emergency calls. I have no idea why this is invoked when you press the send button after writing an SMS. But after that Intent is invoked, the sendMessage method returns. And that's it. I'm very confused, I must admit. :confused:

    ('ECM', as it mentions twice, appears to stand for 'Emergency Call Mode'.)


  • Registered Users, Registered Users 2 Posts: 85 ✭✭Bomber6


    That is indeed what I was talking about :)

    I'm having doubts about this now though...

    The Intent used in the stock SMS app appears to be undocumented. It's not part of the API. It also appears to be something to do with emergency calls. I have no idea why this is invoked when you press the send button after writing an SMS. But after that Intent is invoked, the sendMessage method returns. And that's it. I'm very confused, I must admit. :confused:

    ('ECM', as it mentions twice, appears to stand for 'Emergency Call Mode'.)
    Integrating with stock would probably be doubly hard, I can't see it being designed for customisability the way a user-developed app like those given would be. Give one of those apps a try if you like so you see what I mean. Source code is available for one and probably the other

    On the subject of SMSDroid. I've had a look at how it works. When you select "Send Message" or "Reply", the option to select how to reply pops up as above but you do not type the message within SMSDroid. This means you'll still need a GUI. To allow your app to be an option you would need to implement an Intent filter I assume?


  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    Bomber6 wrote: »
    Integrating with stock would probably be doubly hard, I can't see it being designed for customisability the way a user-developed app like those given would be. Give one of those apps a try if you like so you see what I mean. Source code is available for one and probably the other

    I'm installing SMSDroid and looking through its code. It looks as if this should work actually.

    In theory though, integrating with the stock app shouldn't be a problem, if it's designed the way it's supposed to be in Android. Pretty much any activity is supposed to invoked via intents, instead of by calling that activity by name. This allows for a 'complete action using' dialog box when there is more than one activity on the phone that can fulfil that intent.

    So, *in theory*, it shouldn't be hard. But... it look like in reality, it may not be possible with the stock app after all.

    EDIT: Oh, I see how SMSDroid is doing it now. It doesn't actually let you write the message. It just lets you press a button that invokes an Intent to write a message, and this is intercepted by whatever SMS app you have on your phone. In my case, the stock app.

    Integrating with SMSDroid wouldn't be hard to do, in this case. But, unless I'm missing something, it seems like a pretty inelegant solution – I still have to open a second app, an app which is separate from the one I'd normally use to write the SMS. To be honest, as a user, I'd rather just stick with the regular SMS app + a standalone Cabbage.


  • Registered Users, Registered Users 2 Posts: 85 ✭✭Bomber6


    I'm installing SMSDroid and looking through its code. It looks as if this should work actually.

    In theory though, integrating with the stock app shouldn't be a problem, if it's designed the way it's supposed to be in Android. Pretty much any activity is supposed to invoked via intents, instead of by calling that activity by name. This allows for a 'complete action using' dialog box when there is more than one activity on the phone that can fulfil that intent.

    So, *in theory*, it shouldn't be hard. But... it look like in reality, it may not be possible with the stock app after all.
    Well integrating with an app like that should ensure the maximum amount of people can use your app. Sure it means having to install an additional app in the form of SMSDroid etc. but you aren't immediately ruling out everyone who doesn't have the stock messaging app (Like me! The HTC one lets you reply within the same window as the list of messages so there is no possibility to use anything else. It's the whole reason i don't use it anymore...


  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    What's tempting me now is to modify the stock SMS app to include a 'complete action using' dialog when you press Send. That would be the ultimate solution.

    Or... possibly I could modify the CyanogenMod SMS app instead, as that already has a bunch of cool extra features.

    But anyway, If I'm gonna get this to work with SMSDroid, it's still going to need its own GUI. And if I've got a GUI, it might as well work properly as a standalone app. So that means I'm back to my original plan before I do anything else: get that contact picker to work!

    Wish me luck...


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 85 ✭✭Bomber6


    EDIT: Oh, I see how SMSDroid is doing it now. It doesn't actually let you write the message. It just lets you press a button that invokes an Intent to write a message, and this is intercepted by whatever SMS app you have on your phone. In my case, the stock app.

    Integrating with SMSDroid wouldn't be hard to do, in this case. But, unless I'm missing something, it seems like a pretty inelegant solution – I still have to open a second app, an app which is separate from the one I'd normally use to write the SMS. To be honest, as a user, I'd rather just stick with the regular SMS app + a standalone Cabbage.
    Good point. But in your opinion, what seems more inelegant:

    (a) Having it the way it currently is, with a separate stock app and Cabbage app. Open the message in the messaging app. If you wish to reply using cabbage, you exit the messaging app (remembering who actually text you!), open cabbage, choose the recipient, type your text and send, then repeat every time you get a new message.

    (b) WebSMS' method. You choose what method to reply to from a menu. Open the message in the messaging app, press reply, choose your reply method, send text and then it automatically returns to WebSMS?

    I guess it depends on how much you use Webtexts. I clear my 250 a month every month without fail so I would prefer a more integrated setup. Plus, I understand this is opensource but from a business perspective, don't K2 messenger and cabbage already cater for solution A quite effectively? Just my 2c :)

    EDIT: I need to speed up my replys :D best of luck, think it over (and look at the WebSMS connector solution! It could really make life easier)


  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    Bomber6 wrote: »
    Good point. But in your opinion, what seems more inelegant:

    (a) Having it the way it currently is, with a separate stock app and Cabbage app. Open the message in the messaging app. If you wish to reply using cabbage, you exit the messaging app (remembering who actually text you!), open cabbage, choose the recipient, type your text and send, then repeat every time you get a new message.

    (b) WebSMS' method. You choose what method to reply to from a menu. Open the message in the messaging app, press reply, choose your reply method, send text and then it automatically returns to WebSMS?

    I guess it depends on how much you use Webtexts. I clear my 250 a month every month without fail so I would prefer a more integrated setup. Plus, I understand this is opensource but from a business perspective, don't K2 messenger and cabbage already cater for solution A quite effectively? Just my 2c :)

    EDIT: I need to speed up my replys :D best of luck, think it over (and look at the WebSMS connector solution! It could really make life easier)

    I guess (a) has its benefits. I was just kinda put off by the fact that SMSDroid can't be used to replace the stock SMS app. They *have* to coexist.

    I'm aware that my app is, currently, just replicating the fuctionality of the existing Cabbage app. But there's still some good reason for doing this:
    1) Cabbage for Android is buggy. When adding messages to your phone's messages database, it adds an open bracket to the number you sent the message to i.e. sending a message to 0851234567 will result in it being stored as (0851234567. This is fine on some phones, but it causes problems on others.
    2) On some phones, the keyboard gets in the way of the message editor box, making it almost impossible to write messages.
    3) Cabbage isn't open source, so these desirable new features cannot be added. If I make an open source version of the app, I or anyone else can add whatever extra features that may be desired.
    4) Cabbage doesn't let you change the location of the sending scripts server. My app does.
    5) The 'Clear' button is right next to the 'Send SMS' button. It's easy to miss when you're aiming for the send button; on many occasions I've cleared the message I just wrote but hadn't yet sent.
    6) A simple project like this is a handy introduction to Android programming for a n00b like me :D


  • Registered Users, Registered Users 2 Posts: 85 ✭✭Bomber6


    I guess (a) has its benefits. I was just kinda put off by the fact that SMSDroid can't be used to replace the stock SMS app. They *have* to coexist.

    I'm aware that my app is, currently, just replicating the fuctionality of the existing Cabbage app. But there's still some good reason for doing this:
    1) Cabbage for Android is buggy. When adding messages to your phone's messages database, it adds an open bracket to the number you sent the message to i.e. sending a message to 0851234567 will result in it being stored as (0851234567. This is fine on some phones, but it causes problems on others.
    2) On some phones, the keyboard gets in the way of the message editor box, making it almost impossible to write messages.
    3) Cabbage isn't open source, so these desirable new features cannot be added. If I make an open source version of the app, I or anyone else can add whatever extra features that may be desired.
    4) Cabbage doesn't let you change the location of the sending scripts server. My app does.
    5) The 'Clear' button is right next to the 'Send SMS' button. It's easy to miss when you're aiming for the send button; on many occasions I've cleared the message I just wrote but hadn't yet sent.
    6) A simple project like this is a handy introduction to Android programming for a n00b like me :D
    Makes perfect sense. I'll be attempting a similarly small project over the Christmas break if i get the time at all, which is unlikely :)
    Well, perhaps you could add the intent filter as an aside, but keep the app able to run on its own (similar to WebSMS). The stock HTC app won't pickup on this intent and will only allow you to reply within that app, but for people like me who use webtext often, we could use SMSDroid or a similar app. Cater for both markets.
    Of course, as you said, the GUI has to be sorted first so enjoy that. But please consider adding the intent at a later data (preferably asap :D). Since it's to be open source I may even attempt it myself if you don't get the chance (so make sure that code is well commented! :D)


  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    Bomber6 wrote: »
    Makes perfect sense. I'll be attempting a similarly small project over the Christmas break if i get the time at all, which is unlikely :)
    Well, perhaps you could add the intent filter as an aside, but keep the app able to run on its own (similar to WebSMS). The stock HTC app won't pickup on this intent and will only allow you to reply within that app, but for people like me who use webtext often, we could use SMSDroid or a similar app. Cater for both markets.
    Of course, as you said, the GUI has to be sorted first so enjoy that. But please consider adding the intent at a later data (preferably asap :D). Since it's to be open source I may even attempt it myself if you don't get the chance (so make sure that code is well commented! :D)

    I'll definitely look into it if/when I get this contact picker sorted. (The app is otherwise finished, if you don't mind typing the number of the recipient in by hand!)

    I can't make any promises about when exactly this'll be done, but I'll keep this thread up to date with progress.


  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    I'm very nearly there with the contact picker. Logically speaking, it's all implemented. Once I can get it to stop crashing, I'll commit it to the repo :)

    I sincerely hope that will happen tonight. But... no promises!


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 6,280 ✭✭✭Rowley Birkin QC


    Anyone else getting a lot of force closures lately? Messages are still delivering but app shuts down.

    Galaxy S running Froyo.


  • Registered Users, Registered Users 2 Posts: 23 pcboy


    Anyone else getting a lot of force closures lately? Messages are still delivering but app shuts down.

    Galaxy S running Froyo.
    No at the moment
    SGS froyo Darkyy Rom


  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    I cannot believe how hard it can be to make an AutoCompleteTextView that searches contacts... *sigh*


  • Registered Users, Registered Users 2 Posts: 23 CambridgeGuy


    Is there anyone here who knows anything about Android development or Java in general? I'm trying to get a CursorAdapter to work on that AutoCompleteTextView... I just can't get it to happen. I'm not even sure what the correct approach is.


  • Registered Users, Registered Users 2 Posts: 198 ✭✭yellabelly


    Did anyone get Cabbage fully working on the Samsung Europa?
    It doesn't appear in the Market so I downloaded and manually installed a version that identifies itself as version 7. It works fine except it can't use the phone contacts.

    I have Cabbage from the Market on an HTC Legend that works well including contacts. It calls itself version 1.0 and the main screen looks different with a recent button.
    Is it possible to download this version to try on the Samsung? Thanks.


  • Registered Users, Registered Users 2 Posts: 21,611 ✭✭✭✭Sam Vimes


    yellabelly wrote: »
    Did anyone get Cabbage fully working on the Samsung Europa?
    It doesn't appear in the Market so I downloaded and manually installed a version that identifies itself as version 7. It works fine except it can't use the phone contacts.

    I have Cabbage from the Market on an HTC Legend that works well including contacts. It calls itself version 1.0 and the main screen looks different with a recent button.
    Is it possible to download this version to try on the Samsung? Thanks.

    What version of android is on your phone?


  • Registered Users, Registered Users 2 Posts: 198 ✭✭yellabelly


    It says in the Samsung's "About phone".
    Model=GT-I5500
    Firmware=2.1-update1
    Baseband version=I5500XWJG3
    Kernel version=2.6.29-perf
    root@SE-S609 #1

    Meteor must have sold a lot of units over Christmas so there could be a lot of interest running Cabbage on this model. (Could they have blocked Cabbage from the Market ... not sure how that works)

    The HTC Legend is now at 2.2 after a recent upgrade. I think it fully worked before when it was 2.1.

    Thanks,


  • Registered Users, Registered Users 2 Posts: 8 alexandruy2k


    I moved from an iphone to android and I'm enjoying cabbage but I'm wondering is there a way of setting up multiple web accounts? similar to what eirtext has?


  • Registered Users, Registered Users 2 Posts: 198 ✭✭yellabelly


    Sam Vimes wrote: »
    What version of android is on your phone?

    I tested with all the 4 versions off the Website and 1.08 seems to be the best for the Samsung Europa. The contact lookup button goes into the address book
    and allows me to drop the number into the form.
    (On the HTC I could input character text into the number field which tries to match to an address entry when typing. The HTC copies name and number into the field).

    v2.0 on the Europa worked much the same but the address book was slow to scroll. Strange it didn't show the recent field.
    On all versions I needed to either press back (or tip sideways) to remove the keyboard and reveal the send button.
    Version 1.08 appears to be the best from my tests. It should be a very useful app. Thanks very much for putting it onto Android.


  • Registered Users, Registered Users 2 Posts: 21,611 ✭✭✭✭Sam Vimes


    yellabelly wrote: »
    I tested with all the 4 versions off the Website and 1.08 seems to be the best for the Samsung Europa. The contact lookup button goes into the address book
    and allows me to drop the number into the form.
    (On the HTC I could input character text into the number field which tries to match to an address entry when typing. The HTC copies name and number into the field).

    v2.0 on the Europa worked much the same but the address book was slow to scroll. Strange it didn't show the recent field.
    On all versions I needed to either press back (or tip sideways) to remove the keyboard and reveal the send button.
    Version 1.08 appears to be the best from my tests. It should be a very useful app. Thanks very much for putting it onto Android.

    I didn't put it into android but I am in the very slow process of taking it over from the guy who did because he doesn't have the time for it anymore. I still don't know a whole lot about it yet


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 21,611 ✭✭✭✭Sam Vimes


    I moved from an iphone to android and I'm enjoying cabbage but I'm wondering is there a way of setting up multiple web accounts? similar to what eirtext has?

    Not yet but it's in the pipeline


  • Closed Accounts Posts: 13,126 ✭✭✭✭calex71


    Updated to Android 2.1 on a SE Xperia X8 today and cabbage didn't read my contacts from the phone as it usually does, restarted the phone and all was well. Just posting incase others have the same issue.


  • Registered Users, Registered Users 2 Posts: 8 alexandruy2k


    Sam Vimes wrote: »
    Not yet but it's in the pipeline

    that sounds great :D


  • Registered Users, Registered Users 2 Posts: 811 ✭✭✭Rock Paper Scissors


    I have an x10 mini pro and when I search the android marketplace I can't find cabbage

    Can someone please tell me how I can download the app to my phone

    Cheers


  • Registered Users, Registered Users 2 Posts: 2,832 ✭✭✭robo


    I have an x10 mini pro and when I search the android marketplace I can't find cabbage

    Can someone please tell me how I can download the app to my phone

    Cheers

    Here is a link to it on the App Brain site


  • Registered Users, Registered Users 2 Posts: 21,611 ✭✭✭✭Sam Vimes


    I have an x10 mini pro and when I search the android marketplace I can't find cabbage

    Can someone please tell me how I can download the app to my phone

    Cheers

    You probably have a version of android less than 2.1. Currently the app is set to only be available to 2.1 and above


    But I've finally got everything I need to start developing and I'm working on an update that will fix that and other problems. It'll hopefully be released in the next week or two


  • Registered Users, Registered Users 2 Posts: 2,542 ✭✭✭eoferrall


    Sam Vimes wrote: »
    You probably have a version of android less than 2.1. Currently the app is set to only be available to 2.1 and above


    But I've finally got everything I need to start developing and I'm working on an update that will fix that and other problems. It'll hopefully be released in the next week or two

    The apostrophe issue one of the 'other problems' on your list to be fixed?!:pac:


  • Registered Users, Registered Users 2 Posts: 21,611 ✭✭✭✭Sam Vimes


    eoferrall wrote: »
    The apostrophe issue one of the 'other problems' on your list to be fixed?!:pac:

    It is indeed :)


  • Banned (with Prison Access) Posts: 1,183 ✭✭✭almighty1


    calex71 wrote: »
    Updated to Android 2.1 on a SE Xperia X8 today and cabbage didn't read my contacts from the phone as it usually does, restarted the phone and all was well. Just posting incase others have the same issue.

    Just updated to 2.1 Cabbage doesnt autofill in my contacts like it did in 1.6
    I cant see any setting to modify. Have obviously restarted numerous times.

    Any ideas anybody?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 21,611 ✭✭✭✭Sam Vimes


    I've just released a new version to the Android market. Try it out and see if it fixes most of the problems that have been reported.

    almighty1, have you imported your contacts from your sim card into google? You do it by going into your contacts and pressing menu->Import->from sim card (or similar depending on your handset)


Advertisement