[android-developers] Re: Scrolling problem in Adapter View

2011-02-07 Thread Honest
hello, the following is code i am using for animation. public void provideAnimation(int scrolledDistance) { TranslateAnimation _tAnim = new TranslateAnimation(0, 0, scrolledDistance, 0); _tAnim.setInterpolator(new DecelerateInterpolator());

Re: [android-developers] Re: Honeycomb SDK

2011-02-07 Thread Dianne Hackborn
I don't know why it says that about minSdkVersion. The value of minSdkVersion doesn't matter; all that matters is that targetSdkVersion=Honeycomb. (Or 11 in the final API.) On Sun, Feb 6, 2011 at 11:54 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 7 February 2011 00:57, midtoad

[android-developers] install font with apk

2011-02-07 Thread andu
How are you all? I have tried to develop soft-keyboard for Android phone. The soft- keyboard is for Ethiopic script (Amharic language, Ethiopian language). The keyboard works well both in emulator and actual device. But I would like to keep the Amharic font file within the apk file so that the

[android-developers] Re: Honeycomb SDK

2011-02-07 Thread blindfold
Yes I hope they will fix that for the final Honeycomb SDK, because currently I need to recompile for either uses-sdk android:minSdkVersion=4/ uses-sdk android:targetSdkVersion=Honeycomb/ giving me the conventional (Android 2.3-) phone appearance in the Honeycomb emulator, or

Re: [android-developers] Re: Where to report app update problems?

2011-02-07 Thread Kostya Vasilyev
07.02.2011 7:24, Hari Edo пишет: The question of the thread still stands: where do you post this kind of problem with the market, officially? I posted a link two messages back, here it is again: http://www.google.com/support/androidmarket/bin/request.py?contact_type=bugs Also TreKing

Re: [android-developers] install font with apk

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 09:01, andu alemf...@yahoo.com wrote: Is there any means that I can install the font file together with the apk file? You can put font file in assets/ folder so your app will be able to use it. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Network I/O in background thread

2011-02-07 Thread Kostya Vasilyev
07.02.2011 9:53, Amit пишет: As Kostya wrote: I should be considering that service may be killed in extreme condition if OS think. And not only under extreme conditions. Recent versions of Android are more proactive about removing unneeded background services, AFAIK that's where you see No

[android-developers] imageRes

2011-02-07 Thread b_t
Hi, ActivityInfo class contains an icon attribute which is a resource id. Can my appwidget use this resource id to display this icon? (ResourceViews.setImageViewResource) Or I have to load the icon and call setImageViewBitmap? The problem with this solution that it puts more data to the

Re: [android-developers] imageRes

2011-02-07 Thread Kostya Vasilyev
If that's your own application, sure. If it's not, I don't see how the remote side of RemoteViews would know to load some resources from your application and the icon from another package. -- Kostya 07.02.2011 11:44, b_t пишет: Hi, ActivityInfo class contains an icon attribute which is a

Re: [android-developers] Best practices for automatic retrying of AsyncTask

2011-02-07 Thread Kostya Vasilyev
If that's really necessary, I would think you could add an abstraction layer between Android's AsyncTask and your base class: class NetWorker { // does http work } class NetWorkerFoo extends NetWorker { } class NetWorkerBar extends NetWorker { } class NetAsyncTask { execute(NetWorker

[android-developers] Re: BufferPercentage never reaches 100 %

2011-02-07 Thread Johannes De Smedt
Anyone? On 27 jan, 11:04, Johannes De Smedt johannes.desm...@gmail.com wrote: Hello, I have a video app that plays videos from urls. I have a MediaController that displays the progress of the playback and of the buffering. I have tested my app on different devices (HTC Magic - android 1.5  

[android-developers] Re: Scheduling ideas

2011-02-07 Thread Neilz
More issues with this. I'm testing on a Nexus and Hero. It all runs fine on the Nexus, but on the Hero after I schedule the alarm, sometimes the process seems to die: 02-07 09:00:36.664: INFO/ActivityManager(98): Process com.my.app.activity:remote (pid 1813) has died. And that's it, no other

Re: [android-developers] android os debug terminal open text file

2011-02-07 Thread Kostya Vasilyev
cat as in: $cd /sdcard/directory/name $cat file_name.txt You can also pull it to the host computer with: C:\ adb pull /sdcard/directory/name/file_name.txt and then use your favorite text editor to look at it. BTW, whenever you type a command into adb shell and get Permission denied, it

[android-developers] Re: Android beginner

2011-02-07 Thread JAlexoid (Aleksandr Panzin)
Oh it's simple! - Write your application using Eclipse or any IDE that you prefer - Set the version number to 2 in the ApplicationManifest.xml - Export application as a signed apk - ??? - Profit! Seriously, man find a class or a tutor and pay him/them to teach you things. If you are really smart,

Re: [android-developers] Re: Scheduling ideas

2011-02-07 Thread Kostya Vasilyev
Neil, A background service may be stopped by Android at its discretion. The beauty of AlarmManager is that it doesn't matter - when an alarm fires, the component that the pending intent is intended for will be started as necessary. The alarms are not kept in the application's process, they

[android-developers] Re: Copy protection

2011-02-07 Thread JAlexoid (Aleksandr Panzin)
Want to be rather safe? Encrypt the hell out of everything with generated keys. Require always online state(like Ubisoft's DRM). But the easiest thing is to make the thing server based. If they can't get to your code physically then they can't pirate it. See WoW as an example of a game that has

Re: [android-developers] Re: Copy protection

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 10:53, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: Remember that if people get the code on their systems, there will be someone to crack it. Even if it's hardware encrypted and in a protected chip(see PS3 hacking example). Side note: PS3 is example of lame

[android-developers] Task killer kills my application but android restarts my service, which i dont want

2011-02-07 Thread JC
Hello All, I have service running in background and notification is shown in GUI. When i do force close from application=manage application, my service, application and icon in notification bar goes off. But when i kill my application via TaskKiller application, my service stopped and then

[android-developers] Programatically assigning String value as 'Id'

2011-02-07 Thread Jawwad Farooq
Hi All, I want to know, Is there any way to assign string value as ID for the component programatically. I am doing something like this: TextView textView = new TextView(this) ; textView.setText(hello) ; textView.setId(10) ; But need some method which assigns my string value as ID... Like

Re: [android-developers] Programatically assigning String value as 'Id'

2011-02-07 Thread Kostya Vasilyev
http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String, java.lang.String, java.lang.String) 07.02.2011 13:34, Jawwad Farooq пишет: Hi All, I want to know, Is there any way to assign string value as ID for the component programatically. I am

[android-developers] Bluetooth socket connection issue

2011-02-07 Thread Laurent Lugon
Hi all, I use a hardware bluetooth device and I need to connect it to my mobile phone. I've follow the instruction on developer.android.com to set up a bluetooth connection but I still have a problem. When I'm connecting to the Bluetooth Socket with bluetoothSocket.connect() I don't catch any

[android-developers] Library packaging best practices

2011-02-07 Thread Pepijn Van Eeckhoudt
What is the recommended way of distributing a reusable library (i.e., jar file, assets, documentation, sample code)? One possibility I'm considering is an sdk extra (the same way for instance the google market_licensing library is made available in SDK manager. Is this a supported mechanism

Re: [android-developers] Bluetooth socket connection issue

2011-02-07 Thread Ajith Kamath
please paste the logs. And what bluetooth h/w are you trying to connect to your mobile device Regards, Ajith On Mon, Feb 7, 2011 at 4:21 PM, Laurent Lugon laurent.lu...@secu4.comwrote: Hi all, I use a hardware bluetooth device and I need to connect it to my mobile phone. I've follow the

Re: [android-developers] Re: Android beginner

2011-02-07 Thread subhashini alaguchokku
I have not uploaded an app to Android market yet. But am in a circumstance that requires me to upload a version(2) of the existing app. So request to guide me as to how to create a SIGNED APK. As this seems to be the main hurdle. We have done Export unsigned app after that have no idea how to

[android-developers] Re: URL query string bug in SMS messages

2011-02-07 Thread Jan Westin
I've tried to include a CR/LF after the url, and also just the url as a stand alone for good measure. The results can be found here: http://twitpic.com/3xdhde For a obvious comparison the same looks as following on iOS http://twitpic.com/3xdi8i Sure, I recognize that it is easily worked around

[android-developers] Postscript and PCL Problem

2011-02-07 Thread Daniel Felix
Hi All, I am new in Android development and I am facing a problem, I am trying to print some pdf and images file from my phone and for this I am using Postscript but I am wondered that what is the correct way to create PCL and Postscript for PDF and Images. Sorry for my poor english. Regards,

Re: [android-developers] Re: Android beginner

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 12:06, subhashini alaguchokku subhashini.andr...@gmail.com wrote: I have not uploaded an app to Android market yet. But am in a circumstance that requires me to upload a version(2) of the existing app. adjust versionCode in your app's manifest file to 2 and versionName to 2.0

Re: [android-developers] Library packaging best practices

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 12:00, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote:  What is the recommended way of distributing a reusable library (i.e., jar file, assets, documentation, sample code)? use sourceforge, google code or any service of that kind (or own website) One possibility I'm

Re: [android-developers] Programatically assigning String value as 'Id'

2011-02-07 Thread Jawwad Farooq
But in my case that resource does not exist. I have to dynamically create and assign ID to that. Kostya Vasilyev wrote: http://developer.android.com/reference/android/content/res/Resources.html#getIdentifier(java.lang.String, java.lang.String, java.lang.String) 07.02.2011 13:34, Jawwad

[android-developers] Re: imageRes

2011-02-07 Thread b_t
No, I would like to display icons of other installed applications. I thought that it isn't possible because a resource id is unique only in a project not in the whole system, am I right? Just I don't understand what the ActivityInfo.icon or ResolveInfo.icon is good for if I can't use that value

[android-developers] gesture Color change

2011-02-07 Thread naveen kumar
Hello sir i have done a code for gesture color change. GestureOverlayView overlay = (GestureOverlayView) findViewById(R.id.gestures_overlay); overlay.setGestureColor(Color.BLACK); but it works after config change means change after orientaion, initially shows yellow . Please help me

Re: [android-developers] Re: imageRes

2011-02-07 Thread Kostya Vasilyev
In a widget scenario, you'd need to to push updates that contain references to your own resources as well as the icon from another package. And that's where I think there is a problem using the resId in a RemoteViews, since each package has its own resource IDs. Have you tried using a

[android-developers] How to dynamically add Image view inside a for loop

2011-02-07 Thread vishnu
I have the code int resID = getResources().getIdentifier( String.valueOf(orginal[0]), drawable, getPackageName()); imageview.setImageResource(resID); Orginial[] is an character array and i wanted to print the image view inside a for loop with each arraycharacter corresponding to an

[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread mot12
Possibly found the culprit. In several activities, I call this: setContentView(R.layout.main); switch (Preferences.getPrefOrientation(this, Screen.MAIN)) { case 0: if (1.equals(Settings.System.getString(getContentResolver(),

Re: [android-developers] Re: imageRes

2011-02-07 Thread Kostya Vasilyev
Oh, and there is also this: http://developer.android.com/reference/android/content/pm/PackageItemInfo.html#loadIcon(android.content.pm.PackageManager) but then you'd need to push the icon into the widget as a drawable, which is not very efficient across process boundaries, but it just depends

[android-developers] Online tutorials - sites required- payment/non-payment

2011-02-07 Thread subhashini alaguchokku
Hai! Can somebody tell me some online tutorials which require payment/non-payment which teach how to upload new version of existing app to android market We have .apk file, need to know how to create build for Release using this .apk file. Thanks, A.Subha -- You received this message because

[android-developers] Install the Apk

2011-02-07 Thread crajesh
Hi, I am new in android. I need to create the shortcut icon for .apk in my desktop while installing my apk in mobile. It is possible? May i know wht the command for that? Thank you for your help ! Thanks Rajesh -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Online tutorials - sites required- payment/non-payment

2011-02-07 Thread Kostya Vasilyev
Here is a non-payment one: http://developer.android.com/guide/publishing/publishing.html Specifically regarding signing: http://developer.android.com/guide/publishing/app-signing.html -- Kostya 07.02.2011 15:03, subhashini alaguchokku ?: Hai! Can somebody tell me some online tutorials

Re: [android-developers] Programatically assigning String value as 'Id'

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 12:31, Jawwad Farooq jawwad.far...@gmail.com wrote: But in my case that resource does not exist. I have to dynamically create and assign ID to that. Doubt you can with system api. But if you really need such feature, wrap resouce access with own class - then you will be able

[android-developers] Re: Getting the Android Java source?

2011-02-07 Thread varun tewari
Can anybody tell me how this works. I use Ganymede. Updated eclipse with above mentioned URL. While debugging my code still says Source Not Found. Do i need to specify any path after updating my eclipse for this. Thanks in advance. VARUN On Dec 28 2010, 9:42 pm, John Lussmyer

Re: [android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread Mark Murphy
If you can create a reproducible test case, post it on the relevant MOTODEV forum and see what response you get. On Mon, Feb 7, 2011 at 6:48 AM, mot12 martin.hu...@gmail.com wrote: Possibly found the culprit. In several activities, I call this:        setContentView(R.layout.main);            

Re: [android-developers] Library packaging best practices

2011-02-07 Thread Mark Murphy
On Mon, Feb 7, 2011 at 6:00 AM, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote:  What is the recommended way of distributing a reusable library (i.e., jar file, assets, documentation, sample code)? ZIP file, backed by a GitHub repo or the equivalent. One possibility I'm considering is an

Re: [android-developers] Re: Development Tools Crashing

2011-02-07 Thread Evan Ruff
Xav, I have, ~all the targets since 1.0 installed! Maybe this is breaking everything? I'll remove everything except 1.6 and see if that helps. Also, is there a new version (you mention ADT 10.0). I'm on 9.0, but the Update Manager does not inform me of anything? Thanks for the help! E On

[android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-07 Thread 捷超 王
The Browser utilizes an JAVA class named InetAddress and this class further calls the getaddrinfo native method to resolve the URLs. I am still not sure what reads the changed kernel config file and contributes to the changed behavior of the Browser.apk. Is build/core/ main.mk? On Feb 7, 1:48 am,

[android-developers] Re: my Eclipse stuck while running emulator

2011-02-07 Thread Samsung Galaxy
Solution for my problem. actually there was no problem in emulator or any thing else. Now what exactly was this problem that my eclipse internal memory was set to 385mb in eclipse.ini I opened eclipse.ini and increase it to 1024 as i have enough memory on my Laptop. its working perfect now. if

Re: [android-developers] Re: What happens when i change the kernel config file and build the OS with the changed kernel config file?

2011-02-07 Thread Kostya Vasilyev
According to the link I posted before: http://download.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/index.html getaddrinfo() is IPv6-aware, but of course depends on kernel support being there. So go head and read that page, I think it goes a long way towards answering your question.

[android-developers] how to retreive existing keystore

2011-02-07 Thread subhashini alaguchokku
Hi! I forget my existing keystore, How to retreive my existing keystore value? bcas now i want to update my new version of android app.so i need old keystore. any alternative ways available? Thanks, A.Subha -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] how to retreive existing keystore

2011-02-07 Thread Mark Murphy
On Mon, Feb 7, 2011 at 8:16 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: I forget my existing keystore, How to retreive my existing keystore value? You find it in one of your backups. Otherwise, you are out of luck. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Install the Apk

2011-02-07 Thread E. M. Yeaseenur Rahman Tahin
Hello Rajesh, I am not sure whether I got your question right. If you mean that you have your application written and now you want the .apk file of your application to run that in your mobile then do the following - - go to your application folder (in your workspace)bin - here you will find

Re: [android-developers] how to retreive existing keystore

2011-02-07 Thread subhashini alaguchokku
i have existing backup, but where it available? pls tel me very urgent On Mon, Feb 7, 2011 at 6:48 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Feb 7, 2011 at 8:16 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: I forget my existing keystore, How to retreive my

[android-developers] Re: Playing Realtime encrypted video

2011-02-07 Thread AndroidWorkz
Take a look at the NPR app. It uses a little server (StreamProxy.java) that changes the header of an audio stream so that devices that have older Android OS on them can stream. You could use this same method to accomplish your task. Shawn On Feb 4, 1:13 pm, dindin dinesh.nadara...@gmail.com

[android-developers] Re: Playing Realtime encrypted video

2011-02-07 Thread AndroidWorkz
Just in case you don't known what I am referring to: http://code.google.com/p/npr-android-app/ Shawn On Feb 4, 1:13 pm, dindin dinesh.nadara...@gmail.com wrote: I currently have H.264 + AAC streaming to the android device. The stream is encrypted. How can I play it back. I have the algorithm

[android-developers] Re: Cancelled?

2011-02-07 Thread AndroidWorkz
It means they uninstalled the app within the refund time period (currently 15 minutes). If half the people are uninstalling your app then you probably need to work on it. On Feb 3, 6:32 pm, bob b...@coolgroups.com wrote: What does it mean when Google Checkout says an order was Cancelled? I

[android-developers] ADB Cannot Find Samsung Captivate

2011-02-07 Thread AndroidDevTime
adb devices - Nothing I have tried installing kies, setting usb to Kies, to Mass storage etc nothing seems to work. It is not at all clear what happens when you type ADB Devices? i tried downloading device drivers from samsung as recommended, and some of the drivers seemed to install like

[android-developers] Re: imageRes

2011-02-07 Thread b_t
I haven't tried it because I didn't know how to build the Uri to be valid. Have you tried using a resource Uri? http://developer.android.com/reference/android/content/ContentResolve... Something like this: android.resource://the.other.apps.package.name/drawable/id_value -- You received

[android-developers] Re: imageRes

2011-02-07 Thread b_t
Yes, I use this method now but android has a limitation somewhere inside and in a few device I get E/JavaBinder( 2254): !!! FAILED BINDER TRANSACTION !!! errors because of these drawables. So I'm trying to find out how to avoid this bug. Maybe Uri can help. Oh, and there is also this:

Re: [android-developers] how to retreive existing keystore

2011-02-07 Thread Mark Murphy
On Mon, Feb 7, 2011 at 8:22 AM, subhashini alaguchokku subhashini.andr...@gmail.com wrote: i have existing backup, but where it available? pls tel me very urgent I have no idea where your backup is. I have no idea where your keystore should be, as you can create one anywhere. Here is where the

Re: [android-developers] ADB Cannot Find Samsung Captivate

2011-02-07 Thread Kostya Vasilyev
Installing Kies is how you get debug mode drivers for the Galaxy S family, but you don't use Kies for development. Have you enabled adb debugging on the phone? It's under Settings: Applications: Development. In fact, Kies cannot connect to a phone that has ADB debugging enabled. -- Kostya

Re: [android-developers] Re: imageRes

2011-02-07 Thread Kostya Vasilyev
BTW, it looks like ImageView only supports SCHEME_ANDROID_RESOURCE starting with Android 2.2. But it supports file:// in earlier versions. Perhaps you could cache images as files and set them with file:// URIs. -- Kostya 07.02.2011 16:33, b_t пишет: I haven't tried it because I didn't know

Re: [android-developers] Development Tools Crashing

2011-02-07 Thread Evan Ruff
Kostya, Thanks for the very informative post. I'll make the changes you suggested and report back! E On Sun, Feb 6, 2011 at 11:07 AM, Kostya Vasilyev kmans...@gmail.com wrote: Slow code assist, or, more precisely, JavaDoc lookup (which is shown side by side with code assist suggestions) is

[android-developers] Re: install font with apk

2011-02-07 Thread Brill Pappin
I just last night came across a good article on the subject. http://mobile.tutsplus.com/tutorials/android/customize-android-fonts/ In my case it was of limited value because I wanted a Style to load that font, which I haven't figured out how to do (but also havent put enough time into figuring

[android-developers] Re: how to retreive existing keystore

2011-02-07 Thread Brill Pappin
If you don't have it backed up, you can *not* recover it. Thats kind of the point of a secure key. - Brill Pappin On Feb 7, 8:16 am, subhashini alaguchokku subhashini.andr...@gmail.com wrote: Hi! I forget my existing keystore, How to retreive my existing keystore value? bcas now i want to

[android-developers] Re: Postscript and PCL Problem

2011-02-07 Thread Brill Pappin
I'd be interested in this as well. I've been wanting to add the ability for my apps to print to wireless printers or printer shares on a local network. Usually this would be done in SE by the OS java was running on, but it should be possible to write a driver for the most common forms of

[android-developers] need help with DatePickerDialog

2011-02-07 Thread Richard Sámela
I have this fields: private EditText datum; private int mYear; private int mDay; private int mMonth; private final Context context= this; and theese listeners: OnClickListener ocl = new OnClickListener() { @Override

[android-developers] Delete Emails programatically

2011-02-07 Thread Alok Kulkarni
Hi, I am trying to delete all the mails of an existing account .Is that possible? When i tried to delete the accounts on the phone , i saw that i could delete all the accounts programatically except the primary account which i know that can be deleted only on phone reset.(In program i get false

Re: [android-developers] Library packaging best practices

2011-02-07 Thread Pepijn Van Eeckhoudt
On 07/02/2011 13:45, Mark Murphy wrote: On Mon, Feb 7, 2011 at 6:00 AM, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote: ZIP file, backed by a GitHub repo or the equivalent. It's a closed source project so no Github or the like. One possibility I'm considering is an sdk extra (the same

Re: [android-developers] Library packaging best practices

2011-02-07 Thread Mark Murphy
On Mon, Feb 7, 2011 at 9:30 AM, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote: I guess you're refering to the third-party sdk addons preinstalled system libraries. The example I'm referring to from google is a bit different though. If you install it you essentially get an unzipped library

[android-developers] Re: Meaning of getMobileRxPackets and getTotalRxBytes in TrafficStats

2011-02-07 Thread Alex Munteanu
No one knows ? On Feb 1, 9:13 am, Alex Munteanu alex.munte...@gmail.com wrote: What exactly means getMobileRxBytes () ? Get the total number of bytes received through the mobile interface. Total number since when ? Device boot, phone unplug ? Also getTotalRxBytes ? Get the total number of

[android-developers] How to validate the input text in EditTextPreference dialog

2011-02-07 Thread Ryan Chiu
Hi, I use a MainActivity去start a EditTextPreference, I can get the preference value in my main activity now, But I would like to know how to validate the user input, when the user key-in something in EditTextPreference dialog? public class EditTextPreferenceActivity extends

Re: [android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread Prakash Iyer
Wow! I don't know if the following is helpful at all. I've seen my DroidX reboot a bunch of times and in almost all cases the offending app is probably Google Maps. I say probably because that's the forefront app. Usually the whole screen freezes - nothing has an impact and then I see that red

[android-developers] Re: Best practices for automatic retrying of AsyncTask

2011-02-07 Thread Streets Of Boston
When the user hits retry, you should create a new AsyncTask instance, giving it the same parameters/input as the original one (essentially clone it) and execute it. If you don't know the original AsyncTask's parameters/input, you should change your asynctask-baseclass and add some public methods

Re: [android-developers] Re: On using themes?!

2011-02-07 Thread Alessio Grumiro
So, is it impossible to solve it directly in xml? _ Alessio Grumiro http://www.agmobilesolutions.com 2010/9/22 Mariano Kamp mariano.k...@gmail.com As it wasn't possible to submit a new post to the existing/old conversation using the web interface I am copying the message here

[android-developers] Re use gradient drawable with theme-dipendent colors

2011-02-07 Thread Premier
Hello, in two different activities i want to use same gradient drawable but with different colors. I think to refer gradient colors to activity theme in follow way: i've added follow rows in attrs.xml attr name=backgroundTopColor format=color / attr name=backgroundBottomColor format=color / in

[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread mot12
@Mark Thanks for the hint about the MOTODEV forum. That seems worthwhile even though my poor test user has already downloaded and run more than 20 versions in helping me isolating offending code. I hope one additional barebones test won't push him over the edge. Who knows when I need him again.

Re: [android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread Prakash Iyer
Cool, I think what you have done is commendable already. BTW if you want to run some tests and I can help on my DroidX, I'd be happy to. On Mon, Feb 7, 2011 at 10:35 AM, mot12 martin.hu...@gmail.com wrote: @Mark Thanks for the hint about the MOTODEV forum. That seems worthwhile even though my

[android-developers] Vertical Marquee from Bottom to Up

2011-02-07 Thread Laxmi Verma
Hi All, I am having problem in creating vertical marquee in android. Can anybody help in this? 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

[android-developers] Very extrange problem with my emulator, it puts @12314234 (rare numbers) instead of the value of the strings of strings.xml

2011-02-07 Thread saex
Hi i was working with the localization of my android app, making some strings.xml new files for Spanish and Deutch languages (making new dirs strings-sp and strings-de and putting on them the translated strings.xml file) when i was testing the spanish language my emulator start doing something

Re: [android-developers] Very extrange problem with my emulator, it puts @12314234 (rare numbers) instead of the value of the strings of strings.xml

2011-02-07 Thread Kostya Vasilyev
This means that the string for the current locale is missing from your project's locale specific folder, and also from default values folder, but present in some other locale folder, which can't be used because it's for a different locale. Check this TextView's @string reference, make sure it's

[android-developers] Android emulator can't find internet connection

2011-02-07 Thread Lidia G
Hello guys, Please help me solve this unpleasure problem, i do not know what to do else. First i used android-sdk-r07-windows and installed from ADT plugin only AVD Google 2.1 APi 7 Then i updated the rest of AVD and any other updated resources available from 

Re: [android-developers] Android emulator can't find internet connection

2011-02-07 Thread Robin Talwar
Do u have this in manifest file :- uses-permission android:name=android.permission.INTERNET/uses-permission You have to set permission in manifest file for emulator to access internet On Mon, Feb 7, 2011 at 9:55 PM, Lidia G lidyp...@yahoo.com wrote: Hello guys, Please help me solve this

Re: [android-developers] Android emulator can't find internet connection

2011-02-07 Thread Lidia G
Yes, of course i know about it. uses-permission android:name=android.permission.INTERNET/uses-permission When i mean my emulator can't see internet connection, i refer to its browser not my application. --- On Mon, 2/7/11, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: From: Robin Talwar

Re: [android-developers] app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread Pepijn Van Eeckhoudt
On 04/02/2011 22:12, mot12 wrote: Any suggestion as to why a phone may reboot are highly welcome. I've only been able to make phones reboot by triggering a crash/exception in a system process. This is standard Android behavior as far as I can tell. This happened to me when I was

[android-developers] Re: Vertical Marquee from Bottom to Up

2011-02-07 Thread AndroidWorkz
If you look at the Music app in the Android source you will see a Vertical Text Spinner... hope that helps :) http://hi-android.info/src/com/android/music/VerticalTextSpinner.java.html There is also something like this:

Re: [android-developers] Re: Where to report app update problems?

2011-02-07 Thread TreKing
On Mon, Feb 7, 2011 at 2:20 AM, Kostya Vasilyev kmans...@gmail.com wrote: http://www.google.com/support/androidmarket/bin/request.py?contact_type=bugs Also TreKing frequently posts a link to report Market problems, maybe it's the same one. Just about:

Re: [android-developers] Re: Getting the Android Java source?

2011-02-07 Thread Varun Tewari
I found the downloaded source code under eclipse/plugins. Thanks anyways. VARUN On Mon, Feb 7, 2011 at 6:07 PM, varun tewari varuntewari2...@gmail.comwrote: Can anybody tell me how this works. I use Ganymede. Updated eclipse with above mentioned URL. While debugging my code still says Source

[android-developers] Re: Can registerReciver(null,Intent) provide latest broadcast value

2011-02-07 Thread AndroidWorkz
@Mark, They can send sticky broadcasts but you have to request permission in your manifest http://developer.android.com/reference/android/Manifest.permission.html#BROADCAST_STICKY Shawn On Feb 6, 8:25 am, Mark Murphy mmur...@commonsware.com wrote: Actually, I'm fairly certain that SDK apps

[android-developers] Re: Silent Installation for Android

2011-02-07 Thread AndroidWorkz
Common sense should dictate that this is a serious security issue... the user should be able to determine whether or not an application can or is installed on their device. Just my 2 cents. On Feb 4, 8:37 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Feb 4, 2011 at 8:30 AM, dacky

Re: [android-developers] Re: Can registerReciver(null,Intent) provide latest broadcast value

2011-02-07 Thread Mark Murphy
I thought that was one that ordinary SDK apps couldn't hold, but puttering around suggests that I may be mistaken. Thanks! On Mon, Feb 7, 2011 at 12:51 PM, AndroidWorkz android.workz.a...@gmail.com wrote: @Mark, They can send sticky broadcasts but you have to request permission in your

[android-developers] opengl textures

2011-02-07 Thread bob
Do opengl textures on Android have to be a width and height that is a power of 2? -- 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

Re: [android-developers] app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread Dianne Hackborn
Please file bug reports for any such crashes. Note the output of logcat is extremely useful -- in most cases, if the system crashes, it is due to a Java crash, which will be printed to the log prior to it rebooting. This may help you understand what is going on; it is *extremely* helpful in a

Re: [android-developers] Task killer kills my application but android restarts my service, which i dont want

2011-02-07 Thread Dianne Hackborn
Yes if another process is bound, the service will be restarted. As of 2.2 a task killer simply can't do what you are asking. The force stop button in Manage Applications will do this. On Mon, Feb 7, 2011 at 2:00 AM, JC jay.chadderw...@gmail.com wrote: Hello All, I have service running in

Re: [android-developers] Re: Honeycomb SDK

2011-02-07 Thread Dianne Hackborn
You are using this wrong. Both attributes need to be in a single uses-sdk tag. The rule is simple: if the targetSdkVersion is Honeycomb, then you get the new Honeycomb behavior. (Note this is the exact same way this has worked forever, as documented by android.os.Build.VERSION_CODES about the

Re: [android-developers] opengl textures

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 19:22, Marcin Orlowski webnet.andr...@gmail.com wrote: On 7 February 2011 18:57, bob b...@coolgroups.com wrote: Do opengl textures on Android have to be a width and height that is a power of 2? In general: yes as some devices will won't handle your textures otherwise. It

Re: [android-developers] opengl textures

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 18:57, bob b...@coolgroups.com wrote: Do opengl textures on Android have to be a width and height that is a power of 2? In general: yes as some devices will won't handle your textures otherwise. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Development Tools Crashing

2011-02-07 Thread Xavier Ducrohet
hmm this is very strange. I'm not sure what's going on to be honest and the stack trace doesn't help. ADT 10 is the version in development, it's not available yet. On Mon, Feb 7, 2011 at 4:53 AM, Evan Ruff evan.r...@hendersonsawmill.com wrote: Xav, I have, ~all the targets since 1.0 installed!

[android-developers] Re: Honeycomb SDK

2011-02-07 Thread blindfold
Ah yes, of course, for now (in my case) with the preview SDK uses-sdk android:minSdkVersion=4 android:targetSdkVersion=Honeycomb/ and soon with the final SDK uses-sdk android:minSdkVersion=4 android:targetSdkVersion=11/. Thank you, Dianne. On Feb 7, 7:06 pm, Dianne Hackborn hack...@android.com

[android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread mot12
Thanks Dianne, Without logcat output, I am not sure what I could file as a bug report without sounding like a rambling idiot. However, when I ask the user to send me logcat output after the reboot, it always only has data from the current session, never any data from prior the reboot event. So

[android-developers] Re: opengl textures

2011-02-07 Thread Robert Green
If not mipmapping, you can do rectangular powers of two (512x256, 1024x512) but if using mips, you need to keep it square (256x256, 512x512). Some devices can do non power of two, but a good rule of thumb is to always use it. If you have some reason not to, you can check the extensions for the

Re: [android-developers] Re: app causes reboot on DroidX after activity gets destroyed - anybody having similar issues?

2011-02-07 Thread Dianne Hackborn
Oh sorry, I didn't catch that you were also getting reports from someone else's device. In that case, it is hard. :} Ideally the logs would be quiet enough that looking at them after the system is done rebooting would still have the crash available from the previously running system. In

[android-developers] Re: Debugger Disconnected when calling External Intent???

2011-02-07 Thread Carlos Eduardo Rührwiem
This is probably too late for you Chad. But just for the record and to help more people like me (who spended an hour trying to figure this out). I was able to debug after calling the camera intent putting a manual breakpoint like this: if (!Debug.isDebuggerConnected()){

  1   2   >