[android-developers] Re: ActionBar forward compatibility

2011-05-24 Thread Brill Pappin
Thanks Zsolt, I missed it when looking over the docs. -- 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] cancel Notification

2011-05-24 Thread shanmu nathan
Hi guys, I need one help.. I need to cancel a notification when the event is over. can anybody help me.. -- With Regards, SHANMUGANATHAN. A Software Engineer Trainee, Citrisys Solution, Phone: +91.44.22311173 Mail To: sayyadu...@citrisys.com -- You received this message because you

[android-developers] Web view performance

2011-05-24 Thread maccoy
In one of our application we are using web view to show some html content(we have some css and so may not be able to use Textview). But it seems the loading of web view is very slow.(atleast when the first time we launch this page).is there any way we can optimise this or any other suggestion..

[android-developers] Re: NFC JNI Error on Nexus S

2011-05-24 Thread Shekhar
I do face similiar kind of errors 05-24 15:00:41.765: INFO/ActivityManager(113): Starting: Intent { act=android.nfc.action.TECH_DISCOVERED flg=0x3000 cmp=com.example.andorid.apis.mifare/.MainActivity (has extras) } from pid -1 05-24 15:00:41.781: INFO/Foreground dispatch(1587): Discovered

[android-developers] is anybody there having interest to reverse engineer the spotify code?

2011-05-24 Thread Hitendrasinh Gohil
hi, Is there anybody having interest to reverse engineer the spotify code? -- 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

[android-developers] Re: Many apps disappeared in Android Market this morning

2011-05-24 Thread Eong
The Simplified Chinese option also disapeared from the description part. It seems it's not just a bug. On 5月18日, 下午2时57分, feng tjs...@gmail.com wrote: I found the same issue. On May 17, 9:19 am, john huang john.h...@gmail.com wrote: I have try clear everything I can clear, and reboot

Re: [android-developers] First item in Gridview has null mAttachInfo

2011-05-24 Thread String
Or, it may well be a bug in GridView. I've confirmed to my own satisfaction a somewhat similar bug in a GridView that I use: the view attached to the first item returns (0,0) for getHitRect(). Only the first item, but I'm not doing *anything* different in its creation or handling. Makes for a

[android-developers] Re: How to unmount SD card with java code on android?

2011-05-24 Thread FrankG
Hi Vicky, The i.e. teh Settings App uses an AIDL Interface ( IMountService ) to mount/unmount the sdcard finally via vold. But I think only as part of the system build and signed with the platform key your are able to use it. But you can check this for your own. Good luck ! Frank On 23 Mai,

[android-developers] Re: App will not Install/Move to SD Card on HTC Desire HD

2011-05-24 Thread Craig D
See Android issue 9593: http://code.google.com/p/android/issues/detail?id=9593 On May 19, 10:01 am, Valery valery.bogda...@gmail.com wrote: Our users reporting same problems, same devices: HTC Desire, HTC Legend There can be some bug or restriction with HTC devices that blocks apps to moving

[android-developers] RatingBar

2011-05-24 Thread neha
hi I want to create custom rating bar with image choosed by me instead of stars. Can anyone provide me code -- 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

[android-developers] Timer

2011-05-24 Thread shanmu nathan
Hi guys, i need to show the stop watch when i clicks the button.. can anybody help me.. -- With Regards, SHANMUGANATHAN. A Software Engineer Trainee, Citrisys Solution, Phone: +91.44.22311173 Mail To: sayyadu...@citrisys.com -- You received this message because you are subscribed

[android-developers] Re: Key capture background

2011-05-24 Thread coder_sym
I wonder why this capability is closed when there are lot of genuine use cases. You are welcome to write your own mobile operating system that enables spyware to monitor key presses from other applications. In that case why cant u allow a single key to be accesible? not all the keysrokes

Re: [android-developers] Timer

2011-05-24 Thread Mohammed Hossain Doula
http://developer.android.com/resources/articles/timed-ui-updates.html http://developer.android.com/resources/articles/timed-ui-updates.html http://steve.odyfamily.com/?p=12 On Tue, May 24, 2011 at 1:16 PM, shanmu nathan win.sha...@gmail.com wrote: Hi guys, i need to show the stop

