Re: [android-developers] How can I draw nice connections between two points in Android?

2011-03-30 Thread Mike Bear
I tried the second with images, and it works well... Thanks, Mike On Wed, Mar 30, 2011 at 1:00 PM, Kristopher Micinski krismicin...@gmail.com wrote: I'm sure both solutions are *possible*... Implementation? Depends on what you want. Images would give you more prettiness, right? But maybe

[android-developers] Re: Root status to application

2011-03-30 Thread FrankG
Hello ! IMHO A rooted device will not be enough for several things, often you would also need to sign the app with the platform key of the particular device. Means such an app can not be portable in my eyes. Good luck ! Frank On 29 Mrz., 21:19, Marcin Orlowski webnet.andr...@gmail.com wrote:

[android-developers] Re: AdMod in a Surfaceview

2011-03-30 Thread ko5tik
AdMob SDK 4.0.2 ( well, now it's google admob SDK ) was really buggy, so I just downgraded back to older admob version. Now there is 4.0.4, which claims to have fixed bugs arising from accessing widgets by wrong thread On Mar 27, 2:55 am, Kevina k.a.j.adege...@gmail.com wrote: Hi all, I

[android-developers] Use one handler for multiple activties

2011-03-30 Thread Nand
Hi, I have two activties(one list view and one normal view which is launched when an item is selected from list) in my application. I have a background thread whihc is started when the appplication is launched which gets data from the network conitnuously and post it to the UI using handler. But I

Re: [android-developers] crypto DES File

2011-03-30 Thread Marcin Orlowski
On 29 March 2011 23:00, jaafar zbeiba jaafarinformati...@gmail.com wrote: What is the encryption and decryption DES of file Google is broken out there? http://en.wikipedia.org/wiki/Data_Encryption_Standard Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily

[android-developers] opengl: Loading textures in another thread

2011-03-30 Thread Jump
Hello I am trying to load and bind textures in another thread while the rendering thread is showing a loading screen. I am trying to create a shared context and set that to the current then do all the work and then set the context of the rendering thread back to current. This is the code in

[android-developers] Re: Root status to application

2011-03-30 Thread Pent
IMHO A rooted device will not be enough for several things, A rooted device will be enough for several things :-) Pent -- 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: Root status to application

2011-03-30 Thread Pent
OSMonitor is open source and features extra actions on rooted devices. You may want simply to dig in sources:http://code.google.com/p/android-os-monitor/ Very useful, thanks! Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: How do i upload the file from android mobile to public server

2011-03-30 Thread snehalal gangadharam
hi , i have debuged the code, input stream is null, unable to connect the server. the same code is woking fine in java . i have given network permissions too. uses-permission android:name=*android.permission.ACCESS_NETWORK_STATE*/ uses-permission uses-permission

[android-developers] forde to open the Launcher, not the last Activity

2011-03-30 Thread guiridemeer
I would like to force my app to go to the launcher when i clik on it in the Home Screen I am in any activity of my app and i click HOME button and go to the Home Screen, If i click on my launcher then i always go to the last activity where i clicked HOME button, instead of my launcher activity I

Re: [android-developers] forde to open the Launcher, not the last Activity

2011-03-30 Thread Marcin Orlowski
On 30 March 2011 11:03, guiridemeer guiridem...@gmail.com wrote: I am in any activity of my app and i click HOME button and go to the Home Screen, If i click on my launcher then i always go to the last activity where i clicked HOME button, instead of my launcher activity Aside from

[android-developers] How implement live wallpaper?

2011-03-30 Thread a a
the live wallpaper in the desktop is an activity or a picture? If it is a activity, how can i set the activity on the desktop? else if it is a picture, how can i let the picture with animation? -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] How implement live wallpaper?

2011-03-30 Thread Marcin Orlowski
On 30 March 2011 11:43, a a harvey.a...@gmail.com wrote: the live wallpaper in the desktop is an activity or a picture? If it is a activity, how can i set the activity on the desktop? else if it is a picture, how can i let the picture with animation? Why do not you try to spend at least a

Re: [android-developers] How implement live wallpaper?

