[android-developers] Re: New AChartEngine release

2010-01-22 Thread Dan Dromereschi
Hi, The license is Apache License 2.0, which provides a lot of flexibility to the library users. http://code.google.com/p/achartengine/ Regards, Dan On Jan 22, 1:38 am, Zsolt Vasvari zvasv...@gmail.com wrote: Hi there, looks very cool. I don't see the license for this library?  Is there

[android-developers] Re: Confused about how focus works

2010-01-22 Thread skink
On Jan 22, 12:25 am, Mark Nuetzmann mark.nuetzm...@gmail.com wrote: The Android settings activity does exactly what I want...  By default the text is WHITE and when the listitem is in a selected state the text changes color to BLACK...  How did you do that? hi, i think you should see

[android-developers] Re: Strange error with AdMob

2010-01-22 Thread Jason Arora
Does Project-Clean help? On Jan 21, 4:59 pm, Wayne Wenthin wa...@fuligin.com wrote: I have already posted on their developer group but based on everything I've seen I don't expect a reply. I have a strange problem.   When I added and adview to my app it imported a bunch of comments that all

[android-developers] Re: Adding contacts to a custom account

2010-01-22 Thread Jens
The problem lies within the broken parts of the Contacts app, so a proper implementation of custom contacts sync is effectively dead for all devices running 2.0.1 (and probably 2.1). On 21 Jan, 00:05, sazilla sazi...@gmail.com wrote: did anyone fix this problem? any suggestion? does it mean

[android-developers] urgent help Integrating code with Android home screen code.

2010-01-22 Thread satish bhoyar
Hi all, I am trying to integrate my code to the android Home Screen code. I want to launch my activity frm the HomeScreen by click of a button. I Did the code then build it but when i click the button i m getting error as Application not installed on phone. please help Thanks, satish -- You

[android-developers] Call forwarding

2010-01-22 Thread monty
is it possible to do call forwarding in android?plz give a solution -- 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] play audio file from weblink in android

2010-01-22 Thread RamaMohan
Hi all, I have to play an audio file from weblink .I have to do 1.I have to download the song to phone. 2.I have to play songs without downloading ie.,streaming. I have used the following code to play from web url. --- MediaPlayer mp = new MediaPlayer(); try {

[android-developers] Re: Help with listview!

2010-01-22 Thread ls02
I understand that. But how do I get the listview individual row view? I didn't dind any way to get handle or any other access to it. If I had the row view handle I can use it's findViewById tyo get particular row's item I want to update. The only way I see is to call adaptor's

Re: [android-developers] $200 per live wallpaper

2010-01-22 Thread fourk xav
hi I have a mate that is a photographer. Can you be more explicit on your expectations? thanks On Fri, Jan 22, 2010 at 4:33 AM, aspidoff eldev...@gmail.com wrote: paying $200 per original, cool, live wallpaper for 2.1 hit me up with ideas or your portfolio. thanks! -- You received this

[android-developers] Timing and using Intent MediaAction.ImageCapture to take pictures

2010-01-22 Thread Ray Benjamin
I'm still working only on the emulator, but I am seeing some unexpected behavior when using an Intent to take a picture via MediaAction.ImageCapture. At first, I thought everything was working as I wished: from my application, control was transferred to the Camera application, which allowed

[android-developers] Re: Creating a proper Splash/Loading screen

2010-01-22 Thread Maps.Huge.Info (Maps API Guru)
You might want to look at adding a theme to your application in the manifest, not sure if it can be animated though. The thing about a theme is it loads first and fast so no blank screen. -John Coryat Radar Now! What Zip Code? -- You received this message because you are subscribed to the

[android-developers] Re: How to forward a phone call to voice mail ?

2010-01-22 Thread Arbixx
Thank you for answering Kumar. Actually, there is no such option in the Contacts provider. The option is available in the ContactsContract provider since API Level 5 though. But I know some apps do forward phone calls to voicemail at least since API level 3. So there must be some other way. Any

[android-developers] program's offline installation

2010-01-22 Thread guiha...@gmail.com
Hi, (questions are marked with *?*, where ? is a letter). I took a while to read all posts about people trying to create installation approaches for android. There are basic two approaches: 1. Put app+data it in the apk. 2. Put app in the apk and download data from somewhere Most of my users

[android-developers] Re: How to forward a phone call to voice mail ?

2010-01-22 Thread Arbixx
Thank you for answering Kevin. I indeed want to do it programmatically. On 21 jan, 23:07, Kevin Duffey andjar...@gmail.com wrote: I think he meant programatically..like he wants to write a service app that gets notified of incoming calls and he can write some code that sends the call to

[android-developers] Re: Activity.finish() x System.exit

2010-01-22 Thread Albert
What about this: int pid = android.os.Process.myPid(); android.os.Process.killProcess(pid); You exit the app asking android to kill your process. I think that what is used in 3D games as most of them have and exit button, you kill the process so that it wont drain battery and use memory. Anyway

[android-developers] Re: Loop audio from mic to earpiece?

2010-01-22 Thread draf...@gmail.com
Hi Micheal, do you fancy helping me try to solve the ear piece problem to make it two pints? :-) It initially sounds like it gets routed to the ear piece on the HTC Hero but thats because of the way the earpiece and speaker are set up on the hero, on a G1 it is clearly coming through the

