[android-developers] Re: autostart a service by editing init.rc after apk installation

2009-07-21 Thread Dianne Hackborn
Hi, this is very out of the scope of the SDK. If you are building a device, you may be able to get help in android-porting. (Fwiw, init.rc is way way down the stack from launching .apks.) On Mon, Jul 20, 2009 at 10:30 PM, jerryfan2000 jerryfan1...@gmail.comwrote: Hi all, I want to modify

[android-developers] Re: How to power off the screen?

2009-07-21 Thread Sansiro
But, When I use the PowerManager class, it doesn't work.The emulator doesn't go to sleep. BTW, I use the goToSleep() method in this class, and I didn't get a PowerManaget instance from Context. On Jul 21, 6:06 am, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote: PowerManager is part of the SDK

[android-developers] Re: Bitmap in GLSurfaceView

2009-07-21 Thread kalyan simhan
thanks for the reply.. but it still does not work.. the bitmap still repeats...i did this.. gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_NEAREST); gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S,

[android-developers] Re: Building for dev, test and release

2009-07-21 Thread Craig
Further, it's not just release builds that have such a requirement; continuous build systems need to be able to build without a GUI app. On Jul 19, 1:25 pm, MrSqueezles mrsqueez...@gmail.com wrote: Normally, when I develop an application, I develop in Eclipse.  I test in both Eclipse and Ant.  

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

2009-07-21 Thread Ask
Hi, I have not got solution yet.. Has anyone ??? On Jul 17, 3:21 pm, Android development smu...@gmail.com wrote: 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

[android-developers] Re: Help in the HelloMapView tuto

2009-07-21 Thread sweet
Nobody can help me ??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Help in the HelloMapView tuto

2009-07-21 Thread Sujay Krishna Suresh
wats the sdk version tat u r using?? On Tue, Jul 21, 2009 at 12:34 PM, sweet junkbr...@gmail.com wrote: Nobody can help me ??? -- Regards, Sujay Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be right, but I am

[android-developers] Re: Help in the HelloMapView tuto

2009-07-21 Thread Sujay Krishna Suresh
If u r using 1.5 it may be a simple ide config change. go to window-preferences-android select the platform as Google Apis and press apply then ok. Now ur ide should be able to resolve the MapActivity class On Tue, Jul 21, 2009 at 12:42 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote:

[android-developers] Re: Fwd: Generate elevation charts with zoom feature like MyTracks and make canvas scroll

2009-07-21 Thread sheik
On Jul 7, 10:53 am, sheik sheik...@gmail.com wrote: -- Forwarded message -- From: sheik sheik...@gmail.com Date: Jul 6, 3:57 pm Subject: Generate elevation charts with zoom feature like MyTracks To: Android Developers Hi.  i have been using mytracks app for quite a long

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

2009-07-21 Thread Piwai
You are welcome ;-) Oh, and by the way: the minimum touchable bounds were a bit small in my example. private static final int MIN_TOUCHABLE_WIDTH = 10; private static final int MIN_TOUCHABLE_HEIGHT= 10; Although 100 might be too much, I realised that 10 was too

[android-developers] Re: How to compare two (simple) images?

2009-07-21 Thread Piwai
To me, it seems that making computations pixel by pixel is the only solution... However, there might be a faster solution than using getPixels : using a buffer. See copyPixelsToBuffer method in the Bitmap class. A buffer is read only or write only, and I guess it might use lower level

[android-developers] Email Application

2009-07-21 Thread android.vinny
HI Is it possible to do an application should download the mail from the mail server and should show on our mobile screen exacltly like outlook etc., applications on pc's if it possible how to do that guide me plz any application examples like that is there means give me the refference of that

[android-developers] Re: Start as a Game developer

2009-07-21 Thread Paul Thomas
Alex, 2009/7/19 Alex Ramallo coolale...@live.com I really want to start developing applications on android, but I'm completely clueless, so can anyone give me a link or something to a tutorial to get started? Not a tutorial on getting started on game development on android, but a tutorial

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

