[android-developers] Re: SQLite DROP Database

2009-07-15 Thread john
uninstall the application On 7月15日, 下午1時07分, Saurav Mukherjee to.saurav.mukher...@gmail.com wrote: if have rights to the shell, then u can jus try this: rm database name On Wed, Jul 15, 2009 at 2:44 AM, Kumaravel Kandasami kumaravel.kandas...@gmail.com wrote:  How to drop a database

[android-developers] Android Camera IntentFilter from Manifest

2009-07-15 Thread ivan
Can someone post the exact code of Android's Camera App's IntentFilter from the manifest? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: getView from CustomizedAdapter called several times

2009-07-15 Thread Mika
Hi, I'm having the same problem. Did you find any solutions?? -Mika On Jun 24, 7:39 pm, jabu jabu.j...@gmail.com wrote: Hi Everyone, I am implementing my ownadapterthat inherits from BaseAdapter (this is something very classic). Then when I start the activity that owns the listView binded

[android-developers] Can Any body give the suggestions for this...

2009-07-15 Thread android.vinny
HI I have pasted one screen shot how can i do when i click the image i need to see the title bar with buttons and image buttons view is in the below pasted image... thanks a lot in advance. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Can Any body give the suggestions for this...

2009-07-15 Thread Desu Vinod Kumar
On Wed, Jul 15, 2009 at 12:16 PM, android.vinny vinny.s...@gmail.comwrote: HI I have pasted one screen shot how can i do when i click the image i need to see the title bar with buttons and image buttons view is in the below pasted image... thanks a lot in advance. -- Regards

[android-developers] Re: logcat behavior

2009-07-15 Thread Till
Hi -d- directs command to the only connected USB device returns an error if more than one USB device is present. -e- directs command to the only running emulator. returns

[android-developers] Re: Baseband version in API ?

2009-07-15 Thread Murphy
So nobody knows how to read the firmware version of the radio? --~--~-~--~~~---~--~~ 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: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Desu Vinod Kumar
HI U told that will send the code in a short hours i didn't get the code for zooming . On Tue, Jul 14, 2009 at 5:09 PM, hanged_man majd...@gmail.com wrote: you can use the default image viewer using intents (you dont have to implement your own), i don't remember exactly how it is done

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-15 Thread Benny
Hi there, is there a possibility to debug via wlan? On Jul 14, 8:35 pm, Da Yang daboil...@googlemail.com wrote: OK. There is only one way to test my camera application. use any APK Installer install the apk, though it's not handy, it's the solution in the moment. But thank you for your

[android-developers] BouncyCastle code in dalvik/libcore

2009-07-15 Thread John Smith
What version is the bouncycastle libs included in dalvik libcore code? I'm trying to use OpenPGP code to an app but I'm getting big conflicts and issues because of the existing code, but it doesn't include all bouncycastle code, and the version of android code I've checked out doesn't indicate

[android-developers] Re: Problem in running the android sky widget

2009-07-15 Thread vishal bhoj
I am unable to find the androidmanifest file for Koxx branch . has someone tried to build it and use it from source . How can we get Jeffs code to work for international codes outside us. I hardcoded latitude and longitude in Jeff's code to lat=40.75, lon=74.37 but I dont get any output.

[android-developers] ICU4C .dat file generation for China region

2009-07-15 Thread doraemon
Hello, everyone: I have a question about ICU4C.. My goal: To generate a icudt38l-us-zh.dat file for China region, where zh indicates it's for China. Result: Failed, due to helper.sh doesn't help me to do so successfully. My steps: 1. change in external/icu4c/stubdata/Android.mk for

[android-developers] Disable android Widget.

2009-07-15 Thread Manjunatha M
Hi Folks, I want to disable my android widget on the fly using a broadcast receiver listening to some intents. How do i do that??? Kindly throw some light on this.. -- Regards, Manjunatha --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Textview - Select All/Select Text/Copy/Paste

2009-07-15 Thread SurtaX
Hi could someone post a small code snippet on how to have a read only text view (ie. editable = false), which has the context menu of the standard Select All/Select Text/Copy/Cut/Paste. I have tried using the EditText and setting editable = false. However I do not want to see the blinking

