[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
i'm also having the same issue, guys help us now trying to sort out this thing from the evening regards, Randika On Apr 14, 5:31 pm, kiran saikiran@gmail.com wrote: hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
i'm also having the same issue, guys help us now trying to sort out this thing from the evening regards, Randika On Apr 14, 5:31 pm, kiran saikiran@gmail.com wrote: hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null

[android-developers] onDraw not getting called very often

2010-04-13 Thread Mike Reed
I have a View in which onDraw() is called once at the beginning, and again about 5 seconds later, then maybe once/minute. Any ideas what could be causing this? I'm expecting draw calls continuously. There is some drawText that is displaying all the time, but it is not updating unless the

[android-developers] Re: Android App Presentation

2010-04-13 Thread Mike dg
You could use the emulator. On Apr 13, 1:31 am, Prathamesh Shetye prathamesh.she...@gmail.com wrote: I wanted to make a video presentation of my android application. i know i can make the presentation by holding a camcorder in front of the screen and give walkthrough the application. But is

Re: [android-developers] 2nd phone line Line2 iPhone

2010-04-09 Thread mike
, echo cancellation, comfort noise, etc -- but there's nothing really *new* about those things. If people approached it without thinking about telephony _at all_, they'd probably be a lot better off :) Mike On Fri, Apr 9, 2010 at 9:45 AM, Mark Murphy mmur...@commonsware.com mailto:mmur

Re: [android-developers] Re: Your feedback on Samples/Tutorials/Articles

2010-04-09 Thread mike
frame the doc content tree and overlay a comments section? That and it would be sort of perverse to send spiders out to index google's content :) Mike On Mar 25, 12:41 pm, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: Might I make suggestion

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread Mike
I received a Droid as well as part of the seeding program. When I took mine into the Verizon store to get activated, they weren't able to for some reason. They ended up exchanging the phone Google sent me with another Droid. Weird. - Mike On Apr 6, 9:28 am, Matt (preinvent) m...@preinvent.com

Re: [android-developers] Re: Urgent : GPS timeout in android

2010-04-07 Thread mike
it using Thread.wait(). Mike On Apr 7, 9:32 am, Maps.Huge.Info (Maps API Guru)cor...@gmail.com wrote: One method you could use is to setup a progress handler to monitor the location fix. If after x seconds you have nothing then you can end the handler, shutdown the listeners and inform your

Re: [android-developers] Re: Getting the url of an http response

2010-04-07 Thread mike
, and I'm also able to get the html (content) of the response. I just need to know what url I was redirected to. Does this help you? I'm very thankful for all help sounds like you want to use HttpResponse.getHeaders(Location) Mike, it returns an array, but there should only be one

Re: [android-developers] Re: Getting the url of an http response

2010-04-07 Thread mike
? A 301 without a Location header would be bogus. You might try using a network sniffer like ethereal to see the actual network traffic going by too. Mike Any other ideas? /J On Apr 7, 11:12 am, mikeenervat...@gmail.com wrote: On 04/07/2010 12:40 AM, jw wrote: Hi all

Re: [android-developers] Re: Getting the url of an http response

2010-04-07 Thread mike
on. There is no such thing as a response url and a web service isn't especially well defined. Putting these things in terms of what HTTP 1.1 the protocol does would make it easier. Mike, you're not conflating xml/json in the content by any chance? Any help? /J On Apr 7, 11:41 am, mikeenervat...@gmail.com

[android-developers] peer reviews

2010-04-02 Thread mike
don't have to help our competitors, per se. Mike On 04/02/2010 07:59 AM, Yahel wrote: Yo man !! Incredible the amount of work you've put into that game !! Were you alone or is it a team ? You could use a graphist, but even so, the achievement is there !! My feedback after 15 minutes of play

Re: [android-developers] Re: Can we release an updated version of app with lower min sdk?

2010-04-01 Thread mike
plugin -- that carefully goes through your code looking for method/classes that are below the current SDK level. I'm sure there are even better ways to be careful. But as it right now, be careful is just a big smelly hack. Mike -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Can we release an updated version of app with lower min sdk?

