Re: [android-developers] ListView ClassCastException

2010-08-31 Thread Alok Kulkarni
Oh i got the problem.It was incorrectly declared in the layout.Will try the chages now.. Thanks a lot Michael. On Mon, Aug 30, 2010 at 10:47 PM, Michael MacDonald googlec...@antlersoft.com wrote: On 08/30/10 06:59, Alok Kulkarni wrote: Hi all,in my application I have a class as: 1.

[android-developers] Timer in an App

2010-08-31 Thread chetan
Hi All, I am creating an App in which i need to add a timer for postpone the one event for 1 hr and start same event after 1 hr , so i want to know how i can implement the same. Are there any Timer api's and handling of them in android. Thanks Chetan Chauhan -- You received this

[android-developers] Re: Flickering.

2010-08-31 Thread tina lincon
any idea???:(plz do help me out.. On Aug 30, 10:47 am, tina lincon tina.theresalin...@wipro.com wrote: hi greg...sorry dint get wat u meant to tell abt asynchronous task here... On Aug 27, 8:27 pm, greg sep...@eduneer.com wrote: I cant do it widout the thread coz i need a sleep or a

[android-developers] Ratings breakdown in Dev Console

2010-08-31 Thread Mark Carter
Just noticed the new ratings breakdown feature in the Comments section of the Dev Console. Really interesting to see the breakdown. Not sure how useful it is, but a welcome addition nonetheless! -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Flickering.

2010-08-31 Thread Dev Android
Can you please elaborate more and i think you don't require any delay. Its does n't sounds logical. If you are using any delay that should be a hack in the solution. -- Dev On Tue, Aug 31, 2010 at 11:37 AM, tina lincon tina.theresalin...@wipro.comwrote: any idea???:(plz do help me out.. On Aug

[android-developers] searching for songs using amazon mp3

2010-08-31 Thread manigault
Hi all, in my application i am trying to use amazon mp3 application to search for songs in amazon. I got this code from the default music player. Intent i = new Intent(); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); i.setAction(MediaStore.INTENT_ACTION_MEDIA_SEARCH); i.putExtra(SearchManager.QUERY,

[android-developers] searching for songs using amazon mp3

2010-08-31 Thread manigault
Hi all, in my application i am trying to use amazon mp3 application to search for songs in amazon. I got this code from the default music player. Intent i = new Intent(); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); i.setAction(MediaStore.INTENT_ACTION_MEDIA_SEARCH); i.putExtra(SearchManager.QUERY,

[android-developers] MMS OMA support in Android

2010-08-31 Thread santosh nath
Hello, Could someone explain if MMS native client in Android supports MMS OMA 1.1 or later fully, partially etc if partially what features are not supported? Santosh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Android with XML-RPC

2010-08-31 Thread Tsolmon Narantsogt
Hello Everyone I am making an application on Android that connects to server (such as OpenERP) I am trying to connect the android app to server with XML-RPC but i doesn't found any library that works in Android Do you know any kind of library or similar to do it ? Thank you Tsolmon -- You

[android-developers] Re: Can you change permissions when you update an app?

2010-08-31 Thread ko5tik
On Aug 29, 12:19 am, chromedude srmorrison...@gmail.com wrote: I ask because I have an app that I want to launch with permissions that apply to it at that stage but I am planning to release an update that will need more permissions, but I do not want users to not install the original app

[android-developers] Re: Froyo: MediaRecorder.setVideoFrameRate sets IDR ratio instead of frame rate

2010-08-31 Thread Alexandre Ferrieux
Ping ? Anybody managing a frame rate != 17fps on pre-Froyo ? On non-Desire Froyo ? -Alex -- 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: MediaRecorder buffers 1 second of video

2010-08-31 Thread Alexandre Ferrieux
Ping ? Is MediaRecorder strictly devoted to SDcard recording ? Does streaming void the warranty ? -Alex -- 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: Negative comment causing drop in sales

2010-08-31 Thread String
On Aug 30, 7:22 pm, Kostya Vasilyev kmans...@gmail.com wrote: You are probably right, but the reason I haven't done it yet is because I expect Market comments along the lines of: A widget-only application for some stupid reason appears in the applications list! One star!! Fix ASAP to

[android-developers] Re: Can you change permissions when you update an app?

2010-08-31 Thread String
Yes, you can. Users on Froyo with automatic updates enabled for your app will be required to do a manual update, but that's the only caveat AFAIK. String On Aug 28, 11:19 pm, chromedude srmorrison...@gmail.com wrote: I ask because I have an app that I want to launch with permissions that apply

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-31 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/31/10 00:00 , Doug wrote: Here's a scary thought. What if, during development, every time you installed and uninstalled your app on your phone, Android phones home with an uninstall. Maybe that's a new feature of Froyo. Please, someone

[android-developers] Re: Is there anyway to turn USB debuggin on/off

2010-08-31 Thread FrankG
Hi Arjun, Are you working for a specific platform and provide a specific platform extension ? If yes you can use the platform class i.e. android.os.SystemProperties to set the persistent property which controls adbd. Look in your init.rc and grep for adbd .. you will see the property I mean.

Re: [android-developers] can an application have more than one icon in the launcher?

2010-08-31 Thread Mark Murphy
Try using an activity-alias. On Mon, Aug 30, 2010 at 10:49 PM, Anil anil.r...@gmail.com wrote: can an application have more than one icon in the launcher? (No, not plotting any mischief). Was wondering how to do it if the application has only one activity. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Timer in an App

2010-08-31 Thread Mark Murphy
Use AlarmManager. On Tue, Aug 31, 2010 at 2:02 AM, chetan chetanchauha...@gmail.com wrote: Hi All,           I am creating an App in which i need to add a timer for postpone the one event for 1 hr and start same event after 1 hr , so i want to know how i can implement the same. Are there any

Re: [android-developers] Re: Negative comment causing drop in sales

2010-08-31 Thread YuviDroid
Or you can set your default activity to be CATEGORY_INFO (instead of CATEGORY_LAUNCHER). In this way the app does not appear in the apps list, and if a user presses the Open button in the Market they will get to this activity. I've done this with one of my widgets and never received any bad

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-31 Thread Tomáš Hubálek
Hello, I believe that this is some systemic issue with Android Market. Look at average deltas of my two apps. Both dropped significantly around August 28, 2010 and now they are getting slowly to original values. One my app: Date Average daily delta 3.8.2010 20:00:00 1

[android-developers] Re: Lg Ally USB Debugging Driver

2010-08-31 Thread FrankG
Strange .. the default mode LG driver will support adb in my opinion. I have a GT 540 from LG and adb works without any problems under Vista. Search for the LG PC Suite Software .. their installer has an Option install driver .. Good luck ! Frank On 27 Aug., 15:14, spudnut

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-31 Thread Simon Platten
As google take a percentage of every sale surely its in there interest to get this right? Kind regards, Sy On 31 Aug 2010 09:01, Tomáš Hubálek tom.huba...@gmail.com wrote: Hello, I believe that this is some systemic issue with Android Market. Look at average deltas of my two apps. Both dropped

[android-developers] Strange instance of app not responding error

2010-08-31 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. A customer just notified me that she's experiencing the infamous app not responding / wait, force close message during a specific operation. By just waiting enough, the app resumes ok. Now, that specific operation is indeed long and in fact it

[android-developers] Re: Problems drawing a translucent Path on a SurfaceView

2010-08-31 Thread Niklas
Hi again, Nevermind, I solved it now: It turns out that the alpha setting does apply when drawing the path, but for some reason it seems the values scale differently than when drawing lines. When set to 100 like in my example, the path will look completely opaque, but if I turn it down to 30 it

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-31 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/31/10 10:04 , Simon Platten wrote: As google take a percentage of every sale surely its in there interest to get this right? In the past there have been bugs related to some apps not being visible on the Market (see Tim Bray's blog). I suppose

Re: [android-developers] Strange instance of app not responding error

2010-08-31 Thread Mark Murphy
On Tue, Aug 31, 2010 at 4:11 AM, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: So I supposed to be very safe in that area and I'm disappointed to discover that it was a false sense of safety. What am I possibly missing? Well, that's difficult to answer in the abstract. The two most

Re: [android-developers] Strange instance of app not responding error

2010-08-31 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/31/10 10:22 , Mark Murphy wrote: The two most variable performance things I can think of in Android are network I/O operations and flash writes. The former is fairly obvious, and we've been recommending network I/O be done in an AsyncTask,

[android-developers] Want to confirm that app is in background due to Home Key press

2010-08-31 Thread JAVANAND
My app requires to know whether the entire app is in Background state , which in most cases is due to Home Key, I want to just to know if home key is pressed or not in the app, Can any one guide me on this. Thanks Sumanth -- You received this message because you are subscribed to the Google

[android-developers] Re: Apps availability on US Market

2010-08-31 Thread Yahel
It's there. Thanks you very much John. I've got to understand why the website does not see any US visits then, but it's a relief. Best regards. Yahel -- 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] Re: Is anyone's active install % dropping like a rock lately?

2010-08-31 Thread Tomáš Hubálek
On Tue, Aug 31, 2010 at 10:16 AM, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: As a side note, how are you guys tracking the daily history of stats? I suppose there's no automated way, right? So we have to set up a spreadsheet and daily copy the data, right? It is manual work. From

Re: [android-developers] Want to confirm that app is in background due to Home Key press

2010-08-31 Thread Mark Murphy
On Tue, Aug 31, 2010 at 4:48 AM, JAVANAND javandroid@gmail.com wrote: My app requires to know whether the entire app is in Background state , which in most cases is due to Home Key, Why? I want to just to know if home key is pressed or not in the app, Can any one guide me on this. There

[android-developers] how to make sure my Service is restarted?

2010-08-31 Thread draf...@gmail.com
0 down vote favorite I have an Android application with a background running Service. When the Service crashes or gets killed by Android I can see that Android tries to restart it again. However the Service never actually restarts, I can see Android scheduling the restart but it new

[android-developers] Browser: Keyboard disappears.

2010-08-31 Thread KANTESH BABANNAVAR
Hi Androidians, This is a magic happening with browser. When i touch the URL field in the browser, a fake tittle bar comes up and it is a so called search dialog, and start typing some letters fast, the keyboard disappears. And the Log events* say the following. Once it is happened,

[android-developers] Re: Piracy Breakdown by Country

2010-08-31 Thread Zsolt Vasvari
Back to the main topic, the data does not show that piracy is indeed a significant problem, but shows that many non-paying users are using your app. The big question is would they have paid for your had they not been able to get hold of the pirate version. That's a very difficult question to

[android-developers] Re: layout_gravity

2010-08-31 Thread Zsolt Vasvari
Honestly, I haven't met a person who really understands it well. It always seems to be a trial and error process. Layout_gravity seems especially troublesome. Where you swear it should work after the reading the docs and thinking about it, it does not. But it sometimes does. Go figure. On

[android-developers] No Cell Location Updates While Display Is Off

2010-08-31 Thread Pent
I'm using the listen function from TelephonyManager to register a PhoneStateListener (in a service), which functions fine while the display is on. As soon as the display goes off, no more cell location updates. As soon as the display comes on, an immediate update. I'm holding a partial wakelock

[android-developers] Error during sms deletion.

2010-08-31 Thread Pobudzio
Hi, I have problem with deletion sms with messageId=0. I can't delete such a message. There is no problem with deletion other messages but first message taken from inbox has always message Id=0 and I can't delete it. I use code below for deletion. Uri SMS_CONTENT_URI = Uri.parse(content://sms);

[android-developers] Re: Service start intent problem

2010-08-31 Thread anders
I've done some more investigations, and it seems like the random FCs never happens when the activity starts the service. It's rather the system that sometime feels like starting the serviceand when this happens, the intent is null. My solution for this problem right now is just to swallow that

[android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-31 Thread Zsolt Vasvari
I think another feature would be fantastic is combine a domain white list with Google's already existing site safety warning database. That way user would feel more comfortable with trusting apps accessing certain websites. -- You received this message because you are subscribed to the Google

[android-developers] Re: Want to confirm that app is in background due to Home Key press

2010-08-31 Thread AJ
Hi Mark, In public boolean onKeyDown(int keyCode, KeyEvent event) , I am able to intercept event.KEYCODE_BACK. why I am not able to intercept event.KEYCODE_HOME?? Can you please throw some light on this? Thanks, AJ On Aug 31, 2:35 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Aug

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-31 Thread { Devdroid }
As a side note, how are you guys tracking the daily history of stats? I suppose there's no automated way, right? So we have to set up a spreadsheet and daily copy the data, right? There's Market API: http://code.google.com/p/android-market-api/ you may want to try to use to automate data stats

[android-developers] Re: Can 9 patches have more than marked region or not?

2010-08-31 Thread mort
It's hard to tell without the actual image, but I guess there *is* a pixel too much. Did you check the 9th (or 10th? not sure whether it starts with 0 or 1) pixel in the border line? Maybe you should check with draw9patch, it's a tool installed with the Android SDK (in tools subdirectory). It

Re: [android-developers] Re: layout_gravity

2010-08-31 Thread Kostya Vasilyev
As a general rule, layout_whatever refers to how that particular view is positioned within its parent, while whatever without layout_ refers to the insides of the view. Even then, it's sometimes non-intuitive. I find myself using RelativeLayout more and more as it often can be used to

Re: [android-developers] Re: Want to confirm that app is in background due to Home Key press

2010-08-31 Thread Mark Murphy
On Tue, Aug 31, 2010 at 6:42 AM, AJ ajeet.invinci...@gmail.com wrote: In public boolean onKeyDown(int keyCode, KeyEvent event) , I am able to intercept event.KEYCODE_BACK. why I am not able to intercept event.KEYCODE_HOME?? Can you please throw some light on this? Because it's not allowed.

[android-developers] Re: How to dynamically modify xml file in android

2010-08-31 Thread kiran
Yes It is available in android 2.2 Thank u On Aug 30, 10:41 pm, DanH danhi...@ieee.org wrote: The Android docs list  javax.xml.transform.TransformerFactory as being available, though I've never tried it on Android. On Aug 30, 6:43 am, saikiran n saikiran@gmail.com wrote: Hi ,  I want

[android-developers] Re: How to fix a “java.lang.O utOfMemoryError: bitmap size exceeds VM budget ” error on android

2010-08-31 Thread mort
If it's any help, I use this method: public static Bitmap loadResizedBitmap( String filename, int width, int height, boolean exact ) { Bitmap bitmap = null; BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true;

[android-developers] Re: layout_gravity

2010-08-31 Thread William Ferguson
So do you think what I'm seeing is a bug with LinearLayout? It seems to be directly violating the description of how layout_gravity is supposed to work. On Aug 31, 9:01 pm, Kostya Vasilyev kmans...@gmail.com wrote:   As a general rule, layout_whatever refers to how that particular view is

[android-developers] Re: Can Android 2.X connect to 3G and Wifi data networks simultaneously?

2010-08-31 Thread Jens
With Android 2.2 you can route data over the 3G connection explicitly while still using WiFi. The feature exists in Android 2.1 also but is *broken* as the high-priority 3G data connection is torn down incorrectly almost directly. Look into the

[android-developers] Re: layout_gravity

2010-08-31 Thread parag
even i have found similar issues with the layouts. The user doc for layouts and actual implementation does not go hand in hand, its always a trial and error process Please do post if there is a clear solution for the above issues On Aug 31, 4:01 pm, Kostya Vasilyev kmans...@gmail.com wrote:  

[android-developers] Re: Want to confirm that app is in background due to Home Key press

2010-08-31 Thread AJ
Thanks Mark :) On Aug 31, 3:46 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Aug 31, 2010 at 6:42 AM, AJ ajeet.invinci...@gmail.com wrote: In public boolean onKeyDown(int keyCode, KeyEvent event) , I am able to intercept event.KEYCODE_BACK. why I am not able to intercept

[android-developers] Re: How to dynamically modify xml file in android

2010-08-31 Thread parag
try this sample http://stackoverflow.com/questions/2290945/writing-xml-on-android On Aug 31, 4:26 pm, kiran saikiran@gmail.com wrote: Yes It is available in android 2.2 Thank u On Aug 30, 10:41 pm, DanH danhi...@ieee.org wrote: The Android docs list  

[android-developers] Re: Timer in an App

2010-08-31 Thread parag
check this out http://justcallmebrian.com/?p=129 its a very useful sample On Aug 31, 12:55 pm, Mark Murphy mmur...@commonsware.com wrote: Use AlarmManager. On Tue, Aug 31, 2010 at 2:02 AM, chetan chetanchauha...@gmail.com wrote: Hi All,           I am creating an App in which i need

[android-developers] Re: What is the proper way to close an activity/application?

2010-08-31 Thread mort
On Aug 31, 12:37 am, Dianne Hackborn hack...@android.com wrote: Yes, it is, this was on oversight when we made the different filtering options more visible.  It will be fixed in Gingerbread. Great! Android really needs a different task management - from the user perspective. Technically it's

[android-developers] Re: Flickering.

2010-08-31 Thread tina lincon
because of the delay only im getting dat curved rotation movement...if i remove d delay,wat happens is it seems dat images wil b just shifting in right n left instead of the ring rotating On Aug 31, 11:58 am, Dev Android devandroid1...@gmail.com wrote: Can you please elaborate more and i think

[android-developers] Re: How to create TextView without write the XML file

2010-08-31 Thread parag
Any suggestions on why I am getting the false reading -- in the xml , set the button propert android:clickable as true, anyone can suggest on how to place the results in a TextView via a button click, that would be appreciated. as i can c u have the listener to the button, on click can u be

[android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-31 Thread niko20
I don't think users would be confused by a developers extra text explaining what they plan on using the permission for. It could even be highlighted in a different color, or it could say reason from developer:. I'm not convinced yet of your argument of why this is more confusing or worse. -niko

Re: [android-developers] Re: Service start intent problem

2010-08-31 Thread Kostya Vasilyev
It might be a good idea to check for intent being null, rather than catching the NPE - exceptions are for exceptional situations :) You also might find this useful: http://developer.android.com/reference/android/app/Service.html#START_REDELIVER_INTENT This is a flag that makes Android

Re: [android-developers] Re: Can Android 2.X connect to 3G and Wifi data networks simultaneously?

2010-08-31 Thread Mark Murphy
On Tue, Aug 31, 2010 at 7:36 AM, Jens dunkingbikk...@gmail.com wrote: Look into the ConnectivtyManager#startUsingNetworkFeature(TYPE_MOBILE, ENABLE_HIPRI) There is no ENABLE_HIPRI constant in the Android SDK. There is a FEATURE_ENABLE_HIPRI constant on an internal Phone class, but that is not

[android-developers] Re: SSLException: Not trusted server certificate

2010-08-31 Thread gcstang
You're welcome, you may also want this if you plan on targeting devices with Android prior to 2.2 Add this line before you start initializing anything (this bug is documented in the forum but not easy to find, otherwise you see that every other response will not be returned properly, it doesn't

[android-developers] Re: Ratings breakdown in Dev Console

2010-08-31 Thread OldSkoolMark
... and nice to see evidence of Google working on Market improvements. On Aug 30, 11:15 pm, Mark Carter mjc1...@googlemail.com wrote: Just noticed the new ratings breakdown feature in the Comments section of the Dev Console. Really interesting to see the breakdown. Not sure how useful it is,

Re: [android-developers] Re: layout_gravity

2010-08-31 Thread Kostya Vasilyev
Don't know if it's a bug, or something I misunderstand, but - for me, using layout_gravity produces the result I want more often than using gravity. -- Kostya 31.08.2010 15:32, William Ferguson пишет: So do you think what I'm seeing is a bug with LinearLayout? It seems to be directly

[android-developers] Re: SeekBar.OnSeekBarChangeListener only Touch Events

2010-08-31 Thread Byron Penner
Really if u think about it its not strange! the rolling of a trackball is not like an up down event! However what u could do is detect the interval between scrolls and if the user hasent rolled in a set amount of time fire off ur sound! Otherwise your sound would just keep getting hit if the user

[android-developers] ProgressDialog with custom Drawable (IndeterminateDrawable)

2010-08-31 Thread Marco Alexander Schmitz
Hi, I'd like to change the rotating image inside the ProgressDialog. In the documentation this is suggested: ProgressDialog dialog = ProgressDialog.show(OnlineFilialeActivity.this, , Loading. Please wait..., true); This can be changed with: ProgressDialog dialog = new ProgressDialog(this);

[android-developers] Re: Using Bouncy Castle with an Android app

2010-08-31 Thread Robert Nekic
I'm using bcprov-jdk16-145 in my app and it works fine. I also see the DexOpt messages in logcat and I get some build warnings from it (Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by

[android-developers] help

2010-08-31 Thread Zhenyu Jiang
help -- 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,

Re: [android-developers] help

2010-08-31 Thread Martins Streņģis
http://www.lifeguardsiow.co.uk/images/ring.jpg :) -- 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: Ratings breakdown in Dev Console

2010-08-31 Thread Pent
Here here! Pent Just noticed the new ratings breakdown feature in the Comments section of the Dev Console. Really interesting to see the breakdown. Not sure how useful it is, but a welcome addition nonetheless! -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Ratings breakdown in Dev Console

2010-08-31 Thread Mark Carter
Also the comments page loads much faster. Seems like its loading the first page only (whereas before it was loading potentially the first 100 comments). Also now possible to view all comments (used to be limited to first 100). On 31 August 2010 16:15, Pent tas...@dinglisch.net wrote: Here

Re: [android-developers] Re: Ratings breakdown in Dev Console

2010-08-31 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/31/10 14:34 , OldSkoolMark wrote: ... and nice to see evidence of Google working on Market improvements. Yes. Perhaps in four / five years we'll get segmented data about phones and countries of users... :-/ - -- Fabrizio Giudici - Java

[android-developers] developing maps application using maps javascrpt v3 api urgent

2010-08-31 Thread anushree
hello all, i am trying to develop a google maps application for android enabled phones using the javascript v3 api released by google.. but i do not understand how to code the entire thing in android.. cuz as far as i am concerned i have only used java code for developing an application in

Re: [android-developers] Re: Ratings breakdown in Dev Console

2010-08-31 Thread TreKing
On Tue, Aug 31, 2010 at 7:34 AM, OldSkoolMark m...@sublimeslime.com wrote: ... and nice to see evidence of Google working on Market improvements. Indeed ... though one has to question why they're adding semi-useless features that are already available on any other Market tracker site. It's a

[android-developers] using javascripts v3 api in android - help required urgently

2010-08-31 Thread anushree
hello all, i am trying to develop a google maps application for android using javascripts v3 api. but the main problem is that i haven't worked with javascripts for android application development.. i have only used java code to develop an application so i don't know where to start.. has anyone

Re: [android-developers] Re: App breaks for some users after they update from the Market

2010-08-31 Thread TreKing
On Mon, Aug 30, 2010 at 7:03 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I am glad you solved it. How do you have your warning levels set? I have mine set to the highest possible on everything and a removed line might have been caught via unused/unitiliazed varaibles. Me too! Probably the

[android-developers] Re: Is there a way to request permissions from a user as you need them?

2010-08-31 Thread String
On Aug 30, 6:44 am, Dianne Hackborn hack...@android.com wrote: Yes, this is another common request, and another one where I think the solution is much worse than the problem.  Putting application justification about what it will do with a permission next to the OS's assurance about what it

Re: [android-developers] getting email address of the account on the phone

2010-08-31 Thread TreKing
On Sat, Aug 28, 2010 at 7:13 PM, bh23 brentha...@gmail.com wrote: Is this possible? To take the user's email off the phone, send it to your own server and use it to send them unsolicited emails? I hope not.

Re: [android-developers] using javascripts v3 api in android - help required urgently

2010-08-31 Thread lokesh gupta
HI Anu, There is a tool available at http://developer.appcelerator.com/get_started.. Using dis tool u can develop android as well as i-phone apps . U can try with that.. Plz get bk 2 me if u face any prob. Lokesh On Tue, Aug 31, 2010 at 8:21 PM, anushree godbole.anush...@gmail.comwrote:

Re: [android-developers] using javascripts v3 api in android - help required urgently

2010-08-31 Thread Jeremy Wadsack
You could build your own WebView container activity and run your JS there. Or you could use some off-the-shelf package that does this like Phonegap or Appcelerator. If you want to run native JS without the web view, then I think you'll need to bundle your own interpreter or use a cross-compiler.

Re: [android-developers] help

2010-08-31 Thread lokesh gupta
help for wat ??? On Tue, Aug 31, 2010 at 7:36 PM, Martins Streņģis martin...@draugiem.lvwrote: http://www.lifeguardsiow.co.uk/images/ring.jpg :) -- 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: using javascripts v3 api in android - help required urgently

2010-08-31 Thread Maps.Huge.Info (Maps API Guru)
This works quite well. The Google IO 2010 app contains a v3 JavaScript based map. It's open source and you can use that as a guide. Search for it on code.google.com. A simpler example of using JavaScript with Android is in one of Mark Murphy's books. I suggest subscribing to his commonsware site

[android-developers] Re: Apps availability on US Market

2010-08-31 Thread Traveler
I checked. A world of faces is on the market with a 5 star rating. Jerry On Aug 30, 7:55 pm, Yahel kaye...@gmail.com wrote: Hi all, Sorry to bother the group for that but I don't really know where to ask for that favor :s I've launched my new app a World of Faces a few days ago. Nothing

[android-developers] Re: using javascripts v3 api in android - help required urgently

2010-08-31 Thread anushree
i tried using webview but i really don't know where to add the javascript code in it.. i tried some example using the tutorial on the net.. but could not understand it.. the link was

[android-developers] Help with simple Bitmap issue

2010-08-31 Thread Pedro Teixeira
Hi there... I'm having an issue with a Bitmap which is giving me an error but any kind of report so I can understand it.. The code is simpley this this: - I get a image path from a bundle: Bundle w = getIntent().getExtras(); final String thenPicPath= w.getString(oldpicpath); -

[android-developers] BindException: Bad file number

2010-08-31 Thread abhay mulye
Hi All, I am working with Android 2.2. My aim is to Download a file from the server, for that i am using the HttpURLConnection. For the first 'Go', its working fine i am able to download the file successfully. But somehow the same code does not work second time (or more precisely after some

Re: [android-developers] Reducing Permissions

2010-08-31 Thread TreKing
You're not going to like this, but since no one else is chiming in ... =) On Mon, Aug 30, 2010 at 3:37 PM, Brad Gies rbg...@gmail.com wrote: So... the question is : Is there a robust way to use Google Maps, and be able to send requests to my server without all those permissions (in a user

[android-developers] Re: using javascripts v3 api in android - help required urgently

2010-08-31 Thread Maps.Huge.Info (Maps API Guru)
It's pretty simple to use the v3 API in Android. Here's a blog post from Google about the process: http://code.google.com/apis/maps/articles/android_v3.html -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: using javascripts v3 api in android - help required urgently

2010-08-31 Thread Frank Weiss
I assume you want to develop a web-based Googlew Maps V3 app that would display in the Android browser. Maybe I'm missing something, but this has nothing to do with Android. I verified by trying a V3 maps app developed for desktop browsers. Works in the Android browser as well. -- You received

Re: [android-developers] Re: Piracy Breakdown by Country

2010-08-31 Thread Samuel Lawson
Here is a suggestion for Google. Pirates have very clear buying patterns. Most can be spotted easily. Analyse the market for buyers who repeatedly buy apps and then get a refund in under 5 minutes. Then block those users. I can see these guys normally pirate 2 of my apps in the space of 5

[android-developers] Use of Service component?

2010-08-31 Thread cool.manish
Service Component is used to do some task which can be done without user interaction. But for that we have to run a thread in subclass of the Service. I think we can create a thread in Activity class itself then what is the use of Service component? Why don't we create another thread and write the

Re: [android-developers] Re: Piracy Breakdown by Country

2010-08-31 Thread Mark Carter
Would be good if devs could specify refund policy on app-by-app basis. On 31 August 2010 17:58, Samuel Lawson samuel.law...@gmail.com wrote: Here is a suggestion for Google. Pirates have very clear buying patterns. Most can be spotted easily. Analyse the market for buyers who repeatedly buy

[android-developers] What is Context and what is its use?

2010-08-31 Thread cool.manish
What is context. We always pass an argument context in the intent or manageQuery etc. What is it and what is the use of it? does it have the information about the process stack? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Piracy Breakdown by Country

2010-08-31 Thread Mark Carter
I've got a 92% piracy rate on one of my apps. The version being passed around is 1.0.6. How about releasing an update using an earlier version number (e.g. 1.0.1). Legitimate users probably wouldn't notice/care. However, it would be very confusing on pirate sites where the version number is more

[android-developers] Capturing RAW data in Android 2.2(HTC Desire)

2010-08-31 Thread uday
Hi All, I'm facing problem when capturing RAW data in Android Froyo. Im using HTC Desire(5MP) device. in the method of PictureCallback rawCallback = new PictureCallback() { public void onPictureTaken(byte[] data, Camera camera) { } the data im

Re: [android-developers] Use of Service component?

2010-08-31 Thread Kostya Vasilyev
The difference is that Activity lifecycle is managed by the user, and Service lifecycle is managed by Android. The user can switch away from an Activity at any time, and, since Android isn't aware that there is a worker thread, it can kill the process that hosted the Activity (and the worker

Re: [android-developers] Capturing RAW data in Android 2.2(HTC Desire)

2010-08-31 Thread David Erosa García
On Tue, Aug 31, 2010 at 6:17 PM, uday uday.pic...@gmail.com wrote: Hi All, I'm facing problem when capturing RAW data in Android Froyo. Im using HTC Desire(5MP) device.  in the method of PictureCallback rawCallback = new PictureCallback() {                public void onPictureTaken(byte[]

Re: [android-developers] Use of Service component?

2010-08-31 Thread Agus
A thread hosted by the ApplicationContext will get killed by the System if necessary but not when hosted by a Service? On Tue, Aug 31, 2010 at 9:22 AM, Kostya Vasilyev kmans...@gmail.com wrote:  The difference is that Activity lifecycle is managed by the user, and Service lifecycle is managed

Re: [android-developers] Use of Service component?

2010-08-31 Thread Kostya Vasilyev
A Service can still get killed together with its process if memory gets low, so no guarantees. When there is a choice, the system is less likely to kill a service that's either associated with a foreground activity, or a service that explicitly marked itself as a foreground service (i.e.

Re: [android-developers] Use of Service component?

2010-08-31 Thread Frank Weiss
Doing a background task with AsyncTask can be done in either Activity or Service. Depends on what you're trying to do. For example, something similar to downlaoding a web page, do in Activity as user is likely to wait and nothing really lost if user swtiches to another task. Something like

[android-developers] Re: Sending SMS while phone is ringing

2010-08-31 Thread Jimband
Unfortunately this seems to be the case. The functionality is possible under Symbian platform, but unluckily it doesn't work with Android. Unfortunately this prevents creating Caller ID applications based on SMS's (among other things).. On Aug 31, 12:26 am, Byron Penner bapenner...@gmail.com

[android-developers] Re: using javascripts v3 api in android - help required urgently

2010-08-31 Thread Maps.Huge.Info (Maps API Guru)
I suggest you go back to the basics and learn more about programming before jumping into something as complex as an Android native app. It's not for the beginner. You might try App Inventor. That system doesn't require any code but it still requires understanding program logic so no matter what

[android-developers] How to clear static variable values when will i close my application in android

2010-08-31 Thread siva
Hi Friends, I have used some static variable in my application, i want to clear static variable value when will i close my application.anybody know please give solution for that Thanks All -- You received this message because you are subscribed to the Google Groups Android Developers group. To

  1   2   >