答复: [android-developers] Re: How to launch YouTu be with specified keywords?

2010-03-12 Thread David
Got you and this article is great! But If you searched with YouTube by some keyword, even you changed the keyword for the second time, YouTube won't renew the Result list, that means on this way, YouTube will always shows the result list by the keyword which inputted at the very first time.

[android-developers] Re: to get/generate nonce. error in random, getBytes Options

2010-03-12 Thread sebby zml
thanks a lot. it helped. On Mar 12, 12:25 am, Bob Kerns r...@acm.org wrote: The author meant to say 'nextBytes(byte[])' instead of 'getBytes(byte[])' It's called nextBytes instead of getBytes because you can call it repeatedly, getting additional random bytes each time. On Mar 8, 6:19 pm,

[android-developers] Re: Custom MediaPlayer Interface Thru JNI

2010-03-12 Thread Sandeep Prakash
Hi Kavitha, You can look up the source code of android to get an idea about how Android have implemented the MediaPlayer interface in Java. You can follow on similar lines. Cheers Sandeep -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] AbstractAccountAuthenticator.getAccountRemovalAllowed query

2010-03-12 Thread sukumar bhashyam
hi, I'm trying to create a sync account which should not be deleted by user ( On selecting RemoveAccounts from Accounts settngs). For that, I overriden getAccountRemovalAllowed() function. From the java docs (@

[android-developers] What is difference between intent and pending intent ?

2010-03-12 Thread Musafir
hey friends, can anyone say me the main difference between intent and pending intent? and their usage in application with example -- 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] try to load system JNIs

2010-03-12 Thread allstars
hello if i try to load libwebcore or libmedia from my app it will fail because the system libs has been loaded by zygote and by JNI spec *The same JNI native library cannot be loaded into more than one class loader.* but from the log and the code (dalvik/system/VMStack) the bootstrap class loader

[android-developers] Re: Bind to system service

2010-03-12 Thread Chrissshen
Anybody? Or is this again one of these cases where that's not how the information is supposed to be used... On 11 Mrz., 17:41, Chrissshen chri...@googlemail.com wrote: Hi, is it possible somehow to bind to private system services? What I want to do is listen to the activitymanagerservice

Re: 答复: [android-developers] Re: How to launch Y ouTube with specified keywords?

2010-03-12 Thread Kumar Bibek
It works for me, I checked with 3-4 queries. Thanks and Regards, Kumar Bibek On Mar 12, 1:34 pm, David android.and...@gmail.com wrote: Got you and this article is great! But If you searched with YouTube by some keyword, even you changed the keyword for the second time, YouTube won't renew

[android-developers] Re: Attn: Devs running games or apps in compatibility modes

2010-03-12 Thread Farproc
Spare Parts the one from Google? Stock in emulator? On Mar 12, 1:56 pm, Robert Green rbgrn@gmail.com wrote: I know several of you wrote your apps and games before 1.6 was out or before you had a trusty N1 or Droid to test on.  This led to many apps that rely on compatibility mode, that is,

[android-developers] Re: Rebuilding Launcher.apk

2010-03-12 Thread mah
The apk file is just a zip file; you don't need eclipse to open / modify it. However, you will probably need to sign it after making changes (and if you don't have the original signing key, I'm not certain if you can then load it onto the phone unless you've also changes the package name). On Mar

Re: [android-developers] Re: Bluetooth UUID

2010-03-12 Thread Peter Fortuin
Thanks for the reply. We got the serial over bluetooth connection working with our device. That UUID was correct. Is it true that every kind of profile has it's unique uuid? 2010/3/11 moneytoo m...@seznam.cz You may have some luck running sdptool browse on linux machine. On Mar 11, 10:41 am,

Re: [android-developers] Re: Bind to system service

2010-03-12 Thread Mark Murphy
Chrissshen wrote: Anybody? Or is this again one of these cases where that's not how the information is supposed to be used... snip is it possible somehow to bind to private system services? I sure hope not, except through whatever is exposed by the SDK. What I want to do is listen to the

[android-developers] Re: Drawing failure?