2010-04-01 Thread mike
is that it's really really easy to fall into the pit trap here that you find out too late (ie, in the field). And the problem is only going to get worse and worse as time goes on. I'll look for your article. Mike On Thu, Apr 1, 2010 at 11:05 AM, mike enervat...@gmail.com mailto:enervat

Re: [android-developers] Re: Fastest and most reliable Location provider

2010-04-01 Thread mike
to move a location pin on a map, as far as I can tell, it is just as fast as the Google map. The other thing that google maps might be doing is saving the last location it saw as at least a guess. That may be better than nothing depending on your app. Mike -- You received this message because

Re: [android-developers] Fastest and most reliable Location provider

2010-03-31 Thread mike
to entertain your users until you get a fix. Hanging would look to me like a broken app. Mike -- 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] Re: Device Seeding Program for Top Android Market Developers

2010-03-31 Thread Mike Olson
I got a Droid on Saturday, but called Verizon and was told that the ESN was already attached to another account. What the heck? I've e- mailed Google. Has anyone else had this problem? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: android.location.Location.distanceTo algorithm

2010-03-30 Thread mike
On 03/29/2010 11:21 PM, Patrick wrote: Of course, the source code. I didn't think of that. Thank you Andreas. If the differences are small, both the value of pi and the nominal radius of the earth may account for the differences between two implementations. Mike On Mar 30, 2:44 am

Re: [android-developers] Activity Not Responding after sleep

2010-03-30 Thread mike
Looks like you're blocking on the main UI thread which is a no-no. Look at the PostDelayed method of Handler. That is, just make pgs.playSound(2) into the body of a Runnable and the random time and use them for the PostDelayed parameters. Mike On 03/30/2010 02:28 PM, BiiG wrote: Hi, I have

Re: [android-developers] Re: Activity Not Responding after sleep

2010-03-30 Thread mike
investigation. Just not sure how hard it is. It's trivial. new Handler () in your activity to be able to do postDelayed, and new Runnable () to encapsulate kicking off the next step. Mike Thanks a million! Mike -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: GPS Queueing in LocationListener

2010-03-25 Thread mike
On 03/25/2010 01:07 AM, Menion wrote: Hi guys, Mike, please, you wrote that you are pretty sure not to do some direct processing of satellites ephemeris in Java. But my question is, do you know some method (probably thanks to JNI) how to obtain direct measure from GPS receiver? I have some

Re: [android-developers] Re: GPS Queueing in LocationListener

2010-03-23 Thread mike
terrestrial environs it's just a fact of life that the accuracy is going to better at some times than others. Adjust accordingly. Mike Thanks for the input Mike. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: Being legally harassed, by a large iPhone developer

2010-03-23 Thread mike
here is likely to be as useful as going to a lawyer and asking him about the Android SDK. Mike -- 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

Re: [android-developers] Re: Being legally harassed, by a large iPhone developer

2010-03-23 Thread mike
about the law is skin deep. What this guy is going through is quite probably complete bs, but that doesn't matter if he doesn't know how to defend himself. Mike -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: Is this the limitation of Intent.ACTION_SEND

2010-03-23 Thread mike
Er, um, isn't SMS limited to 160 chars? Mike On 03/23/2010 02:08 PM, AJ wrote: Hi Mark, Thanks for the reply I am also using the same what you written. But in my device it is limited to only 200 characters. I checked the code and verified the result again. Intent intent = new Intent

Re: [android-developers] GPS Queueing in LocationListener

2010-03-22 Thread mike
;-) Mike -- 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+unsubscr...@googlegroups.com For more options, visit

[android-developers] webkit onGestureXXX

2010-03-19 Thread mike
Is there any plans to support the onGestureXXX set of events like the iPhone's webkit has? Mike, curious -- 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

Re: [android-developers] GPS without gps signal

