[android-developers] Speech To Text Recognition
Hi, How can we do speech recognition of our own set of commands in Android. As Android have its own speech sdk, But how can I put my own command . Say something like {1a, 1b , 2a, 2b..., 3a, 3b, 3c.. etc}. This is an array of alpha numeric value. and when i say 1a it should print the same. is it possible? Regards, Archana -- 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]
-- 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] silent install ADT eclipse plugin fails
Hi I must be doing something wrong. I was trying to do a silent install of the ADT plugin into Eclipse 3.7.2 . (I need to do mass-distributed install - which is why I choose command line install) so I ran a script: java -jar plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -application org.eclipse.update.core.standaloneUpdate -command install -from jar:file:/tmp/ADT-20.0.2.zip!/ -featureId com.android.ide.eclipse.adt -version 20.0.2.v201207191942-407447 -data /tmp/eclipseTest/workspace/ -consoleLog but then eclipse returns with Contains: Android Development Tools (20.0.2.v201207191942-407447) requires plug-in com.android.ide.eclipse.base. !SUBENTRY 1 org.eclipse.update.core 4 4 2012-09-30 08:51:38.673 !MESSAGE Requested operation cannot be performed because it would invalidate the current configuration. See details for more information. so I am missing the base plugin. does anyone know how to install the base using command line ? it doesn't have a featureId . -- 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
Re: [android-developers] Re: sendEmptyMessageAtTime issue
not quite what I needed, but thanks. The main issue is that this method uses uptime 2012/9/28 shuangjie ke keshuang...@gmail.com public final boolean sendEmptyMessageAtTime (int what, long uptimeMillis)Returns true if the message was successfully placed in to the message queue. Returns false on failure, usually because the looper processing the message queue is exiting. you can test the returns 在 2012年9月28日星期五UTC+8下午3时31分50秒,Dmitriy F写道: A handler that I defined doesn't get a message set with sendEmptyMessageAtTime. The time I get from updateTime.getTimeInMillis is valid. What am I missing here ? @Override protected void onResume() { super.onResume(); mNavigationBarFragment.**configureFor(0); Calendar updateTime = Calendar.getInstance(); updateTime.set(Calendar.YEAR, 2012); updateTime.set(Calendar.HOUR_**OF_DAY, 18); updateTime.set(Calendar.**MINUTE, 40); updateTime.set(Calendar.**SECOND, 0); if(mUpdateOnAirLabel.**sendEmptyMessageAtTime(1, updateTime.getTimeInMillis()))**{ // messages gets placed } } private Handler mUpdateOnAirLabel = new Handler() { public void dispatchMessage(android.os.**Message msg) { // doesn't get triggered } public void handleMessage(android.os.**Message msg) { // doesn't get triggered } }; The time I get from the calendar object is right: ?php echo date(r, 1348753200578 / 1000); output: Thu, 27 Sep 2012 17:40:00 +0400 After that I've tried to offset from the current timestamp Calendar now = Calendar.getInstance(); long nowt = now.getTimeInMillis(); if(mUpdateOnAirLabel.**sendEmptyMessageAtTime(1, now.getTimeInMillis() + 5000)){ ... } And it's not triggering either. What's wrong here ? -- 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 -- 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
Re: [android-developers] Testing In-app billing
Ok, i'll try that and let you know. Thanks! On Sunday, September 30, 2012 1:53:07 AM UTC+2, TreKing wrote: On Fri, Sep 28, 2012 at 3:28 AM, Thomas Bouron tbo...@gmail.comjavascript: wrote: Ok but as my app is already published, I cannot create another one with the same package name and save it as a draft. Yes, you can. Upload it but don't Activate it, I believe. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] image passing ?
How to send a image from one activity to another activity ? -- 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: image passing ?
mohammed Nuhail wrote: How to send a image from one activity to another activity ? in extras as a Parcelable? pskink -- 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
Re: [android-developers] Re: image passing ?
can i send jpeg image ? On Sun, Sep 30, 2012 at 4:32 PM, skink psk...@gmail.com wrote: mohammed Nuhail wrote: How to send a image from one activity to another activity ? in extras as a Parcelable? pskink -- 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 -- 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
Re: [android-developers] Re: image passing ?
mohammed Nuhail wrote: can i send jpeg image ? if you have any image in your filesystem then send its Uri, otherwise if you have in-memory bitmap pass it as a Parcelable pskink -- 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
Re: [android-developers] Re: image passing ?
Where does this jpeg images exists? On Sun, Sep 30, 2012 at 4:51 PM, mohammed Nuhail nuhail...@gmail.comwrote: can i send jpeg image ? On Sun, Sep 30, 2012 at 4:32 PM, skink psk...@gmail.com wrote: mohammed Nuhail wrote: How to send a image from one activity to another activity ? in extras as a Parcelable? pskink -- 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 -- 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 -- 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] How to apply GPL license to Android App ?
Hi to all, I write this mail because I'd like to apply GPL license to my Android Apps. I read some step from [url ] www.gnu.org)http://www.gnu.org/licenses/gpl-howto.it.html[/url] and I understand I have to do the followings steps : 1. Every file should have a copyright line Esempio: /*Copyright 2012 Angelo Luciani*/ 2. Every file should have a reference to the license Esempio /* Nome-Programma is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Nome-Programma is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Nome-Programma. If not, see http://www.gnu.org/licenses/ */ 3. The code to be shared 4. A complete license shoud be present into the Project *IN REGARD OF THIS I HAVE THE FOLLOWING QUESTIONS !* D1. I wrote point 1 and 2 only to .JAVA files, what's about .XML files, I need to write them? D2. What's about the database ? I create a .db SQLITE database. Is it necessary insert GPL reference on it ? D3. apk packet is without .java files. Is it necessary to add them into the packet ? If I publish the application source on the net I need to write the link in every code source files ? D4. If you already use GPL license for Android Apps could you check if all steps are correct ? Thanks in advance. -- 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
Re: [android-developers] Testing In-app billing
The most important thing in testing is that the same version code has to be uploaded to the Play store (but not activated) as you are testing with. If you make changes to your test app, don't update the version code or you'll have problems with in-app billing. Once you're ready to publish, you'll have to update your version code before you can upload the final version. -John Coryat On Sunday, September 30, 2012 4:15:25 AM UTC-5, Thomas Bouron wrote: Ok, i'll try that and let you know. Thanks! On Sunday, September 30, 2012 1:53:07 AM UTC+2, TreKing wrote: On Fri, Sep 28, 2012 at 3:28 AM, Thomas Bouron tbo...@gmail.com wrote: Ok but as my app is already published, I cannot create another one with the same package name and save it as a draft. Yes, you can. Upload it but don't Activate it, I believe. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Testing In-app billing
Thanks for the notice, i'll keep that in mind. I uploaded my testing version (not activated) on Google Play, installed it on my phone and published my product. I know that it takes time to be pushed over all Google servers so I'm gonna wait and start testing tomorrow. Hope everything will going fine, I'll keep this thread updated. Anyway, thank you all! On Sunday, September 30, 2012 2:06:48 PM UTC+2, John Coryat wrote: The most important thing in testing is that the same version code has to be uploaded to the Play store (but not activated) as you are testing with. If you make changes to your test app, don't update the version code or you'll have problems with in-app billing. Once you're ready to publish, you'll have to update your version code before you can upload the final version. -John Coryat On Sunday, September 30, 2012 4:15:25 AM UTC-5, Thomas Bouron wrote: Ok, i'll try that and let you know. Thanks! On Sunday, September 30, 2012 1:53:07 AM UTC+2, TreKing wrote: On Fri, Sep 28, 2012 at 3:28 AM, Thomas Bouron tbo...@gmail.com wrote: Ok but as my app is already published, I cannot create another one with the same package name and save it as a draft. Yes, you can. Upload it but don't Activate it, I believe. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] Hardware reccomendations: Next development laptop
I've been very happy with my MacBook Pro. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates. On 9/30/12 12:42 AM, Nathan wrote: Since the hardware would primarily be used for developing Android, I think this is on topic. My three year old Vista laptop does do well at complex builds in Eclipse, I'd just like to do more than one per day. ;) What do you recommend for my next development laptop? I really don't enjoy hardware shopping any more than car shopping. . I have a vague idea that I want plenty of processor speed, plenty of memory, Solid State drive, and probably 15 inch screen. I do have a 17 inch screen now, and that was largely because I didn't even have an external monitor. Now it is docked to an external monitor most of the time, and is just too bulky when I actually do lug it somewhere. This would probably gain me an hour of productivity every day, so I can afford to sink a 1-2,000 or maybe more. I did have the idea of maybe getting a MacBook Pro, since it could do iOS development if I dabbled on the dark side, could possibly run Windows if I did some development on that side. Then again, getting a Windows Laptop and a Mac mini could also solve that problem. I haven't really gotten into Linux for a personal computer, though I do have a remote server running Debian now. Nathan -- 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 -- 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
Re: [android-developers] Re: Fragment Transactions
This code works: https://github.com/bmeike/ProgrammingAndroid2Examples/blob/master/SimpleFragment/src/com/oreilly/demo/android/pa/simplefragment/SimpleFragment.java G. Blake Meike Marakana The second edition of Programming Android is now available: http://shop.oreilly.com/product/0636920023005.do -- 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
Re: [android-developers] Hardware reccomendations: Next development laptop
On Sun, Sep 30, 2012 at 7:49 AM, Fred Stluka f...@bristle.com wrote: I've been very happy with my MacBook Pro. +1 This isn't really on topic, so I'll keep it short. Mac+OSX Just Works. Worth every penny. One big downside is that you'll never want to use Windows again. ;-) Ubuntu 10 and 12 are also VERY good - so much better recently than the last time I used Linux on a desktop. If you're interested in diving deeper into android (AOSP) Linux is a solid choice (see http://source.android.com for more info). If you are worried about your budget and don't mind tinkering to make things work (i.e., you value money more than time) this is a viable option. Larry -- 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: Google cancelled this order. Reason: Other
Since a few days there seem to be a lot more cancelled orders with Reason: Other (describe below) than usual. Do anyone notice this ? -- 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] Viewpager and fragments
Hi, I want to have an ongoing viewpager (something like the calendar app) where i can show the days of the year each fragment represents one day. i like to fill that fragment with data from the web but i don't want it too load it again and again each time i add a fragment to the viewpager, so i have a asynctask in my main activity which collects all the data. my question is how can i make an ongoing viewpager and how can i when the data is loaded in the asynctask put the data in the fragments and fill the listviews? Thanks -- 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
Re: [android-developers] How can I prevent two buttons from being clicked at the same time?
Thank you Harri, I'm going to try this out tomorrow. On Friday, September 28, 2012 5:47:10 PM UTC-4, Harri Smått wrote: On Sep 28, 2012, at 11:45 PM, Streets Of Boston flying...@gmail.comjavascript: wrote: Is there a reliable or proper way to prevent a click of multiple buttons at the same time, e.g. a second button won't click when another finger is still down on the screen? I don't know whether this is a proper nor reliable way but managed to prevent multiple buttons from being triggered at the same time with following code. It allows user to select multiple buttons as a chord but will hook at the last pointer up event only. // R.id.button1, R.id.button2, etc... findViewById(R.id.buttonX).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { ViewGroup group = (ViewGroup)findViewById(R.id.container); for (View touchable : group.getTouchables()) { if (touchable != view touchable.isPressed()) { Log.d(..., skip); } } } }); -- H -- 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
Re: [android-developers] How can I prevent two buttons from being clicked at the same time?
So the UI is handled on a single thread... Why don't you disable one of them until it is released... kris On Fri, Sep 28, 2012 at 4:45 PM, Streets Of Boston flyingdutc...@gmail.com wrote: Hi, I have this issue (at least on the Galaxy Tab 10.1 running 3.2 and the Nexus 7). E.g. I have a screen with more two buttons. When i put two fingers down, one finger on one button, the other on the other button, at the same time, both buttons are clicked at the same time. I.e. the 'onClick' is called for both of them in rapid succession. How can I prevent this reliably. I tried using the 'android:splitMotionEvents=false' on ViewGroups, on various spots in the hierarchy. I tried calling the 'setMotionEventSplittingEnabled(false)' method for these buttons' parent. All this doesn't work. The OnClick handlers spawn fragments. However, calling 'fragmentManager.findFragmentByTag(tag)' to see if a fragment has already been added doesn't work if the OnClick handlers are called too quickly after each other (I guess the commit hasn't finished properly before the second OnClick is being called). I could put an additional 'postDelayed' call to spawning these fragments, but this solution would be a hack. Our app's targetSdk is set to 11 and we can't lower this. Is there a reliable or proper way to prevent a click of multiple buttons at the same time, e.g. a second button won't click when another finger is still down on the screen? Thanks! -- 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 -- 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
Re: [android-developers] Re: Google cancelled this order. Reason: Other
On Sunday, 30 September 2012 21:57:30 UTC+2, Kostya Vasilyev wrote: Yes, seeing more than usual too. Tonight it is a cancel fest with 1 purchase out of 3 or 4 cancelled this way...with generally 2 or 3 cancel lines for the same user in the console. -- 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: Where to download the Lenovo A2901 ADB interface USB driver?
Veritatis, Thank you for your comment. Regards, On Wednesday, September 26, 2012 10:56:24 PM UTC-4, Indicator Veritatis wrote: If it is a Windows driver you are interested in, go to the Lenovo website for your Lenovo and select the right USB package (including lots of drivers, I forget the exact name). Download from there. On Tuesday, September 25, 2012 3:48:38 AM UTC-7, mw1 wrote: I can't find the Lenovo A2901 ADB interface USB driver? Any comment? Thank you in advance. -- 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
Re: [android-developers] Re: Google cancelled this order. Reason: Other
2012/10/1 b0b pujos.mich...@gmail.com On Sunday, 30 September 2012 21:57:30 UTC+2, Kostya Vasilyev wrote: Yes, seeing more than usual too. Tonight it is a cancel fest with 1 purchase out of 3 or 4 cancelled this way...with generally 2 or 3 cancel lines for the same user in the console. Right. Some celebration, for sure. -- K -- 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
Re: [android-developers] An app developer is asking for my login credentials...
Thank you very much! On Saturday, September 29, 2012 5:36:33 PM UTC-4, TreKing wrote: On Wed, Sep 26, 2012 at 10:51 AM, Sal Colascione III claz...@gmail.comjavascript: wrote: Wouldn't this also give them access to my Gmail, Adsense, Adwords, etcetera accounts? Yes. Or can Google Play have a separate login? It can if you create a different account for distributing apps. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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: An app developer is asking for my login credentials...
Thank you as well! I just emailed them asking if they'd have any issue with my doing the final compiling, signing and uploading of the app. On Saturday, September 29, 2012 9:04:04 PM UTC-4, John Coryat wrote: You might want to create a user account for them so they can upload apps without giving them the keys to the kingdom. I also suggest that you do the final compiling, signing and uploading of the app yourself. Doing so will ensure you won't lose control to the app. -John Coryat On Wednesday, September 26, 2012 10:51:15 AM UTC-5, Sal Colascione III wrote: Hi there, I have a company building an app for me and they're asking for the login credentials to my Google Play account. Wouldn't this also give them access to my Gmail, Adsense, Adwords, etcetera accounts? Or can Google Play have a separate login? Thanks in advance, Sal C. -- 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
Re: [android-developers] Hardware reccomendations: Next development laptop
Larry Meadors wrote: Fred Stluka wrote: I've been very happy with my MacBook Pro. +1 I've used a Mac (tower, but same diff) for Android development. It's fine, simply because Mac looks just like Linux to an Android programmer. This isn't really on topic, so I'll keep it short. Mac+OSX Just Works. Worth every penny. One big downside is that you'll never want to use Windows again. ;-) Isn't that also the downside to using Windows? :-) Ubuntu 10 and 12 are also VERY good - so much better recently than the last time I used Linux on a desktop. If you're interested in diving deeper into android (AOSP) Linux is a solid choice (see http://source.android.com for more info). If you are worried about your budget and don't mind tinkering to make things work (i.e., you value money more than time) this is a viable option. They, too, just work. And if you're programming for Android, you will be tinkering. I don't know how much tinkering Ubuntu needs if you're programming. I've used Ubuntu for Android development, too, and it, too, just works. It's pretty straightforward as a programmer's OS. And it'll be fast enough, for a given hardware configuration. But I'd guess you can get a lot more speed for your buck through memory size first, and multi-core architecture second. Get at least a dual-core, preferably more, CPU configuration and tons of RAM. 4 GiB is plenty for Linux. I don't know enough about Mac to set a minimum. More is always better. Solid-state hard drives probably won't affect you as much. What do you mean by complex build? Any Android project I can imagine on any hardware that could reasonably run Vista should not take more than a minute or five to compile in Eclipse. What are you doing wrong? -- Lew -- 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 apply GPL license to Android App ?
Angelo Luciani Riu wrote: I write this mail because I'd like to apply GPL license to my Android Apps. I read some step from [url ] www.gnu.org)http://www.gnu.org/licenses/gpl-howto.it.html[/url] and I understand I have to do the followings steps : So do those steps. 1. Every file should have a copyright line Esempio: /*Copyright 2012 Angelo Luciani*/ This is a standard copyright question. You should check the copyright laws in your jurisdiction or wherever you intend to distribute your work. 2. Every file should have a reference to the license Esempio /* Nome-Programma is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Nome-Programma is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Nome-Programma. If not, see http://www.gnu.org/licenses/ */ 3. The code to be shared In general terms, as I understand it, one attaches copyright notices to whatever work over which one wishes to assert copyright. 4. A complete license shoud be present into the Project *IN REGARD OF THIS I HAVE THE FOLLOWING QUESTIONS !* Wow! Did you have to shout? Why? Rather rude of you, I should say. D1. I wrote point 1 and 2 only to .JAVA [sic] files, what's about .XML [sic] files, I need to write them? Are you asking legal advice on a programmers' forum? In general terms, I don't know about your situation particularly and besides, I am a computer programmer, one attaches a copyright notice to any work one wishes to copyright. Isn't that how it works where you are? D2. What's about the database ? I create a .db SQLITE database. Is it necessary insert GPL reference on it ? Is it data you wish to copyrght, or the database schema? What does your lawyer say? D3. apk packet is without .java files. Is it necessary to add them into the packet ? If I publish the application source on the net I need to write the link in every code source files ? D4. If you already use GPL license for Android Apps could you check if all steps are correct ? No one here, and I mean no one here, can tell you if what you did is correct. That is a question for a lawyer. Would you ask a coffee-bar barristo how to cure your gout? Follow the GNU instructions, research the law, and if necessary, ask an attorney your legal questions. -- Lew -- 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:
On Sunday, September 30, 2012 2:32:58 AM UTC-4, Illyoung Choi wrote: -- 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 apply GPL license to Android App ?
Angelo Luciani Riu wrote: I write this mail because I'd like to apply GPL license to my Android Apps. They're not actually emails on a news forum, they're posts. And you repeated this one. There's an answer in the other thread you started with this question. The short answer is, do it if you like, according to the GNU instructions, the laws of your jurisdiction and the advice of competent legal counsel. Which I am not. -- Lew -- 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] Returning complex object/s via SOAP from .Net web services
Hi everyone Can anyone suggest what are the options for returning complex object/s via SOAP from .Net web services? At the moment I am trying to parse the XML data structure and not quite sure how to do so. The data returned looks like this: stringtitlePasifika Drums/titledescriptionThis is a description descriptionurlhttp://.../Demo.aspx/urlimageshttp://.../img1.jpg/images/string Thanks in advance. Lara -- 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] Database and helpers
Hi guys, Do you know what is the best practice when I work a data base in Android, I mean, I know when you have a table you have a helper, but can I have only one helper, and it creates all tables. it's a good practice or not. Thanks, and sorry if I have some mistakes -- 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
Re: [android-developers] Returning complex object/s via SOAP from .Net web services
this isn't Android related, but what do you mean via complex? kris On Sun, Sep 30, 2012 at 9:10 PM, solnichko lari...@gmail.com wrote: Hi everyone Can anyone suggest what are the options for returning complex object/s via SOAP from .Net web services? At the moment I am trying to parse the XML data structure and not quite sure how to do so. The data returned looks like this: stringtitlePasifika Drums/titledescriptionThis is a description descriptionurlhttp://.../Demo.aspx/urlimageshttp://.../img1.jpg/images/string Thanks in advance. Lara -- 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 -- 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: Returning complex object/s via SOAP from .Net web services
I mean not just a simple String or int. The example XML string above is returned from the web services when an ID of this object is passed. At the moment I get Title, Description and a couple f URLs returned, but have no success parsing the XML String above and displaying the values simply in a textbox. Once I get this working, I will have to implement a listview that will display a list of such objects(with Title, Descr, etc.) From what I figured out I need to receive responce in an XML String or an array of objects. At the moment I am trying to work on XML String option. My project partner writes the web services and does not have much experience either, he expects me to tell him what I need to receive. -- 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
Re: [android-developers] Re: Returning complex object/s via SOAP from .Net web services
Parse the XML using an XML parser... Then consider using a Loader: http://developer.android.com/guide/components/loaders.html Also consider using an AsyncTask, forgoing that... kris On Sun, Sep 30, 2012 at 11:17 PM, solnichko lari...@gmail.com wrote: I mean not just a simple String or int. The example XML string above is returned from the web services when an ID of this object is passed. At the moment I get Title, Description and a couple f URLs returned, but have no success parsing the XML String above and displaying the values simply in a textbox. Once I get this working, I will have to implement a listview that will display a list of such objects(with Title, Descr, etc.) From what I figured out I need to receive responce in an XML String or an array of objects. At the moment I am trying to work on XML String option. My project partner writes the web services and does not have much experience either, he expects me to tell him what I need to receive. -- 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 -- 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
Re: [android-developers] Re: Menu icon contrast
there is no good solution pre 3.0you are at the mercy of whatever useless skinning the manufacturer did to any particular handset. I suspect it's the main reason Google introduced holo light and holo dark with the insistence that the basics of these themes are not messed with. whilst that is fine going forwards there is no relief for earlier platforms. from what I can see it's just not talked about on the assumption that eventually everyone will be off the earlier versions and the problem will just go away. I looked into styling the options menu a month or so back and got some really useful help from folks in this group. the best I could get to was to sample the menu background to work out the color: potentially I could then have displayed appropriately contrasted resources. I didn't take this path because it was too hackish. I eventually ended up creating a set of menu icons that were a silhouette against a rounded colored square. The color of the background square was chosen to contrast nicely agains a light or dark menu background and my icon contrasted nicely with the squares. One of the iterations the the Google Market app took the same approach themselves: they had white icons with a sort of blurry outline around each of them. At the time I couldn't work out why they had done this as the icons looked sort of funky - but in hindsight I see that they then worked against light or dark menu backgrounds. unfortunately the client didn't like it so we ended up forcing the overflow menu to appear in ActionBarSherlock. And before you ask, the actionbar overflow menu cannot be styled - by design. On Saturday, September 29, 2012 9:36:40 AM UTC-4, andrewg_oz wrote: Thanks. Platform version sounds good in theory, but my Gingerbread (v2.3.3) emulator is light-on-dark, while my Gingerbread (also v2.3.3) phone is dark-on-light. How reliable is the emulator for this? I've also heard that menus can't be styled, but I'll look further into that. Are there no system calls that can help here? Query the current display settings or something? Cheers, Andrew -- 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
Re: [android-developers] Re: geolocation
again saying you this exception cause due to because your real device cant get last location thats why you didnt got last location on device use if else condition and putToast msg in else condition -- 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: OnKeyListener errors
i think this is abstract implemntaion of method u put semicolon wrong position ,u also put }); this is best ,}); itis called at a same time u declare and imlement this current meethod On Thursday, 27 September 2012 23:53:34 UTC+5:30, EricW wrote: Hi, Could anyone tell me what I'm doing wrong here? using System;using Android.App;using Android.Content;using Android.Runtime;using Android.Views;using Android.Widget;using Android.OS;using Android.Text;using Android.Views;using Android.Views.KeyEvent;using Android.Widget.EditText;using Android.App.Activity;using Android.OS.Bundle;using Android.Text.Util;using Android.Views.InputMethods.InputMethodManager; namespace SiteZoeker { [Activity(Label = SiteZoeker, MainLauncher = true, Icon = @drawable/icon)] public class Activity1 : Activity { EditText mEdit; protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the main layout resource SetContentView(Resource.Layout.Main); mEdit=(EditText)FindViewById(Resource.Id.txtSitenummer); mEdit.SetOnKeyListener(EnterHit); } private View.SetOnKeyListener Enterhit = new View.SetOnKeyListener { public Boolean onKey(View v, int keyCode, KeyEvent Event) { if ((Event.KeyCode == Keycode.Enter)) { mEdit.RequestFocus(); return true; } else return false; } }; }} The red parts are the ones giving me the error: Error 3 Type or namespace definition, or end-of-file expected Error 4 The name 'EnterHit' does not exist in the current context Error 5 'Android.Views.View.SetOnKeyListener(Android.Views.View.IOnKeyListener)' is a 'method' but is used like a 'type' Error 7 Invalid initializer member declarator Error 2 } expected Error 1 ; expected Error 6 'Android.Views.View.SetOnKeyListener(Android.Views.View.IOnKeyListener)' is a 'method' but is used like a 'type' I use Visual Studio 2010 SP1 with Monodroid Eval installed. br, Eric -- 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: Database and helpers
i think u using only one helper class it,s ok but you'r database size is high it,s not so difficult trace for attacer. On Monday, 1 October 2012 06:42:46 UTC+5:30, Paula Castellanos wrote: Hi guys, Do you know what is the best practice when I work a data base in Android, I mean, I know when you have a table you have a helper, but can I have only one helper, and it creates all tables. it's a good practice or not. Thanks, and sorry if I have some mistakes -- 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: Explain the preparation speed of MediaPlayer in this application
u using http service it's actually download then play it's not real streaming. On Friday, 28 September 2012 14:11:24 UTC+5:30, Dmitriy F wrote: Here's an https://play.google.com/store/apps/details?id=com.maxxt.pcradiofeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYXh4dC5wY3JhZGlvIl0. that I've found for playing radio live-streams - pcRadio. I made a similar application with pretty simple code inside. // constructing the player mPlayer.setDataSource(getResources().getString(mLowQualityStreamId)); mPlayer.prepareAsync(); // start the player in OnPreparedListener I've found a link to a radio-stream(the second one in the main list) that pcRadio consumes: http://radio-shtorm.ru:8000 (32/56/112). When I launch my player it takes it like 5-10 seconds to preparem while pcRadio starts playing instantly. What's the difference and how can I improve my app to achieve the same instant preparation speed ? P.S. tested on Android 2.3.4 -- 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] Android - .Net Web Service Implementation
Hi Guys, I have been trying to implement Android - .Net Web Service logic in my application, but unfortunately I am not able to understand it. Can anyone please tell me how does it work and what are key notes for the same. Thanks Regards, Krishna V. Mahadik -- -- . \\\/// . /\ . | \\ // | . ( | (.) (.) |) --o00o--(_)--o00o- Yesterday is not ours to recover, but tomorrow is ours to win or to lose. ---ooo0--- . ( ) 0ooo .\ ( ( ) . \_) ) / .(_/ -- 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] new ideas to create android apps which includes framework
I want ideas which are not available in market. -- 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
Re: [android-developers] Android - .Net Web Service Implementation
On Mon, Oct 1, 2012 at 12:11 AM, Krishna Mahadik krishna.maha...@gmail.comwrote: I have been trying to implement Android - .Net Web Service logic in my application, but unfortunately I am not able to understand it. Can anyone please tell me how does it work and what are key notes for the same. Your question is so vague and generic you're never going to get an answer. Review this and ask a very targeted, Android-specific question: http://www.catb.org/esr/faqs/smart-questions.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
Re: [android-developers] new ideas to create android apps which includes framework
Who vll give u idea for that..coz every one need that first... On 1 October 2012 11:02, rajlaxmi jagdale jagdalerajla...@gmail.com wrote: I want ideas which are not available in market. -- 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 -- 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] new ideas to create android apps which includes framework
new ideas to create android apps which includes framework -- 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