2010-03-12 Thread dwilde1
On Mar 10, 8:45 pm, dwilde1 dwil...@gmail.com wrote: The following routine in a subclass of view attempts to draw a bell curve on a canvas and display it. The answer was actually simple. I was setting up my canvas and its contents in onCreate() and onStart(), but the canvas is never rendered

[android-developers] Re: Bind to system service

2010-03-12 Thread Chrissshen
You're right, I havn't thought of such a scenario. On 12 Mrz., 13:42, Mark Murphy mmur...@commonsware.com wrote: Chrissshen wrote: Anybody? Or is this again one of these cases where that's not how the information is supposed to be used... snip is it possible somehow to bind to private

[android-developers] Re: Attn: Devs running games or apps in compatibility modes

2010-03-12 Thread niko20
What the frack? Why would such an option even be in there...I see no reason for it to be accessible... On Mar 12, 5:32 am, Farproc farp...@gmail.com wrote: Spare Parts the one from Google? Stock in emulator? On Mar 12, 1:56 pm, Robert Green rbgrn@gmail.com wrote: I know several of you

Re: [android-developers] Re: Attn: Devs running games or apps in compatibility modes

2010-03-12 Thread TreKing
On Fri, Mar 12, 2010 at 5:32 AM, Farproc farp...@gmail.com wrote: Spare Parts the one from Google? Stock in emulator? Yup - some dude took the code and released it as an app. With ads no less. -

Re: [android-developers] OnPause() - how to resume to an activity which has a Bundle passed to it when it is created

2010-03-12 Thread TreKing
On Fri, Mar 12, 2010 at 12:28 AM, Prajakta Shitole prajakt...@gmail.comwrote: One of my idea was to store the picture and the text view in the service and on click of a menu button navigate to another activity which will connect to the service and draw the stored pictures, text views in its

[android-developers] Re: Bind to system service

2010-03-12 Thread Chrissshen
You're right, I havn't thought of such a scenario. On 12 Mrz., 13:42, Mark Murphy mmur...@commonsware.com wrote: Chrissshen wrote: Anybody? Or is this again one of these cases where that's not how the information is supposed to be used... snip is it possible somehow to bind to private

[android-developers] Re: Soft Home, Menu, Back keys in status bar

2010-03-12 Thread asher
For the benefit of anybody else who's trying to tackle this, here's the link to the interesting changes in the Android-x86 codebase: http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h... Aaron On Mar 9, 10:03 am, asher as...@vanteon.com wrote: I have a device with no hard

Re: [android-developers] Re: AlarmManager on droids

2010-03-12 Thread Mark Murphy
I ran this project overnight on a DROID: http://github.com/commonsguy/cw-advandroid/tree/master/SystemServices/Alarm/ Every alarm fired, as expected. The device sat idle, unplugged, for over 12 hours. I'll be checking it again every 12 hours or so for a while, to see if it fails. After all, it

Re: [android-developers] What is difference between intent and pending intent ?

2010-03-12 Thread TreKing
On Fri, Mar 12, 2010 at 4:12 AM, Musafir musafir4frie...@gmail.com wrote: hey friends, can anyone say me the main difference between intent and pending intent? and their usage in application with example http://developer.android.com/intl/de/reference/android/content/Intent.html

[android-developers] su access

2010-03-12 Thread raqz
Hello... I am a novice in android programming and wanted to work on the GPS related apps. I tried using DDMS in eclipse but it doesn't send the co- ordinates (or my app doesn't pick it up). I tried typing 'geo' with the co-ordinates but it gives a message as permission denied. Could some one

Re: [android-developers] Re: Which API Level to target

2010-03-12 Thread nayana urs
hi how to create avd for api level 7 i.e, for android 2.1 with regards Nayana On Wed, Mar 10, 2010 at 8:52 PM, k. bhuvaneswari kumaresan alsharewit...@gmail.com wrote: hi better u can use 2.1 regards Student -- You received this message because you are subscribed to the Google

[android-developers] Java OpenGL ES 2.0 bindings project

2010-03-12 Thread Mario Zechner
Hi there, i started a small project over at google code that provides you with bindings for OpenGL ES 2.0 in Java. I started just a couple of hours ago so it's not finished yet. The project includes the original GLSurfaceView plus all the helper classes from the latest Eclair build as well as a