[android-developers] Re: NFC - Custom Tag Dispatching

2011-05-24 Thread Patrick Boos
yes you can. use your own mimeType and then the intent filter: intent-filter action android:name=android.nfc.action.NDEF_DISCOVERED/ data android:mimeType=mime/type / /intent-filter ass well in the forgroundDispatch you can define for which mime type to listen. On May 5, 2:13 am, Troy

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Doug
Well, before you rashly declare web inferior to native, you might want to watch this talk from Google I/O: http://www.google.com/events/io/2011/sessions/html5-versus-android-apps-or-web-for-mobile-development.html Doug On May 23, 5:20 pm, Miguel Morales therevolti...@gmail.com wrote: Sorry,

[android-developers] Re: Timer

2011-05-24 Thread neha
hey You can use Handler class or chronometer. On May 24, 8:16 am, shanmu nathan win.sha...@gmail.com wrote: Hi guys,             i need to show the stop watch when i clicks the button.. can anybody help me.. -- With Regards, SHANMUGANATHAN. A Software Engineer Trainee, Citrisys

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Zsolt Vasvari
On May 24, 1:49 pm, Justin Anderson magouyaw...@gmail.com wrote: @Zsolt Now I'm curious... What apps have you published so far? I publish a personal finance app. It took me a 1 1/2 years to develop it from the point I first downloaded the Android SDK to whenI first published it. And it's

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Francisco Dalla Rosa soares
I'd go further: http://www.reddit.com/r/programming/comments/hdcc1/qemu_has_been_ported_to_javascript_linux_now_runs/ 2011/5/24 Doug beafd...@gmail.com Well, before you rashly declare web inferior to native, you might want to watch this talk from Google I/O:

[android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread khanh_qhi™
Hi all, Could anyone give me full source code of this game in Android? -- Regards, Khanh. -- 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

[android-developers] Re: Orientation change and setRender

2011-05-24 Thread qwesthead
the problem was with cleaning up the textures upon orientation change. After I added that, it is working fine. On May 20, 12:37 am, qwesthead qwesth...@gmail.com wrote: I've a region on an activity that uses GLSurfaceView. When the Activity is resumed, I call the setRenderer and then the

[android-developers] Re: View.GONE but still accepts UI events

2011-05-24 Thread Anm
Okay, so what is the rationale behind the animation null check? Why would a view that is either GONE or INVISIBLE receive events just because its animating (or more correctly, has a reference to a Animation object, regardless of whether it is actively animating)? Nothing I see in the Animation

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Robin Talwar
sure :) do you want that in 3D?? On Tue, May 24, 2011 at 1:47 PM, khanh_qhi™ khanhqh20...@gmail.com wrote: Hi all, Could anyone give me full source code of this game in Android? -- Regards, Khanh. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Does Ads can't compatible with requestWindowFeature command?

2011-05-24 Thread Perry168
Hi , Today, I try to add the Ads in my activity. I found that it throw error. After trial and error, I found if I not turn off the title bar. The activity can run in perfect. But if I really hope to hidden the title bar with Ad, what can I do? Also, who can teach me about this problem come from?

[android-developers] Re: Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Perry168
Hi, May I have a copy too? Thanks! On 5月24日, 下午4時35分, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: sure :) do you want that in 3D?? On Tue, May 24, 2011 at 1:47 PM, khanh_qhi(tm) khanhqh20...@gmail.com wrote: Hi all, Could anyone give me full source code of this game in Android?

[android-developers] Re: AdSence Publisher ID and Android Developer Console

2011-05-24 Thread Andre
Has anyone encountered a similar bug in Android Developer Console? -- 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

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Daniel Drozdzewski
you guys make me chuckle in the morning... I am happy to provide a full source code of said game in 3D + very sleek graphics and branding *Tic-Tac-Toe-Tac-Tic*(TM) upon receiving of a valid credit card number + CVV + name_as_on_the_card. Thanks! On Tue, May 24, 2011 at 9:47 AM, khanh_qhi™