[android-developers] tazsk manager

2010-01-22 Thread Deacon
to terminate a process,cut and trim the string constant of bit flow -- 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

Re: [android-developers] program's offline installation

2010-01-22 Thread Mark Murphy
*a* I was wondering if its possible of: 1. Delete some raw data of the original apk (approach 1) If by raw data you mean things in res/raw of the APK, then no, that is not possible. APK files are digitally signed and cannot be modified. 2. Delete the apk from data/app after the installation

[android-developers] onKeyDown() functionality issue

2010-01-22 Thread Kshitij Aggarwal
Hi, I was trying to override the back button functionality where I wanted to call the default functionality in case a boolean is set false public boolean onKeyDown(int keyCode, KeyEvent event) { boolean temp = false; if (event.KEYCODE_BACK == keyCode) {

[android-developers] Re: Accessing google calendar through Android using the given protocol

2010-01-22 Thread Nikhil Agarwal
I request the developers to please look into this problem. Am I sending the request correctly? Thank you. On Jan 21, 7:22 pm, Nikhil Agarwal nikhil.dontpa...@gmail.com wrote: I need to insert,update,delete events in google calendar using android. I tried using the protocol given

Re: [android-developers] Launch ContextMenu from ContextMenu

2010-01-22 Thread Mark Murphy
How can I launch a contextmenu from a contextmenu? I'm trying to replicate the MediaPlayer action that happens when you long click a song, then click Add to playlist in the resulting contextmenu. When you click that menu item, another contextmenu pops up with Add to playlist as the title,

[android-developers] Re: program's offline installation

2010-01-22 Thread guiha...@gmail.com
Good morning, Mark (et al). That depends on where the data is installed. Data on the SD card survives an uninstall. Everything else is removed. And can the apk install files in the sd card? *b* One option i imagine would be to use tar.gz or even zip. Is it possible to use tar.gz in the

Re: [android-developers] Re: program's offline installation

2010-01-22 Thread Mark Murphy
That depends on where the data is installed. Data on the SD card survives an uninstall. Everything else is removed. And can the apk install files in the sd card? The application in the APK can put files on the SD card when it is run. *b* One option i imagine would be to use tar.gz or even

[android-developers] Re: Layout issues for multiple screen sizes and API versions

2010-01-22 Thread snowy_tracks
Thanks Lance, I thought it may have been an OS issue. On Jan 19, 8:25 pm, Lance Nanek lna...@gmail.com wrote: You might be running into the Android 2.0.0 bug where it only matches the -v6 specifier:http://groups.google.com/group/android-developers/msg/315ce9b9dde1161a On Jan 19, 8:13 am,

[android-developers] How to find GoogleLoginServiceConstants.FEATURE_LEGACY_HOSTED_OR_GOOGLE?

2010-01-22 Thread Mariano Kamp
Hi, I am trying to use the new Account API to get rid of my homegrown authentication against Google. The recently introduced Account API seems to do the trick, only it is totally undocumented about the use with Google as provider. Now that the Android 2.1 sources are out I checked if the

[android-developers] How to draw Text mobile with Canvas and thread

2010-01-22 Thread SIDIBE Ali-Broma
I want to draw text whitch can move like a break new in television or Ticker in Java ME But i must do it with canvas? Regards -- 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] Re: adding a quick add event to the Calendar

2010-01-22 Thread andrew android
I understand where you are coming from... In my app - Target Date Pro - it is possible now to do this quick event addition and also jump to a specific event. Inclusion of reminder to the quickly added event is a likely future enhancement. On Jan 13, 8:26 am, Jonathan Epstein jae6...@gmail.com

[android-developers] Re: creating activity-less packages

2010-01-22 Thread Hugo Visser
I'm curious about what you are trying to do here? Nice that what you are trying is working, but what's your usecase? On Jan 22, 1:19 am, guiha...@gmail.com guiha...@gmail.com wrote: Just in case it will be useful to someone, here's the manifest file application part for my library.    

[android-developers] Re: Nexus GPS antenna is always active when Use GPS Satellites is checked...

2010-01-22 Thread Alain
I have resolved this issue problem. When the browser starts and the google splash page opens up, it has a small checkbox to Enable location (allow sites to request access to your location) if this is checked, then the gps is enabled. Go in browser menu, choose more and settings and unclick

Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-22 Thread Justin Giles
Recovered about 5% out of 15-20% lost. Very disappointed in the lack of response. Justin On Thu, Jan 21, 2010 at 10:30 PM, Seni Sangrujee sangru...@gmail.comwrote: Sorry to bump this old thread, but has anyone had their active percentages completely recover since the fix? Mine's still down

[android-developers] Re: How to forward a phone call to voice mail ?

2010-01-22 Thread Arbixx
Plus, it would be interesting to be able to forward a phone call to voicemail from someone who's not in the contact list. So I dont think the Contact provider will be of any help. Your help is appreciated though, and i'm looking forward for more ideas :) Greets. On 22 jan, 11:06, Arbixx

Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-22 Thread Greg Donald
On Thu, Jan 21, 2010 at 10:30 PM, Seni Sangrujee sangru...@gmail.com wrote: Sorry to bump this old thread, but has anyone had their active percentages completely recover since the fix?  Mine's still down quite a bit from before the problem started. Still not fixed. -- Greg Donald

