[android-developers] Re: Method for flashing a device HTC G1 dev edition

2009-07-17 Thread John Smith
2009/7/17 GAYET Thierry thierry_ga...@yahoo.fr I have just re-compile the android source code for the HTC G1 developement edition and i am looking for the procedure i can follow in order to reflash my device. Do a search on using flashboot

[android-developers] Re: Debug Native JNI code on Android emulator

2009-07-17 Thread Krystian Lewandowski
Hi, thanks for information, anyway i'm using gdbserver from official android repository. I found the problem. When trying to debug JNI using gdb, ddd or eclipse one should not provide .so as input file but app_process instead. It works for me. Krystian On 16 Lip, 22:40, fadden

[android-developers] Re: plz help me for this question

2009-07-17 Thread tstanly
this web helps a lot! http://www.curious-creature.org/2009/03/01/android-layout-tricks-3-optimize-part-1/ On 7月17日, 下午1時15分, tstanly tsai.sta...@gmail.com wrote: thanks! but I have two imagebutton, so use table layout seems not good idea... On 7月17日, 下午1時11分, Saurav Mukherjee

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-17 Thread Piwaï
Hi there! I had to write a duplicate of the image viewer last week. And I couldn't find the Image View source code. For those wondering why I didn't use the intents, it's just because my images are dynamically loaded from the web... Since I did it for my company, I can't publish the source

[android-developers] Re: error while building the android code using make

2009-07-17 Thread Ask
Hi Fred, If you got the answer then can you please send me some useful link. I had searched but could not got the proper answer (it could not solve my issue). Thanks in advance. On Jul 16, 8:47 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: simple  google search usually turns up

[android-developers] Why the duration of clip is differen between VideoView.getDuration and MediaMetadataRetriever.extractMetadata(MediaMetadataRetriever.METADAT A_KEY_DURATION)

2009-07-17 Thread Chenny
Hi Friends, When I create an APP for Media test, I'd like to get the duration of tested clip. Nut as the debug result, the duration is different between the 2 methods for many clips. Method 1: MediaMetadataRetriever retriever = new MediaMetadataRetriever();

[android-developers] How to make framework (progress bar and trick mode button such as FF, FB, Pause) not disappear with android.widget.VideoView

2009-07-17 Thread Chenny
Hi guys, I am creating a player for multimedia test with android.widget.VideoView. I'd like the framework (progress bar and trick mode button such as FF, FB, Pause) of player view not disappear as I'd like to see the playing status and time status. But as default, the progress bar and button

[android-developers] Re: Question about setComponent() of Iintent

2009-07-17 Thread Dianne Hackborn
Sorry I don't know much about the MMS app. All I can say is, you definitely shouldn't be setting explicit components for these kinds of things -- that is very much an implementation detail, which can vary across devices and platform releases. On Thu, Jul 16, 2009 at 9:27 PM, n179911

[android-developers] Re: Calender app on [emulator/custom devices]

2009-07-17 Thread Dianne Hackborn
You can try building it with the platform build system, and using adb to install it on the device, but because it uses private APIs there is no guarantee at all that it will actually work. Also there is a large issue with regard to Market: the calendar source is supplied as part of the

[android-developers] Query and delete contact on SIM failed

2009-07-17 Thread Stanley.lei
Hi, We are writing the application about accessing the contacts on SIM, including add, query, and delete. The operation add works well, while the query operation will return all records on SIM although I have added the selection condition, such as name=xxx, and the delete operation doesn't work

[android-developers] Re: Query and delete contact on SIM failed

2009-07-17 Thread Zsolt Váradi
Hi, On Fri, Jul 17, 2009 at 10:59 AM, Stanley.leixiaofeng.lei...@gmail.com wrote: Hi, We are writing the application about accessing the contacts on SIM, including add, query, and delete. The operation add works well, while the query operation will return all records on SIM although I

[android-developers] Re: Query and delete contact on SIM failed

2009-07-17 Thread Stanley.lei
Thanks for your reply. I have tried your solution, but it still doesn't work. I also have tried with number=xxx to delete the contact, just as the code, it could delete nothing, which will return 0 row is deleted. Regards, Stanley On Jul 17, 5:03 pm, Zsolt Váradi karma...@gmail.com wrote:

