[android-beginners] Calender(schedular) source code
Hello all, I want to make a calendar(basically a schedular) app.I am unable to find any source code for it.Can anybody please help me out. Thanks in Advance -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Re: Prevent uninstallation of app?
Well, for starters, what if you had some sort of security app that you don't want a thief or malicious non-user to uninstall...? On Mar 17, 8:19 am, Kitzy kitzyk...@gmail.com wrote: In theory... how many users use a single cell phone? Even if I let someone else use my phone, I don't have a way to let my phone know that it should currently be in different-user-mode. If the user has downloaded a tool ti help with keeping the programs in order, and that program uninstalls your program, isn't that the same thing as your user uninstalling it? If you, however' are thinking of a different exmaple, please elaborate. Sincerely, -Kitzy On Mar 14, 11:51 am, Richard Roe codesqu...@gmail.com wrote: Hey, I'm trying to make it so an app is uninstallable by anyone except for the user who installed it in the first place. Is there any way to password protect it, or give the app higher security settings in order to prevent unauthorized uninstallation? Thanks. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Add calendar item through Intent?
Hi all, I'm developing an app that displays a list of events and would like to know if there's any standard way to add an item to the (Google) calendar, preferably by sending an Intent? I'm developing for Android 1.5. Thanks for any hint! Regards, Sven -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Re: possible to send an xml file via HttpClient?
Yes i have done that already but i want to do the reverse which is to download a file from the httpconnection On Mar 18, 5:42 am, Andreas andreas.bex...@gmail.com wrote: Hi, What you want to do is to open a HttpURLConnection to the URL specified, and then open an OuputStream towards that connection. Then you open an InputStream from the File you want to send, and transfer the data from the File InputStream to the Http OutputStream. Easy as ð ;) Andreas On Mar 17, 1:45 am, KC Dev Android 06 kc.dev.android...@googlemail.com wrote: Hi, as the title says, is it possible to do so? in the examples found herehttp://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4 It seems that HttpClient only accepts a String as its parameter? how do i go about sending/uploading a xml file using http? thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Re: Passing ArrayList of objects to a ListView?
Thank you very much! On Mar 18, 5:27 pm, TreKing treking...@gmail.com wrote: On Thu, Mar 18, 2010 at 1:32 PM, Mark Freeman mark.allen.free...@gmail.comwrote: I'm having trouble determining the best way (or any way for that matter) for me to pass the ArrayList of Customers to a new Activity Have you Customer class implement Parcelable, define the methods to convert the class to / from a Parcel, and when you start your activity put your list of contacts in the intent that you use to start the activity. - TreKing - Chicago transit tracking app for Android-powered deviceshttp://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Re: Prevent uninstallation of app?
On Fri, Mar 19, 2010 at 2:51 AM, Richard Roe codesqu...@gmail.com wrote: Well, for starters, what if you had some sort of security app that you don't want a thief or malicious non-user to uninstall...? Isn't this what the lock screen is for? - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Add calendar item through Intent?
hi dear. what app you are trying to make ?? because i am working on a similar idea and searching for same solution. regards, wahib On 3/19/10, Sven Jacobs sven.jac...@web.de wrote: Hi all, I'm developing an app that displays a list of events and would like to know if there's any standard way to add an item to the (Google) calendar, preferably by sending an Intent? I'm developing for Android 1.5. Thanks for any hint! Regards, Sven -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Populating an embedded ScrollView/ListView with ArrayList data
Hey everyone. I have a search screen that connects to an external webservice, parses the xml, and returns an ArrayListCustomer of objects. My Customer class defines a toString() method. I am stuck at the point of actually being able to populate an embedded ListView on the Activity. My goal is to have the user enter a search string, hit the search button, then display the list. I have two questions. 1. How can I tell the soft-keyboard to stop displaying after the user hits the search button/ 2. How can I populate the List and make it display? I have the code for the activity and the layout xml file here; http://pastebin.com/5g7TSrxX Thank you in advance for any advice! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Re: How to know the size of a file in adb shell prompt
Hello pskink all, i am more inerested in size of a particular file rather than other details as with ls -l command. i issued the below commands utility in perl to calculate the size of a file abc.txt *system(adb shell cd /data/app); $filename = abc.txt; $size_of_file = -s $filename; print The file Size is . $size_of_file. Bytes.\n;* but in o/p i am getting blank... The file Size is Bytes can anybody suggest me the most robust way to calculate the file size. regds rocky On Thu, Mar 18, 2010 at 7:36 PM, skink psk...@gmail.com wrote: On Mar 17, 5:34 pm, rocky84 rocky84 hulkman...@gmail.com wrote: *Hello all, i want to extract the size of a file in adb shell using some perl utility. this works fine for me as below in windows but does not work in adb shell prompt (#) i used this function in windows stat($filename); can anybody please let me know how can i get file size in #prompt? regds rocky * ls -l filename l is for long pskink -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Re: How to know the size of a file in adb shell prompt
rocky84 rocky84 wrote: Hello pskink all, i am more inerested in size of a particular file rather than other details as with ls -l command. i issued the below commands utility in perl to calculate the size of a file abc.txt *system(adb shell cd /data/app); $filename = abc.txt; $size_of_file = -s $filename; print The file Size is . $size_of_file. Bytes.\n;* but in o/p i am getting blank... The file Size is Bytes can anybody suggest me the most robust way to calculate the file size. http://exampledepot.com/egs/java.io/GetLength.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Re: Populating an embedded ScrollView/ListView with ArrayList data
As an update to this, I tried calling: adapter.notifyDataSetChanged() in place of: listViewCustomers.refreshDrawableState(); Still no dice. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Populating an embedded ScrollView/ListView with ArrayList data
On Fri, Mar 19, 2010 at 10:38 AM, Mark Freeman mark.allen.free...@gmail.com wrote: 1. How can I tell the soft-keyboard to stop displaying after the user hits the search button/ I don't know. 2. How can I populate the List and make it display? Put your objects directly into the Adapter instead of a separate list. Your separate list of objects is redundant and unnecessary. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Re: Populating an embedded ScrollView/ListView with ArrayList data
TreKing, I owe you a beer. On Mar 19, 12:58 pm, TreKing treking...@gmail.com wrote: On Fri, Mar 19, 2010 at 10:38 AM, Mark Freeman mark.allen.free...@gmail.com wrote: 1. How can I tell the soft-keyboard to stop displaying after the user hits the search button/ I don't know. 2. How can I populate the List and make it display? Put your objects directly into the Adapter instead of a separate list. Your separate list of objects is redundant and unnecessary. - TreKing - Chicago transit tracking app for Android-powered deviceshttp://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Re: Android sounds
Thanks for the replies. I can use all the info I can get. I was kind of looking for something like a Hello Beep example. On Mar 18, 3:47 pm, BobG bobgard...@aol.com wrote: I get the idea from looking at the docs that tonegenerator makes it easy to use one of the listed tones, but not so easy to just play 1khz. Didnt see any spec for starttone(freq, duration) for example I just used cooledit to generate a wav file (it has a tone generator function) and play it as a resirce. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] مسابقة كروت الشحن أكسب كارت شحن فئة 10 جنيهات لأى شب كة محمول فى مصر
مسابقة كروت الشحن أكسب كارت شحن فئة 10 جنيهات لأى شبكة محمول فى مصر أدخل وتعرف على كيفية الحصول على كارت شحن لأى شبكة محمول فى مصر من هنا http://www.agd3as7ab.com/vb/showthread.php?p=7697#post7697 -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Add calendar item through Intent?
2010/3/19 wahib haq wahib.t...@gmail.com hi dear. what app you are trying to make ?? because i am working on a similar idea and searching for same solution. Hi Wahib, well, it's an app where you can search for parties and events. At the moment the app is limited to events from Germany, though. Nevertheless you can try it out if you like. It's now in the market under the name Partymensch. A calendar feature is planned for a future release. Regards, Sven -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] Failure in ActivityLaunch
I'm having a failure to even run my app of late. I switched from running an activity, that starts a service (intended for only local use), to instead use an AsyncTask to perform the background processing (network load) I needed. The failure I'm seeing according to the debugger looks like an OS- level failure, presumedly due to something I've screwed up. I've seen this sort of thing before, when I'd forgotten something in my manifest.xml, but I've looked at that a few times and don't know what I might've done. Any suggestions as to what I should look at? I took the onCreate of my Activity and stubbed it out so it calls super, sets the view, then returns. I'm still getting a failure to launch, so I think it's *not* in my java code, but as of now, that I've removed the service, I only have the one main activity, so my manifest is pretty basic. Any thoughts appreciated. If I can provide any useful details, I'd be happy to. - Chris -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Failure in ActivityLaunch
On Fri, Mar 19, 2010 at 7:45 PM, Chris Ross cross+goo...@distal.comcross%2bgoo...@distal.com wrote: If I can provide any useful details, I'd be happy to. The error you're getting might be useful ... Though based on your description I'm willing to bet you forgot to declare your new Activity in your manifest file... - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Failure in ActivityLaunch
On Mar 19, 2010, at 21:01, TreKing wrote: On Fri, Mar 19, 2010 at 7:45 PM, Chris Ross cross +goo...@distal.com wrote: If I can provide any useful details, I'd be happy to. The error you're getting might be useful ... Though based on your description I'm willing to bet you forgot to declare your new Activity in your manifest file... I thought about that, but is an AsyncTask a new activity? I'd assumed not. If that's the issue, then I was just misunderstanding what an AsyncTask was, and I can try to google around to figure out how to add it. I was under the impression that I had only the one Activity, but that it spawned background threads away from the U/I thread, that didn't need to be tracked in the manifest... Thanks. - Chris -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] New Blog to solve Android starting issues mcondev.wordpress.com
We have a new blog, for helping people who are hoping to get started with android development. Feel free to comment and ask for more blog times on issues. http://mcondev.wordpress.com Hope you like it mConDev Team -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-beginners] Failure in ActivityLaunch
On Fri, Mar 19, 2010 at 9:20 PM, Chris Ross cross+goo...@distal.comcross%2bgoo...@distal.com wrote: I thought about that, but is an AsyncTask a new activity? I'd assumed not. If that's the issue, then I was just misunderstanding what an AsyncTask was, and I can try to google around to figure out how to add it. Oh no, sorry, I misread your post. Thought you were adding a new Activity. In this case, again, posting the actual error you're getting is the best way to figure out what's wrong. What does the debugger / logcat output tell you? - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-beginners] selection random string from strings.xml
I have a strings.xml file that takes the following format (in general): string name=q0/string string name=q0a1/string string name=q0a2/string string name=q0a3/string string name=q0a4/string string name=q0KEY1/string string name=q0ANSans-a01/string There are 200+ questions and response sets. I am trying to select a random one, (say q183) and then use the text in a text view like such: Random rGenerator = new Random(); int randomQ = rGenerator.nextInt(204); String Q_ID = 'q' + getString(randomQ); ListInteger intlist = new ArrayListInteger(); intlist.add(new Integer(1)); intlist.add(new Integer(2)); intlist.add(new Integer(3)); intlist.add(new Integer(4)); Collections.shuffle(intlist); String ANS_ID1 = R.string.+Q_ID + a+getString(intlist.get(0)); String ANS_ID2 = R.string.+Q_ID + a+getString(intlist.get(1)); String ANS_ID3 = R.string.+Q_ID + a+getString(intlist.get(2)); String ANS_ID4 = R.string.+Q_ID + a+getString(intlist.get(3)); String Question = getString(R.string.Q_ID); //this is considedered a syntax error by java/android TextView QuestionView = (TextView) findViewById(R.id.QuestionText); QuestionView.setText(Question); No matter how I construct (at least, as I can think of it) the text of the string to pass as a parameter to the value of Question, I end up with problems. At this point I absolutely need to be able to choose an arbitrary string from strings.xml, with the specific set of strings to follow. Any help would be appreciated. Yes I know a database *might* be simpler, but I cannot figure out the proper code to make this work either. The ONE tutorial on the subject leaves out critical information. I really need help on this. Thanks Ben -- I have no bit of wisdom to include as a signature. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.