[android-developers] Flavors : I loose my 'R' when I use code in main
Hi, I have an App with 2 flavors : free and full. public class DocumentListActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.document_list_activity); android.util.Log.d(MultiReaderFree,DirectoryListActivity.onCreate()); import bse.multireader.util.ConstantsInterface; import bse.multireader.R; works OK When I implement in the Activity in the free flavor, an interface defined in the main source directory, I'm loosing all my resources : import *bse.multireader.util.ConstantsInterface;* public class DocumentListActivity extends ActionBarActivity *implements ConstantsInterface*{ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.document_list_activity); android.util.Log.d(MultiReaderFree,DirectoryListActivity.onCreate()); I get the 'cannont resolve layout' Another question. When creating code/resources for the 'main' /common directory, which Build Variant should be used ? (there is no main build variant choice). Sorry for those beginner questions, but AndroidStudio is not easy to master -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: AndroidStudio feedback (vs Eclipse)
Le mercredi 14 janvier 2015 02:05:45 UTC+1, Nathan a écrit : | With AndroidStudio well, I'm starting to believe I will leave Android programming ! Is this Android Studio or the migration to Android Studio? Because with new projects, even months ago, I had no hesitation starting them in Android Studio. It was the forced migration that was a pain. Well... I'm not yet ready to stop my Android work. But it's boring to learn AndroidStudio, time consuming. There are so little help on the web. And the 'flavor' stuff : a good idea, but really badly implemented in their IDE. I don't know when/if I will be able to publish updates of my App... I have not tried the 'import Eclipse Project' stuff, as I have 3 projects (free,full,lib). I have stated an AndroidStudio project from scratch, and I plan to copy/paste resources code from my existing code. From the beginning, I have decided to create flavors, and not wait until a free version was ready, to add a full version (add a flavor). So, I am learning AndroidStudio new features at the same time as learning AndroidStudio use. Not easy at all -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] AndroidStudio feedback (vs Eclipse)
Hi, I've been programming since the beginning with Eclipse+SDK. I saw it won't be supported for long, as AndroidStudio became the official dev. platform. I am then trying to migrate all my code into AndroidStudio. I have 2 versions : 1 free, 1 full. Then I'm learning 'the hard way' : using flavors. My feedback : - I am loosing a lot of time trying to understand and searching for sample on the web. A few help using AndroidStudio, flavor, ... - I doubt I could migrate my App on AndroidStudio. - It's a huge waste of effort. 2 weeks lost already (2hrs/night) Of course, Eclipse wasn't perfect (especially when new versions came : I had to re-create new Projects and copy/paste code), but it worked, and I published my Apps. With AndroidStudio well, I'm starting to believe I will leave Android programming ! Any such feedback ? Will Google finally support Eclipse+SDK again for the years to come ? As with Android 5.x on Nexus, and last update freeze (I had to send my phone to Google, and get a Nexus which now stays on OS 4.4 :-) , I think AndroidStudio was a bad choice, and the developers should be able to use Eclipse+SDK for many more years. Will Google 'go back' on its decision, and not force us to use AndroidStudio ? -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Migrating to Android Studio
I regret the choice from Google to 'force' us to use AndroidStudio. The Studio is not so bad, after a few hours of practice. But, in my case, I have a lot of difficulties managing my code, the IDE seems to work better if you use the User Interface : menus, mouse, ... If you enter code (interface, image resources using keyboard or 'cp' for .png : it won't work well). Example : I have 2 versions. Easy in Eclipse : 3 projets : 2 App+1Lib On Android studio, you can have only 1 projet, but several 'flavors'. Each time you edit a file, you have to 'be' in the correct flavor, or the App won't compile !!! How to add and use common code to both flavor ? When I do it, AndroidStudio 'loose' the 'path' to resources (R.layout), the App won't compile. I'm also not sure you can create images with Gimp directly in the AndroidStudio resource directory... AndroidStudio also, as many more config files (more the Eclipse where only the Android.manifest we usefull to understand) If Google could forget AndroidStudio and go back to officialy support Eclipse+SDK... it will be a wonderfull year ! -- 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 unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Mandriva aapt: /lib/libz.so.1 using latest SDK update
I was on Mandriva 2010 Spring 32 bits. Tried to install more packages. No results. I've tried Ubuntu 32 and 63 bits: both don't install on my laptop. I'm now on Mandriva 64 bits + JDK 64 bits + Eclipse 64 bits. The Android emulator starts OK... but I still have this error msg when compiling. Even after installing libc libz etc ... Any idea to solve it ? Hopefully, I am doing Android app for 'fun' and little money. It would be a HUGE issue if it was for a real company/work... -- 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: Mandriva aapt: /lib/libz.so.1 using latest SDK update
Hi, Thanks for the answer. The error message in Eclipse/Android : [2011-03-20 21:09:37 - DrawIt] /home/bsegonnes/to_burn/DVD_sauvegarde/ download/Google_Android/android-sdk-linux_x86/platform-tools/aapt: / lib/libz.so.1: no version information available (required by /home/ bsegonnes/to_burn/DVD_sauvegarde/download/Google_Android/android-sdk- linux_x86/platform-tools/aapt) [2011-03-20 21:09:37 - DrawIt] ERROR: Unable to open class file /home/ bsegonnes/to_burn/DVD_sauvegarde/bsegonnes/EclipseWorkspace/DrawIt/gen/ bse/drawit/R.java: No such file or directory -- 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] Mandriva aapt: /lib/libz.so.1 using latest SDK update
Hi, I can't compile my Android app. since last SDK update. What's the solution to get it fixed ? I do have libz installed : [root@Laptop lib]# ll libz* lrwxrwxrwx 1 root root13 2010-12-05 21:56 libz.so.1 - libz.so. 1.2.3* -rwxr-xr-x 1 root root 74760 2010-01-06 15:05 libz.so.1.2.3* But Android/SDK/Eclipse doesn't like it ! -- 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] Give back memory to OS
Hi, My app uses big external libraries (it will take me several months to slowly safely optimize it). Anyway,my app will still be big (8-9Mo once installed). Depending on the file the user opens, it may happend that I get Out Of Memory. I now catch almost all of them, display a message and stop loading... The user can then close the Activity (release RAM : set variable to null, do gc() runFinlanization() ..) and get back to a 'list' activity. Anyway, my app still use 16Mo (even after gc() cleaning objects !), and I have crash (OOF) when clicking on menu, or OOF (no crash) when sliding in the list, or I have some OOF when opening even small files. It is possible to give back to the OS some RAM ? -- 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: Give back memory to OS
I've noticed those log lines : dalvikvm-heap Clamp target GC heap from 16.184MB to 16.000MB So : it seems possible for an application to release memory to the system... What I'd like to do is to execute this 'Clamp' myself and go back to 12MB for instance. -- 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: Out of memory and no useful stack trace
You should at least have an idea/logs on the methods which creates OOM, you can encapsulate into a : try { bigMethod(); } catch(java.lang.OutOfMemoryError e) { all objects = null; System.gc(); System.runFinalization(); } Maybe you can also use : Runtime.getRuntime().freeMemory() Runtime.getRuntime().maxMemory() Runtime.getRuntime().totalMemory () to know if you have to stop what you are doing : properly. -- 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 To unsubscribe, reply using remove me as the subject.
[android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs
Inserting a try {} catch {xxxException ...} in the code an be hard... if the crash occurs in a place we don't expect/suspect of not being stable. A solution for Google team, would be in the Manifest.xml to add field : sendErrorLogsTo=m...@me.com So, for each Force Close we could receive a mail from Google (not from the user). At least we could track the number of crash, check if they decrease over time, etc... -- 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 factor code for Free/Paid app versions?
Hi, I manage 1 code for full/free version. In the code I have special comment for all lines I need to switch (comment or uncomment) depending on the version. for instance : if(page = 4) {// DEMO .. // DEMO }// DEMO int numberOfStuff = 10; // DEMO //int numberOfStuff = 100; // FULL So a quick Search in all my sources finds the parts which should be changed. Of course I have only a few lines to modify ! This way : the .apk is 'really' different and the DEMO version can not be changed easily into a FULL version. (don't forget to test version limitation each time before you publish :-) -- 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] WebKit : how to scoll content from JavaScript ?
Hi, My application uses Webkit to display its content. I use SPAN tags to change characters background. A few char at a time. The char 'selection' moves in the WebKit view. It can then select character which are in a non visible part of the HTML page How can I scroll the WebView display area (using JavaScript in the HTML codeI suppose) ? Thanks for you advices. -- 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: what is a suitable upper limit for application size?
Hi, I agree about the size limit problem. I think there should be a size limit (to keep RAM for OS other app), but we should be able to check in our code if we are 'near' the allocation limit for our app. Anyway, for your case : would it be possible to REMOVE all images from the .apk, and download them in a thread once your app is launched (OK : keep icons in the .apk). You can use the 8Go of the SDCARD to store your images :-) and load them in RAM only when you need to display -- 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] [Solved] SDK and Linux 64 bits
Hi, I have installed Mandriva 2010 32 bits :-) Unfortunately 'adb' still had a problem but, it gave me some error messages this time. (all was OK on Mandriva 2009 !) So, I had to manually setup this file : /etc/udev/rules.d/50- android.rules SUBSYSTEM==usb|usb_device, SYSFS{idVendor}==0bb4, MODE=0660, GROUP=plugdev SUBSYSTEM==usb|usb_device, ATTR{idVendor}==0bb4, ATTR{idProduct} ==0c02, SYMLINK+=android_adb SUBSYSTEM==usb|usb_device, ATTR{idVendor}==0bb4, ATTR{idProduct} ==0c01, SYMLINK+=android_fastboot Mandriva 2010 64 bits and Android SDK are not yet compatibles :-( -- 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: SDK and Linux 64 bits
Thanks for your replies. So, it seems like it should be possible with Mandriva (they all have more or less same Kernel), but it is badly configured by default... When I run 'dmesg', and plug the phone on USB, I got some message. so the USB link seems OK. It's 'only' that adb doesn't find the device... The OS also doesn't mount the phone. Also : when I play mp3 in my program, with a 32 bits OS : no problem. With a 64 bits : I got sounds, but it's hard to reconize what is playing. I'm not sure if this is the correct forum to talk about Android Mandriva issues : where can I ask ? -- 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: SDK and Linux 64 bits
dmesg message is : sd 4:0:0:0: [sdb] Attached SCSI removable disk usb 1-4: USB disconnect, address 5 usb 1-4: new high speed USB device using ehci_hcd and address 6 usb 1-4: New USB device found, idVendor=0bb4, idProduct=0c02 usb 1-4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb 1-4: Product: Android Phone usb 1-4: Manufacturer: HTC usb 1-4: SerialNumber: HT93TKF02025 usb 1-4: configuration #1 chosen from 1 choice scsi5 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning scsi 5:0:0:0: Direct-Access HTC Android Phone0100 PQ: 0 ANSI: 2 sd 5:0:0:0: Attached scsi generic sg2 type 0 sd 5:0:0:0: [sdb] Attached SCSI removable disk usb-storage: device scan complete How can I configure 'adb' to link to this device ? (at lest to be able to install my app.apk) -- 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] SDK and Linux 64 bits
Hi, I wonder if someday the SDK will run fine on Linux 64 bits. I understand it's not a priority for Google team, but 64bits desktop OS are becoming common... My case : Mandriva 2010 64 bits, Eclipse 64 bits, SDK 1.6 : OK to create code launch emulator. But : - adb never find my phone linked to USB cable (it was OK before on Mandriva 32 bits) - TTS also doesn't work well on the emulator (it was OK in Mandriva 32 bits). Do you think the problem is with Mandriva ? or in Android SDK ? -- 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] SDK running OK with Linux/Eclipse 64 bits ?
Hi, I just have upgraded to Mandriva 64bits. I have installed the lasted Eclipse. But it seems it has problems loading 32bits SDK libs : Failed to parse the out of 'adb version' tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file ... Can you help me ? I'd really like to stay in Linux 64 bits... -- 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: Hide an app from Droid
Hi, I developp an application using SDK 1.6. If I want it to be available on Droid devices, should I set android:targetSdkVersion=4 ? (I heard sales were great due to Droid phones, but I didn't noticed any improvment in my sales, so I'm wondering : is my app. visible on Droids ?) Maybe my app is just not good enough to have 500% sales increase :-) -- 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] Orientation : onStop onDestroy called from BACK key or not ?
Hi, Each time I switch the orientation of the device, onStop() and onDestroy() are called. They are also called when I close the Avtivity (dismiss()), and when I press 'back' key. In onStop() or onDestroy() methods : how can I know how I can here ? I'd like to run some code when I close the Activity (back button), but not if I change screen orientation --~--~-~--~~~---~--~~ 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] WebView : can we select text in Java ?
Hi, I'd like to use WebView to display some content (from my Java code or local temp file). I need to select some characters (change background color) of the view. Of course I need to change those selected char. using my Java code. How can it be done ? Can you post a short example ? 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 -~--~~~~--~~--~--~---
[android-developers] Re: Orientation : onStop onDestroy called from BACK key or not ?
Note that in android you don't actually close activities by choice (I know, it's odd) they get closed when the system runs out of resources. Well I can always call finish() to close my window's Activity. My problem is : I have a thread doing things for my Activity. I am successfull keeping that thread running even when screen orientation changes (set it as static). But when my Activity 'disapear' (back button or other) I would like to do some cleaning : clean my thread temp files. I need to know when I 'quit' my Activity and when I call onStop() onDestroy() only because I have a screen orientation change --~--~-~--~~~---~--~~ 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: Orientation : onStop onDestroy called from BACK key or not ?
I have founded ! Thanks I should not rely on onStop() nor onDestroy() to know when I quit my Activity. The only safe way is : @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { ... do some cleaning here } return super.onKeyDown(keyCode, event); } --~--~-~--~~~---~--~~ 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] WebView : can we select text in Java ?
Hi, I like WebView component. I would like to be able to select text in the view in my Java code. Is it possible ? --~--~-~--~~~---~--~~ 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: WebView : can we select text in Java ?
OK, thanks. I will check how DOM objects work on Android... --~--~-~--~~~---~--~~ 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 can I know if I can display a character ?
Hi, My application opens external documents. Most characters are display OK, but a few not. How can I know if the character can be displayed (in a TextView, or other) ? Is there a method in TextView, String, Typeface or other ? --~--~-~--~~~---~--~~ 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: Speech Recognition
A question to all VR specialist in this list :-) (and Google guys if they read tis) VR works/will work someday but If I have a phone bought in the US for instance, my phone will reconize American accent. If I develop a VR application for the world. Will my US phone have the necessary lib/param. build in by default to reconize other languages/accents ? I don't need my US localized phone to reconize only US accent, but other as well And other localized phones (French, Spanish, German, etc) be able to reconize other languages also. Do you know what kind of app I have in mind ? :-) --~--~-~--~~~---~--~~ 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 : display Button (Views) over a Camera preview ?
Hi, I'd like to have code sample (xml java) of how I can overlay buttons (any view) into a camera video preview. Of course I'd like real Buttons : no bitmap of the button over a video. I need to keep the clicked event, button pressed/up functionality, etc Where can I find such Tutorial ? --~--~-~--~~~---~--~~ 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 : display Button (Views) over a Camera preview ?
Thanks for this fast answer ! I will try your code today. --~--~-~--~~~---~--~~ 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 make a video of the emulator ?
Hi, I am using Linux (Mandriva). How can I make a video (with sound) of the emulator ? 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 -~--~~~~--~~--~--~---
[android-developers] Re: How to make a video of the emulator ?
Thanks On 20 avr, 16:21, Mark Murphy mmur...@commonsware.com wrote: I am using Linux (Mandriva). How can I make a video (with sound) of the emulator ? You could try using Linux screencast software. Search on the following in your favorite search engine: linux screencast You will get many hits, talking about Istanbul, recordmydesktop, and many others. Some, if not most, of these should be able to record the Android emulator as seen on the Linux desktop. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ 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: Providing text-to-speech (TTS) capability in my Android application?
If you need more languages, voices, I think a client/server solution would be better. Android app send a request (POST) to a TTS web server. The server sends back a mp3, or a html page with a link to a mp3. You download the mp3 on the SD card, and play it. The problem : finding a FREE TTS server online At least there a some free demo, you can start your dev. with them (ATT, vozme, VoiceForge...). And when you get some money : buy the server licence. --~--~-~--~~~---~--~~ 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: Are you localizing an app? Do you want to be?
Hi Us (developper) have not infinite resources. I have started to translate my application, but I don't know which languages are the most urgent (English, Spanish, German, French). It would be great if on the official Android site, we had a page showing all countries where Android devices are sold (not will be sold, but ARE sold). It would also help in marketing. 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 -~--~~~~--~~--~--~---
[android-developers] Re: Are you localizing an app? Do you want to be?
It's available in Germany ans Spain. And this week in France. I even had one customer for my application having a .jp mail adress I had to browser several web sites, blogs to find the info. It would be very helpfull if an official web page could be available to track this. On 3 mar, 11:03, Al Sutton a...@funkyandroid.com wrote: As you can only buy consumer devices in the UK US I would suggest English should be the primary language for your application. Beyond that it really depends on where devices become available and which countries you wish to support. Al.http://andappstore.com/ Nanard wrote: Hi Us (developper) have not infinite resources. I have started to translate my application, but I don't know which languages are the most urgent (English, Spanish, German, French). It would be great if on the official Android site, we had a page showing all countries where Android devices are sold (not will be sold, but ARE sold). It would also help in marketing. Thanks. -- * Written an Android App? - List it athttp://andappstore.com/* == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.- Masquer le texte des messages précédents - - Afficher le texte des messages précédents - --~--~-~--~~~---~--~~ 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: Are you localizing an app? Do you want to be?
In the US, I suppose there are a lot of Spanish speaking people which have Android phones also :-) --~--~-~--~~~---~--~~ 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: Are you localizing an app? Do you want to be?
There are online translation services. They are not really good, but for text button/GUI having in english 1 to 3 words, it should be well translated. And also : I (we all) need that for advertisement :-) --~--~-~--~~~---~--~~ 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: Cookies
Maybe try to search the web for HttpClient an Apache lib. available on Android by default. On 2 mar, 05:00, Marco Nelissen marc...@android.com wrote: On Sat, Feb 28, 2009 at 10:44 PM, Miles Smith mi...@vimae.com wrote: How does one go about setting a cookie? I have an website that sends mp3's to clients, but the request must have a cookie attached to it. How would I go about setting a cookie for a MediaPlayer URL request? Is that even possible? No, sorry. --~--~-~--~~~---~--~~ 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: speech to text api
Not available. I also need it. Instead, I use free/demo TTS web site : - I search free TTS poducts, some site, have demo page. - I use this URL to post my text, and retrieve a web page with a link to a MP3 speaking my text. - I download it, play it, remove it. Of course the licence said ; it's forbitten to use the demo page for commercial/application purpose. But as I have a few customers, and no money yet... I promise, once I have enough money from my app I by a server/ licences.. On 2 mar, 00:39, Rob Franz rob.fr...@gmail.com wrote: I asked the same question. The answer is no, unfortunately. -Rob On Sun, Mar 1, 2009 at 12:24 AM, Zi Yong Chua chu...@gmail.com wrote: hi guys since android now has speech to text search, anyone know if the API is available to the developers?- Masquer le texte des messages précédents - - Afficher le texte des messages précédents - --~--~-~--~~~---~--~~ 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: Mime Type : how does it works ?
Thanks for the answer. Could you add it for future SDK release ? Several users of my application (MultiReader) asked my to be able to launch my application for instance when they received a mail with a pdf, word, ... document. It would be good also to be able to launch application when we have a link to a file, into a web page. On 27 fév, 04:24, Dianne Hackborn hack...@android.com wrote: Sorry, we currently don't really support matching based on file extensions. --~--~-~--~~~---~--~~ 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] Mime Type : how does it works ?
Hi, I have search on this list beginners' list, in anddev.org, ... no clear and full example. I would like to run my app when a file extention is selected (from web browser, file browser, mail, ... : from everywhere in Android) So : can I have a clear example of Manifest/xml and Java code to handle, let's say *.doc ? What should be done in my Manifest.xml How to get the filename and read it from the Java code (from an Activity) Thanks for your help --~--~-~--~~~---~--~~ 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 manage Delay in InputStream ?
Hi I do a POST on a URL on the web. I get back an InputStream. Even using a regular web browser this response comes back with a delay (2-5 sec). In Java, when I finished my post, close OutputStream , and read the response, as nothing as arrived yet : I get nothing and my app thinks the InputStream is finished, and I exit my method. How can I wait for something to come from an InputStream ? 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 -~--~~~~--~~--~--~---
[android-developers] Generate .apk without debug info in .class
Hi, If I test my application and generate a .apk, or if I use the 'Export unsigned' menu, I get the same application size. How can I remove debug information for my final releases ? I use Eclipse. 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 -~--~~~~--~~--~--~---
[android-developers] Re: Android FreeTTS server interfacing, a speech solution for your projects
Some TTS interesting links : TTS included into Android before end of year ? http://androidguys.com/?p=2765#comment-4647 Some Open Source TTS solution : http://www.cstr.ed.ac.uk/projects/festival/ How to use it from Java : http://www.cstr.ed.ac.uk/projects/festival/manual/festival_28.html#SEC134 http://espeak.sourceforge.net/ If someone could try them :-) (I don't have time) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Text to Speech lib from Android Market
I need TTS lib also. Once this lib is available the Android Market could have another killer-application, and Google another reason to get $$. So, Google team : please provide such API/lib :-) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Geo localization GPS without 3G (internet connection)
Hi, I run Google Map Location API on the emulator. It works fine. But (for G1 users) it is possible to receive GPS coordinates even if the phone is not connected to internet (Google services) ? Another question : has someone estimate the bandwidth taken by GPS data , and by GoogleMap data during a day for instance ? Thanks for the answers --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: new version of 1.0?
When is planned a new SDK ? (or at least a SDK 1.xxx with bug fixes, and a few more features, TTS for instance :-) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] MapView and SDK 1.0
Hi, I am learning how to use Google Map in an application. I have founded several example with SDK 0.5 0.9, but not with 1.0. It seems there where some changes... I have a connection error : [2008-10-25 09:26:07 - ddmlib]Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte java.io.IOException: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte at sun.nio.ch.SocketDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(Unknown Source) at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.write(Unknown Source) Even if I disable (Allow All) my firewall. In my Manifest I have added : uses-library android:name=com.google.android.maps / uses-permission xmlns:android=http://schemas.android.com/apk/ res/android android:name=android.permission.INTERNET/uses- permission uses-permission xmlns:android=http://schemas.android.com/apk/res/ android android:name=android.permission.ACCESS_COARSE_LOCATION/ uses-permission My screen is : ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent com.google.android.maps.MapView android:apiKey=bogus android:layout_width=fill_parent android:layout_height=fill_parent / /LinearLayout In My code I only have : public class GlocationMap extends MapActivity implements LocationListener { ... super.onCreate(savedInstanceState); setContentView(R.layout.main); ... Is there somewhere a full simple working example displaying a Google Map with SDK 1.0 ? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android FreeTTS server interfacing, a speech solution for your projects
Great ! Thanks !! I will test it. Where is located the server ? On your PC ? On 'our' PC at home ? Can we have it always on line on the web ? do you know a free web site which allow to upload .war/.ear ? On 17 oct, 12:13, Alvaro Rivas [EMAIL PROTECTED] wrote: Hi Wesley, Yes, the freeTTS solution I provided to us needs a FreeTTS server. Your application must have an Internet connection. I'm developing an off-line version that I will open source too. This off-line version was done for the ADC I, but It has some bugs. The next step is to porting this code to the SDK 1.0 but, you know, I have a job and I haven't got many free hours to do this porting, but It will be done, sure. My off-line solution don`t use freeTTS core or FreeTTS so the speech generated is poor than the speech generated by FreeTTS. My objective was to provide you a way to get speech in order to get your projects demos more atractive, and I can say that the android-freeTTS interfacing project, as you know, works. It is a way of getting speech connecting to a server with an internet connection. Thanks you. 2008/10/17, Wesley [EMAIL PROTECTED]: hi, thanks to Alvaro Rivas, sharing out the TTS that you have done... but, many freeTTS interfacing??? isit?? most of them is not working??? but Now, the only problem is, your freeTTS, need to have TTSserver... can it be offline one??? I mean standalone in Android devices... I know some package is removed... but... because I am developing game for android... hoping to have some TTS effect on it... like wow!!! or Great Job and so on... and my Game is offline... not going to be online... + I don't have enough resources to setup a server or TTS server any idea?? did anyone have done the TTS??? can share out??? I really hope Andriod can support TTS... your attention is highly appreciated... thanks... have a nice day... Wesley. On Sat, Oct 11, 2008 at 6:11 PM, Alvaro Rivas [EMAIL PROTECTED]wrote: Hi blindFold, It's a good thing that there are many freeTTS interfacing. The other two projects I have no idea of the state of implementation. The only thing I know is people has problems getting speech. My contribution is a simple way of getting speech in your applications. I upload a sample hello word that is ok, it is finished, so you can adapt this code in your code to get the speech. I had a lot of problems in order to get speech running in my applications, I programmed a lot of ways until I had a way of getting speech. My contribution may be not the best way but it is a real way of getting speech because it is running. Fell free to testing the 3 projects and if my project is the winner bet, I hope it will be very useful. Best regards 2008/10/11 blindfold [EMAIL PROTECTED] Hi Alvaro, Thanks for sharing! I see a bit of a problem in deciding which TTS interface to bet on. It seems that there are currently at least 3 projects aimed at offering FreeTTS functionality on Android, in different stages of development. There is the preliminary Android Market screenshot of the Text-to-Speech Library by Google's Charles Chen at the URL http://android-developers.blogspot.com/2008/08/android-market-user-dr... Then there is the porting project of FreeTTS by l1ghtm4n at the URL http://code.google.com/p/android-text2speech/ and there is your (Alvaro Rivas') porting project of FreeTTS at the URL http://sourceforge.net/projects/freettsandroidi/ Now most likely there will be various differences in the interfaces for invoking FreeTTS, so even though I am very interested in making use of FreeTTS on Android at some stage, and am neutral in my choices, I have no clear idea which of the three TTS projects I should focus on, and I am inclined to just wait-and-see to first find out which one turns out to be the most mature or de facto standard. Any ideas? Regards The vOICe Android for Android Phones http://www.artificialvision.com/android.htm On Oct 11, 1:47 am, Alvaro Rivas [EMAIL PROTECTED] wrote: Hi, Due to many question about a interfacing with FreeTTS or speech generation, I decided to open source a part of my ADC I project. It is intended to be used for all of you who wants to get a text to speech system in yours developments. Android-freeTTS reads from a Free TTS server a file that can be executed in the android application in order to get speech. Code has been ported to 1.0 Android SDK. I put a sample hello word in order to see the results of a speech generation. Many bugs can be found, but the idea is to give you a basic speech generation in order to be included in your developments in others ADC's Projects are Eclipse projects, maybe you must add JDK System library in your projects. A documentation file is supplied. Please read the howto section. (IP address and other things must be
[android-developers] Android SDK / emulator working fine on Linux 64 bits ?
Hi, I plan to upgrade my PC and move from Mandriva 32bits to Mandriva 64bits. Are Eclispe SDK tools the emulator still working fine ? Any specific remarks on such a platform ? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to manage free/paying versions ?
Hi, I'd like to provide a free and non free versions of my application. The non-free version, will have additional/optional feature. But the free version will be fully usable (good idea ?) In 'traditionnal' java/jar delivery, I manage that by removing some .class (only present to check the version, no functional job in them !), and checking before using a feature, if those classes exiss (can be loaded using 'cutsom' class loader). Is it possible to remove a .class from a .dex , and have the application still runing ? Is it possible to have custom Classloader in Android ? How will all of you manage differents versions (demo, free, paying) ? Thanks for ideas. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Question to Android team
Hi, My application needs TTS (text to speech). I don't see any news about that. My question : Do you plan to (on day) add this API in Android (emulator devices) ? Or is it better (and faster) to develop (port) it myself (on the emulator !) Could you give me some help/links in order to do that ? (I've tried FreeTTS, but there are too many stuff to comment/adapt, and even on a PC, the voice quality is not very good) Do you have some other links ? 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Text2Speech now hosted at google code
Great idea ! I have no time to help you on this port (or for easy/fast stuff : it's OK). And : I also don't know any thing about speech/sound/grammar/... on this topic. But I will be pleased to test all versions of it :-) My project (for ADC I), is a document speaker. I really needs TTS. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: New SDK available - 0.9 SDK beta
No Text to Speech (tts) yet ? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---