2011-03-30 Thread a a
i am so sorry about disturb you, because i am a beginner android, sorry. 2011/3/30 Marcin Orlowski webnet.andr...@gmail.com: On 30 March 2011 11:43, a a harvey.a...@gmail.com wrote: the live wallpaper in the desktop is an activity or a picture? If it is a activity, how can i set the activity

[android-developers] Android 3.0-Tabhost

2011-03-30 Thread Jayanthi
Hi, I need sample code for Tab host in android honeycomb can anyone please help me Thanks in Advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: getSharedPreferences for a wallpaper

2011-03-30 Thread mac-systems
I do not understood your question quite right i think. So, where is the benefit that u want to access the prefs. in the loop instead get a callback when their change ? - Jens -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Layout help

2011-03-30 Thread Neilz
Ok, I'll try again - it was a Sunday after all :-) Basically all I'm after is a LinearLayout sitting in the center of the screen, that I can scroll horizontally from one item to the next, using a finger scroll, rather than just buttons. Any help with this really appreciated. -- You received

Re: [android-developers] How implement live wallpaper?

2011-03-30 Thread String
On Wednesday, March 30, 2011 10:55:19 AM UTC+1, harvey wrote: i am so sorry about disturb you, because i am a beginner android, sorry. *Especially* if you're a beginner, you should be reading the docs before posting wide-open questions here. For example:

[android-developers] Changing ImageView's image

2011-03-30 Thread Raghav Sood
Hi everyone, I have an ImageView who's image I need to chenge on touch.The ImageView's src is set through XML. My code is as follows: public class abc extends Activity { // Create an anonymous implementation of OnClickListener private OnClickListener match1 = new OnClickListener() {

Re: [android-developers] Changing ImageView's image

2011-03-30 Thread Mark Murphy
setImageResource() or similar methods: http://developer.android.com/reference/android/widget/ImageView.html On Wed, Mar 30, 2011 at 7:01 AM, Raghav Sood raghavs...@gmail.com wrote: Hi everyone, I have an ImageView who's image I need to chenge on touch.The ImageView's src is set through XML.

[android-developers] Well displayed in portrait but not in landscape

2011-03-30 Thread Alaeddine Ghribi
Hi, I developped a small app, it has 3 EditTexts and 2 buttons, in portrait all the items are well displayed, but in landscape, the right button(reset) doesn't take the extreme right position! here is my XML(in RelativeLayout): EditText android:id=@+id/consom2 android:layout_width=fill_parent

Re: [android-developers] Well displayed in portrait but not in landscape

2011-03-30 Thread Mark Murphy
Use Hierarchy Viewer to examine your layout and determine where you are going wrong: http://developer.android.com/guide/developing/debugging/debugging-ui.html (note that this is also available as an Eclipse perspective, Hierarchy View) On Wed, Mar 30, 2011 at 8:22 AM, Alaeddine Ghribi

[android-developers] Double lifecycle sequence from landscape to portrait

2011-03-30 Thread Giorgio Vespucci
Remark: posted a question to http://stackoverflow.com/questions/5484108/android-double-lifecycle-sequence-from-landscape-to-portrait. RSVP there. Thank you Hi everybody I'm monitoring an Activity lifecycle to learn more on it, so I put a Log.d()call in almost every method of the cycle. I'm

[android-developers] Re: Well displayed in portrait but not in landscape

2011-03-30 Thread Alaeddine Ghribi
And how to add the XMl file to the Hierarchy View ? And can it solve the problem ? Thank you :). On 30 mar, 13:28, Mark Murphy mmur...@commonsware.com wrote: Use Hierarchy Viewer to examine your layout and determine where you are going wrong:

Re: [android-developers] Re: Well displayed in portrait but not in landscape

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 8:36 AM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: And how to add the XMl file to the Hierarchy View ? You don't add the XMl file to the Hierarchy View ?. You use the Hierarchy View tool to inspect your layout as it is running in your activity to determine where

[android-developers] Binder Invocation to an Incorrect Interface

2011-03-30 Thread Jake Colman
ACRA just reported that my application crashed with the above error. I googled the error and nothing seemed relevant to my situation. The crash occurred on the creation of a PendingIntent and it was executing in an IntentService class. This is the relevant section of code: Intent i = new