2010-03-18 Thread mike
be of any help, but that's just a optimization for finding where you are quicker. But I'm not sure what you mean by telephony disabled are you talking about Airplane mode? If so, Android still allows use of GPS in airplane mode, unlike iPhone. Mike Thanks David -- You received this message because

Re: [android-developers] GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 09:12 AM, David Toledo wrote: I refered , is in the montains without signal telephony Then yes, definitely, from much first hand experience :) Mike Thanks 2010/3/18 mike enervat...@gmail.com mailto:enervat...@gmail.com On 03/18/2010 08:29 AM, David Toledo wrote

[android-developers] Broadcast Receiver that will be invoked when user clicks on any application icon.

2010-03-18 Thread mike
hai every one, i have a query. how can i write a Broadcast Receiver that will be invoked when user clicks on any application icon. i tried by writing receiver android:name = myreceiver intent-filter action android:name = android.intent.action.MAIN /intent-filter /receiver but it is

Re: [android-developers] Re: GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 12:30 PM, Matias Alberto de la Vega wrote: As Mike said, you will be able to use GPS even if you have no mobile signal or wifi connectivity, since GPS has it's own satellites, you can get coordenates as long as you have GPS friendly environment, some tips: you MUST be able to see

Re: [android-developers] Re: GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 06:01 PM, Andreas wrote: Hi Mike, Just out of curiosity, what would you say is a common time to first fix when your outside network coverage? I'm not sure if I have a common time, but it can take minutes. I'm not entirely sure how it works in the guts of the GPS, but I think

[android-developers] Re: Grrrrr.... 100 SMS per hour

2010-03-17 Thread Mike dg
I've noticed the same issue, the pending intents don't get reliably sent. Probably a bug in Android? -Mike dg On Mar 16, 9:04 pm, Isaac Wagner isaacewag...@gmail.com wrote: On Tue, Mar 16, 2010 at 3:56 PM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: After the 100 messages

Re: [android-developers] Re: virtual keyboard input focus with webviews

2010-03-17 Thread mike
. The framework of the app is taken straight from the Android Hello World app. Mike PS: I've filed a bug report, but if anybody else has seen this, and/or found a work around, I'd be happy to hear it. --- cut here --- package com.example.android.helloactivity; import android.app.Activity