2009-07-21 Thread Olaf Geibig
@Xavier unfortunately adb from r3 does not work under Linux. It does not see the device. From other Samsung owners I read that it works fine under Windows. When I replaced the binary with the patched one, everything started to work. It must be his changes to usb_linux.c which are doing the trick.

[android-developers] How to create a non-default style widget programmatically

2009-07-21 Thread 单单
Hi All, In ApiDemo, there is a progressBar demo. It creates a horizontal progress bar with a xml. ProgressBar android:id=@+id/progress_horizontal style=?android:attr/progressBarStyleHorizontal android:layout_width=200dip android:layout_height=wrap_content

[android-developers] Re: How to power off the screen?

2009-07-21 Thread Yuri Dario
On 21 Lug, 07:30, Sansiro wangjiangfeng0...@gmail.com wrote: BTW, I use the goToSleep() method in this class, and I didn't get a PowerManaget instance from Context. with the DEVICE_POWER right in manifest, I got a PowerManager instance, but goToSleep is still not usable. the screen. Do you

[android-developers] computeverticalscroll

2009-07-21 Thread ioRek
Hi, I really don't get how the severals computeVerticalScrollXXX() works. I didn't find further informations about it. Can someone explain me or give some samples? Thanks in advance, Jeremy --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Email Application

2009-07-21 Thread Dexter's Brain
Hi, You can search for K9 Mail. It's an open source project. You should be able to pick up guidelines from them. Thanks, Dexter. On Jul 21, 1:11 pm, android.vinny vinny.s...@gmail.com wrote: HI Is it possible to do an application should download the mail from the mail server and should show

[android-developers] How to show the search bar

2009-07-21 Thread guishenl...@gmail.com
Hi all, I want to add the search function in my application just as the example given in ApiDemos. But I can't find out how the example add the search bar in the top of the view. Could anyone tell me how to add a search bar to my application by some code? Thank you in advance! reference

[android-developers] Re: Tree of parcelables: Class not found when unmarshalling

2009-07-21 Thread Bart van Wissen
So should I submit this as a bug? On 20 jul, 13:07, Bart van Wissen bartvanwis...@gmail.com wrote: I'm using a tree structure in my application, which has to be passed to a service. All nodes in the tree are of the type ExpressionTree, which is an interface. All nodes are also Parcelable.

[android-developers] Re: Tree of parcelables: Class not found when unmarshalling

2009-07-21 Thread Dianne Hackborn
There isn't enough information here to know if it is a bug in the platform... off-hand, I would guess not, since most of the logic in marshalling/unmarshalling such things needs to be written by the developer and doesn't come from the platform. Plus there isn't a Parcel.readFromParcel() method

[android-developers] Bestpractise Arabic support in applications?

2009-07-21 Thread thinair
Hello, 1.5sdk actually doesn't support the Arabic (i18n). What is actually the bestpractise to include Arabic in a new application or prepare the future for it ? I have two scenario that I would to satisfy: 1. auto language by using the phone settings describe there :

[android-developers] Re: Tree of parcelables: Class not found when unmarshalling

2009-07-21 Thread Bart van Wissen
On 21 jul, 11:13, Dianne Hackborn hack...@android.com wrote: There isn't enough information here to know if it is a bug in the platform...  off-hand, I would guess not, since most of the logic in marshalling/unmarshalling such things needs to be written by the developer and doesn't come from

[android-developers] Re: Email Application

2009-07-21 Thread Desu Vinod Kumar
HI Dexter's Brain Thanks For Giving response . Is it possible to do some animations when we get a ne mail and some sounds for that is it possible On Tue, Jul 21, 2009 at 2:15 PM, Dexter's Brain coomar@gmail.comwrote: Hi, You can search for K9 Mail. It's an open source

[android-developers] Disable AppWidgetProvider class of my App