[android-developers] Re: How to remove left right blank area of Gallery widget?

2009-07-15 Thread XC He
extend the widget and overwrite/override 2009/7/15 Oceanedge newsforhar...@gmail.com I want to use android.widget.Gallery as an horizontal image scroll view. But the default behavior of Gallery widget display blank area in left right side even if the width sum of items in it exceed its

[android-developers] Re: getDeviceId returns null

2009-07-15 Thread MCON Dev
My entire development is based on getting the device id and other details. Without that my product will not be complete. Is there a way I can log a bug and get some attention on it ? Siddharth On Wed, Jul 15, 2009 at 12:56 AM, Al Sutton a...@funkyandroid.com wrote: I'm guessing you're running

[android-developers] Re: SQLite DROP Database

2009-07-15 Thread Kumaravel Kandasami
Awesome Craig, exactly what I was looking. I will let you know whether it worked. Kumar_/|\_ www.saisk.com ku...@saisk.com making a profound difference with knowledge and creativity... On Tue, Jul 14, 2009 at 11:36 PM, Craig supkic...@gmail.com wrote:

[android-developers] Re: Baseband version in API ?

2009-07-15 Thread jdesbonnet
Why not download source of the Settings app (I assume it's written in Java) and see what goes on there? I would have done it just now, but looking through the instructions at http://source.android.com there is quite a few steps involved and I'm low on disk space. Joe. On Jul 15, 8:39 am,

[android-developers] Re: Baseband version in API ?

2009-07-15 Thread Marc Lester Tan
try this one... http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=blob;f=src/com/android/settings/DeviceInfoSettings.java;h=be01f7dc57e6dbe474adf1decce6db1fefa245c0;hb=HEAD -Marc On Wed, Jul 8, 2009 at 10:10 PM, Murphy murphy2...@gmail.com wrote: I want to read the

[android-developers] Re: Baseband version in API ?

2009-07-15 Thread Marc Lester Tan
oooh, android.os.SystemProperties.java is not available from the API which basically do native calls to get the baseband version. SystemProperties.java

[android-developers] Re: SurfaceViews handling, Thread, and general game design

2009-07-15 Thread ayanir
Hello Dianne , Thank you for you response. according to your words, I do not need that each Box will be as a Surface view but only one game surface view and the only way I can mange the game objects(Boxes etc.) is by using a low level management of drawing and event handling. If I trying to

[android-developers] Speed up emulator starting

2009-07-15 Thread Raja Nagendra Kumar
Hi, Android SDK startup takes more than 2 minutes.. is there a way to start the emulator faster with any special parameters.. Regards, Raja Nagendra Kumar www.tejasoft.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: getDeviceId returns null

2009-07-15 Thread Mark Murphy
MCON Dev wrote: My entire development is based on getting the device id and other details. Without that my product will not be complete. Is there a way I can log a bug and get some attention on it ? Relying on emulators for products is never a great idea. Relying on emulators for products

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

2009-07-15 Thread Raja Nagendra Kumar
07-15 17:07:34.829: ERROR/AndroidRuntime(805): Uncaught handler: thread main exiting due to uncaught exception 07-15 17:07:34.851: ERROR/AndroidRuntime(805): java.lang.IllegalAccessError: cross-loader access from pre-verified class 07-15 17:07:34.851: ERROR/AndroidRuntime(805): at

[android-developers] Re: SurfaceViews handling, Thread, and general game design

2009-07-15 Thread ayanir
Here is the correct link: http://www.droidnova.com/playing-with-graphics-in-android-part-i,147.html On Jul 15, 2:33 pm, ayanir ayanir...@gmail.com wrote: Hello Dianne , Thank you for you response. according to your words, I do not need that each Box will be as a Surface view but only one

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

2009-07-15 Thread Sujay Krishna Suresh
desu, plz make use of the zoomcontrols widget available... it will make things easier for u... On Wed, Jul 15, 2009 at 5:12 PM, hanged_man majd...@gmail.com wrote: Hi Desu, i thought you were trying to implement your own image viewer and implementing your own Zoom in out buttons, therefore i

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

2009-07-15 Thread Desu Vinod Kumar
HI Thanks for ur response like in Iphone Multi touch zooming events are not available in android actually i got he specification like that nly i want to this by touch the image only ... what about this circle Zoom in android? On Wed, Jul 15, 2009 at 5:12 PM, hanged_man majd...@gmail.com

[android-developers] Landscape mode without reLaunching the activity

2009-07-15 Thread qLabs
Hello everyone, So im confronted to a little problem. I'd like to use the landscape view when the sensor is having particular values (i decide it myself) so i call setRequestedOrientation(2) (for the landscape view) but i notice that this call just redraw the whole activity plus it does add a

[android-developers] Device firmware update

2009-07-15 Thread Raja Nagendra Kumar
Are there any good source detailing the steps for firmware update for my g1 deve phone with new 1.5 images.. with or without gmaps support etc. Is such updates possible and supported.. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com --~--~-~--~~~---~--~~

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

2009-07-15 Thread Desu Vinod Kumar
HI i want to use it by touch events not by key events for Zoomcontrol widget is it possibe ... can u tell me where will get the tutorials or examples regarding this? On Wed, Jul 15, 2009 at 5:17 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: desu, plz make use of the zoomcontrols

[android-developers] AsyncTask on a button

2009-07-15 Thread loudo
Hello, My application parse an xml file dans display data in a list view. On start of application i load data using an AsyncTask. A Progress Dialog is display during the load. This part works fine. A button in the application make it possible to reload the data. I would like to run the

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

2009-07-15 Thread Sujay Krishna Suresh
It is very simple, i would recommend u to read the documentation the try exploring ur self... the zoom controls widget actually displays 2 button like images one for zoom in 1 for zoom out. it is similar to the one used by maps app... or the image viewer app... On Wed, Jul 15, 2009 at 5:22 PM,

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

2009-07-15 Thread Desu Vinod Kumar
Hi thanks for response that i already done by using buttons zoom in and zoom out exactly what i need it like circle zoom in android or multitouchphoto event like that i need. u got my point regarding this On Wed, Jul 15, 2009 at 5:28 PM, Sujay Krishna Suresh sujay.coold...@gmail.com

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

2009-07-15 Thread Desu Vinod Kumar
HI u have Source code for ImageViewer app if u have that can u plz attach that i am not getting it. On Wed, Jul 15, 2009 at 5:28 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: It is very simple, i would recommend u to read the documentation the try exploring ur self... the zoom

[android-developers] autocompletetextview: get Cursor

2009-07-15 Thread Saurav Mukherjee
hi, i m using an auto complete text view with a cursor adapter. can anyone tell me how i can get the reference to the cursor of the record that is selected from the auto complete list??? thanks in advance. --~--~-~--~~~---~--~~ You received this message because

[android-developers] Maps liberary as application liberary insted of shared lib

2009-07-15 Thread Raja Nagendra Kumar
Hi, Is it possible to use api of maps.jar as a application library rather than a shared library! I was able to install a map application on avd profile standard using by removing the line uses-library android:name=com.google.android.maps/ in manifest file however when we run it on

[android-developers] Setting Ringer From Resource?

2009-07-15 Thread Donn Felker
Hopefully someone can point me in the right direction ... In my application I want to set the ringtone to one of the resources in my project. I have not got this to work, yet. I'm setting the default ringer to a resource in my application with the following code. Uri mediaUri =

[android-developers] Perspective drawing

2009-07-15 Thread kalyan simhan
hi all.. Is there any way to achieve perspective drawing of an image.. are there any APIs.. or is OpenGL the only solution.. kindly help!! Thanks in advance... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: AsyncTask on a button

2009-07-15 Thread Mark Murphy
loudo wrote: My application parse an xml file dans display data in a list view. On start of application i load data using an AsyncTask. A Progress Dialog is display during the load. This part works fine. A button in the application make it possible to reload the data. I would like to run

[android-developers] arabic softkeyboard bidi problem

2009-07-15 Thread and.pradeep
In softkeyboard I am getting arabic keys and I am able to enter stings from right to left but the text is appearing on Left side of the editor. Is it problem with the font? since Hebrew is working fine. also if I just try to display arabic text using arabic font set using setTypeface(font) the

[android-developers] Re: How to compile an application for avd profile android with googlemap addons

2009-07-15 Thread Mark Murphy
Raja Nagendra Kumar wrote: What are the differences in ant script we should take care to compile the application which uses maps api. Tried with bootlcasspath with both android and maps.jar file. but it fails to create dex file. Use the generated build files you get from android create

[android-developers] MediaStore.EXTRA_OUTPUT

2009-07-15 Thread Christine
I have seen a number of posts from people who had trouble retrieving a full size image from MediaStore.EXTRA_OUTPUT with code like Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); pictureUri = Uri.fromFile(new File(/sdcard/ picturefile.jpg));