Re: [android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-17 Thread mike
if it's available, and SHA1 if it's not. Mike, an author of RFC4871 who knows a thing or two about this subject (unfortunately) -- 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: [android-developers] Re: virtual keyboard input focus with webviews

2010-03-17 Thread mike
horrible user experience. Mike On 03/17/2010 02:34 PM, Mark Murphy wrote: mike wrote: Ok, here is a complete app that exhibits the problem. The key that is necessary is to do a setContentView from the menuItem/onClick/onLongClick. It doesn't help if you postpone it either, eg using

Re: [android-developers] Re: virtual keyboard input focus with webviews

2010-03-17 Thread mike
On 03/17/2010 03:04 PM, Mark Murphy wrote: mike wrote: We already proved that what you did here worked yesterday. I don't want to setContentView to the webview initially. I want to be able to paint up a screen and switch to the webview later, via user control (ie, a button/menuitem

Re: [android-developers] Re: virtual keyboard input focus with webviews

2010-03-17 Thread mike
On 03/17/2010 03:46 PM, Mark Murphy wrote: mike wrote: We're not communicating. Are you saying that the only time I should do a new XX() is *only* in onCreate? No, we're definitely not communicating. As I wrote: 1. Never implement a constructor in an Activity. In Java, implement

Re: [android-developers] Re: virtual keyboard input focus with webviews

2010-03-17 Thread mike
On 03/17/2010 04:17 PM, Mark Murphy wrote: mike wrote: Oh! You should take that up with Google then because that's their HelloActivity example code. I didn't change a thing there. If it causes trouble, it's probably endemic because Hello World is where most beginners start. Seriously

Re: [android-developers] Re: Any free weather APIs for android?

2010-03-17 Thread mike
On 03/17/2010 04:30 PM, JP wrote: National Weather Service (NWS) has a forecasting service for the US. weather.gov As I recall, they have XML based services too so you can get the goodies programatically too. You might have to dig around a bit for it though. Mike On Mar 17, 7:32 am

Re: [android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-17 Thread mike
of changing http to https on the phone side of things. The server side would need a cert, but that's not terribly hard to come by these days, and you'd get the assurance that strengths and weaknesses of MD5 and other arcane cruft is somebody *else's* problem. Mike It's easy too do -- and even

[android-developers] Re: ClassCastException using View element

2010-03-16 Thread Mike dg
Nellz, It is somewhat logical. It works as long as you have the width the same across all items. If you use WRAP_CONTENT, then it fails since everything is different sizes and then they all evenly distribute the extra space. Thanks Mike On Mar 16, 10:25 am, Neilz neilhorn...@googlemail.com

[android-developers] Re: Grrrrr.... 100 SMS per hour

2010-03-16 Thread Mike dg
D) Recognize that sending 100 text messages per hour is going to be expensive for many Android device users, and so having this confirmation is good for Android as a whole, even if it means you cannot do whatever it is you are trying to do. But then that leads towards a slippery slope. Why

Re: [android-developers] Re: virtual keyboard input focus with webviews

2010-03-16 Thread mike
error in the webview's if you can't type into a html input or textarea box on, oh say, the N1. Which is what I'm seeing out in the field. FWIW, this is sdk version 1.5 and 1.6, and assumedly 2.1 for the N1's having the same problem. Mike Farha On Mar 16, 5:30 am, mikeenervat...@gmail.com

Re: [android-developers] Re: virtual keyboard input focus with webviews

2010-03-16 Thread mike
On 03/16/2010 08:12 AM, Mark Murphy wrote: mike wrote: Can somebody from google please comment? In case you haven't noticed, the percentage of questions that get asked here that get answered by Google is fairly small. this seems like a pretty serious error in the webview's

[android-developers] virtual keyboard input focus with webviews

2010-03-15 Thread mike
. I've seen some posts about this, but it doesn't seem that there were any solutions or feedback. Mike -- 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

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

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

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

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

[android-developers] how to implement progress bar as same as windows loader bar

2010-03-12 Thread mike
hai, i struck in implementing progress bar functionality of my splash screen. i know horizontal progress bar implementation that fills yellow from left to right but the requirement is progress bar should be loader bar that appears when windows is loading in the system. more detailly, The loader

[android-developers] SensorEvent.timestamp to absolute (utc) timestamp?

2010-03-11 Thread mike
The documentation about SensorEvent.timestamp just says: The time in nanosecond at which the event happened nanosecond... from what?? A typical number I'm seeing (today, at least) is 38396760636000 Which doesn't seem to correlate to anything I can think of. Mike -- You received

[android-developers] Re: Overlay in Bounded Lat Long Possible?

2010-03-10 Thread Mike dg
You can extend Overlay and implement your own drawing algorithms for the blueprints. MapView.getProjection will be a huge help for converting coordinates to pixels for drawing. http://code.google.com/android/add-ons/google-apis/reference/index.html Mike dg On Mar 10, 10:04 am, JFrog

[android-developers] Re: How do i check app close gracefully during shutdown scenario

2010-03-10 Thread Mike dg
I don't think that waiting until shutdown to do anything is a great idea. You have no control over the speed of the shutdown or anyway to disable it. -Mike dg On Mar 10, 7:25 am, Kabita san.k...@gmail.com wrote: Hi, Is there any procedure how to check all the apps getting closed gracefully

[android-developers] Re: Does eclair run on ADP2

2010-03-10 Thread Mike dg
/forumdisplay.php?f=493 Thgey are in various states of usability though. Mike dg On Mar 10, 4:03 am, Natanael Arndt natana...@gmx.de wrote: Hello, I want to buy the ADP2 (HTC Magic) but I wonder if also Android 2.1 is available for it. Because I've heard that eclair doesn't run on HTC Magic as you

[android-developers] Re: Disable keyboard in DatePicker ?

2010-03-10 Thread Mike dg
back. Please post the solution back so everyone can benefit if you use this. -Mike dg DatePicker dp = (DatePicker)findViewById(R.id.DatePicker01); setDisabledTextViews(dp); private void setDisabledTextViews(ViewGroup dp) { for (int x = 0, n = dp.getChildCount(); x n; x

[android-developers] Re: ADC3?

2010-03-10 Thread Mike dg
I have not even heard any rumors yet. On Mar 9, 7:13 pm, Mario Zechner badlogicga...@gmail.com wrote: I'd be interested in such knowledge too :) On 9 Mrz., 19:15, Robert Green rbgrn@gmail.com wrote: I just gotta ask... Does anyone have any knowledge of an upcoming ADC3?  :) -- You

[android-developers] Re: Animations between Intents

2010-03-10 Thread Mike dg
The SDK sample app, APIDemos, has an example. Run it and select, App- Activity-Animation to see it. It should be easy to find the code portion for this. Beware that this won't work on all devices and the users can disable these animations. -Mike dg On Mar 9, 4:30 am, djdamage06 djdamag

[android-developers] Re: Is this the way to prefent ScrollView to overlap/go under the button bar?

2010-03-10 Thread Mike dg
You could try a linear layout as the top level layout and set the ScrollView layout_weight = 1 and the buttonbar layout to weight = 0; That worked for me in one of my apps. -Mike dg On Mar 8, 3:20 pm, Eelco eelcoaart...@gmail.com wrote: I want a scrollable table on my screen, and beneath

[android-developers] Re: Restart LogCat without restarting eclipse?

2010-03-10 Thread Mike dg
Click the DDMS tab and ini the device tab there should be a down arrow button next to the screenshot button. Press that and all the way at the bottom should be reset ADB. Hope this helps. Mike dg On Mar 10, 1:09 pm, DCheeseman nuvi...@gmail.com wrote: I was wondering if anyone knew how

[android-developers] Re: How to Upgrade Application without losing data.

2010-03-10 Thread Mike dg
the schema. Mike dg On Mar 10, 12:28 pm, Caeser ketan.sakar...@gmail.com wrote: hi, How to upgrade Android app without losing data ? e.g. I have a game which is using some preferences or sqlite data. which is associated with the android app. If app is already installed on device

[android-developers] Re: How do I simulate the Home key programmatically?

2010-03-10 Thread Mike dg
just go against how almost every Android app works. Thanks Mike dg Intent i = new Intent(); i.setAction(Intent.ACTION_MAIN); i.addCategory(Intent.CATEGORY_HOME); this.startActivity(i); On Mar 10, 1:14 pm, Mark Murphy mmur...@commonsware.com wrote: Wides wrote: Hi, I

[android-developers] Re: reply soon

2010-03-10 Thread Mike dg
You'll need to be more specific. Are you developing for Android? -Mike dg On Mar 10, 5:21 am, student alsharewit...@gmail.com wrote: how to create if user click the link it should be updated to my webpage -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Market Refund Policy

2010-03-10 Thread Mike dg
://market.android.com/support/bin/answer.py?hl=enanswer=134336 So is it 48 or 24 hours officially? Is the 48 hours in the agreement just because the 24 hours never seemed to be a hard deadline. I noticed users refunding around 30 hours in the past. Thanks Mike dg -- You received this message because

[android-developers] Re: Client Twitter and Android

2010-03-10 Thread Mike dg
Seesmic and Twidroid are popular Twitter clients that exist in the market. -Mike dg On Mar 10, 2:39 pm, David Toledo dtole...@gmail.com wrote: Hi All Exist some twitter clients that can integrate with android Thanks David -- You received this message because you are subscribed

[android-developers] Re: Market Refund Policy

2010-03-10 Thread Mike dg
customer is within their rights to request a refund via non market app methods. On Mar 10, 7:07 pm, Mike dg vinb...@gmail.com wrote: In December, there were new terms for the Market. A big note was You authorize Google to give the buyer a full refund of the Product price if the buyer

Re: [android-developers] Where is the source project location of YouTube in Eclair?

2010-03-09 Thread Mike Novak
The YouTube application is not open source.Try a google code search for video intents. Mike On 03/09/2010 10:02 PM, android joy wrote: Hi All, I want launch the YouTube with specified video searching list at startup(e.g I want YouTube shows the vidoe list all

[android-developers] Customizing in Coming /Out going call screen

2010-03-09 Thread mike
hi guys, i'm having a HTC Tatto which runs on 1.6 platform. i'm trying to build an application which will customize incoming/out going call screen. i want to display a full image (animated one or sort of) rather than the default picture or the picture of the contact person. and is it possible to

Re: [android-developers] Re: Need a Nexus One tester with logcat

2010-03-08 Thread Mike Novak
I don't recommend you set your app to start sending you emails when your app crashes. you can use any number of the services out there that provide such a service. A google search would provide a few options. Mike On 03/09/2010 02:44 AM, Farproc wrote: Really sorry to hear the half star

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-06 Thread Mike Novak
is useless to you because its really not, you have a 2.x phone to test software on :) /rant Mike On 03/06/2010 09:13 PM, anton.slut...@gmail.com wrote: Do Verizon phones even load without being hooked up to Verizon? Sorry for being ignorant. Have never had Verizon and not huge on mobile

Re: [android-developers] WAP Push Support

2010-03-04 Thread Mike Mackintosh
How is the destination device listening for the incoming messages? On Mar 4, 2010 10:58 AM, Sluzpuppet sluzpup...@gmail.com wrote: HI All Doing some investigating and having troubles find specifics or how to raise issues. I send WAP push message to handsets yet have been testing the android

Re: [android-developers] Re: Need help in remote networking in Android phone over 3G

2010-03-03 Thread Mike Mackintosh
Is there an Android.provider for incoming data packets? How hard to create on? On Mar 3, 2010 3:41 AM, Bob Kerns r...@acm.org wrote: It's simple -- they don't. Instead, the device accesses a server periodically. It's possible to jump-start the process with an SMS message, rather than blindly

Re: [android-developers] How to upload photo in Twitter using Android phone?

2010-03-03 Thread Mike Mackintosh
Read up on HTTP POSTing On Mar 3, 2010 2:18 AM, dilu discover.dile...@gmail.com wrote: Hi, I am newbie to Android. I want to develop an application which will be used for uploading the photo to twitter? Can anyone guide me regarding the process for developing the application or any link which

[android-developers] how to use include tag

2010-03-03 Thread mike
following is the layout xml file. here i used include tag. in that the layout=@layout/player_view , player_view is another xml file that contains a seat with avatar, 2cards and player name and bet amount. i need 2 seats like that so i used include 2 times and it is showing in screen fine. my

Re: [android-developers] Android Market source

2010-03-03 Thread Mike Novak
The Market application is not open source. On 03/03/2010 03:47 PM, tralston wrote: I'm starting to learn how to use the android platform and one of the things I like is how the market is setup visually, and functionally. I've downloaded the whopping huge source code for the android platform,

Re: [android-developers] Re: Tips to write an app that fetches data from website and displays it on screen

2010-03-02 Thread Mike Mackintosh
Read up on Sockets and HTTP On Tue, Mar 2, 2010 at 12:49 PM, raqz abdulraqee...@gmail.com wrote: Hi, Hmm...So I need to start reading about the HTTP classes android provides to find out how it parses data. Is that what you want to convey Mohamed? Regards, Raqeeb On Mar 2, 9:50 am,

[android-developers] Re: Flushing Toast/TextView buffer in While loop

2010-03-02 Thread Mike Mackintosh
Looking to see if anyone knows how to read a socket and output the data realtime. Above, it waits for the while to end, which defeats the purpose of listening. On Mar 1, 2010 3:33 AM, #iNjection- reistl...@gmail.com wrote: I have a mini app i use to connect to a TCP listener script. The problem

Re: [android-developers] Re: Why is HTC Hero using drawable-ldpi?

2010-03-01 Thread Mike Novak
I've seen this before. Where the 1.5 devices are pulling the -ldpi drawable folder even though it really shouldn't know about them. The only way I was able to get around this was removing the -ldpi resources. Mike On 03/01/2010 04:45 PM, westmeadboy wrote: To recap, I have an app

Re: [android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-27 Thread Mike Novak
There's multiple third party libraries that already have this functionality. Mike On 02/25/2010 07:38 PM, mssmison wrote: I love this idea! I'd like to build it into the source itself, that would be a life saver.. lol -- You received this message because you are subscribed

Re: [android-developers] Re: Android, send me logs! - code library for detecting force-close and sending logs

2010-02-26 Thread mike
On 02/25/2010 11:57 PM, focuser wrote: Mike - I think Apple's approach may be good for Apple, and probably not that compatible with the openness of Android? Also, what's better of Apple's approach other than that users don't have to give their identity (email addresses etc) to individual

Re: [android-developers] Android, send me logs! - code library for detecting force-close and sending logs

2010-02-25 Thread mike
while ago, and it is *very* useful. Mike -- 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+unsubscr

[android-developers] Re: using charts in android applications

2010-02-19 Thread Mike
You might want to check out JFreeChart. http://www.jfree.org/jfreechart/ - Mike On Feb 18, 12:16 pm, Ilya ulyanov...@gmail.com wrote: Hi all!  How can I build a pie chart in my application? Thank you! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Webview segfault causes process to restart and in rare cases take the Android platform down and turn the phone off

2010-02-15 Thread Mike
. It seems that just being diligent to not pass null to loadURL is not sufficient as the end result is fairly catastrophic. Regards, - Mike On Feb 12, 10:36 pm, Mike michaeldouglaskra...@gmail.com wrote: Thanks for the info.  Since I don't have control over the webview component (it's wrapped

[android-developers] Re: Inadvertent breakage by SDK going forward

2010-02-15 Thread Mike Collins
Reworking the platform isn't an option...guess that leaves me with some naming convention. thanks, mike -- 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] android Telephony API access levels

2010-02-15 Thread mike
in telephony API what are the access levels, can i change certain methods in other terms i wanted to run my application on top of telephony API. When a call comes or when dialing a certain number i want to access my application and need to display my application output as well. so will i be

[android-developers] Inadvertent breakage by SDK going forward

2010-02-12 Thread Mike Collins
, like always use an initial capital or an underscore etc. thoughts? mike -- 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] Webview segfault causes process to restart and in rare cases take the Android platform down and turn the phone off

2010-02-12 Thread Mike
Not to beat a dead horse... but obviously it's not dead enough since I haven't really seen any good explanation for this yet. My game randomly restarts everyone once in a while, but only in the version of my game that is showing an ad (which uses a webview.) There are lots of other threads to

[android-developers] Re: Webview segfault causes process to restart and in rare cases take the Android platform down and turn the phone off

2010-02-12 Thread Mike
Thanks for the info. Since I don't have control over the webview component (it's wrapped in an AdSense component that I simply place in the main view) I'll have to defer to the AdSense guys to confirm whether or not they check for a null url before calling WebView.loadUrl. - Mike On Feb 12, 6

[android-developers] Failed to link shared library on Android 2.0

2010-02-08 Thread Mike
hello_world(void); 8 hello_world(); 9 } Thank you in advance. Mike -- 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: Variable values just get lost!??!?

2010-02-08 Thread Mike Collins
Some thoughts, Is your service delcared remote in the manifest? If so you do know how to debug into both processes simultaneously? The order of initialization of class variables can get complicated, try moving everything into explicit new's. mike -- You received this message because you

[android-developers] Re: sticky client IP address?

2010-02-04 Thread Mike
meaning of the word gateway... it is a gateway between two completely different networks that work in completely different ways, it is a protocol converter. - Mike NAVTEQ Network for Developers http://NN4D.com Disclaimer: I work for NAVTEQ and these are my personal opinions which do not necessarily

[android-developers] Re: sticky client IP address?

2010-02-04 Thread Mike
to the Internet follows its own path and those paths can easily be assigned a different gateway... which cell tower you are connected to is entirely irrelevant in this context. - Mike NAVTEQ Network for Developers http://NN4D.com Disclaimer: I work for NAVTEQ and these are my personal opinions which do

Re: [android-developers] reading the system logs...

2010-02-03 Thread Mike Novak
which logs are you specifically looking for? Mike On Feb 3, 2010, at 1:27 PM, sdphil wrote: is there a programmatic way to read the system logs? i know they are stored in /dev/log -phil -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] removing item from ListView

