[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience
Product Name: *You’re Invited* Description: Invitation Manager Category: Productivity/Tools URL: www.bytedroid.com/youareinvited I created this app to remember the Invitations I received. I used to forget the date and time of the event often, so I missed many. I thought I will create an app which stores invitation information and gives some Periodic alerts as well as Location alerts. Location alerts popup when I happen to be near the venue of event. For this I store the event location’s Geo Information like Longitude and Latitude. And I made all this in *You’re Invited*. It was a challenge this being my first Android application and I am glad I finished it on time, at least the first version. I have already thought of a few things to put in next version. *You’re Invited* is full with features and yet is simple to use. Invitations you receive will automatically go in Upcoming Invitations or Missed Invitations category depending on event date and current date. With *You’re Invited* you are no more missing events by chance, you can always do so by choice. You can put an Upcoming Invitations in Not Interested category. There will be no Location or Periodic alerts for Not Interested, Missed and Attended events. If you have already attended an invitation which has gone to missed category being of previous date, you can shift it to Attended category. All these categories are shown in different tabs in App. You can create a new invitation using template provided. If you quickly want to fix an official meeting simply select the Invitation type as Meeting, select the invitees contact number and/or email id from the contacts or type in yourself. SMS will be sent to the numbers and mail will be sent to the ids. Write the message, date Time and venue and send it. If you want Location Alert, Geo Tag the venue. In case of a not so quick invite like that of a birthday or wedding, you can put in your own creative messages. You can put in R.S.V.P. as well. There is a limit on characters if you send SMS but no limit if you are sending a mail. In case you want to review it later before sending save it in draft and send from draft later. You can keep all your invitations in one place using *You’re Invited* using Add Invitation option. Put in the details of invitation received from other sources like email or Invitation card in Add and you will start getting alerts and other advantages like any invitation from *You’re Invited*. You will get to know of Upcoming invitations through notifications. Location and periodic Alerts, GUI display options, mode of sending invitation – mail or SMS, cleaning up of Invitation list are all configurable through the Settings option. You can customize the App the way you want. I have given a one touch option to quickly see today’s and tomorrow’s events. When you are looking at the geo location in Map or satellite view al the details of event is visible at the location point itself. You do not have to switch views to get the details. You can see the route from your current location to venue. I have also added some FAQs in case of help required in usage of which the chances are less. I am planning to put a couple of more things in next version: 1. Template messages according to the invitation type 2. Removing SMS size Limit 3. Animated invitation cards 4. Automatic date setting of events like Christmas, New year *You’re Invited* will soon be available in the market for free. Any feedback from you will be appreciated. Thanks, -Somasekhar On Tue, Sep 15, 2009 at 1:49 PM, bidibidi pstalew...@poczta.fm wrote: I'm sending this post just to let You know that our Cartoon Gang application v1.0 is now available for free in Android Market (Social category). Any feedback from You all will be appreciated. have fun with creating cartoons! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADC2 entries so far...
Product Name: *You’re Invited* Description: Invitation Manager Category: Productivity/Tools URL: www.bytedroid.com/youareinvited --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to use CheckBox as children in ExpandableList?
It is woking fine for me. paste onCreate code here to analyze your problem better. On Mon, Aug 17, 2009 at 5:06 AM, frankjoshua frankjos...@gmail.com wrote: Has anyone tried this yet. I am getting strange results. When I click on one of the check boxes a second one will sometimes become checked also. On Aug 3, 1:04 am, powerbyte powerb...@gmail.com wrote: Hello Kostmo use the following code to toggle check box @Override public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { CheckedTextView tempView = (CheckedTextView)v.findViewById (android.R.id.text1); tempView.setChecked(!tempView.isChecked()); return super.onChildClick(parent, v, groupPosition, childPosition, id); } On Jul 21, 11:16 am, anki_dai...@yahoo.com aatish.f...@gmail.com wrote: You are using final ListView listView = getExpandableListView(); listView.setItemsCanFocus(false); listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); but you are extending ExpandableListActivity, not ListActivity. To use chekboxes properly you have to use mAdapter variable.. On Jul 14, 5:35 am, kostmo kos...@gmail.com wrote: I would like to haveexpandabletext categories which reveal children that are checkable entries. I've used the simple_list_item_multiple_choice layout for the childLayout argument ofSimpleExpandableListAdapter. The activity shows up correctly, but when a child item is clicked, the check box will not toggle. I haven taken code from List11.java and ExpandableList3.java from the ApiDemos project. package com.kostmo.android.test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.app.ExpandableListActivity; import android.os.Bundle; import android.widget.ExpandableListAdapter; import android.widget.ListView; import android.widget.SimpleExpandableListAdapter; public class ExpandableFeatureSelector extends ExpandableListActivity { private static final String NAME = NAME; private ExpandableListAdapter mAdapter; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ListMapString, String groupData = new ArrayListMapString, String(); ListListMapString, String childData = new ArrayListListMapString, String(); for (String database_name : AvailableCategories) { MapString, String curGroupMap = new HashMapString, String(); groupData.add(curGroupMap); curGroupMap.put(NAME, database_name); ListMapString, String children = new ArrayListMapString, String(); for (String download_option : AvailableFeatures) { MapString, String curChildMap = new HashMapString, String(); children.add(curChildMap); curChildMap.put(NAME, download_option); } childData.add(children); } mAdapter = newSimpleExpandableListAdapter( this, groupData, android.R.layout.simple_expandable_list_item_1, new String[] { NAME }, new int[] { android.R.id.text1 }, childData, android.R.layout.simple_list_item_multiple_choice, new String[] { NAME }, new int[] { android.R.id.text1 } ); setListAdapter(mAdapter); final ListView listView = getExpandableListView(); listView.setItemsCanFocus(false); listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); } private static final String[] AvailableCategories = new String[] { Books, Clothes, Cars }; private static final String[] AvailableFeatures = new String[] { Damaged, Used }; } - Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Sharing data between activities
yes, for returning values from second activity call setData(,,) from second activity before finishing activity. And in first activity instead of startActivity(..) call startActivityForResult(..) and override onActivityResult(...) for Example: In parent activity, declare a variable for aaa child activity static final int AAA_ACTIVITY_RETURN = 0; static final int BBB_ACTIVITY_RETURN = 1; //another bbb child activity for com.sample.bbb.class ( for Multiple activities ) Intent intent = new Intent(this,com.sample.aaa.class); //aaa is child activity intent.putExtra(ARG1,value1); intent.putExtra(ARG2,value2); startActivityForResult(intent, AAA_ACTIVITY_RETURN ); protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if(requestCode == AAA_ACTIVITY_RETURN ) { String sVal1 = data.getStringExtra( Return1 ); String sVal2 = data.getStringExtra( Return2 ); } if(requestCode == BBB_ACTIVITY_RETURN) { // handle values from bbb child activity } } In Child Activity some_Activity_close_funnction() { Intent data = new Intent(); data.putExtra(Return1,Val1); data.putExtra(Return2,val1); setResult(RESULT_OK,data); finish(); } -pb 2009/8/5 Per Sandström pg.sandst...@gmail.com thanks man, that is an excellent way of explaining so even an android- beginner can understand. Is there a similar way of returning data to the first activity when the second activity has finished running, corresponding to javas return value1;? Regards Per Sandström On 4 Aug, 17:44, powerbyte powerb...@gmail.com wrote: Hello To summarize: Activities don't have constructors! How do I send data to them from their parent activity??? we can send data from parent activity to childs, using Intent for example: In parent activity, Intent intent = new Intent(this,com.sample.aaa.class); //aaa is child activity intent.putExtra(ARG1,value1); intent.putExtra(ARG2,value2); StartActivity(intent); In Child activity (aaa) use Bundle to get the data public void onCreate(Bundle som) { super.onCreate(som); Intent intent = this.getIntent(); Bundle b = intent.getExtras(); String sVal1 = b.getString(ARG1); String sVal2 = b.getString(ARG2); ... } -pb On Aug 4, 6:31 pm, Per Sandström pg.sandst...@gmail.com wrote: but how do I create and pass this global object? I cant do it like I do in java or other programming languages where . AIDL is an alternative, but it still seems overkill for a small app. regards Per Sandström On Jul 22, 10:50 pm, niko20 nikolatesl...@yahoo.com wrote: On Jul 22, 1:19 pm, Roman roman.baumgaert...@t-mobile.com wrote: Android supports multiple IPC mechanisms. You can use the Intent mechanism as well as the AIDL mechanism for doing this. The AIDL approach is more complex but offers you also more flexibility to pass objects. Find information about this topic on http://developer.android.com/guide/developing/tools/aidl.html -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 22, 6:49 am, PerSandströmpg.sandst...@gmail.com wrote: So far I have been using SharedPreferences to share data between activities. But I would very much like to find a better way. I would simply like both Activity1 and Activity2 to share Object1. Activity1 will create Object1 and then start Activity2. What is the smartest way to give Activity2 a pointer to Object1? To summarize: Activities don't have constructors! How do I send data to them from their parent activity??? Regards, PerSandström Hi, If both activities are in the same application, then just use a global object and pass that around (singleton or such). Not too tough. -niko- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---