RE: [android-developers] su access

2010-03-12 Thread Emre A. Yavuz
It could be something to do with your code, but did you have the permissions below in your Android Manuscript file ? uses-permission android:name=android.permission.ACCESS_FINE_LOCATION / uses-permission android:name=android.permission.ACCESS_MOCK_LOCATION / Emre Date: Fri, 12 Mar

Re: [android-developers] su access

2010-03-12 Thread Rogério de Souza Moraes
Hi, what version of the SDK are you testing? I had this problem when I was testing with SDK 1.6, but when I moved to SDK 2.0 it started working. Regards, Rogerio 2010/3/12 raqz abdulraqee...@gmail.com Hello... I am a novice in android programming and wanted to work on the GPS related apps.

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-12 Thread Streets Of Boston
I found an answer here: http://groups.google.com/group/android-beginners/browse_frm/thread/b068dfe35ebbb5fe/030538a5c2147a97?lnk=gstq=default+camera+pradeep#030538a5c2147a97 Put this in your manifest: receiver android:name=.MyReceiver intent-filter android:priority=1 action

[android-developers] Re: Which API Level to target

2010-03-12 Thread Nox
If you develop with Eclipse you´ll have to go on the menu. There, you´ll be able to click to ´Window` and then to ´Android SDK and AVD Manager´. After it, there´ll appear a new window. Now you only have to choose ´virtual devices ´ and to click to ´New`. Now you can select the platform and the

[android-developers] Re: Creating first game

2010-03-12 Thread Marlo
thanks, i already read the complete page of robert green and it's really helping. also the other posts are helpfull. is it smart to buy the android mysql to simply look things up whenever needed. hoe dan ook (don;t now the english words :D) thanks -- You received this message because you are

[android-developers] Re:

2010-03-12 Thread Nox
What do you mean with ´dynamically via code´??? If you want to add a new row in TableLayout I´ll have to write a code like this: TableRow TextView android:layout_column=1 android:text=Open... android:padding=3dip / TextView

[android-developers] Re: DDMS('?' in process name field)

2010-03-12 Thread Nox
Which version of Android do you use, I mean 1.5, 1.6 or an other version? If you get a ? , one application is unnamed but this shouldn´t be there. In 2.0.1 or in 2.1 this shouldn´t happen again. On 12 Mrz., 07:53, Musafir musafir4frie...@gmail.com wrote: Hi All, When i am running

[android-developers] Re: Activity lifecycle problem on Nexus One - onStop not called