2010-02-03 Thread Mike Novak
you need to invalidate the data in the adapter so the listview knows something has changed, this also implies that your adapter is configured to only display items associated with that data structure and not another one. Mike On Feb 3, 2010, at 3:40 PM, Stefan wrote: Hi, i want to remove

[android-developers] Re: sticky client IP address?

2010-02-03 Thread Mike
could change for every single request/response you get from the dvice. - Mike NAVTEQ Network for Developers On 3 Feb, 15:35, Vertifi c...@eascorp.org wrote: Hello, I have an app which performs some online functions to a web server farm we operate using URLConnection.  I'm finding that the client

[android-developers] Re: sticky client IP address?

2010-02-03 Thread Mike
The simple answer is that cell networks don't use TCP/IP. What you see is the IP address of the gateway server that happens to have generated the request. This could change on every request and is not time based. Hope it helps. - Mike NAVTEQ Network for Developers http://NN4D.com On 3 Feb, 15

Re: [android-developers] Persisting alarms

2010-02-02 Thread Mike Novak
register to receive the BOOT_COMPLETED broadcast. and register with the AlarmManager then. Mike On Feb 2, 2010, at 4:17 PM, Chris wrote: Hello everyone The AlarmManager API states that alarms created with this API are removed when the phone is turned off and rebooted. Is there a way