Re: [android-developers] sublist

2011-03-30 Thread jaafar zbeiba
thx but it just a list and I do not know or square sublist -- 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] Re: Sip Communicator

2011-03-30 Thread Alexei Telles
I'm missing answer e-mails. Changing my membership option and opening a new post about SIP. On Mar 18, 1:34 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 16 March 2011 02:01, Alexei Telles alexeitel...@gmail.com wrote: I'm starting android development and in my first project I need

[android-developers] SIP

2011-03-30 Thread Alexei Telles
I think it's a little off-topic, but if someone has some experience with it and could give me some help I appreciate. I need a SIP softphone to run on Android with zRTP protocol. I found CSipSimple, an open-source, C software. In my tests works fine, but I need one built on Java. Thanks. --

[android-developers] How to Create a 1x1 Widget Frame?

2011-03-30 Thread Jake Colman
I suppose that this is more of a graphics question than an Android SDK question but maybe I can get some help anyway. I downloaded the 2x1 widget frame from the Developers Guidelines page. This frame scales to 1x1 without an issue if I set the minHeight/minWidget parameters accordingly in the

[android-developers] Re: Well displayed in portrait but not in landscape

2011-03-30 Thread Alaeddine Ghribi
Thank you for your response, i now know what i have to do = just run the app in the emulator and go to the hierarchy View. I have however an error: [2011-03-30 13:42:40 - hierarchyviewer]Unable to debug device emulator-5554 Why ? Thanks . On 30 mar, 13:40, Mark Murphy mmur...@commonsware.com

Re: [android-developers] Re: Well displayed in portrait but not in landscape

2011-03-30 Thread Mark Murphy
Perhaps you are running Eclipse and trying to use the command-line hierarchyviewer program. Either use the Hierarchy View perspective in Eclipse, or shut down Eclipse when you run hierarchyviewer. Beyond that, I have no suggestions. On Wed, Mar 30, 2011 at 9:33 AM, Alaeddine Ghribi

[android-developers] Amazon Market Reporting

2011-03-30 Thread Spiral123
Is it just me, or is anyone else getting the message: Access to reports is temporarily unavailable at this time. Please try again later.? -- 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] Transparent InputConnection?

2011-03-30 Thread Dmitry Golubovsky
Hi, Is there an example of/tutorial on maximally transparent subclass of BaseInputConnection? Android 2.0 if that matters. All I need is to pass a key event to the target view on any alpha or digit or special character soft key pressed, bypassing any built-in text editing capabilities. This is

Re: [android-developers] Changing ImageView's image

2011-03-30 Thread Raghav Sood
Hi Mark, Thanks. I have already tried that. The code I used was: button.setImageResource(Drawable m1s.png); That didn't work. Is there something wrong or am i using the wrong part of the api. On Wed, Mar 30, 2011 at 4:52 PM, Mark Murphy mmur...@commonsware.comwrote: setImageResource() or

Re: [android-developers] Amazon Market Reporting

2011-03-30 Thread Justin Giles
Same here, and from what I saw over the first week, there was obviously something broken with their reporting. On Wed, Mar 30, 2011 at 8:47 AM, Spiral123 cumis...@gmail.com wrote: Is it just me, or is anyone else getting the message: Access to reports is temporarily unavailable at this time.

Re: [android-developers] Changing ImageView's image

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 9:54 AM, Raghav Sood raghavs...@gmail.com wrote: Thanks. I have already tried that. The code I used was: button.setImageResource(Drawable m1s.png); That  didn't work. Is there something wrong or am i using the wrong part of the api. setImageResource() takes an image

Re: [android-developers] How to Create a 1x1 Widget Frame?