[android-developers] OpenGL ES

2010-01-22 Thread Greg Donald
Why is support for OpenGL lagging so far behind with Android? I have ebooks that date OpenGL 1.0 ES back to 1997 or so. I don't understand why ~13 year old technology is what's being offered in the Android API. Could someone enlighten me? What's the best path for someone wanting to learn

[android-developers] Notification sound from file inside the app package ?

2010-01-22 Thread elpix1
Hi, Is it possible to play a notification sound from a sound file inside the application package ? Where should this file be stored in the apk (/res/raw or /assets) and what should be the URI to pass to the notification ? notification.sound = Uri.parse(... ? ...); Best regards. -- You

Re: [android-developers] OpenGL ES

2010-01-22 Thread Justin Giles
I can't speak as to why Android is putting on Hammer pants and going back to the 90's with OpenGL 1.0. In regards to resources, we always have the wonderful official OpenGL 1.0 reference...oh, wait...Khronos says that OpenGL 1.0 reference is obsolete...hmmmlet's seeoh, I can direct you to

[android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-22 Thread matt smith
Still not fixed. If google can't fix this, they should feature all of our apps or at least show some kind of concession for messing up our stats. Our app has fallen out of the top 4 in category and never returned back despite always being in top 3, usually top 2 before the stats messed up. --

[android-developers] Re: adding a quick add event to the Calendar

2010-01-22 Thread jarkman
Andrew, can you share how you are adding events to the calendar ? I can't find any documented API, so I am assuming you are using an undocumented one... :-) Thanks, Richard On Jan 22, 1:49 pm, andrew android andygoldm...@gmail.com wrote: I understand where you are coming from... In my app -

Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-22 Thread Greg Donald
On Fri, Jan 22, 2010 at 9:16 AM, matt smith mattsmith...@googlemail.com wrote: Still not fixed. If google can't fix this, they should feature all of our apps or at least show some kind of concession for messing up our stats. I don't understand why it's always the same apps up there being

Re: [android-developers] Re: Strange error with AdMob

2010-01-22 Thread Wayne Wenthin
Nope. I've tried cleaning it. I'm starting to wonder if its eclipse. Maybe there is some setting that allows you to use the double asterisks in a comment. It's extremely frustrating since I was on the verge of another release. On Fri, Jan 22, 2010 at 12:52 AM, Jason Arora jaso...@gmail.com

Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-22 Thread Kevin Duffey
What exactly is this issue? I am not sure what the original thread was? On Fri, Jan 22, 2010 at 7:25 AM, Greg Donald gdon...@gmail.com wrote: On Fri, Jan 22, 2010 at 9:16 AM, matt smith mattsmith...@googlemail.com wrote: Still not fixed. If google can't fix this, they should feature all of

Re: [android-developers] OpenGL ES

2010-01-22 Thread Kevin Duffey
Just curious..but being a mobile device with limited resources, does it really need OpenGL 2.0? Can it even handle what 2.0 may offer now? Not trying to stir the pot, asking out of curiosity as I sense the anger over the delay and old API and certainly as one interested in game development I'd

Re: [android-developers] Re: Creating dialogs from a thread

2010-01-22 Thread Android Development
You can also spawn an AsyncTask from the UI thread. Whenever it needs to show a dialog, this task can call publishProgress() method..that automatically runs on the UI Thread and the dialog can be shown in the onProgressUpdate method. On Fri, Jan 22, 2010 at 3:41 AM, Kevin Duffey

[android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-22 Thread matt smith
Any app that updated on or around the 18th December lost 10 - 15% of their active installs in less than a day. Active installs is the largest component of determining ranking in the Android market and so these apps have dropped significantly in the rankings (mine from 2nd to 5th in category). The

[android-developers] Re: Android 2.1 bug: uses res/layout-v3 instead of res/layout

2010-01-22 Thread Stefan Klumpp
Thanks for your response Lance. The documentation states that version qualifiers are for that version and higher, not just that version: Yes, I mixed that up. Is corrected now. Although there are bugs. Android 2.0.0 matches only -v6, for example. Yes, I just figured that out as well by

[android-developers] Re: Nexus One - Geocoder causes IOException - works perfectly with other devices and emulator

2010-01-22 Thread Stefan Klumpp
Okay. The weird thing is now: sometimes it works. Sometimes it doesn't. Anyone a clue? On Jan 18, 5:20 pm, Stefan Klumpp stefan.klu...@gmail.com wrote: The code below works perfectly for real devices running on 1.5, 1.6 and 2.0 as well as the emulator running on 2.1. However, executing it on

Re: [android-developers] Re: Strange error with AdMob

2010-01-22 Thread Wayne Wenthin
Ok I'm stupid. Evidently it pulled in Android.R without me noticing. On Fri, Jan 22, 2010 at 7:30 AM, Wayne Wenthin wa...@fuligin.com wrote: Nope. I've tried cleaning it. I'm starting to wonder if its eclipse. Maybe there is some setting that allows you to use the double asterisks in a

[android-developers] Re: urgent help Integrating code with Android home screen code.

2010-01-22 Thread deeMurthy
Hi Satish, If m not wrong, you are playing around with cupcake/donut or eclair code directly. In that case you will have to build your app into the system for your homescreen code to recognise it. Include your application into the generic.mk and rebuild the code. This should work. Cheers! On

[android-developers] Re: adding voice search

2010-01-22 Thread Achanta
Thank you Schwiz, Thats what I needed On Jan 21, 11:20 am, schwiz sch...@gmail.com wrote: I think you would override onActivityResult like I did in my project. On Jan 21, 12:17 pm, Achanta krishna.acha...@gmail.com wrote: Thank you Schwiz and David for the replies. they were helpful. I

[android-developers] Re: adding voice search

2010-01-22 Thread Achanta
Thank you Schwiz, Thats what I needed On Jan 21, 11:20 am, schwiz sch...@gmail.com wrote: I think you would override onActivityResult like I did in my project. On Jan 21, 12:17 pm, Achanta krishna.acha...@gmail.com wrote: Thank you Schwiz and David for the replies. they were helpful. I

[android-developers] Re: program's offline installation

2010-01-22 Thread guiha...@gmail.com
Can a program call the uninstaller of itself? thx guich -- 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] Timer and Timer Task

2010-01-22 Thread nikhil
I am using a timer in my app. I wish to vary the interval or period with which the timer task runs. Like when my app is being used the timer task is scheduled at say 1 sec while the moment user exits the app the service changes the timer to 5 seconds. Currently, I am cancelling the previous timer

[android-developers] Re: Notification sound from file inside the app package ?

2010-01-22 Thread Retrodis
You should store your mp3 in res/raw and a quick and easy way to reference it would be notification.sound = Uri.parse(android.resource:// com.yourpackagename.appname/ +R.raw.your_sound_file); On Jan 22, 3:01 pm, elpix1 elp...@gmail.com wrote: Hi, Is it possible to play a notification sound

Re: [android-developers] Re: Problem while sending unicode character via SMS

2010-01-22 Thread Frank Weiss
If the received character is U+0020 instead of U+1200, then chances are that the message is being restricted to 7-bit somewhere along the line. This is somewhat alluded to in the SDK Reference

[android-developers] Re: OpenGL ES

2010-01-22 Thread Tim Hansen
Well the new IPhone supports OpenGL ES 2.0, so I'm sure my droid could too! 8) But guys, OpenGL ES 1.0 was only released in 2003. It was OpenGL 1.0 which was in 1992 I believe. From the IO webisodes it seems that there is no plans to implement ES 2.0 and use 1.1 ES extensions at your own risk,

[android-developers] Max APK SIZE

2010-01-22 Thread mailbox.jku...@gmail.com
Hi, I would like to know the max apk size that i can use in the device as i have a 232 mb of videos and i want to use them in the application itself.What are the chances and any other option if possible. Please help me out as i need to release my app asap. -- You received this

Re: [android-developers] Re: OpenGL ES

2010-01-22 Thread Greg Donald
On Fri, Jan 22, 2010 at 10:58 AM, Tim Hansen timhansen.lon...@googlemail.com wrote: But guys, OpenGL ES 1.0 was only released in 2003. The point is Kronos has deprecated ES 1.0 and Android's API for it is undocumented:

[android-developers] Re: How to increase FPS (now ~20, desired ~40-50)

2010-01-22 Thread TonyDoc
using logcat to output you fps will reduce your fps. On Jan 22, 6:37 am, Andre andranik.abra...@gmail.com wrote: Hi Jason, Thank you very much for test and code example Best Regards, Andre On 22 янв, 01:19, Jason Arora jaso...@gmail.com wrote: Hi Andre, I got around 60 fps without

[android-developers] Re: Launch ContextMenu from ContextMenu

2010-01-22 Thread Ken H
But an AlertDialog with selectable items? I thought you could just do Yes, No, Ok, Cancel, etc. and a message above with those. Well I guess my question should be how do you launch a ContextMenu- like menu from a contextmenu? Ken On Jan 22, 3:06 am, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Launch ContextMenu from ContextMenu

2010-01-22 Thread Ken H
Mark, Dang, I just looked it up (http://developer.android.com/intl/fr/guide/ topics/ui/dialogs.html) and you are right! It's an alertdialog using the setitems method. Ken On Jan 22, 9:54 am, Ken H hunt1...@gmail.com wrote: But an AlertDialog with selectable items? I thought you could just do

Re: [android-developers] Re: Nexus GPS antenna is always active when Use GPS Satellites is checked...

2010-01-22 Thread Matt Oakes
Does this mean there's a bug in the browser which keeps GPS active when it isn't needed? Matt On Fri, Jan 22, 2010 at 2:00 PM, Alain aarn...@gmail.com wrote: I have resolved this issue problem. When the browser starts and the google splash page opens up, it has a small checkbox to Enable

[android-developers] How to Change the Android APN Settings Programmetically ??.

2010-01-22 Thread Ramesh(BABY-FACE)
I was able to bring up the UI in android that allows the user to edit the APN settings. But I need to know how can I access these APN settings programmetically and set them. Any Ideas ?. Is this possible ??. - startActivity(new Intent(Settings.ACTION_APN_SETTINGS)); --

[android-developers] Fwd: Question regarding media player android

2010-01-22 Thread ameya dandekar
Hi...i am ameya. I am new to android platform and i am currently working on an application, in which i use android built in media player for playing the song.But i want to control the buffering of media player when i pass a URL to play for it. Is there a function or a method to

[android-developers] Re: Doc of java.util.Formatter. %$ available or not?

2010-01-22 Thread Elliott Hughes
On Jan 21, 8:58 am, Diego Torres Milano dtmil...@gmail.com wrote: Use: String.format(It is %d and %d again!, 10) yes. or, if you want $, use it like this: String.format(%2$s %1$s, world, hello) the two ( and $) are mutually exclusive, and you still need to provide a conversion type (d or s

[android-developers] Network connection via USB

2010-01-22 Thread fserrano
Can I get my Nexus One/Android on my local network over USB instead of WiFi and browse to my computer's IP address, the one to which the phone would be connected to, via USB? For instance, let's say my computer has an IP address 100.1.1.1 and when I go to it from the computer I would go to my

[android-developers] How to implement the stars of the rate

2010-01-22 Thread Yefei
Hey, you guys all know those apps which show you the rate of the restaurant, book, movie, music. Like 1 star, 2 star ... Oh yea, the rate of the app in market is also an example. I am a little unsure how to implement this feature. It doesn't need to be clickable since for now it should just be

Re: [android-developers] Re: MyLocationOverlay causing crash in 1.6 (Donut)

2010-01-22 Thread Johan Nilsson
Thank you Pieter for the code snippet. I can also confirm that this workaround is needed for Samsung Spica, phone model GT-I5700 with android 1.5. Johan On Fri, Nov 13, 2009 at 10:12 AM, Pieter pie...@gamesquare.nl wrote: Allright, I have taken up the gauntlet and wrote a subclass for working

[android-developers] Bluetooth UUID

2010-01-22 Thread Fran
Hi everyone :) I've got a doubt with the uuid. The question is I've the uuid from a J2ME app with javax.bluetooth.uuid new UUID(19088743L); and I'd like to convert it to java.util to port to Android using fromString(String uuid) or something similar that let me make the same UUID on Android.

[android-developers] Can we Change APN settings programmatically?

2010-01-22 Thread Silent Warrior
I've found out that we can bring up a UI in which we can show the APN settings of the phone by using the following code inside a class that extends an activity : -- Intent intent = new Intent(Settings.ACTION_APN_SETTINGS); startActivity(intent); -- But I'm still searching to find out is there

[android-developers] AVD - Emulator limitations

2010-01-22 Thread Sudhir Nallagangu
I am curious on limitations on AVD /Emulators. It is clear that it cannot support making phone calls etc ..Can it emulate GPS to leverage google maps and navigations? Sudhir -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] why isn't the progress bar full width of the view

2010-01-22 Thread Jonathan
Hello, I am making a custom progress bar, and I can't seem to get it to fill out to the full width of the control. The view is set to fill. I have extended the ProgressBar view. I am drawing it through xml like so: MyPackage.MyProgressBar android:id=@+id/progress_bar

[android-developers] NDK Development with Objective-C 2.0

2010-01-22 Thread Philippe Hausler
I had started a thread over at the android-porting group, and figured it might be a better venue to post a request here. Recently I have embarked on a project that aims to imbue the Android NDK gcc 4.2.1 with support for Objective-C 2.0. This project is of course to bolster the Android

[android-developers] java.io.File.DeleteOnExit holds too many strings

2010-01-22 Thread dimple
I found java.io.File.DeleteOnExit can hold file paths and delete files before VM shutdowns. I got a problem that DeleteOnExit holds about 33000 file paths which are 5.3MB before my apk throws an OutOfMemory exception. It seems that the virtual machine won't remove file paths even those files

[android-developers] Re: JDBC Driver for SQLiteDatabase

2010-01-22 Thread Elliott Hughes
On Jan 18, 1:49 am, kristianlm kristianl...@gmail.com wrote: Hi folks, I guess we've concluded that the built-in JDBC for Android should not be used (even though it's there). Those of you who still want to use JDBC on Android can check out the JDBC driver I started myself for precisely

[android-developers] AndroidManifest errors in Eclipse

2010-01-22 Thread Droidy
When I refactor or do something else in Eclipse my AndroidManifest.xml gets a red error cross - no idea why that is - there seems to be not much to go wrong in it. Any ideas anyone? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] OpenSSLSessionImpl.java finalize() problem - HeapWorker is wedged