Re: [android-developers] getting the serial number

2010-02-02 Thread Mike Novak
adb gets the serial number via the libusb device descriptor probably not a viable option. Mike On Feb 2, 2010, at 4:54 PM, Mark Murphy wrote: Seems that the android id is NOT the serial number, because it requires you to access the Market before it is assigned. That is incorrect

Re: [android-developers] NexusOne newbie and disappointed... here is why...

2010-02-02 Thread Mike Novak
this isn't a dev question. On Feb 2, 2010, at 4:01 PM, Marcel Lanz wrote: Hi there... I am a iPhone user and Developer (FreePing/SuperPing) and I love my iPhone... I say that with the view of a developer, engineer and user. The iPhone has its limits (App Reviews... eg) but it's the best

Re: [android-developers] Re: getting the serial number

2010-02-02 Thread Mike Novak
I was able to pull the serial number of nexus one through the /system/bin/getprop command, however, My Samsung Moment did not have the serial field filled in (its blank). I was able to execute getprop from an apk on a non-root device. Mike On Feb 2, 2010, at 5:24 PM, guich wrote: Hummm

Re: [android-developers] Re: getting the serial number

2010-02-02 Thread Mike Novak
use the Java Process class to execute the following command `getprop ro.serialno`. note that it appears Samsung devices do not set this property. I've confirmed this on a Moment and Galaxy. Mike On Feb 2, 2010, at 7:42 PM, guich wrote: Hi, Can you post the code so i can test

Re: [android-developers] Socket creation failure

2010-02-02 Thread Mike Novak
uses-permission android:name=android.permission.INTERNET / ^^ place the above line in your AndroidManifest.xml file. Mike On Feb 3, 2010, at 12:07 AM, android beginner wrote: Hi, I created a simple client socket from my Activity, but it fails. I am running this activity in emulator

<    2   3   4   5   6   7   8   9   10   11   >