2011-03-30 Thread Kostya Vasilyev
Jake, If you need to remove the margins - well, remove the margins. They are in the image, should be easy with any graphics program, preferably you would make the image itself take a larger portion of the canvas. Using negative values for padding or margins are, AFAIK, not supported (which

Re: [android-developers] Binder Invocation to an Incorrect Interface

2011-03-30 Thread Mark Murphy
Can you post the full stack trace? That's a rather odd error message, and I'd like to see a bit more context. On Wed, Mar 30, 2011 at 9:02 AM, Jake Colman col...@ppllc.com wrote: ACRA just reported that my application crashed with the above error.  I googled the error and nothing seemed

Re: [android-developers] Amazon Market Reporting

2011-03-30 Thread String
Yep, it's been down since yesterday for me. I contacted them about some of the reporting discrepancies late last week, and got a generic We are looking into this response. Just teething problems, I assume, but hopefully they'll have it straightened out soon. String -- You received this

[android-developers] Device Administration the same as OMA DM support?

2011-03-30 Thread Hank
I know with 2.2, Android includes an API for Device Administration. I am wondering if having the Device Administration API was the same as having OMA DM support? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Well displayed in portrait but not in landscape

2011-03-30 Thread Alaeddine Ghribi
I succeed to run Hierarchy View, but don't understand how to know where is the problem ! On 30 mar, 14:40, Mark Murphy mmur...@commonsware.com wrote: Perhaps you are running Eclipse and trying to use the command-line hierarchyviewer program. Either use the Hierarchy View perspective in

[android-developers] problem for button

2011-03-30 Thread jaafar zbeiba
hello I have a problem in my code when I type the password and I click enter it shows me an exception message 1 class main for password package com.tutomobile.android.listView; import java.io.FileInputStream; import java.io.FileNotFoundException; import

[android-developers] SSL Load

2011-03-30 Thread bob
Is there an easy way to silently load an SSL page in Android? 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] Re: Well displayed in portrait but not in landscape

2011-03-30 Thread Alaeddine Ghribi
I don't know how but the problem is solved :) ( :\ ) ! Thank you for your help :). On 30 mar, 15:20, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: I succeed to run Hierarchy View, but don't understand how to know where is the problem ! On 30 mar, 14:40, Mark Murphy mmur...@commonsware.com

Re: [android-developers] problem for button

2011-03-30 Thread Marcin Orlowski
On 30 March 2011 16:24, jaafar zbeiba jaafarinformati...@gmail.com wrote: hello I have a problem in my code when I type the password and I click enter it shows me an exception message did you read log you quoted? 03-30 13:55:06.493: ERROR/AndroidRuntime(257): Uncaught handler: thread

Re: [android-developers] SSL Load

2011-03-30 Thread Marcin Orlowski
On 30 March 2011 16:41, bob b...@coolgroups.com wrote: Is there an easy way to silently load an SSL page in Android? And not silently means what exactly? Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... WebnetMobile on *Facebook

[android-developers] Import/Export data file

2011-03-30 Thread Alaeddine Ghribi
Hi, I built an app that calculates fuel consumption, my data are well stored in a file, however, i often flash my phone and want to add the import-export feature on it ! How can i make this ? Thanks :). -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Amazon Appmarket is now open!

2011-03-30 Thread Krischik Martin
On 25 Mrz., 21:07, Fernando Cassia fcas...@gmail.com wrote: On Fri, Mar 25, 2011 at 4:26 AM, Krischik Martin martin.krisc...@noser.com wrote: Did you actually read the terms and conditions for developers and suppliers? Or are you just an Amazon-Fanboy believing that is must be good

[android-developers] Re: Amazon Appmarket is now open!

2011-03-30 Thread Krischik Martin
On Mar 29, 4:19 pm, Kevin TeslaCoil Software ke...@teslacoilsw.com wrote: Opera has just launched its own Mobile App Store And instead of contacting developers to get them to submit their apps before launch, Opera just populated it with pirated software... Not a good way to gain developer

[android-developers] Working With Multiple Widget Sizes

2011-03-30 Thread Jake Colman
My app uses an IntentService to update the widget's remote view. I am now working on adding support for multiple widget size with the smaller widget using a different layout than the larger. Is there a way for my IntentService to determine which widget size it is being asked to update so that

Re: [android-developers] Working With Multiple Widget Sizes