2010-01-22 Thread hart
Hi there, I got a VM abort while running my application that uses HttpsConnection. The error log is attached below: 12-15 21:26:37.149 E/dalvikvm(26605): HeapWorker is wedged: 11625ms spent inside Lorg/apache/harmony/xnet/provider/jsse/OpenSSLSessionImpl;.finalize() V 12-15 21:26:37.249

[android-developers] Threading in activity and AsyncTask problem

2010-01-22 Thread yasirmturk
i have a class derived from AsyncTask and i initialize it in my activity. Now i m facing two problems... 1. I want to send result back to my activity and execute a chunk of code in my activty on onPostExecute(Object result) event. (i tried handler but its not working) 2. I want to execute

[android-developers] Re: JDBC Driver for SQLiteDatabase

2010-01-22 Thread Elliott Hughes
On Jan 12, 1:53 pm, jotobjects jotobje...@gmail.com wrote: On Jan 11, 9:14 pm, Elliott Hughes e...@jessies.org wrote: On Dec 19 2009, 2:05 am, kristianlm kristianl...@gmail.com wrote: hi Elliott, what exactly does it mean that the driver is unsupported and that it shouldn't be

[android-developers] Remove/Replace Google Setup Wizard

2010-01-22 Thread drive
We're looking to do some enterprise-y stuff like removing the stock Google apps and replace with our own. Does anyone know how the Google Setup Wizard works (and how to remove it)? Specifically, when you first get the phone, you get a tutorial and then a setup screen where you enter your Google