[android-developers] EditText

2009-07-17 Thread peeyush varshney
Hi, How to make a TextView Editable. -- Thank Regards Peeyush Varshney --~--~-~--~~~---~--~~ 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: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-17 Thread Desu Vinod Kumar
HI Thanks for ur response it amy be helpful for me On Fri, Jul 17, 2009 at 12:33 PM, Piwaï py.ri...@gmail.com wrote: Hi there! I had to write a duplicate of the image viewer last week. And I couldn't find the Image View source code. For those wondering why I didn't use the intents,

[android-developers] Re: extending parcelables

2009-07-17 Thread Bart van Wissen
On Jul 16, 6:52 pm, Dianne Hackborn hack...@android.com wrote: Just use ArrayListParcelable as your data type. Putting ListParcelable in my aidl file resulted in the following errors: The method writeBinderList(ListIBinder) in the type Parcel is not applicable for the arguments

[android-developers] Re: peekService only returning null IBinder

2009-07-17 Thread Ola
Thanks for your help. Using startService my program works as expected! //Ola On Jul 17, 12:10 am, Dianne Hackborn hack...@android.com wrote: A broadcast receiver can certainly use startService().  That is the standard way for them to do some longer-running operation. On Thu, Jul 16, 2009

[android-developers] Re: error while building the android code using make

2009-07-17 Thread Android development
Hi Asif k, Have you resolved this problem? I have the same problem. [...@myandroid]$ make build/core/product_config.mk:232: WARNING: adding test OTA key TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release

[android-developers] Re: Issue to connect at IMAP4 server with Anrdoid

2009-07-17 Thread Dayn
here preview errors: 07-17 11:23:21.299: INFO/jdwp(1088): received file descriptor 25 from ADB 07-17 11:23:21.339: INFO/global(1088): Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if an 8k buffer is required. 07-17 11:23:21.469:

[android-developers] Re: Issue to connect at IMAP4 server with Anrdoid

2009-07-17 Thread Mark Murphy
Dayn wrote: 07-17 11:23:21.469: WARN/dalvikvm(1088): VFY: unable to find class referenced in signature (Ljavax/activation/DataHandler;) 07-17 11:23:21.519: ERROR/dalvikvm(1088): Could not find method javax.activation.DataHandler.getName, referenced from method

[android-developers] Re: Speech Codec Support for Android

2009-07-17 Thread Tez
Hi, thanks for the reply. I was wondering what kind of Speech codec support is available for VoIP applications i.e for encoding of PCM audio suitable for transport over the network eg : like Speex., GSM etc Cheers, Earlence On Jul 16, 10:56 pm, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote:

[android-developers] Re: complete action using

2009-07-17 Thread Peli
Set an intent filter in your Manifest to handle the desired action. Peli www.openintents.org On Jul 17, 2:06 am, freeanderson freeander...@gmail.com wrote: hi how can I register my app to show in 'complete action using dialog'? Thank you.

[android-developers] Re: TabHost Listview dissapearing after going to SMS screen and back.

2009-07-17 Thread Pablo Szyrko
I have a similar issue. Is this an Android bug? On 9 jul, 12:35, extrapedestrian extra.pedestr...@gmail.com wrote: its me again, here is simple example to reproduce this bug, please if anyone can confirm it, (or point out mistake i make) i would appreciate it... public class TabHostListView

[android-developers] Re: Server/Client in different machines

2009-07-17 Thread Zeeshan Muhammad
thanks jason, i am able to connect but when i try to read data from inputStream at server side i got exception java.net.SocketException: Connection reset client: Socket socket = new Socket(SERVER_IP , 8626 ); os = new DataOutputStream(socket.getOutputStream()); os.writeBytes(HELO\n);

[android-developers] Re: Server/Client in different machines

2009-07-17 Thread Zeeshan Muhammad
thanks jason, i am able to connect but when i try to read data from inputStream at server side i got exception java.net.SocketException: Connection reset client: Socket socket = new Socket(SERVER_IP , 8626 ); os = new DataOutputStream(socket.getOutputStream()); os.writeBytes(HELO\n);