2011-03-30 Thread Kostya Vasilyev
As far as Android is concerned, IntentService knows nothing about home screen widgets. Since you know which widget receivers' onUpdate was called, pass this information to the service (e.g. by setting an intent extra). -- Kostya 30.03.2011 19:10, Jake Colman пишет: My app uses an

[android-developers] Re: Amazon Appmarket is now open!

2011-03-30 Thread Krischik Martin
On Mar 29, 7:09 pm, Kevin TeslaCoil Software ke...@teslacoilsw.com wrote: Some more details, it was WidgetLocker 1.2.2, which is from July 2010 and several versions out of date. It was named WidgetLockr (Pirate spelling?). It was an unmodified APK signed by me, the one I had posted to the

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-30 Thread Kostya Vasilyev
I see that Handago offers paid apps for Android, with trial period feature. Anyone know what kind of licensing scheme / library is behind this? Do they just point to Market for downloads (like AppBrain, etc.) or have their own solution (like AndroidPIT)? -- Kostya 30.03.2011 19:10, Krischik

Re: [android-developers] Import/Export data file

2011-03-30 Thread Marcin Orlowski
On 30 March 2011 16:57, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Hi, I built an app that calculates fuel consumption, my data are well stored in a file, however, i often flash my phone and want to add the import-export feature on it ! How can i make this ? You keep your data set

Re: [android-developers] Import/Export data file

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 12:08 PM, Marcin Orlowski webnet.andr...@gmail.com wrote: On 30 March 2011 16:57, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Hi, I built an app that calculates fuel consumption, my data are well stored in a file, however, i often flash my phone and want to add

[android-developers] Re: Import/Export data file

2011-03-30 Thread Alaeddine Ghribi
I thinked about this function, i just copy the file in a directory in the SDCARD and then to import just copy the file to /data/data/... But how doing it ? Thanks. On 30 mar, 17:08, Marcin Orlowski webnet.andr...@gmail.com wrote: On 30 March 2011 16:57, Alaeddine Ghribi

Re: [android-developers] Re: totally 2d

2011-03-30 Thread Dianne Hackborn
I can't tell you what is acceptable. Ultimately you are the judge of that, and it depends very much on what you are doing. On Mon, Mar 28, 2011 at 2:11 AM, Kostya Vasilyev kmans...@gmail.com wrote: What about Tegra 2 based phones that run Android 2.x? That's about half the number of pixels

[android-developers] Re: Import/Export data file

2011-03-30 Thread Alaeddine Ghribi
Yes, i'm just using a file to store data, but how can i copy the file in data/data/. to the SDCARD? How doing it in JAVA/Android ? On 30 mar, 17:08, Marcin Orlowski webnet.andr...@gmail.com wrote: On 30 March 2011 16:57, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Hi, I built an

Re: [android-developers] Re: Import/Export data file

2011-03-30 Thread Marcin Orlowski
On 30 March 2011 18:19, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Yes, i'm just using a file to store data, but how can i copy the file in data/data/. to the SDCARD? How doing it in JAVA/Android ?

[android-developers] Re: Import/Export data file

2011-03-30 Thread Alaeddine Ghribi
Thank for your answer, and i know how to use io files. But i'm asking how to specify the location of the file in import and export operations ? On 30 mar, 17:22, Mark Murphy mmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 12:19 PM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote:

Re: [android-developers] Re: Import/Export data file

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 12:19 PM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: Yes, i'm just using a file to store data, but how can i copy the file in data/data/. to the SDCARD? How doing it in JAVA/Android ? Standard Java file I/O. If you are new to Java, I recommend spending some

[android-developers] Re: Use one handler for multiple activties

2011-03-30 Thread lbendlin
you don't bring the data to the activity. The activity is getting (fetching) the data when needed. There is no point in updating a UI that is not visible. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: dialogs in android and orientation change...

2011-03-30 Thread sdphil
that demo is not calling showDialog() in onCreate until you click on a button. in my case, i'm doing it automatically based on some condition. On Mar 29, 7:43 pm, Dianne Hackborn hack...@android.com wrote: Here is an API demo showing how to do this:

Re: [android-developers] forde to open the Launcher, not the last Activity