[android-developers] newbie question on onDraw

2010-01-22 Thread bhupesh
All references so far I have seen is that the framework will call onDraw. Which part of the framework specifically calls onDraw. Can I control when onDraw gets called or can I call it myself without causing any problems. What happens after onDraw. Basically, if anybody can point me to or

[android-developers] Re: OpenGL ES

2010-01-22 Thread Roderick Colenbrander
There is OpenGL ES 2.0 support on the Milestone/Droid and I think on the Nexus one as well. The device just ships with the 2.0 libs but it takes some effort to use it though since at this point you need your own EGL code but it is just around. If you want examples the android git tree has a

Re: [android-developers] Android Icon Templates Pack - Menu Icons PSD Corrupted?

2010-01-22 Thread Objectist Software Inc
I am having the same problem on PhotoShop CS4. Some of the other icons in the pack are OK with PS4/Illustrator, others are not. What is the proper way to report the issue or ask for assistance? On Wednesday 20 January 2010 03:28:18 am Dirk wrote: Hello everyone, Opening the menu icon

[android-developers] Re: Call forwarding

2010-01-22 Thread Michael boggess
what exactly are you looking to do? set the call forwarding up via internal settings? the only way i know of to change the call forwarding is to dial a code and send it. I did find through a quick search that there is a way to detect fall forwarding state changes. it is in PhoneStateListener and