[android-developers] Re: getDeviceId returns null

2009-07-15 Thread MCON Dev
I agree with your thought. Would it be a bad idea to expect the android guys to provide a valid deviceid, simcard number and phone number with their emulator. With options to change country and correspondingly get appropriate test bed ? Infact sometime in future I would need multiple emulators to

[android-developers] CPU usage api's query

2009-07-15 Thread sukumar bhashyam
Hello, I'm trying to develop a service, which needs to be run in background as a low priority task and does some complex processing . I need to gracefully quit my service when their is a resource shortage( like CPU running low on memory). Was there any APIs available to know the CPU resource

[android-developers] Re: AsyncTask on a button

2009-07-15 Thread loudo
why i have the message i can't alter a view in other thread when il launch another time the AsyncTask ? On 15 juil, 14:31, Mark Murphy mmur...@commonsware.com wrote: loudo wrote: My application parse an xml file dans display data in a list view. On start of application i load data using an

[android-developers] Re: Speed up emulator starting

2009-07-15 Thread Donn Felker
Yes, you can speed it up. From the help on the emuloator: -no-boot-anim disable animation for faster boot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: AsyncTask on a button

2009-07-15 Thread Mark Murphy
loudo wrote: why i have the message i can't alter a view in other thread when il launch another time the AsyncTask ? You may have a bug in your AsyncTask subclass. As I wrote: In any AsyncTask, you should be modifying your UI via onPostExecute(), or perhaps onProgressUpdate(). Note that