2011-03-30 Thread lbendlin
android:launchMode=*singleTask * android:alwaysRetainTaskState=*true * -- 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

Re: [android-developers] Re: dialogs in android and orientation change...

2011-03-30 Thread Dianne Hackborn
Er. You are saying you are calling showDialog in your activity's onCreate? Then I think that is your answer -- you are showing it *again* when the activity is re-created. On Wed, Mar 30, 2011 at 9:30 AM, sdphil phil.pellouch...@gmail.com wrote: that demo is not calling showDialog() in

[android-developers] Re: Import/Export data file

2011-03-30 Thread Alaeddine Ghribi
This one is perfect: http://www.roseindia.net/java/beginners/CopyFile.shtml I just don't know how to specify the location of the import/export operations, where to copy and where to past :\ ! Thank you for your help. On 30 mar, 17:26, Marcin Orlowski webnet.andr...@gmail.com wrote: On 30 March

[android-developers] Re: Import/Export data file

2011-03-30 Thread Alaeddine Ghribi
This one is perfect: http://www.roseindia.net/java/beginners/CopyFile.shtml I just don't know how to specify the location of the import/export operations, where to copy and where to past :\ ! Thank you for your help. On 30 mar, 17:26, Marcin Orlowski webnet.andr...@gmail.com wrote: On 30 March

Re: [android-developers] Transparent InputConnection?

2011-03-30 Thread Dianne Hackborn
I don't understand what you are asking. If you want to not let any editing to happen, just implement an InputConnection that doesn't do anything. If there is something different than that which you are looking for... well you'll just need to implement the operations on InputConnection to

Re: [android-developers] Device Administration the same as OMA DM support?

2011-03-30 Thread Dianne Hackborn
It is not an implementation of OMA DM. On Wed, Mar 30, 2011 at 7:20 AM, Hank hwang...@gmail.com wrote: I know with 2.2, Android includes an API for Device Administration. I am wondering if having the Device Administration API was the same as having OMA DM support? -- You received this

Re: [android-developers] Android 3.0-Tabhost

2011-03-30 Thread Dianne Hackborn
For Android 3.0, the recommended practice is the action bar and fragments. On Wed, Mar 30, 2011 at 3:04 AM, Jayanthi jaia...@gmail.com wrote: Hi, I need sample code for Tab host in android honeycomb can anyone please help me Thanks in Advance -- You received this message because you

[android-developers] Re: How to Create a 1x1 Widget Frame?

2011-03-30 Thread Jake Colman
Actually, I am pretty sure that it is a 9-patch drawable, since the name widget_frame.9.png. Here is a(nother) dumb question: what app can I use to do this editing. I didn't see anything in Gimp (using Ubuntu) that would allow me to set or modify any margins. Nor did I see anything about

Re: [android-developers] dialogs in android and orientation change...