2010-03-12 Thread Achanta
So I have modified my thread to be a singleton and mimplemented it like this. Hope it helps someone else who might be facing the same issue. public class SingletonThread extends Thread{ private static SingletonThread _instance; public static boolean IS_RUNNING = false;

[android-developers] Re: su access

2010-03-12 Thread raqz
I have set the permissions right...but still unable to use that... i am useing sdk 2.0 please help me with this simple example On Mar 12, 10:21 am, Rogério de Souza Moraes rogerio.so...@gmail.com wrote: Hi, what version of the SDK are you testing? I had this problem when I was testing

[android-developers] Re: How to display all contacts?

2010-03-12 Thread Nox
Thank you for your replies but I´ve still a problem. I´ve pasted the last code from Dmitri Plotnikov into my project but Eclipse doesn´t know what mResolver is. Do you know how to fix this problem? By the way, I tried the code from Karan too, but there I have the same problem with mResolver and

[android-developers] How to save files?

2010-03-12 Thread Nox
Hello everybody, Do you know how to save files? Thanks in advance From Viktor -- 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,

[android-developers] Re: try to load system JNIs

2010-03-12 Thread Bob Kerns
Well, what's strange here is that Android's Dalvik JVM is being less strange than Sun's, but not enough less strange to avoid confusing you. Sun doesn't have a representation of the bootstrap classloader. It's an implicit part of the JVM, and if you ask for the classloader of a class that was

Re: [android-developers] How to save files?

2010-03-12 Thread TreKing
On Fri, Mar 12, 2010 at 10:25 AM, Nox v.beh...@googlemail.com wrote: Do you know how to save files? Yes, I read the documentation: http://developer.android.com/intl/de/guide/topics/data/data-storage.html#files

[android-developers] Re:

2010-03-12 Thread Bob Kerns
The answer lies in the JavaDoc for the TableLayout class: http://developer.android.com/intl/de/reference/android/widget/TableLayout.html Although the typical child of a TableLayout is a TableRow, you can actually use any View subclass as a direct child of TableLayout. The View will be displayed

[android-developers] Re: Requesting to have a member of this group

2010-03-12 Thread Brion Emde
This article: http://developer.android.com/intl/de/resources/community-groups.html explains how to subscribe to the group. On Mar 10, 11:31 pm, evergreen.sub...@gmail.com evergreen.sub...@gmail.com wrote: Hello i am subrat,  i am working in android platform. i am interested to join your

[android-developers] Contacts 2.0: How to create a Contact without an Account? (Unsynched)

2010-03-12 Thread AuxOne
My application loads/saves contacts, but I am having some confusion regarding the difference between unsynched contacts and those associate with a Google account. In the emulator when I create a contact manually the account it uses is Phone-only (unsynched). When I read the contacts via

[android-developers] Mapview scroll finished Listener

2010-03-12 Thread Ferm
I want to add overlays when the map has scroll/zoon animation has stopped at a position. I am currently using onTouchEvent for ACTION_UP but this fires unnecessary many times e.g. when the user lifts his finger several times during scrolling. So I basically want to hook in to the event that

Re: [android-developers] Mapview scroll finished Listener

2010-03-12 Thread Mark Murphy
Ferm wrote: I want to add overlays when the map has scroll/zoon animation has stopped at a position. I am currently using onTouchEvent for ACTION_UP but this fires unnecessary many times e.g. when the user lifts his finger several times during scrolling. So I basically want to hook in to

[android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Ferm
Ok thanks What's the recommended event for when map center and lat/long spans changes? On Mar 12, 6:26 pm, Mark Murphy mmur...@commonsware.com wrote: Ferm wrote: I want to add overlays when the map has scroll/zoon animation has stopped at a position. I am currently using onTouchEvent for

Re: [android-developers] Re: how to overcome permission denied error when SystemProperties.set

2010-03-12 Thread Dianne Hackborn
On Thu, Mar 11, 2010 at 6:14 PM, Alvin Tsai kernel.dailym...@gmail.comwrote: However, I think my problem is also related to android permission rule that developer may encounter. because not only the property I create can not be set, but also the traditional system property like debug.egl.hw

[android-developers] EditText layout for all devices

2010-03-12 Thread temp
Hi, In my layout i need to have to 2 EditText widgets which would occupy 50% of area individually. I'm planning to have the solution generic for all devices, let me know if this can be controlled through XML in any way or I'll have to create the layout through code. Thanks -- You received

[android-developers] Re: EditText layout for all devices

2010-03-12 Thread Mike dg
50% of the total area of the screen? or just 50% of the width? Can you include a picture of exactly what you want it to look like? -Mike dg On Mar 12, 12:52 pm, temp tempche...@gmail.com wrote: Hi, In my layout i need to have to 2 EditText widgets which would occupy 50% of area individually.

Re: [android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Mark Murphy
Ferm wrote: What's the recommended event for when map center and lat/long spans changes? There is no recommended event for those, AFAIK. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version

[android-developers] Re: call one activity from Dialog Class

2010-03-12 Thread Mike dg
Yes you can do that. The same way you would launch an activity from any other method. -Mike dg On Mar 12, 1:19 am, TreKing treking...@gmail.com wrote: On Fri, Mar 12, 2010 at 12:05 AM, David Toledo dtole...@gmail.com wrote: How to can call one activity from Dialog. Pass a reference to the

[android-developers] Re: Java OpenGL ES 2.0 bindings project

2010-03-12 Thread Mario Zechner
Well, i finished the complete wrapper already. Here's a sample program import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.nio.IntBuffer; import javax.microedition.khronos.egl.EGL10; import javax.microedition.khronos.egl.EGLConfig; import

[android-developers] Re: OnPause() - how to resume to an activity which has a Bundle passed to it when it is created

2010-03-12 Thread Jeffrey
What I have done with success in some of my apps is making several parent views that hold each layout within a table layout, and use the menu buttons to change the visibility of the parent view containing the info you want them to see. Since the view is never really closed, it's state is kept.

[android-developers] Re: EditText layout for all devices

2010-03-12 Thread temp
50% of available vertical height if total height = 100px then EditText1 height= 50px ( 0-50px) EditText2 height=50px ( 51-100px) Thanks On Mar 13, 2:03 am, Mike dg vinb...@gmail.com wrote: 50% of the total area of the screen? or just 50% of the width? Can you include a picture of exactly

[android-developers] Re: How to save files?

2010-03-12 Thread Kumar Bibek
Try this FileWriter fw = new FileWriter(/sdcard/test.txt); fw.write(Test text); fw.flush(); fw.close(); Thanks and Regards, Kumar Bibek On Mar 12, 9:55 pm, TreKing treking...@gmail.com wrote: On Fri, Mar 12, 2010 at 10:25 AM, Nox v.beh...@googlemail.com wrote: Do you know how to save files?

[android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Ferm
How do I know when zoom has changed? On Mar 12, 7:04 pm, Mark Murphy mmur...@commonsware.com wrote: Ferm wrote: What's the recommended event for when map center and lat/long spans changes? There is no recommended event for those, AFAIK. -- Mark Murphy (a Commons

Re: [android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Mark Murphy
Ferm wrote: How do I know when zoom has changed? Again, there is no good way to do this. A lousy approach that should work indefinitely is to poll the MapView, calling getZoomLevel(), and watch for changes. However, polling is inefficient. A lousy approach that will probably break between

[android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Ferm
hmm, this is very sad I have potentially more than 1000 markers positioned worldwide that are fetched via network. I can't load all these at once in onCreate.. Yeah, maybe I'll set up a timer.. thx On Mar 12, 7:42 pm, Mark Murphy mmur...@commonsware.com wrote: Ferm wrote: How do I know when

Re: [android-developers] Re: Mapview scroll finished Listener

2010-03-12 Thread Mark Murphy
Ferm wrote: hmm, this is very sad I have potentially more than 1000 markers positioned worldwide that are fetched via network. I can't load all these at once in onCreate.. Do two network calls. One fetches a small number of markers in the vicinity of wherever you are having the map start.

Re: [android-developers] Re: How to save files?

2010-03-12 Thread TreKing
On Fri, Mar 12, 2010 at 12:34 PM, Kumar Bibek coomar@gmail.com wrote: FileWriter fw = new FileWriter(/sdcard/test.txt); Do not hard code the SD card path. Use getExternalStorageDirectory(). -

[android-developers] Race condition using handler + thread.

2010-03-12 Thread Anders Aagaard
Hi I have an application that starts a background thread to load data. It uses Handler to pass data back to the main thread. Now this works perfectly most of the time, but not when I switch orientation. What I found was this behavior: - onCreate : Start main view, with background load thread -

[android-developers] Re: Motorola Droid (possible android) multi-touch bug and how to reproduce

2010-03-12 Thread Ed Burnette
Please read and vote for this bug: http://code.google.com/p/android/issues/detail?id=6297 And also see some commentary about it on my blog here: http://blogs.zdnet.com/Burnette/?p=1747 --Ed Editor, Planet Android -- http://www.planetandroid.com -- You received this message because you

[android-developers] Re: Mulit-Touch Problems

2010-03-12 Thread Ed Burnette
Please read and vote for this bug: http://code.google.com/p/android/issues/detail?id=6297 And also see some commentary about it on my blog here: http://blogs.zdnet.com/Burnette/?p=1747 --Ed Editor, Planet Android -- http://www.planetandroid.com -- You received this message because you

[android-developers] EXTRA_OUTPUT problem with video camera - breaks 'retake' and 'delete' buttons

2010-03-12 Thread Anna PS
Hi all, I have a problem with supplying a URI in the EXTRA_OUTPUT to the video camera. If I supply a URI, the file shoots and saves OK to that URI, but the 'retake' and 'delete' buttons on the camera both fail to work - 'retake' does nothing, and 'delete' does a force close. If I don't supply a

[android-developers] Re: EXTRA_OUTPUT problem with video camera - breaks 'retake' and 'delete' buttons

2010-03-12 Thread Anna PS
NB here's my traceback: 03-12 19:25:57.948: INFO/ActivityManager(936): Starting activity: Intent { act=android.intent.action.VIEW dat=file:///sdcard/ election_video.3gp } 03-12 19:25:57.968: ERROR/videocamera(5482): Couldn't view video file:///sdcard/election_video.3gp 03-12 19:25:57.968:

Re: [android-developers] Re: OnPause() - how to resume to an activity which has a Bundle passed to it when it is created

2010-03-12 Thread TreKing
On Fri, Mar 12, 2010 at 12:19 PM, Jeffrey jeffisagen...@gmail.com wrote: What I have done with success in some of my apps is making several parent views that hold each layout within a table layout, and use the menu buttons to change the visibility of the parent view containing the info you

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-12 Thread Samsyn
I admit I have pretty much given up on all the android string formatting, as just being too painfully slow to use during the game itself. I'm actually not using many views any more either, though that's probably just an overreaction on my part. I basically have one view (once the game starts)

[android-developers] google map api are missing

2010-03-12 Thread raqz
hi..i wanted to use the MapActivity but i dont find the google api add on...its not available for download as well... i checked the sdk/addon folder..but its empty...could some one please tell me how to download them -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] google map api are missing

2010-03-12 Thread TreKing
On Fri, Mar 12, 2010 at 3:38 PM, raqz abdulraqee...@gmail.com wrote: hi..i wanted to use the MapActivity but i dont find the google api add on... In Eclipse, Project - Properties - Android - Select on of the Google APIs matching the platform version you want to target (generally the latest

[android-developers] Re: google map api are missing

2010-03-12 Thread raqz
sorry..but i dont find an google api listed there buddy...i dont find a link to download that as well...can you please help me On Mar 12, 4:56 pm, TreKing treking...@gmail.com wrote: On Fri, Mar 12, 2010 at 3:38 PM, raqz abdulraqee...@gmail.com wrote: hi..i wanted to use the MapActivity but i

Re: [android-developers] Re: google map api are missing

2010-03-12 Thread Mark Murphy
raqz wrote: sorry..but i dont find an google api listed there buddy...i dont find a link to download that as well...can you please help me http://developer.android.com/sdk/adding-components.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] Re: google map api are missing

2010-03-12 Thread raqz
i checked the download manager but i dont find the google api package there as well... i downloaded the entire sdk again to check but its not present in the addon either...nor am i able to get it from the manager On Mar 12, 5:09 pm, Mark Murphy mmur...@commonsware.com wrote: raqz wrote:

[android-developers] Re: try to load system JNIs

2010-03-12 Thread fadden
On Mar 12, 8:52 am, Bob Kerns r...@acm.org wrote: Android does the same, except it gives you an object that represents and presumably interfaces to the bootstrap classloader. I've always thought Sun should have done this, too. I believe we inherited this from Harmony, which has code that

Re: [android-developers] Re: Android app only taking up part of screen

2010-03-12 Thread Adrian Vintu
Also see http://adrianvintu.com/blogengine/post/Force-Locale-on-Android.aspx It seems these resolution questions come every few days... BR, Adrian Vintu http://adrianvintu.com On Wed, Mar 10, 2010 at 11:42 AM, Kumar Bibek coomar@gmail.com wrote: Aah, An example of apps running on

[android-developers] where can I get the source code of button

2010-03-12 Thread cindy
Hi, I need to study how to make widget. Where could I get the source code of button? Thanks! Cindy -- 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

[android-developers] Re: Rebuilding Launcher.apk

2010-03-12 Thread Coffee
Hey thanks for the reply! So, once I edit it, and resign it, it probably won't load back into the file, huh? Crap. So I need to build it from source code it seems like, no? On Mar 12, 7:11 am, mah m...@heilpern.com wrote: The apk file is just a zip file; you don't need eclipse to open /

[android-developers] Override default icons of BaseExpandableListAdapter

2010-03-12 Thread Ali Chousein
Hello, I'm trying to override the default icons of an BaseExpandableListAdapter in a class which inherits from BaseExpandableListAdapter. What would be a decent way of doing this? Such a basic thing doesn't seem to be straightforward. Thank you in advance, -Ali -- You received this message

Re: [android-developers] Re: EditText layout for all devices

2010-03-12 Thread Adrian Vintu
LinearLayout android:id=@+id/LinearLayout01 android:layout_height=wrap_content android:weightSum=2 android:layout_width=fill_parent EditText android:text=@+id/EditText01 android:id=@+id/EditText01 android:layout_width=wrap_content

[android-developers] Re: OnPreferenceClickListener does not fire when using setWidgetLayoutResource

2010-03-12 Thread cnich
This was simply related to button type controls having FOCUS. If embededing a button style widget in a preference layout you must set the widget to focusable:false; this will allow default preference click behavior On Feb 24, 8:36 pm, cnich cnichol...@gmail.com wrote: Using onBindView I can

[android-developers] Sending huge files with HttpsUrlConnection???

2010-03-12 Thread AuxOne
I have some Android code that can send files to my webserver using an HttpsUrlConnection, but when it tries to send larger files I get an OutOfMemory exception when opening the OutputStream. Can anyone offer some assistance? It looks something like this: httpConn = (HttpsURLConnection) new

[android-developers] Re: Programmatically check whether Market shows paid apps

2010-03-12 Thread Kieran
I'm on Optus in Australia. Optus is holding out waiting for a bigger cut from Google because they're greedy bastards. If you send a market intent everything seems to work but the user gets a program can't be found message. On Mar 2, 3:25 am, Bob Kerns r...@acm.org wrote: Thanks for raising this

[android-developers] Re: Layout on emulator and phone

2010-03-12 Thread DonFrench
Oddly, I can no longer get an emulator to display a full-resolution 480-800 screen. This is something that changed on me overnight. Even if I specify the resolution explicitly when creating an emulator device, it still comes up 320x480. Has anyone else had this problem and do you have any

Re: [android-developers] Re: OnPause() - how to resume to an activity which has a Bundle passed to it when it is created

2010-03-12 Thread Prajakta Shitole
Hi Jeffrey, Thanks for the suggestion but I have activities and not views. I have separate activities which are being called so I am not sure how I will be able to achieve the same thing that you have implemented. Thanks, Prajakta On Fri, Mar 12, 2010 at 10:19 AM, Jeffrey

[android-developers] Failed to create a UDP Server on Android phone

2010-03-12 Thread Larry
I have tried many tests on how to create a UDP server on android phone. - Devices I was testing: PC (has static public IP over Internet. has a UDP server running) GPhone (it is real phone, not emulator. runs in Tmobile 3G network) - Send a UDP packet from GPhone to PC: [On GPhone:] // create a

[android-developers] Sending custom headers in WebView

2010-03-12 Thread kelvin
I've found some information about this topic, but I was curious as to whether anyone has had any success loading webpages in a WebView with custom headers. There doesn't seem to be any simple way of doing this. I've seen an implementation that involved downloading the webpage and separately

[android-developers] SD Card File I/O

2010-03-12 Thread Pradeep
Hi: I have the following code in my application. When loaded into the phone, I get File Open Exception. Any idea what I may be doing wrong? I suspect some issue with permissions or something but I'm not sure. = code snippet FileOutputStream

[android-developers] How to add scrollbar in a custom view.

2010-03-12 Thread liuwanli
Hi, i have a custom view, when i want to add a scrollbar to it , i have a problem, i have learn the code of GridViewSpecial(which belong to Gallery) , when i copy this line: initializeScrollbars(context.obtainStyledAttributes(android.R.styleable.View)); to my code, i found that my app can't

[android-developers] Re: help

2010-03-12 Thread christian.posta
Hi Subrat, You might want to try NOT using localhost. From what I understand, using localhost on the emulator/device points to the localhost of the emulator/device NOT the intended localhost of your machine. Try figuring out what the IP address is of your machine (ipconfig/ifconfig for

[android-developers] Map API Key in MAC

2010-03-12 Thread Ewing
i using mac to develop android NOw i need use google map i want to know how to get the java keytool MD5 in the mac -- 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: TextView before ListView

2010-03-12 Thread christian.posta
Without posting the XML snippet of the layout, we can't help much. I would suggest posting the code to let us see what exactly you're trying. Otherwise, play around with the layout_width and layout_height options. They could be causing your layout not to render as you expect. On Mar 11, 5:35 am,

[android-developers] Re: help

2010-03-12 Thread christian.posta
Hi Subrat, You might want to try NOT using localhost. From what I understand, using localhost on the emulator/device points to the localhost of the emulator/device NOT the intended localhost of your machine. Try figuring out what the IP address is of your machine (ipconfig/ifconfig for

[android-developers] SQLite onUpgrade

2010-03-12 Thread xdm40
For some reason, my onUpgrade method is not getting called when it should. I have incremented both the application version and the database version. When I re-install the application on the emulator using: adb install -r app.apk It installs the newer version, but when I load the application,

[android-developers] scroll a layout in all direction (and zooming)

2010-03-12 Thread JayhC
hello, I want to make an app where i can scroll the layout/view in all directions (both horizontally and vertically at the same time, like in the browser app). Maybe with GestureListener? I already managed to read and test tutorials about scrolling large images but i want to scroll the whole

[android-developers] Use spinner to store/retrieve shared preferences

2010-03-12 Thread Eric
Hi, Is there any example code to use spinner to store/retrieve the shared preferences. I'd like to create a similar setting menu as it is in Google's my tracks application. Thanks, -Eric -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Previewing video prior to download

2010-03-12 Thread ScottM
Is there an elegant way to preview video content through an app before downloading it to the handset? -- 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

[android-developers] Status of SVOX Pico opensource-ness

2010-03-12 Thread Mathieu Parent
Hi, SVOX Pico is a great product which enhance the TTS support based on free software. Thanks for this! As a Debian developer (I want to package this software), I see several limitations to the files provided in git, regarding the license: Lingware files in /pico/lang (master branch) are

[android-developers] Get item selected from spinner

2010-03-12 Thread Nitesh
Hi all, I am a newbie coder and new to the SDK. I was just playing around with an app that i made. I wanted to know as to how to retrieve the item id of the selected item from the spinner when the spinner is re- populated. For example, I created 2 spinners, if you selected item 0 from spinner1

[android-developers] geo fix loses longitude/latitude precision

2010-03-12 Thread xt knight
When using geo fix from the console, some information is truncated due to poor casting in the code of external/qemu/android/console.c. I came across that problem when plugging in coordinates for my house and realizing whatever location was being sent to the emulator was off by a few blocks. The

[android-developers] Application signature mismatch

2010-03-12 Thread Joshua Frank
Sometimes I use my laptop to code and sometimes my desktop. Every time I reinstall the android app using a different system it complains about different application signatures and I have to uninstall the app. Is there a way to make them match on multiple systems? -- Joshua Frank -- You

Re: [android-developers] Cannot sendBroadcast Intent to receiver which has permission.

2010-03-12 Thread satish k
Hi All, How can i call one activity to other activity without using intents and services is there any solution for this please help me cheers, k.satish -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] How to add scrollbar in a custom view.

2010-03-12 Thread NapoleonLiu
Hi, i have a custom view, when i want to add a scrollbar to it , i have a problem, i have learn the code of GridViewSpecial(which belong to Gallery) , when i copy this line: initializeScrollbars(context.obtainStyledAttributes(android.R.styleable.View)); to my code, i found that my app can't

[android-developers] How can i call one activity to other activity without using intents and services

2010-03-12 Thread satish k
On Fri, Mar 12, 2010 at 1:30 PM, satish k satish@gmail.com wrote: Hi All, How can i call one activity to other activity without using intents and services is there any solution for this please help me cheers, k.satish -- You received this message because you are subscribed to

[android-developers] HTML5 Geolocation Features

2010-03-12 Thread Aurovo
I'm trying to use the HTML5 Geolocation features found in Android 2.0. However, it does not work in the browser or a WebView. I've tested in the emulator and on multiple devices. The code I have works in multiple other browsers that support the spec. Has anyone gotten this to work? -- You

  1   2   >