[android-developers] Re: Device firmware update

2009-07-15 Thread Disconnect
http://www.htc.com/www/support/android/adp.html On Wed, Jul 15, 2009 at 7:49 AM, Raja Nagendra Kumarnagendra.r...@tejasoft.com wrote: Are there any good source detailing the steps for firmware update for my g1 deve phone with new 1.5 images.. with or without gmaps support etc. Is such

[android-developers] Re: getDeviceId returns null

2009-07-15 Thread Mark Murphy
MCON Dev wrote: Would it be a bad idea to expect the android guys to provide a valid deviceid, simcard number and phone number with their emulator. They may not be allowed to, depending how the telecommunications regulations surrounding deviceid, simcard number and phone number are written.

[android-developers] Re: Camera application 1.5 on emulator does nothing

2009-07-15 Thread Thomas McKay - www.winebythebar.com
To enable camera, is it simply a matter of hand editing the config.ini in the avd dir? Do I need to update the avd with the android command afterwards? The camera still is not working in emulator after below modifications hw.camera=yes sdcard.size=1000M skin.name=HVGA

[android-developers] List View item ticker.

2009-07-15 Thread Muthu Kumar K.
Hi All, I have the list view with the length text values. So how can i ticker the test? Please give me your comments Thanks in Advance, Muthu Kumar K. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: OpenGL ES, How to rotate a cube?(3D Rotation)

2009-07-15 Thread Streets Of Boston
Aha... you mean 'how to rotate using the touchscreen'. You're on the right track :-) However, i found that gluUnProject in the api did not work for some reason. I wrote my own (do a search on this forum). Handling swipes and translate them into rotations is not trivial. I wrote the app The