2011-03-30 Thread TreKing
On Tue, Mar 29, 2011 at 12:58 PM, sdphil phil.pellouch...@gmail.com wrote: public void onCreate() { if (condition is true) showDialog(42); } Change to: public void onCreate(Bundle bundle) { // bundle is null on first start, non-null on

[android-developers] Re: Binder Invocation to an Incorrect Interface

2011-03-30 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM Can you post the full stack trace? That's a rather odd error MM message, and I'd like to see a bit more context. java.lang.SecurityException: Binder invocation to an incorrect interface at

Re: [android-developers] Re: Import/Export data file

2011-03-30 Thread Kostya Vasilyev
30.03.2011 20:31, Alaeddine Ghribi пишет: This one is perfect: http://www.roseindia.net/java/beginners/CopyFile.shtml I just don't know how to specify the location of the import/export http://developer.android.com/guide/topics/data/data-storage.html#filesExternal -- Kostya operations, where

[android-developers] Re: Working With Multiple Widget Sizes

2011-03-30 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV As far as Android is concerned, IntentService knows nothing about KV home screen widgets. KV Since you know which widget receivers' onUpdate was called, pass KV this information to the service (e.g. by setting an intent KV

Re: [android-developers] Re: Binder Invocation to an Incorrect Interface

2011-03-30 Thread Mark Murphy
:: shrug :: Beats me. I thought I might learn something from the source code, but I got nuthin'. On Wed, Mar 30, 2011 at 12:42 PM, Jake Colman col...@ppllc.com wrote: MM == Mark Murphy mmur...@commonsware.com writes:   MM Can you post the full stack trace? That's a rather odd error   MM

[android-developers] Re: dialogs in android and orientation change...

2011-03-30 Thread sdphil
brilliant! thanks. sometimes you can't see what's right in front of your face! thanks! On Mar 30, 9:44 am, TreKing treking...@gmail.com wrote: On Tue, Mar 29, 2011 at 12:58 PM, sdphil phil.pellouch...@gmail.com wrote: public void onCreate() {            if (condition is true)

[android-developers] Android: VoiceRecognition View Customization?

2011-03-30 Thread Mike
I'm using the sample code for Voice recognition (VoiceRecognition.java) from the Android SDK Tools. I'm able to get the Speak Now View to appear. Is there any way to customize that view? For example, the buttons are the default silver and rollover is yellow. -- You received this message because

Re: [android-developers] Re: How to Create a 1x1 Widget Frame?

2011-03-30 Thread Kostya Vasilyev
30.03.2011 20:40, Jake Colman пишет: Actually, I am pretty sure that it is a 9-patch drawable, since the name widget_frame.9.png. Good. Here is a(nother) dumb question: what app can I use to do this editing. I didn't see anything in Gimp (using Ubuntu) that would allow me to set or modify

Re: [android-developers] Re: Binder Invocation to an Incorrect Interface

2011-03-30 Thread Kostya Vasilyev
Could just be someone with non-standard, buggy firmware. I, too, see weird ones like that from time to time. -- Kostya 30.03.2011 20:54, Mark Murphy пишет: :: shrug :: Beats me. I thought I might learn something from the source code, but I got nuthin'. -- Kostya Vasilyev --

Re: [android-developers] Transparent InputConnection?

2011-03-30 Thread Dimitry Golubovsky
Dianne, Since the Squeak VM which I am porting to Android takes care of editing text itself (by means of Morphic widgets), I just need to pass events from every touch of soft keyboard to the View in focus. No special handling for backspace/numbers/nothing. The input connection I currently have

[android-developers] ListView leaks memory

2011-03-30 Thread ivan
I have read copious posts on this, but no solution. After using MAT extensively on an ApiDemo list view sample, I am ABSOLUTELY convinced that the ListView/ListActivity is leaking memory. import android.app.ListActivity; import android.content.Context; import android.os.Bundle; import

[android-developers] Re: Samsung-Specific Media Player Errors

2011-03-30 Thread k7k0
Same here, some samsung users are complaining about not being able to play streamed mp3 files Here's some logcat V/PVPlayer( 2384): data source = http://static.uloops.net/banks/4d93305e8f6f4_21122393.mp3 V/PlayerDriver( 2384): Send player code: 3 V/PlayerDriver( 2384): handleSetDataSource

Re: [android-developers] ListView leaks memory

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 1:06 PM, ivan istas...@gmail.com wrote: I have read copious posts on this, but no solution.  After using MAT extensively on an ApiDemo list view sample, I am ABSOLUTELY convinced that the ListView/ListActivity is leaking memory. And your proof of this is... what,

[android-developers] ListView leaks memory II

2011-03-30 Thread ivan
I accidentally posted that last one before I was done. I have read copious posts on this, but no solution. After using MAT extensively on a simple ApiDemo list view sample, I am ABSOLUTELY convinced that the ListView/ListActivity is leaking memory. I say this because I can see every instance

[android-developers] Re: ListView leaks memory

2011-03-30 Thread ivan
Mark, I accidentally posted this before I was done... please see my second post with the same title and II appended. Sorry about the confusion. On Mar 30, 11:10 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 1:06 PM, ivan istas...@gmail.com wrote: I have read copious

Re: [android-developers] ListView leaks memory II

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 1:18 PM, ivan istas...@gmail.com wrote: I accidentally posted that last one before I was done. I have read copious posts on this, but no solution.  After using MAT extensively on a simple ApiDemo list view sample, I am ABSOLUTELY convinced that the

[android-developers] Re: Amazon Appmarket is now open!

2011-03-30 Thread Krischik Martin
On Mar 30, 5:27 pm, Kostya Vasilyev kmans...@gmail.com wrote: I see that Handago offers paid apps for Android, with trial period feature. Anyone know what kind of licensing scheme / library is behind this? That is up to you. The offer the ability to upload two version of the app, one for the

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
onDestory has been called every time, which I've tested with a break point . On Mar 30, 11:23 am, Mark Murphy mmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 1:18 PM, ivan istas...@gmail.com wrote: I accidentally posted that last one before I was done. I have read copious posts on

Re: [android-developers] Re: ListView leaks memory II

2011-03-30 Thread Kostya Vasilyev
Are you running the app in the debugger? 30.03.2011 21:28, ivan пишет: onDestory has been called every time, which I've tested with a break point . On Mar 30, 11:23 am, Mark Murphymmur...@commonsware.com wrote: On Wed, Mar 30, 2011 at 1:18 PM, ivanistas...@gmail.com wrote: I accidentally

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
In addition, I've read that the leak doesn't occur while the app is running in a non-debug session. This is not the case with my experiments. I see the leak regardless. On Mar 30, 11:28 am, ivan istas...@gmail.com wrote: onDestory has been called every time, which I've tested with a break

[android-developers] Find storage directories?

2011-03-30 Thread Nathan
Some user would like to choose which of their many storage cards my app puts data on. IE internal vs external storage cards. I'd like to help them do this without screwing up. I don't think most users will be advanced enough to type in the linux path. GetExternalStorageDirectory will give you

[android-developers] How do the drop down ads like in the weather channel app work?

2011-03-30 Thread pawpaw17
Does anyone serve ads like in the weather channel app that, when clicked, expand from about 60 px height to 240 px? MMA lists this as an emerging mobile standard. Curious if anyone has integrated a 3rd party ad source that services these types of ads if the know-how for expanding to a larger

[android-developers] Re: Import/Export data file

2011-03-30 Thread Alaeddine Ghribi
Always here M.Kostya ;), Anyway, this guide shows how to store the saved file in the SDCARD? With the choose of the storage location ? And the import location ? And no need to see this code? http://www.roseindia.net/java/beginners/CopyFile.shtml Thank you. On 30 mar, 17:49, Kostya Vasilyev

Re: [android-developers] Find storage directories?

2011-03-30 Thread Mark Murphy
On Wed, Mar 30, 2011 at 1:39 PM, Nathan critter...@crittermap.com wrote: Some user would like to choose which of their many storage cards my app puts data on. IE internal vs external storage cards. I'd like to help them do this without screwing up. I don't think most users will be advanced

Re: [android-developers] Re: Import/Export data file

2011-03-30 Thread Kostya Vasilyev
The link you posted explains how to copy a file from one location to another. The link to developer.android.com explains where to copy the file to, as well as some other points. You just need to combine those two :) -- Kostya 30.03.2011 21:41, Alaeddine Ghribi пишет: Always here M.Kostya

[android-developers] Problems with ListView

2011-03-30 Thread Kevin Anthony
I have a nested listview to display information about TV shows first the Root listview shows the TV show name when you click on the show name, you get a list of Episodes for the show, including a title, episode number, and episode name if you click on a show, it opens up another activity I have

[android-developers] Re: ListView leaks memory II

2011-03-30 Thread ivan
Also, I'm using Android SDK build 8 (2.2). On Mar 30, 11:37 am, ivan istas...@gmail.com wrote: In addition, I've read that the leak doesn't occur while the app is running in a non-debug session.  This is not the case with my experiments.  I see the leak regardless. On Mar 30, 11:28 am, ivan

[android-developers] Re: SSL Load

2011-03-30 Thread bob
A web browser popping up. On Mar 30, 9:53 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 30 March 2011 16:41, bob b...@coolgroups.com wrote: Is there an easy way to silently load an SSL page in Android? And not silently means what exactly? Regards, Marcin Orlowski *Tray Agenda

  1   2   3   >