2009-07-21 Thread Manjunatha M
Hi Folks, I have created a widget that depends on the information passed by another application. I have to disable the widget provider such that there is not option to add the widget from the menu. and i have to enable to show in the options to add from the widgets menu at run time. (I would

[android-developers] Re: How to power off the screen?

2009-07-21 Thread Sansiro
In Android Souccr code, I find a Power class packaged in android.os. This class is not provided in SDK,But this is really a public class. This class has five native method: public static native void shutdown() public static native void reboot(String reason) throws IOException public static native

[android-developers] Problems in K9 mail

2009-07-21 Thread android.vinny
Hi I am getting this problem in k9 mail how to solve this problems Description ResourcePathLocationType BinaryDecoder cannot be resolved to a type Base64.java k9mail/src/com/android/email/codec/binary line 41 Java Problem BinaryEncoder cannot be resolved to a

[android-developers] Re: registerForContextMenu failes with Gallery in listview.

2009-07-21 Thread Anders Aagaard
Just realised I can't click on stations either if I have the gallery visible :/ On Jul 20, 1:11 pm, Anders Aagaard aagaa...@gmail.com wrote: Hi I have an application using a ListView activity to display realtime station information. The layout is like this: Top line, Station name - Eta

[android-developers] Re: Problems in K9 mail

2009-07-21 Thread Desu Vinod Kumar
HI These are in log Cat 07-21 15:16:11.442: DEBUG/k9(532): Running background command 'checkMail' 07-21 15:16:11.461: INFO/k9(532): Starting mail check 07-21 15:16:11.550: VERBOSE/k9(532): Synchronizing account vinod kumar 07-21 15:16:11.670: DEBUG/k9(532): Background command 'checkMail' completed

[android-developers] Re: Problems in K9 mail

2009-07-21 Thread Desu Vinod Kumar
HI In INBOX Socket is not connected am getting this message how can i get the mails from my account On Tue, Jul 21, 2009 at 3:07 PM, android.vinny vinny.s...@gmail.com wrote: Hi I am getting this problem in k9 mail how to solve this problems Description ResourcePathLocation

[android-developers] Re: Email Application

2009-07-21 Thread Desu Vinod Kumar
HI Problem in Inbox In INBOX Socket is not connected am getting this message how can i get the mails from my account On Tue, Jul 21, 2009 at 2:55 PM, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI Dexter's Brain Thanks For Giving response . Is it possible to do some animations when we get a

[android-developers] Re: Email Application

2009-07-21 Thread Dexter's Brain
Ya sure, you can do it.. For problems with K9 Mail, I think they already have a forum at the project hosting site. My K9Mail is running fine though. On Jul 21, 2:25 pm, Desu Vinod Kumar vinny.s...@gmail.com wrote: HI Dexter's Brain Thanks For Giving response . Is it possible to do some

[android-developers] Re: Email Application

2009-07-21 Thread Desu Vinod Kumar
Hi Thanks for response But i have downloaded directly from the code.google only ok i vl check in forums In inbox it is getting socket its not connected like that not displaying any messages On Tue, Jul 21, 2009 at 3:34 PM, Dexter's Brain coomar@gmail.comwrote: Ya sure, you can do it..

[android-developers] Re: Tree of parcelables: Class not found when unmarshalling

2009-07-21 Thread Bart van Wissen
Alright, I fixed it by changing tree = parcel.readParcelable(null); into tree = parcel.readParcelable(getClass().getClassLoader()); Thanks again. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Age of GPS data (continued)

2009-07-21 Thread Anna PS
Hi all Just updating this thread, which seems to be too old for me to post a follow-up: http://groups.google.com/group/android-developers/browse_thread/thread/df1e14fe4e9ad896/ I'm trying to check the age of a GPS fix, so that I can discard location fixes that are more than, say, a couple of

[android-developers] need some help regarding ksoap2

2009-07-21 Thread android.vinny
HI I need to develop the application consuming the ksoap2 web services .i have written php script in server i need to call that from server using ksoap2 in the xml form and should parse that response in the form of list . how can i do it i tried some example on ksoap i am not getting the

[android-developers] Use sqlite in AsyncTask freeze all

2009-07-21 Thread barbapapaz
Hello I execute this async task in my application, I don't understand why my progress dialog and all application freeze. Insert in doInBackground put one hundred or so entity in database. In other case (but it's fisrt time with sqlite), I use AsyncTask and I have no problem. Do you have an

[android-developers] JavaScript-Java bridge - JavaScript objects