[android-developers] how to listen at ports for some network events?

2011-05-24 Thread Hitendrasinh Gohil
hi, can anybody tell me how can i listen at particular ports for some network events? i.e when server send some data client is enable to procees it. -- 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] Mobile Payment API

2011-05-24 Thread Sivaprakash
Hi Is there any good Mobile Payment Gateway API available? Thanks Siva -- 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

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Marcin Orlowski
I just received it! Thanks Robin! Regards, Marcin Orlowski On 24 May 2011 10:35, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: sure :) do you want that in 3D?? On Tue, May 24, 2011 at 1:47 PM, khanh_qhi™ khanhqh20...@gmail.comwrote: Hi all, Could anyone give me full source code of

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread khanh_qhi™
Oh, Great! Please, send me and Thank a lots! On Tue, May 24, 2011 at 3:35 PM, Robin Talwar r.o.b.i.n.abhis...@gmail.comwrote: sure :) do you want that in 3D?? On Tue, May 24, 2011 at 1:47 PM, khanh_qhi™ khanhqh20...@gmail.comwrote: Hi all, Could anyone give me full source code of this game

[android-developers] xml parser generator

2011-05-24 Thread Sudha
is there any android specific xml generator ? -- 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

Re: [android-developers] xml parser generator

2011-05-24 Thread Jitesh dedhiya
http://www.androidpeople.com/android-xml-parsing-tutorial-using-saxparser On Tue, May 24, 2011 at 3:30 PM, Sudha sudha...@gmail.com wrote: is there any android specific xml generator ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread khanh_qhi™
Hi Marcin, Could you send me the source code? On Tue, May 24, 2011 at 4:53 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: I just received it! Thanks Robin! Regards, Marcin Orlowski On 24 May 2011 10:35, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: sure :) do you want that in

[android-developers] emulator error

2011-05-24 Thread nageswara rao rajana
Hi, I implemented demo application in android,i got error like , An unhandled win32 exception occured in emulator.exe can anyone please help me what might be the problem. With regards, Nagu. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Some questions about the driver and library..

2011-05-24 Thread Lulu L
Hi all, I'm new in android. We got a big project and a tight schedule. So I need some help. Description We have a sensor and we want to use it in android. Currently we have the source code of the* driver* and the *framework *in LINUX, and the DLL files of the *middle ware*. We also need an*

[android-developers] Camera App

2011-05-24 Thread New Developer
On my Zoom's home Screen it has the camera app, which has a button for front and back camera and then a slider/button for video or photo When it saves a photo is it IMG_mmDDhhMMss.jpg All of which is great / perfect Using the following code ContentValues values = new ContentValues();

Re: [android-developers] how to listen at ports for some network events?

2011-05-24 Thread Mark Murphy
Use a ServerSocket. This is standard Java. http://exampledepot.com/egs/java.net/CreateServerSocket.html On Tue, May 24, 2011 at 5:24 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, can anybody tell me how can i listen at particular ports for some network events? i.e when

Re: [android-developers] cancel Notification

2011-05-24 Thread Mark Murphy
Call cancel() or cancelAll() on NotificationManager. On Tue, May 24, 2011 at 2:06 AM, shanmu nathan win.sha...@gmail.com wrote: Hi guys,    I need one help.. I need to cancel a notification when the event is over. can anybody help me.. -- With Regards, SHANMUGANATHAN. A Software

[android-developers] Need Help

2011-05-24 Thread neha
Can anyone provide me code to add RatingBar in alert box. -- 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: View.GONE but still accepts UI events

2011-05-24 Thread String
My experience is that animation (at least pre-Honeycomb) overrides the equivalent properties of the view being animated. For instance, if you're animating a view's position, what will be shown on screen is the position from the animation, not what you may have set on that View's layout.

Re: [android-developers] Need Help