Re: [android-developers] How to Change the Android APN Settings Programmetically ??.

2010-01-22 Thread Murali M
I also have a same question as to how to programatically get/set/add EMAIL and MMS settings. Currently i believe we have retrieve the information from the db Database: /data/data/com.android.providers.telephony/databases/telephony.db Table: carriers URI: content://telephony/carriers Does anybody

[android-developers] Re: AndroidManifest errors in Eclipse

2010-01-22 Thread Michael boggess
Eclipse is normally really good at letting you know where the error might be. perhaps there is something simple your overlooking while trying to dig deeper into the problem. -mike On Jan 22, 5:24 am, Droidy billr...@gmail.com wrote: When I refactor or do something else in Eclipse my

[android-developers] Re: Threading in activity and AsyncTask problem

2010-01-22 Thread Streets Of Boston
1. If your code is on onPostExecute(), your code is already running in the UI thread. Just call a method on your activity to execute that chunk of code (instead of holding a reference to 'context', hold a reference to your activity instead). 2. Just call this again: StudentTask st = new

[android-developers] Re: Out of memory / orientation change / Memory Analyzer question

2010-01-22 Thread OldSkoolMark
No effect here. On Jan 21, 6:11 pm, Matt Kanninen mathias...@gmail.com wrote: I had a similar issue, randomly getting the external allocation too large for this process error. For me, it started when I added android:targetSdkVersion=4 to the manifest, and went away when I removed that bit.