[android-developers] Re: getView from CustomizedAdapter called several times

2009-07-15 Thread Streets Of Boston
I'm not a google engineer, so i don't know the answer, but i have a theory why this may happen. In your layouts, do you use 'weights' (weightsum and layoutweight)? If i remember correctly, if you use these attributes, layout-code is called twice. If the layout-code for a list-view includes the

[android-developers] Re: keeping screen on while activity active

2009-07-15 Thread Lex
OK now I'm only turning the flag on in the onCreate() and onResume() methods. It works fine on the HTC Magic phone, but in the emulator, after it starts and I don't do anything on the home screen it doesn't go off at all. When I start my app it doesn't go off like required, but when I return back

[android-developers] Problem of vertical alignment in a RelativeLayout

2009-07-15 Thread elDoudou
Hello. I know my original post (at http://groups.google.com/group/android-developers/browse_thread/thread/57129a72b400754c/cc6cb59adf79bd24?lnk=gst, I could not find a way to perform a reply, maybe it's too old) is not sexy, but I'm now facing that problem in many situations. Let me please

[android-developers] Re: Camera application 1.5 on emulator does nothing

2009-07-15 Thread Thomas McKay - www.winebythebar.com
Toggling off the orientation in the sounddisplay settings allows camera to work in emulator. On Jul 15, 9:33 am, Thomas McKay - www.winebythebar.com thomasfmc...@gmail.com wrote: To enable camera, is it simply a matter of hand editing the config.ini in the avd dir? Do I need to update the avd

[android-developers] App crashing on HTC Magic launching camera intent

2009-07-15 Thread Tom
Wine by the Bar app (free in Android Market) is crashing on the HTC Magic. What intent settings/extras are needed to successfully launch ACTION_IMAGE_CAPTURE on HTC Magic? intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); App works fine on G1. Also need proper intent for

[android-developers] Re: Camera application 1.5 on emulator does nothing

2009-07-15 Thread blindfold
So apparently it is the known SDK1.5_r1 and SDK1.5_r2 emulator bug where calling getSystemService(Context.SENSOR_SERVICE) makes an app hang. On Jul 15, 4:31 pm, Thomas McKay - www.winebythebar.com thomasfmc...@gmail.com wrote: Toggling off the orientation in the sounddisplay settings allows

[android-developers] Re: Problem of vertical alignment in a RelativeLayout

