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);
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
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
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
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
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/
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
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
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
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
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
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; //
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
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
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,
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
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
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
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
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
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
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
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
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
}
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,
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
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
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
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 ?
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
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
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
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
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
://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
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
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
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
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
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
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
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
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
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 :
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
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
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
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
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
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
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
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
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.
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
54 matches
Mail list logo