2011-05-24 Thread Mark Murphy
Use AlertDialog.Builder. Call setView() on the Builder with a RatingBar, or some layout you inflated that contains a RatingBar. On Tue, May 24, 2011 at 7:17 AM, neha neha.05...@gmail.com wrote: Can anyone provide me code to add RatingBar in alert box. -- Mark Murphy (a Commons Guy)

Re: [android-developers] how to listen at ports for some network events?

2011-05-24 Thread Hitendrasinh Gohil
hi mark, thankx for ur reply.but can u give me some elaborative example. i have never done it before. -- Regards, Hitendrasinh Gohil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] how to listen at ports for some network events?

2011-05-24 Thread Kumar Bibek
You will need a server part and a client part for this. Try setting up a chat server and client application based on Sockets and you would know. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, May 24, 2011 at 4:53 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com

[android-developers] Re: Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Zsolt Vasvari
Thanks, Robin, for the full 100% source. You even had instructions on how to load it and compile it. Great game. On May 24, 6:13 pm, khanh_qhi™ khanhqh20...@gmail.com wrote: Hi Marcin, Could you send me the source code? On Tue, May 24, 2011 at 4:53 PM, Marcin Orlowski

[android-developers] Getting contacts with phone number only

2011-05-24 Thread Abalufaske
Cursor Contactos = getContentResolver().query(RawContactsEntity.CONTENT_URI, new String[]{ RawContactsEntity.DATA_ID, RawContactsEntity.MIMETYPE, RawContactsEntity.DATA1,

Re: [android-developers] how to listen at ports for some network events?

2011-05-24 Thread Hitendrasinh Gohil
Hi, You will need a server part and a client part for this. Try setting up a chat server and client application based on Sockets and you would know. server is already there which sends data to android client.but at android side how can i handle this. whether i need to create both client-server

Re: [android-developers] Need Help

2011-05-24 Thread neha jain
thank you.. my problem has solved. On Tue, May 24, 2011 at 12:20 PM, Mark Murphy mmur...@commonsware.comwrote: Use AlertDialog.Builder. Call setView() on the Builder with a RatingBar, or some layout you inflated that contains a RatingBar. On Tue, May 24, 2011 at 7:17 AM, neha

Re: [android-developers] Need Help

2011-05-24 Thread gaurav gupta
but how?? can u suggest me? On Tue, May 24, 2011 at 5:05 PM, neha jain neha.05...@gmail.com wrote: thank you.. my problem has solved. On Tue, May 24, 2011 at 12:20 PM, Mark Murphy mmur...@commonsware.comwrote: Use AlertDialog.Builder. Call setView() on the Builder with a RatingBar, or

Re: [android-developers] how to listen at ports for some network events?

2011-05-24 Thread Mark Murphy
ServerSocket is standard Java. Had you even bothered to search Google for: java serversocket tutorial you would have found nearly 100,000 hits, including: http://download.oracle.com/javase/tutorial/networking/sockets/clientServer.html http://zerioh.tripod.com/ressources/sockets.html

[android-developers] Toggling BT A2DP audio routing

2011-05-24 Thread Pent
There used to be some functions in AudioManager to route audio to BT. Remaining these days is only setBluetoothScoOn(). For some reason there is no setBluetoothA2DPOn(). I get a lot of requests to enable / disable routing of audio (notifications, media etc) to A2DP devices. It seems that

Re: [android-developers] Need Help

2011-05-24 Thread gaurav gupta
i need ur suggestion that how u manage to create custom rating bar with images choosed by u. i need help in that . Thank u in advance hi I want to create custom rating bar with image choosed by me instead of stars. Can anyone provide me code On Tue, May 24, 2011 at 5:09 PM, gaurav

[android-developers] Force Killing Application

2011-05-24 Thread Pandi
Hi, I am getting below message from logcat. On Force closing of application, what function will be called in application? OnDestroy (or) OnPause? If we do not have this implementation on application what will happen in activity manager? what is meaning of Channel is unrecoverably broken and will

Re: [android-developers] Need Help

2011-05-24 Thread neha jain
Follow this link ..u will get answer... http://stackoverflow.com/questions/5800657/how-to-create-custom-ratings-bar-in-android On Tue, May 24, 2011 at 12:42 PM, gaurav gupta gaurav.gupta...@gmail.comwrote: i need ur suggestion that how u manage to create custom rating bar with images choosed

[android-developers] Performance issues drawing on a canvas

2011-05-24 Thread neuromit
I'm writing a pacman style game that has a lot of things to be drawn, namely, the dots that pacman likes to eat. I'm finding that the drawing of the dots is greatly hampering the performance of the game. If I turn them off my app consumes much fewer cpu cycles than if they are left on. here is

Re: [android-developers] Need Help

2011-05-24 Thread neha jain
Follow this link ..u will get answer... http://stackoverflow.com/questions/5800657/how-to-create-custom-ratings-bar-in-android On Tue, May 24, 2011 at 12:42 PM, gaurav gupta gaurav.gupta...@gmail.comwrote: i need ur suggestion that how u manage to create custom rating bar with images choosed

[android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread String
Rather than having people guess at why that might be slow (I can see a handful of possibilities right away), may I suggest you profile it and find out for sure: http://android-developers.blogspot.com/2010/10/traceview-war-story.html String -- You received this message because you are

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Matt Powers
Programming apps in the traditional sense, on your own might not be a great career path. But android developers are in very high demand right now. You would be shocked to see big name companies and their inability to get on mobile, they know they have to but they don't know how. Additionally

[android-developers] Re: Application crashes when downloding long data in from server and in loop.............

2011-05-24 Thread Streets Of Boston
This would mean your program put the entire 10Mbyte of data into one large JSONObject... Then you'd have, at least temporary, a 10MByte large json-string *and*a 10MByte (or larger) JSONObject hierarchy If this is the case, you'd probably run out of memory. -- You received this message

Re: [android-developers] Getting contacts with phone number only

2011-05-24 Thread Jitesh dedhiya
http://www.higherpass.com/Android/Tutorials/Working-With-Android-Contacts/2/ On Tue, May 24, 2011 at 5:01 PM, Abalufaske abalufa...@gmail.com wrote: Cursor Contactos = getContentResolver().query(RawContactsEntity.CONTENT_URI, new String[]{

Re: [android-developers] Performance issues drawing on a canvas

2011-05-24 Thread Daniel Drozdzewski
Stuart, There are few fixes straight away: - Have a predefined Paint object for your dots and use that instead of creating new Paint object each time you enter drawDots() - assign dots.size() to a local variable and keep testing that variable in the for loop, rather than calling size() method

Re: [android-developers] Force Killing Application

2011-05-24 Thread Mark Murphy
On Tue, May 24, 2011 at 7:54 AM, Pandi pandiwelco...@gmail.com wrote: I am getting below message from logcat. Unless you work for Google, that stack trace is not from your application. On Force closing of application, what function will be called in application? OnDestroy (or) OnPause?

Re: [android-developers] Re: how to read all sms,calendar events,emails?

2011-05-24 Thread TreKing
On Mon, May 23, 2011 at 10:55 PM, Zsolt Vasvari zvasv...@gmail.com wrote: If you want to read calendar events, go to the Calendar app source code and copy out the relevant pieces. Better yet, use the official Google Calendar API, which has nothing to do with Android specifically. Then your

Re: [android-developers] how use broadcast receiver to receive data from server?

2011-05-24 Thread TreKing
On Tue, May 24, 2011 at 12:17 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: i need to do the above functinality ,pls suggest a way. C2DM - TreKing

Re: [android-developers] is anybody there having interest to reverse engineer the spotify code?

2011-05-24 Thread TreKing
On Tue, May 24, 2011 at 1:24 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: Is there anybody having interest to reverse engineer the spotify code? Nope. - TreKing

Re: [android-developers] RatingBar

2011-05-24 Thread TreKing
On Tue, May 24, 2011 at 2:02 AM, neha neha.05...@gmail.com wrote: Can anyone provide me code No Can you make an effort to solve your own problem Can you post when you have trouble with something specific Do you think this group is a charity with people just sitting around to

Re: [android-developers] RatingBar

2011-05-24 Thread neha jain
hey treking i have solved my problem without ny help of this group.I am new to android n if i asked this question,its not a big thing. If u dont wanna share code thn keep it to u. On Tue, May 24, 2011 at 2:37 PM, TreKing treking...@gmail.com wrote: On Tue, May 24, 2011 at 2:02 AM, neha

Re: [android-developers] RatingBar

2011-05-24 Thread Mohammed Hossain Doula
Neha you could have asked for a way not a code... :) That's not a good practice for a developer... On Tue, May 24, 2011 at 7:56 PM, neha jain neha.05...@gmail.com wrote: hey treking i have solved my problem without ny help of this group.I am new to android n if i asked this question,its not

Re: [android-developers] Re: how to read all sms,calendar events,emails?

2011-05-24 Thread Marcin Orlowski
On 24 May 2011 15:29, TreKing treking...@gmail.com wrote: On Mon, May 23, 2011 at 10:55 PM, Zsolt Vasvari zvasv...@gmail.comwrote: If you want to read calendar events, go to the Calendar app source code and copy out the relevant pieces. Better yet, use the official Google Calendar API,

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread TreKing
Hey Robin, I too wanted to thank you for the original source code you provided. An extra big thanks for the updates you made for my copy at my request! The 3D polygons look amazing, the 16-player online multiplayer component you added works flawlessly, and I was able to upload the game, as is,

Re: [android-developers] RatingBar

2011-05-24 Thread TreKing
On Tue, May 24, 2011 at 8:56 AM, neha jain neha.05...@gmail.com wrote: i have solved my problem without ny help of this group. Huh? If you solved your problem then why are you asking for code? I am new to android n if i asked this question,its not a big thing. I don't know what that

Re: [android-developers] Re: how to read all sms,calendar events,emails?

2011-05-24 Thread TreKing
On Tue, May 24, 2011 at 9:05 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 24 May 2011 15:29, TreKing treking...@gmail.com wrote: On Mon, May 23, 2011 at 10:55 PM, Zsolt Vasvari zvasv...@gmail.comwrote: If you want to read calendar events, go to the Calendar app source code and

[android-developers] Re: Purchases stuck again in Google Checkout

2011-05-24 Thread niko20
Same here, many sales that don't Clear until way late the next day On May 23, 5:24 pm, Zsolt Vasvari zvasv...@gmail.com wrote: Locking - Lucky On May 24, 6:19 am, Zsolt Vasvari zvasv...@gmail.com wrote: Well, you guys are locking.  6 of my orders, about 15%, haven't charged in the

[android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread neuromit
Thank you both for your suggestions, they are really helpful. I was able to optimise my code quite a bit. My collision detection is pretty primitive, so I'll definitely try to improve that. public boolean detectCollision(Point target, int dist) { return (Math.abs(this.x -

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread DanH
The basic problem is that you've got millions of high school students and college dropouts who fancy themselves programmers, and they're all writing Android apps, hoping to come up with the next big hit. A very small number will develop into decent programmers, and an even smaller (microscopic)

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Miguel Morales
Luckily for you Android does provide some tictactoe source: http://developer.android.com/resources/samples/TicTacToeLib/index.html On Tue, May 24, 2011 at 7:10 AM, TreKing treking...@gmail.com wrote: Hey Robin, I too wanted to thank you for the original source code you provided. An extra big

[android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread neuromit
Also do you mean that they should be split into separate threads or just separate methods? On May 24, 11:25 am, neuromit stuart.lay...@gmail.com wrote: Thank you both for your suggestions, they are really helpful.   I was able to optimise my code quite a bit. My collision detection is pretty

Re: [android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread Miguel Morales
Yeah, drawing sprites on a canvas in general is slow. Not to mention with the added collision detection. I would try doing a game-loop for for the animation/calculation and have a single loop for drawing. This makes sure you draw as fast as possible and your calculations run at a steady rate.

Re: [android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread Miguel Morales
They should be in separate threads. On Tue, May 24, 2011 at 8:42 AM, neuromit stuart.lay...@gmail.com wrote: Also do you mean that they should be split into separate threads or just separate methods? On May 24, 11:25 am, neuromit stuart.lay...@gmail.com wrote: Thank you both for your

Re: [android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread Daniel Drozdzewski
On Tue, May 24, 2011 at 4:25 PM, neuromit stuart.lay...@gmail.com wrote: Thank you both for your suggestions, they are really helpful.   I was able to optimise my code quite a bit. My collision detection is pretty primitive, so I'll definitely try to improve that. public boolean

[android-developers] Re: Forward Reference in XML File

2011-05-24 Thread Eric
On May 24, 12:01 am, Zsolt Vasvari zvasv...@gmail.com wrote: Just use the @+id notation.  @id will not create a resource ID. Interesting. I had no idea you could use that notation when referring to another component. I thought the + notation was reserved for the android:id tag, but I guess I

[android-developers] Re: Getting contacts with phone number only

2011-05-24 Thread Abalufaske
that is for 1.6 API for contacts, not 2.x btw the query for 2.x API in that page returned void and crashes my program On May 24, 2:17 pm, Jitesh dedhiya jitesh.dedh...@gmail.com wrote: http://www.higherpass.com/Android/Tutorials/Working-With-Android-Cont... On Tue, May 24, 2011 at 5:01

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Dianne Hackborn
On Tue, May 24, 2011 at 8:29 AM, DanH danhi...@ieee.org wrote: Additionally, Android, as it's currently designed, does not have legs. The process model and UI are both too restrictive to be extendable to the pads and other new paradigms of the future. Care to explain that? I very much

Re: [android-developers] Re: View.GONE but still accepts UI events

2011-05-24 Thread Dianne Hackborn
Because if it is animating, you don't want it to disappear and stop working until the animation is done. You are absolutely not supposed to just leave an animation attached to a view. Views that are currently animating are in a special state, and have a lot of special behavior applied to them

Re: [android-developers] Force Killing Application

2011-05-24 Thread Dianne Hackborn
You killed the processes. Various parts of the system are finding the process disappeared on them and cleaning up. Your app doesn't get nicely told when the process is killed. On Tue, May 24, 2011 at 4:54 AM, Pandi pandiwelco...@gmail.com wrote: Hi, I am getting below message from logcat.

Re: [android-developers] Camera App

2011-05-24 Thread Dianne Hackborn
This Intent is used to bring up a UI to have the user take a single picture and return it to you. Use ACTION_VIDEO_CAPTURE to instead have them record a video. All of the intent actions you can use to interact with the camera are defined here:

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Miguel Morales
I have seen that already, and while I don't disagree that for a very large number of apps javascript/html5 just makes sense. As it stands, it is just too limited. Try doing any realtime android game that'll actually work on low-end cell phones using javascript or html5 and you'll have to get

Re: [android-developers] Performance issues drawing on a canvas

2011-05-24 Thread Dianne Hackborn
Drawing a bitmap is going to be faster than drawing a circle. Drawing a circle requires making a curved path and filling it. Drawing an anti-aliased circle will be a *lot* slower than drawing a bitmap. Basically you can assume, at least for software rendering, that the speed of operations is:

[android-developers] Justify alignment in text view

2011-05-24 Thread Laxmi Verma
Hi, I want to align my text as justify alignment but unable to find an option for that. I can find right alignment, left alignment and center but unable to find the justify alignment. Please help me how to provide justify alignment for text view in android. Thanks!! -- You received this

Re: [android-developers] RatingBar

2011-05-24 Thread neha jain
hey mohammed thank you i will keep this in mind. On Tue, May 24, 2011 at 7:43 PM, TreKing treking...@gmail.com wrote: On Tue, May 24, 2011 at 8:56 AM, neha jain neha.05...@gmail.com wrote: i have solved my problem without ny help of this group. Huh? If you solved your problem then why

[android-developers] Upload a valid APK onto android market

2011-05-24 Thread Thomas
Hi Guys, Below is a message I posted on Android market and on the Android Market as question, and I wondered if anyone here has had a verified basic4android apk that didn't want upload? Best, Tom Birchmire Download the app http://thomasofneedham.com/android/FlyAwayHome.apk The app works fine

[android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread neuromit
Daniel, thanks for the link, it is VERY informative. Ok I'll separate the code into two loops. Until I get that finished are there problems with detecting how long the drawing/moving takes and then scaling the timeout appropriately? This won't prevent the frame rate from dropping below

[android-developers] Re: Getting contacts with phone number only

2011-05-24 Thread Abalufaske
that is for 1.6 API for contacts, not 2.x btw the query for 2.x API in that page returned void and crashes my program On May 24, 2:17 pm, Jitesh dedhiya jitesh.dedh...@gmail.com wrote: http://www.higherpass.com/Android/Tutorials/Working-With-Android-Cont... On Tue, May 24, 2011 at 5:01

[android-developers] SimpleCursorAdaptor ListView using an TextView and ImageView with over 400+ rows Memory Issues

2011-05-24 Thread gcstang
Is this the best way or are there others? I extend SimpleCursorAdapter and override getView(int position, View convertView, ViewGroup parent) I retrieve my Cursor, inflate my ImageView and TextView, pull the data from the Cursor and populate the TextView and ImageView on the ImageView I store my

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread DanH
I figured you would, and I'm not interested in getting into a p***ing match, so I'm not going to elaborate. On May 24, 11:09 am, Dianne Hackborn hack...@android.com wrote: On Tue, May 24, 2011 at 8:29 AM, DanH danhi...@ieee.org wrote: Additionally, Android, as it's currently designed, does not

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Dianne Hackborn
Ooookay. On Tue, May 24, 2011 at 10:54 AM, DanH danhi...@ieee.org wrote: I figured you would, and I'm not interested in getting into a p***ing match, so I'm not going to elaborate. On May 24, 11:09 am, Dianne Hackborn hack...@android.com wrote: On Tue, May 24, 2011 at 8:29 AM, DanH

[android-developers] Re: App Widget (Home Screen Widgets) size in Honeycomb

2011-05-24 Thread Tomáš Hubálek
No commment on this topic? Tom On May 23, 9:16 pm, Tomáš Hubálek tom.huba...@gmail.com wrote: Hello, I followed widget definition guidelines described athttp://developer.android.com/guide/topics/appwidgets/index.html#MetaData and I suspect that formula for calculation of widget size

[android-developers] Re: App Widget (Home Screen Widgets) size in Honeycomb

2011-05-24 Thread KlausSK8
Where did you put those values ​​of dimension? it have to be on value folder, widget appwidget-provider xml at what scale? dp ? it works in other device? maybe you have correctly created but the size of your widget Layout not using the entire area... On 23 maio, 16:16, Tomáš Hubálek

[android-developers] Showing Static directions on Google Map View in android

2011-05-24 Thread SAM
Hi, I was going thru the Google terms of conditions @http:// code.google.com/android/maps-api-signup.html and found that turn-by- turn navigation is not allowed using android MAP view. I have a reqirement similar to what at

Re: [android-developers] Re: App Widget (Home Screen Widgets) size in Honeycomb

2011-05-24 Thread Tomáš Hubálek
Thanks for your answer. Units are dip (not dp, I'll try to change dip to dp). According my observation this formula works well when widget's size is bellow 5 icons. The same behavior in emulator and on Acer Iconia Tab. Tom On Tue, May 24, 2011 at 9:30 PM, KlausSK8 klausmagalh...@gmail.com

[android-developers] Two issues saving heap dumps...

2011-05-24 Thread Rich
I was watching the Google I/O video on Memory Management, and the presenter said that if you open a heap dump in MAT that you obtained from DDMS you have to convert it with the hprof tool with a -conv flag. He invoked this at the command line, so I attempted to do the same. I am on Windows,

  1   2   >