2009-07-15 Thread Mark Murphy
elDoudou wrote: I have a RelativeLayout made of three widgets (named 1, 2 and 3 on the illustrations below): one attached to its parent left border (labelled 1), one to its parent right border (labelled 2) and the third (labelled 3) inserted between the 2 previous ones (its left border is

[android-developers] Build Contact Stand Alone apk - from Android Contact Source Code?

2009-07-15 Thread Shibbs
Hi all, I have downloaded the full Android source code pulled out the contact source into a different folder. I am trying to create a separate Contacts stand alone App using the existing android contacts source code, once that done I intend to add some more features ( code ) to contacts source

[android-developers] On-screen keyboard bug ?

2009-07-15 Thread NitroDesk
We have in our app, a non-editable field described in the layout thus EditText android:id=@+id/txtText android:layout_width=fill_parent android:layout_height=wrap_content android:singleLine=false android:selectAllOnFocus=true android:hint=A Hint here android:layout_marginBottom=4dip

[android-developers] ItemizedOverlay ArrayIndexOutOfBoundsException explanation AND solution !!

2009-07-15 Thread Piwaï
Hi all ! I want to share with you the solution to a weird problem I was having. I think it was mostly due to my misunderstanding of the way ItemizedOverlay works. I couldn't find the sources, and the usage is not much documented. Hopefully I could connect the debugger and dig... I have a

[android-developers] Re: Build Contact Stand Alone apk - from Android Contact Source Code?

2009-07-15 Thread Mark Murphy
Shibbs wrote: I am trying to create a separate Contacts stand alone App using the existing android contacts source code, once that done I intend to add some more features ( code ) to contacts source make a contacts.apk out of it. Is it possible? Not without a lot of work. The problem I

[android-developers] Re: On-screen keyboard bug ?

2009-07-15 Thread Justin (Google Employee)
Yes, this is working as intended, setEnabled() doesn't relate to the edibility of a text field, it relates usually to focusability, but its actually up to the View to determine what enabled means. If you'd like to prevent the EditText from being edited (but then, why are you using EditText

[android-developers] Re: extending parcelables

2009-07-15 Thread Streets Of Boston
It looks like your Animal class is abstract and should never be constructed. Declare Animal 'abstract' and see if you get an instantiation error. Have your tried to put the 'public static final Parcelable.Creator CREATORCat' and 'public static final Parcelable.Creator CREATORDog' variables and

[android-developers] Re: extending parcelables

2009-07-15 Thread Bart van Wissen
On Jul 15, 5:21 pm, Streets Of Boston flyingdutc...@gmail.com wrote: It looks like your Animal class is abstract and should never be constructed. Declare Animal 'abstract' and see if you get an instantiation error. It should be abstract, but I cannot make it abstract because then I cannot add

[android-developers] google picasa

2009-07-15 Thread T_sky
I have installed the MediaUploader.apk(picasa), when share a picture, it shows: upload failed,no account information available. I know picasa is the new feature of Android 1.5, but how can I solve this problem? --~--~-~--~~~---~--~~ You received this message

[android-developers] WebView's use of AbsoluteLayout

2009-07-15 Thread donthorp
Are there currently any plans to replace AbsoluteLayout in in WebView? I need to place native controls based on the coordinates of elements in the WebView. I'm currently using a separate View to manage the layer, but I'd prefer to override the layout in WebView. Thanks, Don Thorp Titanium

[android-developers] How to build Tradition Chinese ROM (zh-TW)

2009-07-15 Thread
I want to build a Tradition Chinese ROM (zh-TW), but I can't find any information about this. Has someone kindly teach me how to build this image? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to write async socket with Android?

2009-07-15 Thread ian.fawcett.hun...@googlemail.com
I think you might look at the Java NIO libraries. This is true async. comms. in Java, and is documented in the Android documentation (http:// developer.android.com/reference/java/nio/package-summary.html). [I have never used it under Android] Please be aware that in my experience NIO is not the

[android-developers] Information about the Layout Editor for Android

2009-07-15 Thread NINNI
Hello, I am NINNI in Japan. I developed the layout editor for android widgets on Windows. This editor make a layout by using the absolute coordinate. I know it is not recommended. So this editor may not be usefull for anyone. But if you want to try it, download site is here.

[android-developers] Difference between BitBlit algorithms in skia and libpixelflinger

2009-07-15 Thread naresh
Hi All, In Android, I could see 2 BitBlit functions defined in skia and libpixelflinger libraries. 1) S32A_D565_Opaque function in external/skia/src/core/ SkBlitRow_D16.cpp has one implementation 2) scanline_t32cbl6blend function in system/core/libpixelflinger/ scanline.cpp has another

[android-developers] EditText cursor position in px/dip

2009-07-15 Thread vivek
We are trying to position a widget at the cursor position on the edit widget. It seems this is only exposed in character position, not pixels. This has been the work-around that we've comeup with - to paint the text and compute the rectangle extents. This seems a tad inefficient - but we

[android-developers] Hooking into an Incoming or Outgoing Call

2009-07-15 Thread markh23
Hello, I was wondering how to get a toast to pop up (or broadcast an intent) when receiving an incoming/outgoing call. Currently, I have 2 solutions, but I don't know if they're good - albeit one of them sort of works. Solution 1: --- Define a class that extends PhoneStateListener,

[android-developers] Javailmail port for Android

2009-07-15 Thread Pascal
Hi I've read several posts regarding Javamail lib running on Andoid but I haven't manage so far to make either Sun or Gnu Javamail to run on Android : it looks a bit complicated for me to strip out the unused classes (eg. awt dependencies). Is there anybody that could send a running package

[android-developers] extra wallpapers

2009-07-15 Thread pan.gaoy...@gmail.com
In the launcher application res/values directory, there is a file named extra_wallpapers.xml, but I have no idea what to do so that I could add more wallpapers to the application? the xml is almost empty, is there any doc or example as reference?

[android-developers] How to share files shareUserId

2009-07-15 Thread Aiili
Hi, I’m questioning about the shareUserId property and the best approach to share files among applications (around 1Mo compressed). More particularly, I’m interested to know what types of files are covered with this flag, and which use cases are supported? For example, does this flag allow an

[android-developers] Displaying large Gif Images

2009-07-15 Thread Muniraju
I have the following method to display a bit map InputStream is = null ; try { Bitmap bm; is = getContext().getContentResolver().openInputStream( uri); BitmapFactory.Options opt = new BitmapFactory.Options();

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

2009-07-15 Thread Dayn
Hi everybody I have a project, it's to connect Android at IMAP4 serveur with eclipse. . Here my .java file: package com.connectionimapandroid; import java.util.Properties; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Store; import

[android-developers] how to find out the percentage of memory used by each process in the android

2009-07-15 Thread arvind
Hi all, I want to calculate the performance for some of the task/process. How to find out the percentage of memory used by each process in the android. - is there any in build class\process to do this? Thanks and Regards Aravinda --~--~-~--~~~---~--~~ You

[android-developers] frame buffer in Android

2009-07-15 Thread yosemite
Hi, In Linux, we can get the framebuffer directly by open(/dev/fb0, O_RDWR); Is there any way I can call the similar fuction via JNI in Android or how can I access the frame buffer directly in Android? Thanks. -M --~--~-~--~~~---~--~~ You received this message

[android-developers] Adding new format to OpenCore

2009-07-15 Thread borhe
Hi! I am trying to add flash (flv) support to openCORE, i found some hints in this forum but still there are many things that unclear. I would like in the beginning to play local .flv file,from SDCARD, without streaming. As i understand i need to implement Parser within fileformats, parser node

[android-developers] content Uris built by Uri.Builder causing crashes

2009-07-15 Thread Jason Proctor
my app needs to edit Uris before presentation to ContentResolver and i'm seeing some weird behaviour with Uris built using Uri.Builder. here's some code. contentURI1 is built using the Builder -- Uri.Builder builder = new Uri.Builder (); builder.scheme (content); builder.authority

[android-developers] Google market(vending.apk)

2009-07-15 Thread T_sky
I installed the vending.apk to emulator, but it shows:install failed missing shared library how to solve this problem? Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] File Browser Integration

2009-07-15 Thread johnny
Hi, I want to integrate a file browser with my application. Does anyone know where I could get the source code for a pretty good file browser? (With the developer's permission of course). The more, the better... Thanks, --~--~-~--~~~---~--~~ You received this

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-15 Thread Kitagua
That are quite good news. I always have the Samsung Galaxy phone and planned to do some development using it. I really hope it will not take too long to get this SDK update. On 14 Jul., 18:11, David Turner di...@android.com wrote: You need a different version of ADB to access this phone at the

[android-developers] Re: Any updates on ADC-2?

2009-07-15 Thread Tuan
Are applications using NDK (written in native code) eligible? On Jul 14, 5:21 am, David M. d...@google.com wrote: We've posted an update onADC2 to the official Android blog: http://android-developers.blogspot.com/2009/07/adc-2-updates.html Key points to highlight: 1. Final deadline for

[android-developers] Re: Build Contact Stand Alone apk - from Android Contact Source Code?

2009-07-15 Thread Shibbs
Hi Mark, Thanks for the response. Mark wrote: If you are trying to make a separate installable application, remove all functionality from the code that relies upon classes not in the SDK. Yes that's exactly what I am trying to do. As suggested, If i remove all the internal api calls

[android-developers] Re: File Browser Integration

2009-07-15 Thread Peli
There is no need to literally copy source code into your project. You can use intents to integrate a 3rd party file browser with your application, as described here: http://www.openintents.org/en/node/159 see section Information for developers Peli www.openintents.org On Jul 14, 8:20 pm, johnny

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

2009-07-15 Thread Mark Murphy
Dayn wrote: I'm don't know what I have to do !! The log told you what is wrong: 7-15 12:32:46.328: ERROR/dalvikvm(863): Could not find method javax.activation.DataHandler.getName, referenced from method javax.mail.internet.MimeUtility.getEncoding You are missing javax.activation.DataHandler,

[android-developers] Wikitude API now available as beta

2009-07-15 Thread phil
Hello, as you might have heard, our Wikitude API is now available to developers (in beta). to help unleash a wave of innovation within the Mobile AR design and development communities. Developers can build augmented reality apps without needing to build the AR engine. The camera screen will

[android-developers] ListActivity + CheckBox = bug ?

2009-07-15 Thread Maisonobe.A (MaaKs)
hello all , here is an issue that drives me crazy : I have a simple class that extends list activity , for each contact i have in my phone it adds a line to the list containing two checkboxes . It seems to work but when you check for example the first checkbox , and then you scroll the list

[android-developers] Re: ListActivity + CheckBox = bug ?

2009-07-15 Thread Mark Murphy
Maisonobe.A (MaaKs) wrote: here is an issue that drives me crazy : I have a simple class that extends list activity , for each contact i have in my phone it adds a line to the list containing two checkboxes . It seems to work but when you check for example the first checkbox , and then

[android-developers] Re: ItemizedOverlays Complications

2009-07-15 Thread Piwaï
This post might be of some help: http://groups.google.com/group/android-developers/browse_thread/thread/38b11314e34714c3 On Jul 9, 9:09 pm, aspekt9 aspe...@gmail.com wrote: I have a MapView which utilizes andItemizedOverlayto draw map markers to the map. The application stores the markers for

[android-developers] WebView and HTTP Post requests

2009-07-15 Thread DGupta
So I'm attempting to connect to the Tumblr Dashboard using an HTTP Post. The Activity uses a WebView and I do an http post after creating the webview, but the redirect_to in the HTTP Post doesn't work with the WebView. I know my post works and isn't throwing errors, however I need the HTTP Post

[android-developers] Re: ListActivity + CheckBox = bug ?

2009-07-15 Thread Romain Guy
Take a look at ListView's choiceMode. It lets you use checkboxes on list items. On Jul 15, 2009 8:58 AM, Mark Murphy mmur...@commonsware.com wrote: Maisonobe.A (MaaKs) wrote: here is an issue that drives me crazy : I have a simple class tha... You are not holding onto the checkbox states

[android-developers] Re: Build Contact Stand Alone apk - from Android Contact Source Code?

2009-07-15 Thread Shibbs
Ah sad ending to our over enthu project: For the past few days, I have been searching like mad, like many other developers from past who were trying to achieve something similar. But, it was not very clear that we won't be able to do, with all respect to your below comment I am stopping

[android-developers] Re: WebView and HTTP Post requests

2009-07-15 Thread Mark Murphy
DGupta wrote: So I'm attempting to connect to the Tumblr Dashboard using an HTTP Post. The Activity uses a WebView and I do an http post after creating the webview, but the redirect_to in the HTTP Post doesn't work with the WebView. I know my post works and isn't throwing errors, however I

[android-developers] Re: ListActivity + CheckBox = bug ?

2009-07-15 Thread Maisonobe.A (MaaKs)
ok i'll try that out , thank you very much !! what i don't understand through is that each checkbox have it's own checked value wich should be used by android when repaint is called ... cheers On Jul 15, 5:58 pm, Mark Murphy mmur...@commonsware.com wrote: Maisonobe.A (MaaKs) wrote: here is

[android-developers] Re: Build Contact Stand Alone apk - from Android Contact Source Code?

2009-07-15 Thread Mark Murphy
Shibbs wrote: Ah sad ending to our over enthu project: For the past few days, I have been searching like mad, like many other developers from past who were trying to achieve something similar. But, it was not very clear that we won't be able to do, with all respect to your below

  1   2   >