2009-07-21 Thread Miguel Paraz
Hi, I'm starting to use the JavaScript to Java bridge for widget development. I'd like to pass the entire JavaScript objects to the native Java functions, witout having to convert them into JSON Strings. Any idea how, or is this impossible? Thanks!

[android-developers] Error with annotations in mehtods

2009-07-21 Thread Sergio Ciruela
Hi, I have a problem with annotations when I try to use this in a method. I like retrieve this information and I use the next code: Method[] methods=m1.getClass().getDeclaredMethods(); for(Method method:methods){ Annotation[]

[android-developers] link to another application

2009-07-21 Thread petunio
Hi everyone I am about to publish my app, and what I want to do is offer a demo version with just a little less functionality In the demo version, I would like to show a button that links with the full version in the android market how can I do this? I guess I have to publish first the full

[android-developers] Re: Add Contact not working

2009-07-21 Thread Yorgos
Hi, has anyone find how to deal with this issue? cheers!! On 18 Ιούλ, 01:11, jats1234 jats1...@gmail.com wrote: I am having the same issue. Hope it gets fix soon... On Jun 11, 2:45 pm, John Seghers jsegh...@cequint.com wrote: I followed the documentation to start the Show or Create

[android-developers] Re: link to another application

2009-07-21 Thread skyman
Yout can create link market://search?q=pname: {$application_package_name} On 21 Lip, 14:00, petunio juanjosegilmen...@hotmail.com wrote: Hi everyone I am about to publish my app, and what I want to do is offer a demo version with just a little less functionality In the demo version, I

[android-developers] Re: How to power off the screen?

2009-07-21 Thread Yuri Dario
Hi, public static native int setScreenState(boolean on) tried this one, but calling it does nothing, and always returns 2; since this is a native method, I think it means EACCESS (permission denied). thanks, Yuri --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
Can you check to see if your user has selected Automatic - Use network-provided values? The second question would be: Where does the location.getTime() time come from? Is it provided by the satellite fix itself or from the phone. If from the phone then it's not really relevant how the user sets

[android-developers] Re: Use sqlite in AsyncTask freeze all

2009-07-21 Thread Streets Of Boston
It's hard to tell why this happens with your app. Try to debug it: Attach the Eclipse debugger to your process when it hangs and then pause the entire process. Then open up (expand) the threads and see where the stack-trace of each thread is currently at. This may give you a hint about why your

[android-developers] Re: Bitmap in GLSurfaceView

2009-07-21 Thread Streets Of Boston
You forgot GL_TEXTURE_WRAP_T. :=) On Jul 21, 2:30 am, kalyan simhan kalyansim...@gmail.com wrote: thanks for the reply.. but it still does not work.. the bitmap still repeats...i did this..         gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER,                  

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Saurav Mukherjee
try usin the time tick event instead of systime... u cud keep track of the time ticks elapsed... since u said couple of minutes: I'm trying to check the age of a GPS fix, so that I can discard location fixes that are more than, say, a couple of minutes old - I need my fix to be very accurate.

[android-developers] Re: Date.getTime() and Daylight Saving Time?

2009-07-21 Thread Streets Of Boston
Use Calendar instead for locale sensitive info (timezone, dst, etc). Code snippets: Date timeStamp = ...; ... // Get the system calendar for 'here' and set the timestamp (universal time). Calendar cal = Calendar.getInstance(); cal.setTime(timeStamp); // Get the system calendar for 'somewhere'

[android-developers] Re: Some G1 phones getting device not found with adb...

2009-07-21 Thread Anna PS
I had the same problem. Blowing in the connectors, then killing and restarting ADB worked for me :) On Jul 15, 7:00 pm, Richard Schilling richard.rootwirel...@gmail.com wrote: I did resolve the BATTERY_CHANGED events issue - it was in my application design.  Search for BATTERY_CHANGED to see

[android-developers] why can't stop the mediaplayer??

2009-07-21 Thread tstanly
hi all, i develop a music play app, whe app framework is: list.java-play.java eg: in the list.java there have two mp3 files : 1.mp3,2.mp3 when first time choose 1.mp3, then play ok, then back to list.java from play.java, and now the 1.mp3 is still playing, and then i click 2.mp3 in the