[android-developers] Re: onKeyDown() functionality issue

2010-01-22 Thread Marek Uhel
Try to call return super.onKeyDown(keyCode, event) On Jan 22, 11:46 am, Kshitij Aggarwal funkyi...@gmail.com wrote: Hi, I was trying to override the back button functionality where I wanted to call the default functionality in case a boolean is set false public boolean onKeyDown(int

Re: [android-developers] Max APK SIZE

2010-01-22 Thread Matt Oakes
No chance. I'm not sure what the limit is but apps are stored on the phone itself so the biggest amount of storage it has for ALL apps is around 512mb (on the N1). There's no way anyone will want something over 200mb on their phone taking up their application storage. Why not just have the videos

[android-developers] Re: SQLiteDatabase lifecycle and threads

2010-01-22 Thread jotobjects
Interesting. Thanks for that link. It is a reasonable speculation (guess) that the enable locking method has something to do with the various threading options. In addition to thread safe operation there is the question of how multiple processes (different JVMs) inter-operate with the same

[android-developers] Re: JDBC Driver for SQLiteDatabase

2010-01-22 Thread jotobjects
There are a number of open source JDBC drivers for SQLLite out there already (including the one already built into Android). On Jan 21, 10:22 pm, Elliott Hughes e...@google.com wrote: On Jan 12, 1:53 pm, jotobjects jotobje...@gmail.com wrote: On Jan 11, 9:14 pm, Elliott Hughes

Re: [android-developers] Max APK SIZE

2010-01-22 Thread Frank Weiss
You probably should say who the users of this application are to get more reasonable replies. The most common advice would be to have the application download the video to the SD card or stream the video. Many users are not going to see the benefit of downloading a 200MB+ application just to see a

[android-developers] Re: OpenGL ES

2010-01-22 Thread Lance Nanek
They aren't Android specific, but the Sun and Khronos sites have documentation on that method: http://java.sun.com/javame/reference/apis/jsr239/javax/microedition/khronos/opengles/GL10.html#glDrawElements%28int,%20int,%20int,%20java.nio.Buffer%29

Re: [android-developers] URGENT ...How to get MCC , MNC, LAC of neighboring cells

2010-01-22 Thread Simon Tennant (Buddycloud)
Have a grep through the buddycloud source code. We collect all of these. code here: http://code.google.com/p/buddycloud/source/browse/trunk/client/android/main/src/com/buddycloud/android/buddydroid/collector/CellListener.java S. On 22/01/2010 02:09, BowlOfChilli wrote: I am utilizing the

[android-developers] Active Sync support for android

2010-01-22 Thread muraleo
Is there a active-sync support in Android just like how we see in Windows Mobile . If so how can i programatically set configuration parameters thanks, Murali -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: OpenGL ES

2010-01-22 Thread Greg Donald
On Fri, Jan 22, 2010 at 1:25 PM, Lance Nanek lna...@gmail.com wrote: http://khronos.org/opengles/documentation/opengles1_0/html/glDrawElements.html Ok, so the Kronos API docs have the fourth parameter glDrawElements() as a void pointer, and then the Android SDK has it as a Buffer. But what kind

[android-developers] Email ,Wifi settings

2010-01-22 Thread muraleo
I am working on a application from which i need to ADD,Delete ,Change Email and Wifi Settings. I even need to add new Email Accounts . Can you please give me some pointers where i can start this . In Android, Are there APIs i can directly call for this or should it use content provider to do the

Re: [android-developers] Re: Display TextFile

2010-01-22 Thread TreKing
On Thu, Jan 21, 2010 at 8:09 PM, perumal316 perumal...@gmail.com wrote: Is it correct to use the following code to access the file in /data directory? File file = new File(Environment.getDataDirectory(),/data/ monitor.txt); Not really, use openFileInput() (I think that's the name, should

[android-developers] File Upload - Get Bytes Uploaded

2010-01-22 Thread Bobbie
I have a function I am using to upload files. How can I get the number of bytes of the file that have been uploaded (transferred)? Can I setup a timer that does this? If so, what variable to I read to get the number of bytes uploaded? Here is my code:

[android-developers] Re: AndroidManifest errors in Eclipse

2010-01-22 Thread Maps.Huge.Info (Maps API Guru)
The place to look for that error is under the Problems tab in Eclipse. I've had similar issues with the manifest and the secret always was found in that tab. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: MyLocationOverlay causing crash in 1.6 (Donut)

2010-01-22 Thread TreKing
Since this was brought back up ... this worked for me as well for the Cliq (original issue). Also, FYI, I found that an easier way to get the distance for the circle radius is to simply use Projection.metersToEquatorPixels(float), which converts a distance in meters to pixel units. I also added

  1   2   >