[android-developers] Re: Question about setComponent() of Iintent

2009-07-17 Thread Peli
It is always best to look into the source code of the MMS app. The Manifest defines *either* SENDTO + mms-URI *or* SEND + media URI: http://android.git.kernel.org/?p=platform/packages/apps/Mms.git;a=blob;f=AndroidManifest.xml;h=dd380e50427e78dbdee22176d8927786e924e24c;hb=HEAD#l77 There is no

[android-developers] Re: Video with MediaRecorder

2009-07-17 Thread Zeeshan Muhammad
does it mean there is a bug in this intent android.provider.MediaStore.* ACTION_VIDEO_CAPTURE* is anybody have luck? On Mon, Jul 13, 2009 at 9:11 PM, hanged_man majd...@gmail.com wrote: Muhammad, i tried the issue locally and it seems to be something wrong with the camcorder itself (in the

[android-developers] Re: Wrapping AndroidService with a package

2009-07-17 Thread Mark Murphy
Naveen Krishna Ch wrote: Yes. I saw your post from four hours ago on [android-developers]. Your post did not make much sense to me then, and it makes no more sense to me now. Don't be so hard Murphy, You emailed me personally, only four hours after posting to this list, with

[android-developers] Re: Issue to connect at IMAP4 server with Anrdoid

2009-07-17 Thread Dayn
Well I found the issue: I had to custom activation.jar with WinZip. So now there are 3 following folder in activation.jar: - \activation\com\sun\activation\registries - \activation\javax\activation - \activation\META-INF Thanks Dany --~--~-~--~~~---~--~~

[android-developers] ANDROID BUG: Large Gif Images can not be displayed

2009-07-17 Thread Muniraju
This is with reference to http://groups.google.com/group/android-developers/browse_thread/thread/cc499cf6e7ed9eb1/d52329bcfdd23923?lnk=gstq=Gif+Image#d52329bcfdd23923. Large gif images of size more than 4MB can not displayed in android. Is this is a known issue in android? Thanks, With

[android-developers] Is getting android Ksoap2 response in Xml for all of them ?

2009-07-17 Thread android.vinny
Hi Is all of them Getting the response from the Soap Server in xml format when we consuming the soap Web services in android ? when we are print the SoapObject response? which format of response all of them getting from the server.. i saw some discussing max people getting

[android-developers] Re: plz help me for this question

2009-07-17 Thread Moto
Don't want to be rude but you should always make a proper title for your post... At least a hint what your asking... It kind of helps... :P --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: EditText

2009-07-17 Thread peeyush varshney
it depends on Context like when Qwerty is closed it should be TexView otherwise editText.. On Fri, Jul 17, 2009 at 5:12 PM, Peli peli0...@googlemail.com wrote: Why don't you simply use EditText? Peli www.openintents.org On Jul 17, 11:15 am, peeyush varshney varshney.peey...@gmail.com

[android-developers] Re: EditText

2009-07-17 Thread Peli
Are you sure this is a good idea? There are phones without a physical keyboard, and then users could not edit any text. The simplest way is to define both, TextView and EditText and setVisibility(View.GONE) or View.VISIBLE to only show one of the two, if you still need to do this. Peli On Jul

[android-developers] Re: Radio interface stats

2009-07-17 Thread ain
There is not much info but you could start looking at the source specifically the file RadioInfo.java. Hope that helps. On Jun 27, 4:05 pm, craft milos.cubr...@gmail.com wrote: Is there an URL where I can find documentation on how to getradio interface stats (signal level, registered BTS's /

[android-developers] How to create HTTP request, and how to create a connection object.

2009-07-17 Thread Chris
How to create an HTTP request object of POST type in android? Which class need to be extend or what method need to implement? How to establish connection to a server? Actually i want to connect to a microsoft exchange server, and then i have to send a request to it using HTTP. I dont have any

[android-developers] Re: How to create HTTP request, and how to create a connection object.

2009-07-17 Thread Peli
Why don't you simply try a Google search? http://www.google.com/search?q=http+post+java Peli www.openintents.org On Jul 17, 3:52 pm, Chris narendrasingh.bi...@gmail.com wrote: How to create an HTTP request object of POST type in android? Which class need to be extend or what method need to

[android-developers] About the oneway keyword in AIDL

2009-07-17 Thread Guillaume Perrot
Hello, I found in Android source code an interesting but undocumented keyword for aidl: oneway (before void in a function). As it sounds, the generated code uses the corresponding flag http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY when performing the remote

[android-developers] Re: Maven Android Plugin: stable version 2.0.0 released

2009-07-17 Thread Piwai
I will for sure have a look at this new version! The main functionality I am waiting from this Maven Plugin is a full compatibility with the Android Eclipse Plugin. I remember that the first version of the plugin didn't integrate well with Eclipse... Is it ok now ? If yes, I will quickly

[android-developers] Re: java.net.SocketException: Connection reset

2009-07-17 Thread Guillaume Perrot
The most probable reason is a NAT/gateway timeout caused by idleness. If you can confirm that this is actually the cause, you'll have to implement a keep alive mechanism (and use an alarm manager and a wake lock). On Jul 17, 4:17 pm, zeeshan genx...@gmail.com wrote: Hi Dear, i got this

[android-developers] How to use Google sync? Exchange ActiveSync

2009-07-17 Thread T_sky
Dear All: When I come to Google sync through the method as follows: Settings-Data synchronization-Data synchronization-Exchange ActiveSync Setting my Gmail account and password, go to next Then shows : Email address::My Gmail account Server address: what’s set in this place? Domain: what’s set

[android-developers] Re: EditText

2009-07-17 Thread Peli
Here is what is done for EditText: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/EditText.java;h=57aca240502b0e78a4e8bc6e1468ff25ed236312;hb=HEAD As you can see, it also uses a couple of custom styles, that can be found here:

[android-developers] Re: open context menu for a specific item of the list

2009-07-17 Thread Peli
onCreateContextMenu() should be called before the context menu is displayed.. so this would be the place to set whatever you want to set. Peli www.openintents.org On Jul 17, 4:28 pm, Georgios Galyfos yorg...@gmail.com wrote: Hi, I am using openContextMenu() when someone clicks on an item of

[android-developers] Drawing a dotted line

2009-07-17 Thread karthikr
Hi Guys, How do i draw a dotted rectangle on a bitmape. Currently i use the following code, to draw a rectangle, but i want the line to be a dotted one. Can someone help me out... Paint mPaint = new Paint(); mPath.addRect(left, top, right, bottom, Direction.CCW); mPaint.setAntiAlias(true);

[android-developers] Re: Drawing a dotted line

2009-07-17 Thread Peli
Have you looked into the API demos? There are a couple of examples of lines with various patterns. Peli www.openintents.org On Jul 17, 5:49 pm, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, How do i draw a dotted rectangle on a bitmape. Currently i use the following code, to draw

[android-developers] Re: How do I launch the GMail client programmatically?

2009-07-17 Thread Peli
As far as I know, GMail does not provide intent filters for the standard ACTION_SEND. (which to my opinion it should!) But it is difficult to tell, as the source code does not seem to be available either. Peli www.openintents.org On Jul 16, 5:00 pm, Flying Coder av8r.st...@gmail.com wrote: I

[android-developers] Re: Why the system kill my process?

2009-07-17 Thread Peli
You should move actions that take a long time from the GUI thread to a separate thread. Peli www.openintents.org On Jul 16, 9:51 am, Ivy ytang1...@gmail.com wrote: I have  many contacts in my G1,much as 2000. When i call sb, the system will find this one is in my contacts or not.Is there any

[android-developers] Re: Extend core apps in the SDK

2009-07-17 Thread Peli
You could change the package in the Manifest to a package name you own (com.yoursite.yourapp), and rename the corresponding packages used in the source. Classes that are public and supported are documented here: http://developer.android.com/reference/packages.html Peli www.openintents.org On

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Mark Murphy
Wouter wrote: I am developping an API for my web application and get a problem when i try to run my android application. Log file: 07-17 18:01:07.114: ERROR/dalvikvm(6691): Could not find method javax.xml.parsers.SAXParserFactory.setSchema, referenced from method

[android-developers] IHardwareService. How to use in your code?

2009-07-17 Thread LD
is there a way to use somehow IHardwareService. It is not visible, but documentation concerning it can be found. So looks like there should be some way to use it. Could you please advice how to do this? Thanks. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Why the duration of clip is differen between VideoView.getDuration and MediaMetadataRetriever.extractMetadata(MediaMetadataRetriever.METADAT A_KEY_DURATION)

2009-07-17 Thread Marco Nelissen
Method #1 gets the duration from the metadata in the file, which in practice is often wrong. On Fri, Jul 17, 2009 at 12:15 AM, Chennychenny...@gmail.com wrote: Hi Friends, When I create an APP for Media test, I'd like to get the duration of tested clip. Nut as the debug result, the

[android-developers] Re: Speech Codec Support for Android

2009-07-17 Thread Yusuf T. Mobile
Now I understand your question. sipdroid is an open-source package that does VoIP on Android. It includes G711. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: Question about setComponent() of Iintent

2009-07-17 Thread Peli
This is because Email does not accept SENDTO + mms-URI, but it accepts SENDTO + mailto-URI: http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=blob;f=AndroidManifest.xml;h=025d495010073629df95090c588efad2d2e4fe69;hb=HEAD#l117 Unfortunately, you have to use the SEND action if you

[android-developers] SDK 1.5_r3 is available

2009-07-17 Thread Dan Morrill
Hi, all! I wanted to let you know that a new SDK has been released: 1.5_r3 is now available. This is a minor release, and includes a Japanese IME and fixes for a few bugs, including a permissions issue. You can read more about the permissions issue here:

[android-developers] Re: IHardwareService. How to use in your code?

2009-07-17 Thread LD
Also I wanted to ask following. In class android 1.5 source\frameworks\base\services\java\com\android\server \HardwareService I have found method that looks like would help me in solving my Screen Brightness problems (smooth transitions): public void pulseBreathingLight() could you please

[android-developers] Re: Radio interface stats

2009-07-17 Thread Roman
Which radio are you interested in? Wifi, cellular, bluetooth? In case of cellular look in the telephony package of android. The package supports a listener PhoneStateListener. For example for listen to Signal strength changes you would use onSignalStrengthChanged(int) Find the API

[android-developers] Video with MediaRecorder

2009-07-17 Thread Jason Proctor
if you're using the camera on the emulator, then you have to disable auto orientation changes to get it to work. at least, i picked this info off the network and it worked for me. i'm doing manual capture with my own MediaRecorder code, and remote capture with the vide capture intent,

[android-developers] Android video and the browser

2009-07-17 Thread sjol
This may not be the proper place but I've yet to find the answer! How should I develop website so that when a user click on a link to my video it will play ? Embed codes work on the iPhone, but they display a broken plugin sign on the android and the gears concept doesn't enable me to tell the

[android-developers] How can I store a file in content provider?

2009-07-17 Thread he.cao
As the documents said: If you are exposing byte data that's too big to put in the table itself — such as a large bitmap file — the field that exposes the data to clients should actually contain a content: URI string. This is the field that gives clients access to the data file. The record

[android-developers] Re: Bitmap from Camera Preview using BitmapFactory.decodeByteArray

2009-07-17 Thread bseib
Max, I also was trying to crop my preview to show it in a smaller space. But it would cram the whole image into the smaller view I created. I studied some of the android source code, tried and failed at many remedies, and finally settled on a tacky compromise: 1) I created a SurfaceView that

[android-developers] Convert PDF to XML

2009-07-17 Thread Harvesh Modh
Convert to XML specialize in converting your PDF document into xml and vice versa. We convert your PDF file into XML format at reasonable rates with quality and accuracy. Use our FREE trial to check whether our PDF to XML conversion services meets your needs. Outsource all your PDF conversion

[android-developers] Re: Google Login Service not working on SDK 1.5

2009-07-17 Thread Donal
Hi All, There is a open issue (#2679) on this in the Android Issue Tracker (http://code.google.com/p/android/issues/detail?id=2679). If you want to help get this fixed, it would be an idea to go to the issue and 'star' it. (I'm assuming the more people who star an issue, the faster it will get

[android-developers] Re: Android video and the browser

2009-07-17 Thread Mark Murphy
sjol wrote: This may not be the proper place but I've yet to find the answer! How should I develop website so that when a user click on a link to my video it will play ? Embed codes work on the iPhone, but they display a broken plugin sign on the android and the gears concept doesn't enable

[android-developers] how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-07-17 Thread jiaoni
How can I catch SCREEN_ON/SCREEN_OFF broadcasts? I have tried for hours, but failed. Please help. Thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Using orientation sensor to get 3 60° orientation?

2009-07-17 Thread f_heft
Hello, I have a problem with working with the ORIENTATION values of the SensorManager. I would like to have some kind of 360°-value which directly shows me if the phone is in normal portrait (0°), landscape, portrait turned around (180°) or anything in between. So I could have, for example, an

[android-developers] Re: Server/Client in different machines

2009-07-17 Thread Jason Proctor
connection reset usually means that the connection was closed unexpectedly during a read operation. in the client, are you waiting for the server's response? as always, i recommend getting stuff like this to work as a little command line tool before deploying to the phone. the write/debug

[android-developers] Where to buy a ADP1 Backplate/Battery Cover (with the Android robots)

2009-07-17 Thread JBDynamics
I bought an ADP1 from Brightstar Corp in November 2008 and everything was great until about a month ago when the camera window shattered in my pocket. I've called Brightstar who told me to call HTC, I did and they only sold the T-Mobile G1 backplates. My Android Market homepage only allows me to

[android-developers] Re: About the oneway keyword in AIDL

2009-07-17 Thread Marco Nelissen
On Fri, Jul 17, 2009 at 7:20 AM, Guillaume Perrotguillaume.p...@gmail.com wrote: Hello, I found in Android source code an interesting but undocumented keyword for aidl: oneway (before void in a function). As it sounds, the generated code uses the corresponding flag

[android-developers] Screen becomes black while Swicthing Activity

2009-07-17 Thread Sundar
There is an activity which fetches xml data from the network, parses it and displays it in the UI. When the user clicks on any of the link or button on the screen I call startActivity with new Intent object of the same activity. I do this to have the activity on the history stack. Previously I

[android-developers] Can't install the latest security update (CRC1)

2009-07-17 Thread isellapples
Hi, The 1.5 CRC1 update was pushed out on Wednesday/Thursday, but I'm unable to install it. Its continuously downloading it in the background (now used nearly 40Mb in two days) but nothing happens. When I try to force the update myself through the Firmware Update option, it downloads

[android-developers] Re: Any plan for support OMA-DM?

2009-07-17 Thread timj.wdsglo...@googlemail.com
Hi, We have contributed OMA CP support to AOSP. https://review.source.android.com/Gerrit#change,9054 OMA CP provides for the key use cases of operator settings configuration. I expect advanced DeviceManagment use cases (eg remote lock and wipe, backup/restore) to be implemented as Android

[android-developers] Disabling specific wireless radios in the airplane mode

2009-07-17 Thread Akhilesh Gupta
Hi I have written code in my application to programmatically enable/ disable the airplane mode. This part of the application is working as intended. However, I also wish to disable only specific radios when the airplane mode is switched on. I found that there is the following string constant in

[android-developers] Re: JAVA Coding standards for Android Platform

2009-07-17 Thread Peli
It helps to spend a second to look into the official documentation: http://developer.android.com/guide/practices/design/performance.html Peli www.openintents.org On Jul 17, 8:04 pm, Kumaravel Kandasami kumaravel.kandas...@gmail.com wrote: Hi, I wanted to check whether there is any JAVA

[android-developers] Re: Screen becomes black while Swicthing Activity

2009-07-17 Thread Mark Murphy
Sundar wrote: There is an activity which fetches xml data from the network, parses it and displays it in the UI. When the user clicks on any of the link or button on the screen I call startActivity with new Intent object of the same activity. I do this to have the activity on the history

[android-developers] Re: Android video and the browser

2009-07-17 Thread sjol
either a plugin or the one that seems to play when I browse the youtube site ... it looks to me like there is a default player, am I wrong ? On Jul 17, 2:10 pm, Mark Murphy mmur...@commonsware.com wrote: sjol wrote: This may not be the proper place but I've yet to find the answer! How

[android-developers] Re: Problem with Reflection Annotations!

2009-07-17 Thread Sergio Ciruela
When I try to use the standar output the next instruction crash my application: I have the next code: methodsObject1=this.getClass().getDeclaredMethods(); for(Method method:methodsObject1){

[android-developers] Re: IllegalAccessError - any clues when this may come..

2009-07-17 Thread Elvis Dowson
Hi Raja, Were you able to resolve this error? : java.lang.IllegalAccessError: cross-loader access from pre-verified class Best regards, Elvis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Problem with Reflection Annotations!

2009-07-17 Thread fadden
On Jul 17, 10:55 am, Sergio Ciruela cirudinezid...@gmail.com wrote: I am using Android 1.5 to develope an application with reflection and annotations. I have the instructuin method.isAnnotationPresent(importance.class) and the application have problems because I have tryed to print in the

[android-developers] Re: Android video and the browser

2009-07-17 Thread Mark Murphy
sjol wrote: either a plugin or the one that seems to play when I browse the youtube site ... it looks to me like there is a default player, am I wrong ? There is the YouTube application, which plays YouTube videos. There are video player *engines*, but these are not available as an

[android-developers] Re: About the oneway keyword in AIDL

2009-07-17 Thread Guillaume Perrot
That is not a problem in my use case [?] 2009/7/17 Marco Nelissen marc...@android.com On Fri, Jul 17, 2009 at 7:20 AM, Guillaume Perrotguillaume.p...@gmail.com wrote: Hello, I found in Android source code an interesting but undocumented keyword for aidl: oneway (before void in a

[android-developers] Re: Using orientation sensor to g et 360° orientation?

2009-07-17 Thread Peli
I wonder why you don't look into the documentation where everything is explained? http://developer.android.com/reference/android/hardware/SensorEvent.html#values The first value means you point your phone 60° away from the north pole. PS: If you don't need compass orientation, it may be

[android-developers] Re: Screen becomes black while Swicthing Activity

2009-07-17 Thread Maps.Huge.Info (Maps API Guru)
You might also want to display an indeterminate progress dialog so your users won't think the app is frozen. -John Coryat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Disabling specific wireless radios in the airplane mode

2009-07-17 Thread Streets Of Boston
I think this is deliberate. If the user chooses Airplane Mode, he/she expects that all radios that need to be turned off (by law/airline-regulation) are indeed turned off. What's the use of Airplane Mode if it leaves some radios turned on that would make the phone not be in Airplane Mode, i.e.

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Wouter
Hey, I solved this problem by using an older version 1.81 where this method wasnt included! But now i have another problem.. 07-17 21:02:26.854: ERROR/dalvikvm(28518): Could not find method java.beans.Introspector.decapitalize, referenced from method

[android-developers] error: cloning the kernel from git

2009-07-17 Thread krishna devarapalli
git clone git://git.android.kernel.org/kernel/common.git kernel-common Initialized empty Git repository in /home/sreevani/mydroidkernel/kernel-common/.git/ fatal: Unable to look up git.android.kernel.org (port 9418) (Name or service not known) fetch-pack from

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Mark Murphy
Wouter wrote: Hey, I solved this problem by using an older version 1.81 where this method wasnt included! But now i have another problem.. 07-17 21:02:26.854: ERROR/dalvikvm(28518): Could not find method java.beans.Introspector.decapitalize, referenced from method

[android-developers] Re: Android video and the browser

2009-07-17 Thread Jason Proctor
video is coming, hopefully soon. that's if Apple stop messing it up. until then, you can do this the long way round. install a click handler then when a link to your video fires, route off to your activity which plays the movie using MediaPlayer. not so much work. This may not be the

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Wouter
Hey, the weird here i looked into java beans and there is a decapitalize method.. But how can i modify the betwixt code (if i download the source, i can change it, but how can i make a jar file to import it in eclipse?)? these are my logs now: 07-17 21:17:17.324: ERROR/dalvikvm(28984): Could

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Mark Murphy
Wouter wrote: the weird here i looked into java beans and there is a decapitalize method.. But how can i modify the betwixt code (if i download the source, i can change it, but how can i make a jar file to import it in eclipse?)? That would be a question for the Digester/Betwixt people.

[android-developers] Re: Android video and the browser

2009-07-17 Thread Mark Murphy
Jason Proctor wrote: video is coming, hopefully soon. that's if Apple stop messing it up. until then, you can do this the long way round. install a click handler then when a link to your video fires, route off to your activity which plays the movie using MediaPlayer. not so much work.

[android-developers] Re: Android video and the browser

2009-07-17 Thread sjol
How do I install a click handler ? is there and Android javascript lib for that ? My goal is to make so any user not just myself, and without to much hassel, can play the films. is HTML5 in cupcake yet? On Jul 17, 3:17 pm, Jason Proctor jason.android.li...@gmail.com wrote: video is coming,

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Wouter
Ok i will try that! What is the best way to deserialize xml to objects? On Jul 17, 9:32 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter wrote: the weird here i looked into java beans and there is a decapitalize method.. But how can i modify the betwixt code (if i download the

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Mark Murphy
Wouter wrote: Ok i will try that! What is the best way to deserialize xml to objects? Well, I am a fan of Excedrin, but you can use whatever pain reliever you prefer (aspirin, whiskey, etc.)... ;-) There is no generic deserialize XML to objects in Android. In part, I imagine it is because

[android-developers] Android video and the browser

2009-07-17 Thread Jason Proctor
I was under the impression the OP wasn't an Android developer. Click handlers and MediaPlayers wouldn't be an option for somebody just trying to make their Web site more Android browser-friendly. OTOH, I may have interpreted the OP incorrectly... no it's me that has it wrong. apologies to the

[android-developers] Timer TimerTask latency

2009-07-17 Thread Jason Proctor
seems like i'm running into some latency issues with the regular Java Timer and TimerTask classes. does Android have preferred classes for doing the same kind of thing? tx -- jason.software.particle --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Wouter
:D funny! But i have a rest web service and I already have a sax parser that parses my xml file and saves it in a sqlite database. But i was wondering that reading a xml file and save it objects would be much easier? On Jul 17, 9:40 pm, Mark Murphy mmur...@commonsware.com wrote: Wouter

[android-developers] Heap Size in Eclipse

2009-07-17 Thread Sergio Ciruela
Hi, I am using Annotations and relfection in Android. When I am running an application the process is died by the Emulator. I would like to change the heap size to increment its size. If it is not a good idea I would like to know a better solution for my problem. Thanks for all.

[android-developers] Re: VerifyError commons digester

2009-07-17 Thread Mark Murphy
Wouter wrote: :D funny! But i have a rest web service and I already have a sax parser that parses my xml file and saves it in a sqlite database. But i was wondering that reading a xml file and save it objects would be much easier? Save it as objects...how? Where? I'd stick with SAX for

[android-developers] Re: open context menu for a specific item of the list

2009-07-17 Thread Georgios Galyfos
Hi and thanks for the reply. To be honest I had this idea myself, but I didn't know what to pass as parameters to this method: onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) any ideas?? On Fri, Jul 17, 2009 at 6:31

[android-developers] Re: About the oneway keyword in AIDL

2009-07-17 Thread Dianne Hackborn
Well the flag is not private, so the keyword can't be too private. :) There are lots of gotchas with this though -- ordering of delivery is tied to the target object (so you can receive calls on different interfaces out of order), and this does NOT impact calls in the same process. On Fri, Jul

[android-developers] Re: SDK 1.5_r3 is available

2009-07-17 Thread dan raaka
So what are the steps to use this SDK and adb into Samsung Galaxy -Dan On Fri, Jul 17, 2009 at 10:35 AM, Dan Morrill morri...@google.com wrote: Hi, all! I wanted to let you know that a new SDK has been released: 1.5_r3 is now available. This is a minor release, and includes a Japanese IME

  1   2   >