Re: [android-developers] what to do with Only the original thread that created a view hierarchy can touch its views?

2011-01-03 Thread goodwin wei
Hi Mark, I am back. I forgot this thread here. using your suggestion, i choose using AsyncTask and implement onPostExecute(). Iam very happy It works well. but I write an inner class that extends AsyncTash to use findViewById. can i wirte a non-inner class to get the TextView to setText()? On

[android-developers] Weird FC from unregisterReceiver

2011-01-03 Thread Karim B
here the sum up of my code http://pastebin.com/YcPWNYit my problem only occurs when my application gets installed over my application again(aka when I run it from eclipse) and this only occurs when the value of ENABLED_KEY is left true so this fc happens when my the value is changed from true

Re: [android-developers] Set Android WIFI Ip address from my own application

2011-01-03 Thread Faheem Khatri
By the way yout email get me hint, i m trying to resolve this thing. i've got a function which is : *wifiManaget.addNetwork(wifimanager object)* do you have any idea what this function do? 2010/12/30 Kostya Vasilyev kmans...@gmail.com You can change these settings from an application - just

[android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Luca Carlon
Ok, that was just to confirm that it is impossible to use it that way. And what about making complex queries? The ContentProvider class provides the query method which, however, seems to be quite a limitation. What can I do, for instance, if I need to create queries with subqueries (or some other

[android-developers] Android : Why NUMBER_KEY return the number in reverse order

2011-01-03 Thread zohar lerman
0 down vote favorite Hi, I am trying to read the contact list using the following code: ContentResolver cr = getContentResolver(); Cursor cur = cr.query(People.CONTENT_URI,null, null, null, null); if (cur.getCount() 0) { while (cur.moveToNext()) { String id =

[android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Sarwar Erfan
On Monday, January 3, 2011 2:32:29 PM UTC+6, Luca Carlon wrote: Ok, that was just to confirm that it is impossible to use it that way. And what about making complex queries? The ContentProvider class provides the query method which, however, seems to be quite a limitation. What can I do,

[android-developers] Re: Google analytics crash

2011-01-03 Thread blindfold
Well, after another user apparently had 6 crashes in 2 minutes from GoogleAnalyticsTracker.trackEvent() right when launching my app, I've updated my app to wrap all Google Analytics calls in try-catch blocks to quench the symptoms. Even though the crash reports were rare, this seems to be the

[android-developers] mms video streaming

2011-01-03 Thread Kevin R. Octavian
how to make a video streaming with mms in android? i have problem to do that . . . -- Mobile Developer (Android,iphone,Blackberry,J2ME,brew,symbian) mobile : 085722945257 email : kevin.r.octav...@gmail.com arsenal_a...@yahoo.co.id blog : kevinroctavian.wordpress.com -- You received this

[android-developers] Re: Android : Why NUMBER_KEY return the number in reverse order

2011-01-03 Thread Sarwar Erfan
Firstly, Contacts.Phones.NUMBER_KEY is deprecated. Secondly, why do you need this value? This is not the phone number, but the normalized phone number. If you want the phone number in the way you have your code, use Contacts.Phones.NUMBER Anyways, I would suggest you not to use deprecated

[android-developers] Re: Problem with AnimationDrawable

2011-01-03 Thread Serdel
Take a look here where I explained that while asking another question: https://groups.google.com/group/android-developers/browse_thread/thread/9c10ceff77cd7ed3/9d381a5f3d36f0c4?hl=pllnk=gstq=Strange+Problem+with+releasing+bitmaps+and+%27back%27+button+#9d381a5f3d36f0c4 -- You received this

[android-developers] Re: Android : Why NUMBER_KEY return the number in reverse order

2011-01-03 Thread zohar lerman
First, thanks for your quick answer. Second, I am using SDK 1.5 therefore I am using Contacts.Phones.NUMBER_KEY. Third, Contacts.Phones.NUMBER is not normalize and include chars like ( and - and I want to compare between number I hold and number in the contact list -Z On Jan 3, 10:45 am, Sarwar

[android-developers] How to handle the GPS properly through multiple activities ?

2011-01-03 Thread ColletJb
Hi everyone, I run into an issue regarding how to use the gps. My application uses several activities to navigation to some information. (RootActivity - MenuActivity - MenuDetailActivity - ItemDetailActivity...) I use a class extending Application in order to access from all Activities several

[android-developers] Gingerbread vs Froyo

2011-01-03 Thread Rahul Garg
Hi all, I read one article about the difference between these two versions of Android. But as a developer I dont have exact idea that what things should I take care while I am working with Gingerbread. For example, in gingerbread Power management and application control has been made more

[android-developers] Re: Android : Why NUMBER_KEY return the number in reverse order

2011-01-03 Thread Sarwar Erfan
Ok... here is the story then... Phone numbers are stored in stripped reversed order for easier matching. It helps to use the LIKE operator in SQL. For a normal SQL user, it might look same to use *where NUMBER_KEY LIKE '%1234'* and *where NUMBER_KEY LIKE '4321%'.* But for the db engine, having

[android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Luca Carlon
I already rooted and executed the queries I need using sqlite3, but I need to do this programmatically. Assuming I am the ContentProvider developer, can I somehow execute these kinds of queries (using functions like replace, using subqueries etc...) using the SQLiteDatabase class? Its query

[android-developers] Re: Android : Why NUMBER_KEY return the number in reverse order

2011-01-03 Thread zohar lerman
thanks On Jan 3, 11:27 am, Sarwar Erfan erfanonl...@gmail.com wrote: Ok... here is the story then... Phone numbers are stored in stripped reversed order for easier matching. It helps to use the LIKE operator in SQL. For a normal SQL user, it might look same to use *where NUMBER_KEY LIKE

[android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Sarwar Erfan
On Monday, January 3, 2011 3:32:50 PM UTC+6, Luca Carlon wrote: Assuming I am the ContentProvider developer, can I somehow execute these kinds of queries (using functions like replace, using subqueries etc...) using the SQLiteDatabase class? Its query method seems to suffer the same

Re: [android-developers] Re: Eclipse never sees AVDs anymore

2011-01-03 Thread Nikolay Elenkov
On Mon, Jan 3, 2011 at 4:27 PM, Keith Wiley kbwi...@gmail.com wrote: On Jan 2, 8:00 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Unplug your phone. If the phone is plugged in, it only shows AVDs with the same or higher Android version as your phone. Not sure why someone thought this

Re: [android-developers] Creating complex queries for SQLite

2011-01-03 Thread Kostya Vasilyev
It's not possible to access other application's data files (including databases). It's also not possible to bypass ContentResolver / ContentProvider to get to the database, especially since a ContentProvider implementation doe snot have to use a SQLite database for its data storage. --

Re: [android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Kostya Vasilyev
Luca, The way a ContentProvider maps a query into SQL statements is entirely up to your provider. The framework only imposes a few things: - The data bucket is selected by the URI. - The query is specified as an array of values. - The result is returned as a Cursor (not necessarily a SQLite

[android-developers] Re: Creating complex queries for SQLite

2011-01-03 Thread Luca Carlon
This is very important for me! I didn't even see it! Thank you very very much! On Jan 3, 10:45 am, Sarwar Erfan erfanonl...@gmail.com wrote: On Monday, January 3, 2011 3:32:50 PM UTC+6, Luca Carlon wrote: Assuming I am the ContentProvider developer, can I somehow execute these kinds of

[android-developers] [Android sources] Add application

2011-01-03 Thread guillaume benats
Hi all, I have an Android application (sources and/or .apk) and I want to add this application by default in the Android sources I modified. If I use adb install...It is just temporary, I want my app to be accessible from the android source code. How can I do that? Just adding src/ to the build

[android-developers] Re: c2DM error when third-party server sends data to push

2011-01-03 Thread Jose Ignacio Gil Jaldo
Hi Nagaraj, could you make it work? I also tried downloading sources from google examples (JumpNote and Google2Chrome) and I couldn't make them work due to Authentication error (I think it could be related to something that Nasif Nooruden pointed you out about trimming the Auth string). However

[android-developers] How to change the color..?

2011-01-03 Thread Abhilash baddam
Hi, How can we change the rating bar color to different color i.e, by default it's showing green color now how can we change the color of that rating bar.. can anyone send me the code snippet please. Regards, Abhilash.B -- You received this message because you are subscribed to the

Re: [android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread A N K ! T
link is not open-able On Mon, Jan 3, 2011 at 8:35 AM, sisko adeod...@gmail.com wrote: This image (http://www.mathcs.org/java/android/images/ xml_converter_outline.jpg) shows what I am refering to. The update has removed all the images and associated functionality for the plus, minus, up

Re: [android-developers] Debug certificate expired error in eclipse android plugins

2011-01-03 Thread Desu Vinod Kumar
Remove the debug.keystore from you docuements Settings of your user. restart eclipse. clean your project, i will work. Regards Vinod Kumar D. On Thu, Feb 4, 2010 at 3:19 AM, Xavier Ducrohet x...@android.com wrote: It should be the only thing you need to do. Did you force a recompile in

Re: [android-developers] Re: Maximum size of APK that can Upload to Android Market

2011-01-03 Thread Desu Vinod Kumar
We are also increasing the maximum size for .apk files on Market to 50MB, to better support richer games. check this line from the above link. One more thing i observed is they are preloading some data one other way i guess after that we can dowload data from server if you have too many

[android-developers] Re: How to change the color..?

2011-01-03 Thread Abhilash baddam
Any help regarding this issue. On Mon, Jan 3, 2011 at 3:58 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi, How can we change the rating bar color to different color i.e, by default it's showing green color now how can we change the color of that rating bar.. can

[android-developers] Re: How to change the color..?

2011-01-03 Thread Sarwar Erfan
This class is derived from View. So, did you try the things you would do to change background color of a View? may be android:backgroundhttp://developer.android.com/reference/android/view/View.html#attr_android:background ? Regards Sarwar Erfan -- You received this message because you are

[android-developers] Connecting to Licensing server through Local/Remote Server

2011-01-03 Thread revanth
Hi All, 1.we want download the licensed apk from the android market. Our apk should connect to our own server. Our server should connect to the android Licensing server and verfied the user is licensed or not. 2.Response back to our server and our server response to mobile client. Request:-

[android-developers] twlauncher activity - phone hangs continuously

2011-01-03 Thread manas gajare
Hello people I have Samsung Galaxy 3. The phone hangs often saying 'force close - twlauncher activity' What causes this problem? and How to resolve this issue? Regards Manas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Voice search/Record Error

2011-01-03 Thread Satya
Hi, My issue is resolved. I thought it may be helpful for others. So posting the solution for the issue I was facing. For the samplerate problem, we commented the code in frameworks/base/ libs/audioflinger/AudioHardwareInterface.cpp in size_t AudioHardwareBase::getInputBufferSize(uint32_t

[android-developers] Re: Default Buttons appearing as black rectangles on DROIDX?

2011-01-03 Thread niko20
DroidX uses its own custom OS themes, buttons will be black with white text -niko On Dec 30 2010, 9:28 pm, JRock develo...@earthblood.com wrote: Hopefully someone can point me in the right direction as to what is going on here: In my app, I use standard buttons and spinners, which have

[android-developers] Cannot load library: link_image[1995]: failed to link libmedia_jni.so

2011-01-03 Thread ashwani
Hi All, I am working on android froyo. I am getting Cannot load library: link_image[1995]: failed to link libmedia_jni.so error while booting. below is the logcat: D/AndroidRuntime( 1674): AndroidRuntime START D/AndroidRuntime( 1674): CheckJNI is ON D/AndroidRuntime( 1674): --- registering

Re: [android-developers] Samsung Galaxy Player

2011-01-03 Thread Stephen Jungels
Apparently: http://android-developers.blogspot.com/2010/10/five-steps-to-future-hardware-happiness.html There are also (or will be) the Wifi-only Galaxy Tab, and Google TV. On Sun, Jan 2, 2011 at 8:47 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Before, the official position was that all apps

[android-developers] How to Scale Down HDMI Output in Android

2011-01-03 Thread sjor
Hi. I am an Android developer and I am working for a set top box project. I want to be able to change the width and height of the display. Because, on the some of the televisions which I use with our box and HDMI cable, the display is bigger than the panel of TV. It doesn't look good. I want to

[android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread sisko
Don't know what happened. Here is the image link again - http://www.mathcs.org/java/android/images/xml_converter_outline.jpg On Jan 3, 3:05 am, sisko adeod...@gmail.com wrote: This image (http://www.mathcs.org/java/android/images/ xml_converter_outline.jpg) shows what I am refering to. The

[android-developers] Re: Reusing BitmapDrawable objects

2011-01-03 Thread John Gaby
Thanks. On Jan 2, 10:59 pm, Doug beafd...@gmail.com wrote: Look into bitmap mutations? http://developer.android.com/resources/articles/drawable-mutations.html On Dec 31 2010, 11:22 pm, John Gaby jg...@gabysoft.com wrote: I have custom skinned buttons.  I set the bitmaps for the button

[android-developers] Re: How to tell if phone is Android configured?

2011-01-03 Thread Johan Abramsson
Hi, What model is it ? What is it called ? Most current Xperias (x10/X10 mini/pro) are Android - but their are also two windows mobile ones, (X1 and X2) Kind regards /Johan On Dec 16 2010, 8:09 pm, MrUmunhum mrumun...@cruzio.com wrote: Hi group,  I just was given a phone that is said to

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-03 Thread FrankG
Seems that you are looking for a terminal emulator like this one .. https://github.com/jackpal/Android-Terminal-Emulator/wiki Good luck ! Frank On 31 Dez. 2010, 22:48, Jay j.gato...@gmail.com wrote: I started reading that, but it still doesn't complete sense. Are there any other more

Re: [android-developers] Re: Google analytics crash

2011-01-03 Thread Mark Wyszomierski
I did the same, wrap all analytics calls in a try/catch block, Mark On Mon, Jan 3, 2011 at 3:39 AM, blindfold seeingwithso...@gmail.com wrote: Well, after another user apparently had 6 crashes in 2 minutes from GoogleAnalyticsTracker.trackEvent() right when launching my app, I've updated my

[android-developers] Re: Screen Rotation

2011-01-03 Thread kernelpanic
if what you posted in the original msg is a cut/paste, then the problem is likely a typo - the right before your android:configChanges line should be moved to AFTER activity android:name=.ReunionPlanner android:label=@string/app_name

Re: [android-developers] Re: How to add labels above this table layout

2011-01-03 Thread TreKing
On Sun, Jan 2, 2011 at 11:32 PM, pramod.deore deore.pramo...@gmail.comwrote: But I didn't find anything wrong in code . here ia my code which populate the list First thing I noticed was no call to setContentView().

[android-developers] initialization of usb from android Application

2011-01-03 Thread bharath
Hi, Is it possible to initialize USB from Android Application? if possible please post a sample code. Thanks, Bharath -- 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] How USB tethering / Mass storage works in Android?

2011-01-03 Thread bharath
Hi, Can anybody please explain or send a link points how USB tethering / Mass storage works internally in Android. Thanks, Bharath -- 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: c2DM error when third-party server sends data to push

2011-01-03 Thread Jose Ignacio Gil Jaldo
Hi Nagaraj, I made it work... The point is: what are you sending as Auth token? the whole response that you got from /ClientLogin? or just the Auth= section? (Without the Auth=). You have to send the second one. If you're already doing it that way, try removing all \n in that String. You

[android-developers] Re: moving InputMethod to the top

2011-01-03 Thread guich
Hi, Well, actually, was a costumer that told me. I should have been more clear. Is it possible to include this feature in a future release of Android? We had this available in Windows Mobile and Palm OS. It is useful if the screen has lots of input fields and some of them are in the bottom part

[android-developers] share the tree view implementation on android

2011-01-03 Thread andy zhao
hi,all, Here's a good sample for the tree view implementation on android: http://isomobile.com/read.php?tid-49.html Hope this will be helpful for some special requirements:) BR andy zhao -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] [Android sources] Add application

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 4:24 AM, guillaume benats guillaume.ben...@gmail.com wrote: I have an Android application (sources and/or .apk) and I want to add this application by default in the Android sources I modified. You're in the wrong group - try the porting or platform groups for stuff

Re: [android-developers] How USB tethering / Mass storage works in Android?

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 9:33 AM, bharath dg.bhar...@gmail.com wrote: Can anybody please explain or send a link points how USB tethering / Mass storage works internally in Android. You'll probably have to dig through and read the source for something like this.

Re: [android-developers] Re: moving InputMethod to the top

2011-01-03 Thread Dianne Hackborn
No plans to at this point. On Mon, Jan 3, 2011 at 8:51 AM, guich guiha...@gmail.com wrote: Hi, Well, actually, was a costumer that told me. I should have been more clear. Is it possible to include this feature in a future release of Android? We had this available in Windows Mobile and

Re: [android-developers] Re: moving InputMethod to the top

2011-01-03 Thread Dianne Hackborn
I should expand a bit -- Android's IME architecture is very different from iPhone (and I believe Windows Mobile as well and definitely Palm OS), since it is designed to allow IME to be a user-replaceable components that are still secure (not running in the same process as the application).

[android-developers] Proguard retrace tool - wrong output

2011-01-03 Thread Al
Hi, I'm experimenting with proguard now that it's easier to use from within eclipse. I've exported a signed version of my app with a deliberate bug that causes a crash for testing. After I get the stack trace and run retrace -verbose mapping.txt stack.txt, instead of giving me where the error

[android-developers] Repeating image on a canvas

2011-01-03 Thread brian purgert
In my game doodle bike on the market right now. I have 3 backgrounds on a canvas, one is the far background whick is a solid jpg and the next layer is a png that is transparent and only fills 1/3 of the screen, both of these backgrounds move as the player moves, and the top background is a paper

[android-developers] get coordinates inside of a view

2011-01-03 Thread crem
Hello, Is it possible to get the coordinates of a ontouch Event relative to the viewsize? for example if the user clicks on the upper left corner of a ImageView it should return (0,0) and so on... When i use the getRawX(), getRawY() methods of the MotionEvent i only geht absolute screen

[android-developers] Re: get coordinates inside of a view

2011-01-03 Thread crem
ps :D just saw that there are some getX and getY methods which return the position INSIDE the view... sorry guys :) greets On Jan 3, 8:21 pm, crem bernd.warm...@gmail.com wrote: Hello, Is it possible to get the coordinates of a ontouch Event relative to the viewsize? for example if the

[android-developers] Controlling a TextView's textColor behavior

2011-01-03 Thread mnuetzm...@handmark.com
I have a LinearLayout that contains an ImageView and two TextViews that is returned by my ListView item adapter. I know this has been asked many times and I am following the advice I have found so far but have a small yet elusive problem with the color of the TextViews. The ListView has a

[android-developers] Re: Making a playlist based on 'genre'

2011-01-03 Thread Kyle
Yes, I am also wanting some advices on this. -- 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] XML Signature

2011-01-03 Thread spock
How is it possible to generate XML signature on Android. In pure JAVA I would probably follow this tutorial: http://java.sun.com/developer/technicalArticles/xml/dig_signature_api/ but I cannot find following packages on android: javax.xml.crypto javax.xml.crypto.dsig

[android-developers] Programmatically cause a focus event on a text input

2011-01-03 Thread Justin Glaeser
Hello, I have an EditText with an OnFocusChangeListener attached to that does various things. Sometimes this EditText is not visible on the screen so I have a button as a convenience to the user to show the EditText on the screen. To streamline the experience even more I would like to

[android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread sisko
Can anyone please help me. My eclipse update has removed the very vital control elements on the outline tab (shown here http://www.mathcs.org/java/android/images/xml_converter_outline.jpg ).I am referring to the plus, minus, up and down arrow buttons. On Jan 3, 2:23 pm, sisko adeod...@gmail.com

Re: [android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 4:26 PM, sisko adeod...@gmail.com wrote: Can anyone please help me. My eclipse update has removed the very vital control elements on the outline tab (shown here http://www.mathcs.org/java/android/images/xml_converter_outline.jpg ).I am referring to the plus, minus, up

[android-developers] Re: PreferenceActivity in TabActivity Error (Fatal Exception)

2011-01-03 Thread Dan
I am still perplexed by this issue. The problem continues in Gingerbread with the following stack trace from the emulator in LogCat: 01-03 14:30:33.626: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main 01-03 14:30:33.626: ERROR/AndroidRuntime(339): android.view.WindowManager$BadTokenException:

[android-developers] Fast way to write and read buffered data from AudioRecord

2011-01-03 Thread Serdel
I have a working implementation of the AudioRecrod class. I however I need the samples only in a buffered form so I don't want to save them on the phone hard memory, but keep them in a buffered way. Write now I am saving the files using an ArrayList of type Short like that: for (int idxBuffer =

[android-developers] Re: How to write a android keyboard preference and show in Android Setting Language Keyboard.

2011-01-03 Thread AlanLawrence
My manifest looks essentially the same as yours, only my settings activity contains within it the extra tag: intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter Does that help? --Alan On Dec 29 2010,

[android-developers] Re: Fast way to write and read buffered data from AudioRecord

2011-01-03 Thread greg
+1 for saving to file system On Jan 3, 5:42 pm, Serdel adam.lichwierow...@gmail.com wrote: I have a working implementation of the AudioRecrod class. I however I need the samples only in a buffered form so I don't want to save them on the phone hard memory, but keep them in a buffered way.

[android-developers] Getting a test version of an .apk to a end user

2011-01-03 Thread John Lussmyer
Is there any relatively easy way for me to send a test version of my app.apk file to a user? I may have fixed a problem he's seeing (that doesn't happen on my phone of course), and I'd like to have him test it BEFORE I deploy it to the store. -- You received this message because you are

Re: [android-developers] Getting a test version of an .apk to a end user

2011-01-03 Thread Wayne Wenthin
I've taken to putting the latest version on the website and letting them download and install from there. On Mon, Jan 3, 2011 at 2:54 PM, John Lussmyer johnlussm...@gmail.comwrote: Is there any relatively easy way for me to send a test version of my app.apk file to a user? I may have fixed a

Re: [android-developers] Getting a test version of an .apk to a end user

2011-01-03 Thread John Lussmyer
You mean you put it out on the Android Marketplace? On Mon, Jan 3, 2011 at 2:56 PM, Wayne Wenthin wa...@fuligin.com wrote: I've taken to putting the latest version on the website and letting them download and install from there. On Mon, Jan 3, 2011 at 2:54 PM, John Lussmyer

[android-developers] Intercept bluetooth headset button or action (again...)

2011-01-03 Thread mrqzzz
Hi. I already found this question, but without any working answer in this group: How do i intercept a blutooth headset's button press (or eventually the action it calls) ? I already tried using a receiver for the action android.intent.action.MEDIA_BUTTON but it works only for the regular wired

[android-developers] Part time Home based online surveys jobs

2011-01-03 Thread khushitiwari2...@rediff.com
Employment News About all Central Government Jobs http://smartcareer.webs.com/governmentcareer.htm http://smartcareer.webs.com/bankingcareer.htm http://smartcareer.webs.com/dataentrywrok.htm -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Getting a test version of an .apk to a end user

2011-01-03 Thread metal mikey
Is Email easy enough? Note: because you will have the tester install out-of-band from the Market, the tester will need to uninstall the App first. On Jan 4, 9:58 am, John Lussmyer johnlussm...@gmail.com wrote: You mean you put it out on the Android Marketplace? On Mon, Jan 3, 2011 at 2:56 PM,

[android-developers] Re: EditText in Header of ListView loses focus after first character is entered

2011-01-03 Thread Justin Glaeser
Nope this did not solve the problem. I have a work around where the parent view is passing any onkey events to the editText in the header so characters are showing up however the focus still disappears. On Dec 27 2010, 8:25 pm, Sarwar Erfan erfanonl...@gmail.com wrote: See if your your problem

Re: [android-developers] Re: Getting a test version of an .apk to a end user

2011-01-03 Thread John Lussmyer
Okay, email is fine - but how does an average end-user get the file onto their Android Device? That's what I was asking. On Mon, Jan 3, 2011 at 4:55 PM, metal mikey coref...@gmail.com wrote: Is Email easy enough? Note: because you will have the tester install out-of-band from the Market, the

[android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread sisko
Thanks for responding. If you mean we are supposed to drag elements into place, I got ta say ... It simply does not work. I have an existing project with a very complex layout in one of my views. Any attempt to reorganize the layout by dragging things around ends in disaster. Please help.

Re: [android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread John Lussmyer
Use the xml tab and edit the xml directly. MUCH easier. Also helps if you use ctrl-F to reformat the XML to be legible. (I also change the XML formatting preferences to put each attribute on a new line.) On Mon, Jan 3, 2011 at 5:38 PM, sisko adeod...@gmail.com wrote: Thanks for responding.

[android-developers] Re: Getting a test version of an .apk to a end user

2011-01-03 Thread metal mikey
Your tester will need to uninstall the current from-market instance of your App then go to MENU SETTINGS APPLICATIONS and check 'Unkown sources' to allow the not-from-market install. Then upon opening (aka clicking on) the .apk file attached to the email you sent, Android will install the App.

[android-developers] Re: Repeating image on a canvas

2011-01-03 Thread Nathan
Since I have done a lot of bitmaps and canvases, I can tell you definitely that it is . . . hard to say. But I will tell you this. Method profiling is great for something like this, and it is fairly easy to do. http://developer.android.com/intl/de/guide/developing/tools/traceview.html Nathan

[android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread sisko
I am a beginner and I am having trouble getting accurate results hand- coding the XML but I will give it a shot. Thanks. On Jan 4, 1:45 am, John Lussmyer johnlussm...@gmail.com wrote: Use the xml tab and edit the xml directly. MUCH easier. Also helps if you use ctrl-F to reformat the XML to

Re: [android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread Julian
Try the preview version of adt 9, it has the up and downs arrows. http://tools.android.com/download 2011/1/3 sisko adeod...@gmail.com I am a beginner and I am having trouble getting accurate results hand- coding the XML but I will give it a shot. Thanks. On Jan 4, 1:45 am, John Lussmyer

[android-developers] New market icons/developer console

2011-01-03 Thread Peter Webb
I am confused about what the new graphics are for in the marketplace. Specifically, I have uploaded the 512 x 512 images, the 180 x 120 promo image etc. However, on my 2.2 phone, the market displays a graphic of the application at the top left. In my case this is a tiny, tiny version of my

Re: [android-developers] New market icons/developer console

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 8:28 PM, Peter Webb r.peter.w...@gmail.com wrote: Specifically, what should I do to get a decent sized application icon displayed at the top of my download page on the market? That's the promo graphic, though apparently it takes it sweet time updating for some people,

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
First thing I noticed was no call to setContentView(). But my activity extends from ListActivity and when I add setContentView(), then Logcat gives following error 01-04 08:26:52.279: ERROR/AndroidRuntime(257): java.lang.RuntimeException: Unable to start activity

Re: [android-developers] Re: How to add labels above this table layout

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 9:02 PM, pramod.deore deore.pramo...@gmail.comwrote: But my activity extends from ListActivity and when I add setContentView(), then Logcat gives following error So follow the instructions - the error tells you exactly what the problem is.

[android-developers] Re: AsyncTask why not must be created in UI thread?

2011-01-03 Thread water boiled
thanks everybody! On 2010年12月31日, 下午2时50分, Bob Kerns r...@acm.org wrote: You need to create the AsyncTask instance on the UI thread, but the doInBackground() method runs in a separate thread. The reason for creating the AsyncTask instance on the UI thread is so that it can connect to the

[android-developers] Re: Programmatically cause a focus event on a text input

2011-01-03 Thread Sarwar Erfan
On Tuesday, January 4, 2011 4:13:34 AM UTC+6, Justin Glaeser wrote: I know you can requestFocus() for an EditText As you know it already, why are you not using it? and I would like help on how to programmatically cause the EditText to receive a focus event. You seem to already

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
Now I had created new xml file named as showchedulerlistview. and in that I write following ?xml version=1.0 encoding=utf-8? ListView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent

Re: [android-developers] Re: How to add labels above this table layout

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 9:49 PM, pramod.deore deore.pramo...@gmail.comwrote: But still it add labels at each row. How is it? What is R.layout.showscheduler? What does that look like? - TreKing

[android-developers] Problem while loading phone contacts in ascending order

2011-01-03 Thread jeena
am trying to load phone contacts and tried to show the contact names in ascending order. My code is given below: Cursor cursor = getContentResolver().query( ContactsContract.Contacts.CONTENT_URI, null, ContactsContract.Contacts.HAS_PHONE_NUMBER + = 1, null,

[android-developers] Re: about Android apps automatically update

2011-01-03 Thread Kenneth WON
Hi, all, Thank you for your reply. Best Regards, Kenneth WON On 1月3日, 下午3時22分, Dianne Hackborn hack...@android.com wrote: And it actually has nothing to do with the platform version, but just the version of Market on the device.  As of 1.6 the Market app can self-update itself, so users

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
R.layout.showscheduler contains ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TableLayout android:layout_width=fill_parent

Re: [android-developers] Re: How to add labels above this table layout

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 10:17 PM, pramod.deore deore.pramo...@gmail.comwrote: R.layout.showscheduler contains So the layout you're using for each item in the list view contains two tables. One with hard coded values and one with ID'ed views. You're getting exactly what you're asking for. If you

[android-developers] Animating GridView is possible?

2011-01-03 Thread Jitesh dedhiya
Hello all, I have a grid view ( http://developer.android.com/resources/tutorials/views/hello-gridview.html). Can i animate these images, like moving up,down,left right. Think those images are balls and i want to animate those balls. Thank you all. -- --Jitesh .V. Dedhiya--- Don't

[android-developers] Need Android Service suggestions

2011-01-03 Thread Jacob
Hi all My requirement: Need some piece of code executing every 5 minutes (no UI). This code needs to access server thru internet and get some data and use them on the device. This code is not heavy weight. Just light weight fetch of 5K to 10K. And the data is not always fetched. Data fetch from

[android-developers] Re: Problem while loading phone contacts in ascending order

2011-01-03 Thread Zsolt Vasvari
I'd say this is a bug in the Conent Provider, and there is not much you can do about it. On Jan 4, 12:12 pm, jeena jeenaraju...@gmail.com wrote:  am trying to load phone contacts and tried to show the contact names in ascending order. My code is given below: Cursor cursor =

[android-developers] Re: New market icons/developer console

2011-01-03 Thread Zsolt Vasvari
Correct, if there is no promo graphics, the Market uses the icon (in all its original unstretched glory) on the detail page. On Jan 4, 10:50 am, TreKing treking...@gmail.com wrote: On Mon, Jan 3, 2011 at 8:28 PM, Peter Webb r.peter.w...@gmail.com wrote: Specifically, what should I do to get a

[android-developers] Re: How to add labels above this table layout

2011-01-03 Thread pramod.deore
There are 2 table layouts in the R.layout.showscheduler. First contains labels and second one is for list items. But Suppose if I remove the first table layout which contains label then they are not visible.means output becomes HallTube2011-1-1 11.00

Re: [android-developers] Re: How to add labels above this table layout

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 10:35 PM, pramod.deore deore.pramo...@gmail.comwrote: And I want it as RoomName SwitchName StartDate StartTime HallTube2011-1-1 11.00 BedroomFan2011-1-1 11.30

Re: [android-developers] Need Android Service suggestions

2011-01-03 Thread TreKing
On Mon, Jan 3, 2011 at 10:33 PM, Jacob jacobroutolo...@gmail.com wrote: Whats the suggested method to achieve this goal in android? In a word: AlarmManager. - TreKing

[android-developers] HTTP Scripting in Android

2011-01-03 Thread kypriakos
Hi all, I spent a while trying to figure out how to get Ajax and XMLHttpRequest objects to work correctly on Android's browsers (both the native and 3rd party such as Opera). I am still not able to get past the same-origin issue and all of the requests I send out are preflighted (with OPTIONS

  1   2   >