[android-developers] Re: PendingIntent / addProximityAlert problem

2009-07-21 Thread Stefan
Hello again, one more information: i test my app with this gps data: lat, lon 3 3 lat, lon 10 10 I use the geo fix command as follows: 1. geo fix 3 3: fires one time == entering true... OK 2. geo fix 5 5: enters the ProximityIntentReceiver class - but not my if clause == entering is false! OK 3.

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
I just did a test. location.getTime() 1248184334000 System.currentTimeMillis() 1248184346934 It appears as if the GPS tracks time down to the second and it can vary from the Automatic setting by quite a bit. This example shows a variance of about 100 seconds between the two. Perhaps the best

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Anna PS
Hi John Yes, that's exactly what I have done - I've saved the time of the first fix, and compare it to the time of the latest fix. If the two are the same when the time comes to check location, i.e. there is no time difference, I know that there hasn't been an update during the life of the

[android-developers] Re: why can't stop the mediaplayer??

2009-07-21 Thread Jack Ha
If you can post your code here, we can help you better. -- Jack Ha Open Source Development Center ・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 represent those of T-Mobile USA,

[android-developers] Re: How to invert colors within a region of a bitmap

2009-07-21 Thread bseib
You can use a ColorMatrix in your paint brush to translate the RGBA values of your image. Here is a way of changing the hue 180 degrees (inverting color only), but preserving lightness and saturation: Canvas c = new Canvas(destBitmap); Paint p = new Paint(); float[] mx = { 0.0f, 0.5f, 0.5f,

[android-developers] Re: why can't stop the mediaplayer??

2009-07-21 Thread tstanly
thank you.. ===my play.java= public class play extends Activity implements MediaPlayer.OnPreparedListener,MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener,MediaPlayer.OnBufferingUpdateListener { private ImageButton

[android-developers] Re: why can't stop the mediaplayer??

2009-07-21 Thread tstanly
thank you... public class play extends Activity implements MediaPlayer.OnPreparedListener,MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener,MediaPlayer.OnBufferingUpdateListener { private ImageButton mImageButton1; private

[android-developers] Is there a way to backup and restore a Cursor?

2009-07-21 Thread Johnny Lee
Hello all, I'm always get stuck when I want to do some testing with my Classes which are working against the default providers. For example, one method of my class meant to get all audio from MediaStore.Audio.Media.EXTERNAL_CONTENT_URI. That's ok for implementation, but when I want to test

[android-developers] Re: StackOverflow Exception while using TabActivity

2009-07-21 Thread Romain Guy
You have way too many nested viewsgroups/layout. Remove some of them :) On Mon, Jul 20, 2009 at 10:04 PM, Dexter#39;s Braincoomar@gmail.com wrote: Hi, I have a TabActivity, there are 4 tabs. In each tab I have put a single Activity. One of the activities contains a Custom List View

[android-developers] Re: Use sqlite in AsyncTask freeze all

2009-07-21 Thread ludovic.perrier
Thanks for your advices, I try... On 21 juil, 15:57, Streets Of Boston flyingdutc...@gmail.com wrote: It's hard to tell why this happens with your app. Try to debug it: Attach the Eclipse debugger to your process when it hangs and then pause the entire process. Then open up (expand) the

[android-developers] Re: why can't stop the mediaplayer??

2009-07-21 Thread Marco Nelissen
The problem is that in your onCreate(), you always do mMediaPlayer1 = new MediaPlayer();, and then *afterwards* you check whether mMediaPlayer1 is playing (which it won't be, because you just created it). On Tue, Jul 21, 2009 at 8:34 AM, tstanlytsai.sta...@gmail.com wrote: thank you...

[android-developers] Re: why can't stop the mediaplayer??

2009-07-21 Thread tstanly
thanks!! that's right..i'm so stupid...:( and how can i solve this problem? i think a way, let mMediaPlayer1 definition be declared in list.java, and use static, is that a good method??? so thank you!! On 7月22日, 上午12時17分, Marco Nelissen marc...@android.com wrote: The problem is that in

[android-developers] Re: why can't stop the mediaplayer??

2009-07-21 Thread tstanly
ok... just define outer onCreate,it's work!! thank you! On 7月22日, 上午12時21分, tstanly tsai.sta...@gmail.com wrote: thanks!! that's right..i'm so stupid...:( and how can i solve this problem? i think a way, let mMediaPlayer1 definition be declared in list.java, and use static, is that

[android-developers] Re: why can't stop the mediaplayer??

2009-07-21 Thread Marco Nelissen
It's already a static in your 'play' class, so making it a static in some other class isn't going to help much. The easiest way to fix it is probably to add a constructor to your class and initialize mMediaPlayer1 there. Also note that the if (!mMediaPlayer1.isPlaying()) check isn't really

[android-developers] Re: How does Android Market fill in a list?

2009-07-21 Thread Moto
Not sure if this will help you but here it goes: Create a custom adapter and make its data public to that you can append your new data to it as it downloads. When you get say 10 items loaded you could trigger on the adapter notifiDataChanged. This will just refresh the data and take care of

[android-developers] How to Speed up Animation

2009-07-21 Thread doubleslash
I have a static background image, and a foreground that needs to be animated. I tried a couple different approaches but the animation seemed choppy. One thing I did was having 2 different views, constantly calling invalidate() on the foreground view. Another was to have only 1 surfaceview,

[android-developers] Re: How to redirect users to Amazon MP3 Store?

2009-07-21 Thread Moto
I guess not possible.. Anyone from Google with an idea? --~--~-~--~~~---~--~~ 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: Progress bar like in android market

2009-07-21 Thread Moto
Repost sorry: Here is your solution: On your custom adapter and make its data public to that you can append your new data to it as it downloads. When you get say 10 items loaded you could trigger on the adapter notifyDataChanged. This will just refresh the data and take care of showing the

[android-developers] Re: Progress bar like in android market

2009-07-21 Thread Moto
Re-post sorry: Here is your solution: On your custom adapter make its data public to that you can append your new data to it as it downloads. When you get say 10 items loaded you could trigger on the adapter notifyDataChanged. The adapter will take care of adding the new items without moving

[android-developers] Re: How does Android Market fill in a list?

2009-07-21 Thread Moto
John thanks for your post... I guess I'm over thinking this task... Thanks will use a thread for that... On Jul 21, 12:54 pm, Moto medicalsou...@gmail.com wrote: Not sure if this will help you but here it goes: Create a custom adapter and make its data public to that you can append your

[android-developers] Re: Calibration with the environment may improve the readings ?!

2009-07-21 Thread Mike Collins
Can you be a bit more explicit about what you mean by making a bit 8-like gesture. I'm having no luck getting the sensor to make much sense. mike On Jun 16, 3:31 pm, flegare fleg...@gmail.com wrote: I auto answer myself and the poor soul who fall on this post, so far the only way to

[android-developers] Re: Fwd: Wanted jobs

2009-07-21 Thread Ruchir
check out Android group on oDesk. http://www.odesk.com/groups/android they keep getting new remote jobs.. On May 22, 2:46 am, satheesh kumar satheeshbornto...@gmail.com wrote: -- Forwarded message -- From: satheesh kumar satheeshbornto...@gmail.com Date: Fri, May 22, 2009 at

[android-developers] Show dialog when incoming call

2009-07-21 Thread Ronald Pompa
Hi, I've got an app which looks up the caller by the phonenumber using a search service. Right now I've got a PhoneStateListener where I check for the state to change and when it does, I show a toast notification. Due to the limitations of the toast I have to use something else. I've tried a

[android-developers] Show notification dialog during incoming call.

2009-07-21 Thread Ronald Pompa
Hi. I've got a PhoneStateListener to see call state changes, when a call is incoming I make my app show a toast notification to display caller data which I retrieve from a search service. Due to toasts limitation, i would like to show a dialog instead which allows me to show the notification

[android-developers] Re: Discussion on localizing-android-apps-draft

2009-07-21 Thread incognito
havexz, I'm trying to figure out the exact same thing as you. It appears that you already figured it out. Can you please tell me how you were able to see keyboards for other languages when clicking the edit box? I will really appreciate it. On May 31, 11:47 pm, havexz bali.param...@gmail.com

[android-developers] parsing xml feed without data elements

2009-07-21 Thread CrashRaider
hi, i am parsing a feed without data elements. http://www.zaragoza.es/ciudad/rss/feed?type=5canal=46 someone knows how can i read this values?? atts.getValue(data) no work here Thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Real time recording

2009-07-21 Thread maurizio.bellemo
Hi all, I was trying to understand how to use the camera in Android to develop my app. I just had a looking at the MediaRecorder class and it seemed to me the perfect and easy solution. But here's the problem... I do not want to save the recording on the mobile, storing it in a file, but I would

[android-developers] How can I output XML Document as text?

2009-07-21 Thread gnugu
Hi, I have org.w3c.dom.Document that I want to save to file. I need to get the XML data out of it as string. How can be this done? I found the way to do it in Java, but Android doesn't seem to have the transformer. Thank you! --~--~-~--~~~---~--~~ You received

[android-developers] starting with

2009-07-21 Thread Jags
A few days back i joined 2 of the forums, but i was unable to send new posts to the forums, and then i un subscribed. I dont know why. Anyway, I am using a mac. around 1 month back I downloaded and built the source code of full android as described in their sites and was able to run emulator.

[android-developers] How to reuse APL2.0 licensed code correctly?

2009-07-21 Thread thevery
I want to re-use several files from android music player which is licensed in APL2.0 license in my non-oss project. APL license requires that my works must meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this

[android-developers] Re: Byte array from bitmap

2009-07-21 Thread migo
ByteArrayOutputStream bos = new ByteArrayOutputStream(); bitmap.compress(CompressFormat.PNG, 0 /*ignored for PNG*/, bos); byte[] bitmapdata = bos.toByteArray(); On Jul 21, 4:54 am, Sharmila sharmcg...@gmail.com wrote: Is it possible to create a byte array from bitmap?How can I do so? Thanks,

[android-developers] GeoCoder getFromLocationName search for business doesn't work

2009-07-21 Thread jaaaelpumuki
Hi, I've googled a lot about this, everybody is like me, no answers. Can we search for business using Android (Google Apis 1.5)? or it's only a thing for the native application GoogleMaps Geocoder geoCode = new Geocoder(getApplicationContext(), Locale.getDefault()); ListAddress addresses =

[android-developers] Re: maps api and 1.5

2009-07-21 Thread Spiral
Same here. On Jul 6, 8:45 pm, Georgy georgearna...@gmail.com wrote: Hello Brian, I am having your same issue. Were you able to solve it? thanks On May 25, 8:48 am, brian.schimmel brian.schim...@googlemail.com wrote: Hi everybody, I'm getting the same problems. Of course I have

[android-developers] Re: How to drop the AppWidget to Home Screen?

2009-07-21 Thread vishwa
Is it possible to create a shortcut by any means for a widget on Home Screen? Instead of adding the Widget from Menu-Add-Widgets-... can i add a shortcut to home as and when the widget gets installed? Rgds Vishwa On Jun 17, 12:12 pm, Ting Zheng tng.z...@googlemail.com wrote: Thx very much for

[android-developers] Re: Gaming Network

2009-07-21 Thread gaming_nerd
Hi Centerster, have you started building out this product? We should talk we have a similar initiative and can collaborate On Jun 15, 6:29 pm, CenterSter Yoshi simd...@gmail.com wrote: I am in the process of starting on a API BUILD to provide multi user ability to any game or application on

[android-developers] Re: How to use CheckBox as children in ExpandableList?

2009-07-21 Thread anki_dai...@yahoo.com
You are using final ListView listView = getExpandableListView(); listView.setItemsCanFocus(false); listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE); but you are extending ExpandableListActivity, not ListActivity. To use chekboxes properly you have to use mAdapter variable..

[android-developers] Google maps not working on G1

2009-07-21 Thread saptarshi chatterjee
Map related issues are solved. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Why are there no native International Input Soft Keyboards?

2009-07-21 Thread incognito
My question basically is why are there no native international input soft keyboards in Android 1.5? I tested this in the emulator by changing my Locale to Chinese. I got all the text in Chinese just as expected. Then I clicked on the google search box expecting a Chinese keyboard to appear but

[android-developers] Re: Cannot load maps with Production API Key.

2009-07-21 Thread saptarshi chatterjee
Friends get one thing very clear. If u want to use MAP then you must have a registered MAP API key. Now there is 2 kinds of MAP API key 1) Debug map API key -- Only for debugging the application on emulator. it's location is C:\Documents and Settings\User\.android \debug.keystore .Read it using

[android-developers] Gaming API

2009-07-21 Thread gaming_nerd
We've developed an API that enables multiplayer game networking, leaderboards, profiles, stats and lobbies. We're currently in private beta with a few games. If you have a game or are thinking about building a game please send me an email to d...@titangaminginc.com with a brief description and

[android-developers] Enhance browser capability

2009-07-21 Thread Dave Eichler
Hi, I'm looking to research the Android's web browsing capability and then extend it. Is it possible to do this by downloading the source, and uploading to the ADP1? Can you edit the source on any of the android phones, or does it have to be the ADP1? If it is hard to extend/enhance/edit the

[android-developers] Re: eclipse obfuscation plugin for android development on OSX

2009-07-21 Thread Junda
I tried the ant script way with help from the other posts. I have written a blog post on how i did it in http://just2us.com/2009/07/tutorial-obfuscate-an-android-application/ (: On Jul 16, 6:12 am, Fred Grott(shareme) fred.gr...@gmail.com wrote: use proguard..turn off peer optimization Fred

[android-developers] Display extra information on map (subway, metro)

2009-07-21 Thread bobygerm
Hello, Could you please help me to display in my android application a map showing public transportation means (metro, subway), like this :

[android-developers] Re: Calibration with the environment may improve the readings ?!

2009-07-21 Thread François Légaré
The competition is more clear about the subject :P Here what Mr. 3Gs have to say about the 8 gestures: http://mcall.com.com/i/bto/20090622/compcal_270x404.jpg By the way it really work... On Tue, Jul 21, 2009 at 7:18 PM, Mike Collins mike.d.coll...@gmail.comwrote: Can you be a bit more

[android-developers] Re: How to reuse APL2.0 licensed code correctly?

2009-07-21 Thread Marco Nelissen
If you don't fully understand the license of the code you're planning to use, you should probably consult a lawyer. I am not a lawyer, but my reading of the license is that you don't even need to include the NOTICE file (note how (d) starts with the word If). On Tue, Jul 21, 2009 at 1:48 AM,

[android-developers] TabHost :: Changing tab content with intents dynamically

2009-07-21 Thread 6real
Dear all, I have a tabactivity with several tabs. They are all defined with intents. On one tab, I have an action that needs to bring me to another tab and with a specific data. I worked with Intents and I broadcast them to change the tab. For that I have no problem. But I am facing an issue

[android-developers] Re: Problems drawing a SurfaceView

2009-07-21 Thread klirr
Thanks, that works. However it doesn't redraw when I press the keypad. Why not? This is what I have now: package com.android.WWS; import android.app.Activity; import android.content.Context; import android.graphics.*; import android.os.Bundle; import android.view.SurfaceView; import

[android-developers] Re: How to compare two (simple) images?

2009-07-21 Thread Yusuf T. Mobile
As I'm sure you know, taking a picture of a white paper won't fill every pixel with 0xFF (assuming 256 colors), but it will fill most bytes with a high number. So you could take a sample, like 10 or 100 pixels evenly distributed around the image, and do some lightweight statistical analysis on

[android-developers] Re: need some help regarding ksoap2

2009-07-21 Thread Yusuf T. Mobile
So are you saying that your Android SOAP client app is making a valid SOAP request, but that the server is responding to it with non-XML? Can you give us the packet trace? Wireshark is a handy tool for developing SOAP apps. Telnet (to mimic what your client would send and see the response) is

[android-developers] Some Basic Questions

2009-07-21 Thread Evan Ruff
Hey guys, I'm just starting to refine my first Android application and I was wondering if you could help me with a couple of general issues I'm having. 1. State Honestly, I haven't really done too much research here except for looking at the Activity/SubActivity stuff (that's how most of my

  1   2   >