[android-developers] Re: Dynamically including a custom view defined in another app

2011-03-21 Thread Doug
Just for the sake of argument, what do you think is the worst thing that a malicious app can do if one of its classes is loaded into another app that is using this technique? I understand there could be problems if you call methods on a loaded class and happen to pass it a reference to

[android-developers] Re: Widgets in SD installed application

2011-03-21 Thread siliconeagle
this has been disallowd as the sd card can be unmounted. http://code.google.com/p/android/issues/detail?id=11283 On Mar 21, 9:27 am, Joan Pujol joanpu...@gmail.com wrote: Did widgets work in a SD installed application? According Android javadoc it seems that can work: App Widgets Your A

[android-developers] Stop USB Port programmatically

2011-03-21 Thread Luiz Felipe Puccinelli Glingani
Is it possible to stop/disable the USB port programmatically ? Thanks, Luiz -- 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: can i hide or change battery-low dialog?

2011-03-21 Thread Krischik Martin
On 18 Mrz., 09:05, guiridemeer guiridem...@gmail.com wrote: I need to hide or change the battery-low dialog. Would you please tell my which application you are working on so I can make sure I never install it. Martin -- You received this message because you are subscribed to the Google

[android-developers] Re: Cloud To Device Push Notification API in Android

2011-03-21 Thread Doug
http://code.google.com/android/c2dm/ On Saturday, March 19, 2011 1:50:17 AM UTC-7, Prashant wrote: Hey Guys I was wondering if there is someone on this list involved in developing an app /service using cloud to device push notification api on Android or you know of some good use

[android-developers] Re: Cloud To Device Push Notification API in Android

2011-03-21 Thread Prashant
Thanks for your revert . I know that page I have seen those two app mentioned there . i was looking for more of the example . I am surprised why this functionality has not been picked up by developer community . it hold so much possibility . is there any performance issue or its just not ready for

[android-developers] Re: Does emulator destinguishes the voice of two persons?

2011-03-21 Thread Eric Wong (hdmp4.com)
Check other posts. Many have complained that the emulator does not support mic. On Mar 21, 5:31 am, Balu Varanasi vab...@gmail.com wrote: Hi all :)  I'm trying to implement a Voice recognition application in android 2.2 emulator. I'm getting an error that Recognizer not present. How to

[android-developers] Re: How to stop ActivityManager logging

2011-03-21 Thread Will
David and Mark, Thanks for your answers. I was just trying to prevent, at some level, visibility into a users activity. From a security angle that would be preferable to ward off haphazard snooping in the logs. Nothing is ever 100% secure, it's all about levels :-) But, from your answers it

[android-developers] android:textAppearance on button

2011-03-21 Thread Sebastian Roth
Hello: Suppose I have this button: Button android:layout_width=179dp android:layout_height=match_parent android:layout_centerHorizontal=true android:background=@drawable/bg_act_incall_actions_end_call android:text=End Call

[android-developers] Re: Stop USB Port programmatically

2011-03-21 Thread FrankG
Hi Luiz, I think you must give some details concerning your aim. But the sdk has no support for lower level usb functionality. Good luck ! Frank On 21 Mrz., 07:29, Luiz Felipe Puccinelli Glingani luizfelip...@gmail.com wrote: Is it possible to stop/disable the USB port programmatically ?

[android-developers] Re: can i hide or change battery-low dialog?

2011-03-21 Thread guiridemeer
I am developing an application for people with disabilities (down syndrome and so on) and I need to take the control of every window in the phone and Battery-Low Dialog is a window with two buttons and i need to change it with an easier dialog with only a Pictogram and a voice signal or something

[android-developers] AlertDialog.Builder question

2011-03-21 Thread dashman
I'm building an AlertDialog where i display a message. but at the bottom - i would like a checkbox w/ label do not show again. any way to do this. -- 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: can i hide or change battery-low dialog?

2011-03-21 Thread Krischik Martin
On 21 Mrz., 08:59, guiridemeer guiridem...@gmail.com wrote: I am developing an application for people with disabilities You should have said that in the first post and you would have got more and better answers. You should understand that on a phone for normal enabled users what you have asked

Re: [android-developers] Stop USB Port programmatically

2011-03-21 Thread Marcin Orlowski
On 21 March 2011 07:29, Luiz Felipe Puccinelli Glingani luizfelip...@gmail.com wrote: Is it possible to stop/disable the USB port programmatically ? Whatever you mean by stop USB port it would be rather not possible to regular application. Regards, Marcin Orlowski Tray Agenda

[android-developers] Re: can i hide or change battery-low dialog?

2011-03-21 Thread guiridemeer
On 21 mar, 09:28, Krischik Martin martin.krisc...@noser.com wrote: On 21 Mrz., 08:59, guiridemeer guiridem...@gmail.com wrote: You should have said that in the first post and you would have got more and better answers. You should understand that on a phone for normal enabled users what you

[android-developers] write tag with opengl on android

2011-03-21 Thread a a
Hi all, How can i write a tag like string Dog on the picture. Can anyone paste his/her code on here? -- 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

Re: [android-developers] AlertDialog.Builder question

2011-03-21 Thread Kostya Vasilyev
You can specify your own layout for the alert dialog, which would include the check box. http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setView(android.view.View) -- Kostya 21.03.2011 11:27, dashman пишет: I'm building an AlertDialog where i display a message.

Re: [android-developers] write tag with opengl on android

2011-03-21 Thread Marcin Orlowski
On 21 March 2011 09:48, a a harvey.a...@gmail.com wrote: How can i write a tag like string Dog on the picture. Use Canvas to paint on your bitmap. http://developer.android.com/reference/android/graphics/Canvas.html -- You received this message because you are subscribed to the Google

[android-developers] Re: Restart Service after it has been killed by the system

2011-03-21 Thread Paolo
Hi TreKing, for short time I mean at least 30min, not more. Using START_STICKY my service doesn't restart anymore. It has happened to start again only once, but after 6 hours more or less... I'd like to understand if this is the normal behaviour or there is something wrong. On 19 Mar, 02:55,

Re: [android-developers] Re: 2d game development

2011-03-21 Thread a a
2011/3/2 Riyad rka...@gmail.com: In addition to TreKing's reply, you will want to decide if you are going to hand draw this stuff or use OpenGL, I'm going to assume you will be using OpenGL if you want lots of layers and spirtes moving performantly across each other and possibly add some

[android-developers] Unexpected error

2011-03-21 Thread rishabh agrawal
When i run my application on api level 4 then it create unecpected error but when i run on api level 8 then it not create any error,i also set the uses-sdk android:minSdkVersion=4 android:maxSdkVersion=10 / application android:icon=@drawable/sai11 android:label=@string/app_name

[android-developers] how to increase the time for android voice recognition?

2011-03-21 Thread vamsi
Hi Does anyone knows how to extend the time period for voice recognition? According to my application user need to say any words, through voice recognition my application will return some output. For that the time period should be more to recognize the complete word from user. To improve waiting

Re: [android-developers] Unexpected error

2011-03-21 Thread Marcin Orlowski
so how to remove these error,please guide me. That's simple - fix it. That usually works for untold issues. And in general - you forgot to quite your crash log Regards, Marcin Orlowski Tray Agenda http://bit.ly/trayagenda - keep you daily schedule handy... -- You received this message

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-21 Thread Bob Kerns
I mean to say Note: no -keypass parameter. It is not legal Not -storepass. Sorry if I added to anyone's confusion! -- 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

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-21 Thread Kostya Vasilyev
21.03.2011 13:36, Bob Kerns пишет: I mean to say Note: no -keypass parameter. It is not legal Not -storepass. Sorry if I added to anyone's confusion! It makes sense that getting a list of keys requires the keystore password, not passwords for individual keys. However, this only highlights

[android-developers] Re: How to use the static fragment library in legacy apps?

2011-03-21 Thread AMGG
I don't understand why Google doesn't provide a good and easy-to-use example... kind of PlugPlay. I have tried the API Demos example that Google provides and it just gives a bunch of compilation errors. At the end I have had to waste my time creating a new project to make it work. Just adding

[android-developers] Free Text Search

2011-03-21 Thread وماتوفيقيإلابالله
How to search for a phrase in a huge, unindexed file? And highlight the results among the file? -- 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

Re: [android-developers] Re: Dynamically including a custom view defined in another app

2011-03-21 Thread Mark Murphy
On Mon, Mar 21, 2011 at 2:06 AM, Doug beafd...@gmail.com wrote: Just for the sake of argument, what do you think is the worst thing that a malicious app can do if one of its classes is loaded into another app that is using this technique?  I understand there could be problems if you call

Re: [android-developers] Re: AppWidget Stopped !!!

2011-03-21 Thread Mark Murphy
On Mon, Mar 21, 2011 at 12:29 AM, hardrock hardrock...@gmail.com wrote: However, another problem is ACTION_TIME_CHANGED or ACTION_TIMEZONE_CHANGED. If receiver has died from system, we also can NOT receive above broadcast messages. If your BroadcastReceivers for these are registered in the

[android-developers] Can i disable Home Button in Android for my application only.???

2011-03-21 Thread Onkar Dhane,Trainee Software Developer,Alphabricks Technology pvt. ltd
Hi,i have created one application in which i have put one image on layout.and now i want to control home button..if user click on home button then also it must not take user to home button..i.e to disable home button..if any one have an idea to control home button then please give me. Thanks in

Re: [android-developers] Can i disable Home Button in Android for my application only.???

2011-03-21 Thread Mark Murphy
Write your own firmware. Or, turn your application into a home screen replacement and convince the users to use it. Otherwise, you cannot control home button. On Mon, Mar 21, 2011 at 7:26 AM, Onkar Dhane,Trainee Software Developer,Alphabricks Technology pvt. ltd dhane.on...@gmail.com wrote:

[android-developers] Re: json data to array list

2011-03-21 Thread DanH
You run the JSON through a JSON parser. There's one built in to the SDK if you look for it. On Mar 20, 11:10 pm, acr acr...@gmail.com wrote: Hi, I have looked everywhere and feel like I am going in circles at this point what I am trying to do seems simple enough.. I a, trying to take json

[android-developers] Re: Unexpected error

2011-03-21 Thread rishabh agrawal
03-21 11:49:32.092: ERROR/AndroidRuntime(234): Uncaught handler: thread main exiting due to uncaught exception these error is occures how to remove it On Mar 21, 2:30 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: so how to remove these error,please guide me. That's simple - fix it.

[android-developers] Re: Does emulator destinguishes the voice of two persons?

2011-03-21 Thread Balu Varanasi
Hi Eric :) Thank you for you reply. Could you please suggest me an Idea of how to implement Voice Recognition in Android Emulator. -- 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] Quick Search Box Limit

2011-03-21 Thread Nesim TUNÇ
Hi, Do you know my QSB suggestion show only one result even my cursor has 10 row of result? -- Nesim TUNÇ Senior Software Developer of Distributed Applications -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Is there any Reminder Service in Android?

2011-03-21 Thread Nesim TUNÇ
Hi Great Developers, I have a job that needs to check if the time's up. Now, I do that with a normal Android Service. I wonder is there anything to handle such of those things? I don't want to that via while loop because of cpu and battery spending. Thanks in advance. -- Nesim TUNÇ Senior

[android-developers] Stack Traces only referencing framework code

2011-03-21 Thread David Caunt
Hi Androiders, I've received a few stack traces which contain only references to framework code, for example: java.lang.NullPointerException at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1366) at android.view.ViewGroup.drawChild(ViewGroup.java:1638) at

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-21 Thread Syed Rakib Al Hasan
On Mon, Mar 21, 2011 at 4:48 PM, Kostya Vasilyev kmans...@gmail.com wrote: Android docs say this: http://developer.android.com/guide/publishing/app-signing.html#setup If you are developing on a version of Linux that originally came with GNU Compiler for Java, make sure that the system is

Re: [android-developers] Re: Unexpected error

2011-03-21 Thread Marcin Orlowski
On 21 March 2011 12:54, rishabh agrawal android.rish...@gmail.com wrote: 03-21 11:49:32.092: ERROR/AndroidRuntime(234): Uncaught handler: thread main exiting due to uncaught exception these error is occures how to remove it Use try/catch syntax around the call that causes this problem.

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

2011-03-21 Thread Kostya Vasilyev
There is also the ever-useful which command, as in: which keytool will tell you which keytool (!) is getting executed when you type keytool. I don't remember if which follows links, so just in case, the following should show link target, if the keytool on the path is actually a link: ls

[android-developers] Re: Unexpected error

2011-03-21 Thread rishabh agrawal
03-21 18:04:46.292: WARN/WindowManager(48): No window to dispatch pointer action 1 03-21 18:04:46.301: ERROR/AndroidRuntime(196): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sai.s/com.sai.s.bs}: android.view.InflateException: Binary XML file line #18: Error inflating

Re: [android-developers] Re: Android Application Sold to 100,000 Users

2011-03-21 Thread TreKing
On Sun, Mar 20, 2011 at 11:03 PM, varinag gold varinagg...@gmail.comwrote: I agree with it but I want to see general trend of Android Market and users for priced applications. Any answers you get from 1 or 2 developers is not going to speak to any general trend. You'd need to look at the

[android-developers] Re: advertise free or paid....

2011-03-21 Thread Emanuel Moecklin
You are violating the Android Market Developer Program Policies (http://www.android.com/us/developer-content-policy.html): Spam and Placement in the Store [...] Developers also should not attempt to change the placement of any Product in the Store by rating an application multiple times, or by

Re: [android-developers] Re: Unexpected error

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 7:43 AM, rishabh agrawal android.rish...@gmail.comwrote: 03-21 18:04:46.301: ERROR/AndroidRuntime(196): *Caused by:* android.view.InflateException: Binary XML file line #18: Error inflating class java.lang.reflect.Constructor There's an error in your XML (probably

Re: [android-developers] Re: Unexpected error

2011-03-21 Thread David Caunt
03-21 18:04:46.301: ERROR/AndroidRuntime(196): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget Looks like you're using too much memory On 21 March 2011 12:54, TreKing treking...@gmail.com wrote: On Mon, Mar 21, 2011 at 7:43 AM, rishabh agrawal android.rish...@gmail.com

Re: [android-developers] Re: Unexpected error

2011-03-21 Thread Marcin Orlowski
On 21 March 2011 13:43, rishabh agrawal android.rish...@gmail.com wrote: Here is something to investigate further 03-21 18:04:46.292: WARN/WindowManager(48): No window to dispatch pointer action 1 03-21 18:04:46.301: ERROR/AndroidRuntime(196): java.lang.RuntimeException: Unable to start

[android-developers] Out of Memory Exception when exporting vcards

2011-03-21 Thread Ajith Kamath
Hi I am facing a problem when I need to export vcards overs bluetooth. Problem is vcards are large in number. Plus If the vcards have images in them then size is really high. So when i try sending this I get OutOfMemory Exception , its Coming from VcardComposer.java. - At onEntryCreated() Can I

Re: [android-developers] Re: Unexpected error

2011-03-21 Thread Kostya Vasilyev
Erm... looking further down the call stack: 21.03.2011 15:43, rishabh agrawal ?: 03-21 18:04:46.301: ERROR/AndroidRuntime(196):*Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget* 03-21 18:04:46.301: ERROR/AndroidRuntime(196): at

[android-developers] GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
Hi, I have an app that uses MapView to display data. It uses locationManager to determine the position of the user and if use of GPS is allowed by the user, GPS is used. The problem is that the app does not stop using the GPS (and draining battery). I start it using: locationManager =

[android-developers] Re: Cloud To Device Push Notification API in Android

2011-03-21 Thread Streets Of Boston
It is still in Google Labs, this means it's still in 'beta'. Some of the information about service levels (e.g. total quota or max frequency of message that can be sent, etc) is not yet clear. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Verbose Logging Not Being Suppressed

2011-03-21 Thread Jake Colman
My understanding from reading the documentation is that messages logged at the verbose level are automatically stripped from production applications. I installed my own application via the marketplace (to ensure that what I was running on my phone was identical to what my user's would be

[android-developers] Idea Conceptualization

2011-03-21 Thread cuil yahoo
Hey, I am planning to make an android based application which logs either the entire history or some part of the history of the last ip addresses used to access Google accounts. I did try searching on the internet but that did not result into anything fruitful. Is this possible ? A few links or

Re: [android-developers] GPS does not stop after ending my app

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 8:19 AM, Stephan Wiesner testexpe...@googlemail.com wrote: Any ideas? You're passing in new GeoUpateHandler, for which you do not maintain a reference to later remove. Passing in this (whatever this is) has no effect, for this is not referencing the new

[android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
Hi TreKing, thanks for your answer. I removed the new GeoUpdateHandler, but that does not help. My Activity extends LocationListener: public class ShowMap extends MapActivity implements LocationListener so if I provide this on both methods it should work, should it not? @Override

[android-developers] Working with Multiple Widget Instances/Layout

2011-03-21 Thread Jake Colman
I have reviewed the developer documentation on App Widgets and I found that some of my fundamental questions are not really being addressed. I'd like to raise some of them here to see if anyone here can send me an RTFM link or a direct answer. Given the following: I have an application that

Re: [android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 8:53 AM, Stephan Wiesner testexpe...@googlemail.com wrote: so if I provide this on both methods it should work, should it not? Yes. I would pair onStart() with onStop() or onPause() with onResume().

Re: [android-developers] Free Text Search

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 6:18 AM, وماتوفيقيإلابالله mgur...@gmail.comwrote: How to search for a phrase in a huge, unindexed file? And highlight the results among the file? http://www.catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] Is there any Reminder Service in Android?

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 7:10 AM, Nesim TUNÇ nesimt...@gmail.com wrote: I wonder is there anything to handle such of those things? AlarmManager? - TreKing

[android-developers] Re: advertise free or paid....

2011-03-21 Thread William Ferguson
I don't see any policy being violated here. The app is not being rated multiple times. Nor is any incentive being offered. AFAICT. Annoying, perhaps. In violation of the referenced policy. No. On Mar 21, 10:48 pm, Emanuel Moecklin 1gravity...@gmail.com wrote: You are violating the Android

Re: [android-developers] Verbose Logging Not Being Suppressed

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 8:35 AM, Jake Colman col...@ppllc.com wrote: Is there something manual that I was supposed to have done to get this automatic behavior? Apparently the docs are wrong or some devices ignore it. See this thread:

Re: [android-developers] Working with Multiple Widget Instances/Layout

2011-03-21 Thread Kostya Vasilyev
21.03.2011 17:01, Jake Colman пишет: 1) How does one provide multiple options for widget sizes? Do you just add additional meta-data sections under the Receiver entry of the manifest? Essentially by providing entirely separate widgets, each having its own size. They can share

[android-developers] Re: Question about bug reports

2011-03-21 Thread Marcin Orlowski
On Feb 4, 12:12 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 3 February 2011 23:01, String sterling.ud...@googlemail.com wrote: Yes, whoever posted log.d() gets stripped at runtime was wrong. Really?http://developer.android.com/reference/android/util/Log.html For archiving

Re: [android-developers] Verbose Logging Not Being Suppressed

2011-03-21 Thread Marcin Orlowski
On 21 March 2011 14:35, Jake Colman col...@ppllc.com wrote: My understanding from reading the documentation is that messages logged at the verbose level are automatically stripped from production applications. Documentation is wrong there. No Log.x() is stripped. You may try to do that with

[android-developers] Custom map overlays

2011-03-21 Thread Neilz
Hi all. I'm fairly familiar with ItemizedOverlay and OverlayItem classes, where you pass a drawable to the Overlay which gets added to the MapOverlays and displayed on the map. However I want to create a view, using an XML layout, and add this to the map in the same way as an overlay. So instead

Re: [android-developers] Custom map overlays

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 9:53 AM, Neilz neilhorn...@gmail.com wrote: Any pointers appreciated... thanks. http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapView.LayoutParams.html

[android-developers] Re: 2d game development

2011-03-21 Thread Riyad Kalla
Any game engine you look at will have a considerable code base... that is like asking I would like to do a GUI and someone suggesting Swing or SWT to you and you saying My god the API is huge! Yes... they are... they cover a lot. Everything from 3D/2D abstractions to file I/O. libgdx has a good

[android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
only it does not stop the GPS :-( On Mar 21, 3:03 pm, TreKing treking...@gmail.com wrote: On Mon, Mar 21, 2011 at 8:53 AM, Stephan Wiesner testexpe...@googlemail.com wrote: so if I provide this on both methods it should work, should it not? Yes. I would pair onStart() with onStop() or

Re: [android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 10:32 AM, Stephan Wiesner testexpe...@googlemail.com wrote: only it does not stop the GPS :-( I would double check your code and make sure you're not adding an extra listener somewhere. Also wait a few seconds for the GPS icon to go away before assuming it's not

[android-developers] Re: Custom map overlays

2011-03-21 Thread Neilz
Super, thanks TreKing! On Mar 21, 2:59 pm, TreKing treking...@gmail.com wrote: On Mon, Mar 21, 2011 at 9:53 AM, Neilz neilhorn...@gmail.com wrote: Any pointers appreciated... thanks. http://code.google.com/android/add-ons/google-apis/reference/com/goog...

Re: [android-developers] Re: Double press home button side effect...

2011-03-21 Thread Justin Anderson
Ok, thanks for this info... I'll try this to reproduce the issue. I have 2.2 installed on my device and have never come across this, but now that I know what is going on I may be able to reproduce this. So, in short, there is nothing that can be done to help with this? Thanks, Justin Anderson

[android-developers] Re: Android Application Sold to 100,000 Users

2011-03-21 Thread nemik
I think the general trend is that you won't make much money; though you never know until you try. Remember that all those huge successes you read about are outliers. The majority of apps just sorta get by or flop. Just throw your best hat into the ring and see what happens. What other kind of

[android-developers] Re: Custom map overlays

2011-03-21 Thread Neilz
Ok, same thread, another Map question. I've been using 'MyLocationOverlay' to display current location. It shows that nice blue pulsating image to mark the spot. Am I able to add a pointer (arrow image) which indicates current direction, as I would see on the standard GoogleMap? Thanks. --

Re: [android-developers] Re: Custom map overlays

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 11:11 AM, Neilz neilhorn...@gmail.com wrote: Am I able to add a pointer (arrow image) which indicates current direction, as I would see on the standard GoogleMap? Yes, but you have to supply it and orient it yourself.

[android-developers] Using ListPreference view in a non preference activity/dialog

2011-03-21 Thread Wall-E
I would like to use certain views associated with the PreferenceActivty such as the ListPreference in my Activity or Dialog but I don't want my activity to be a PreferenceActivty. Is there a way to access that view or is there a way to create that view and how to implement this? Pretty much what

Re: [android-developers] Using ListPreference view in a non preference activity/dialog

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 11:04 AM, Wall-E bashee...@gmail.com wrote: I would like to use certain views associated with the PreferenceActivty such as the ListPreference in my Activity or Dialog but I don't want my activity to be a PreferenceActivty. Why not?

[android-developers] Problems using Javascript console.log

2011-03-21 Thread Jonathan Arnold
I have a very simple test web page: http://www.amazingdev.com/js.html Which is just a few lines long. It's mostly to test the console.log function. I'm finding it works just fine in my 2.2 emulator, but not when I debug via a real device (in this case, an EVO running 2.2). I see the log

[android-developers] Re: Using ListPreference view in a non preference activity/dialog

2011-03-21 Thread Wall-E
Well I first initially had dialog and created a layout to use in that dialog to set certain preferences/values. So I tried to inflate(setContentView(dialogLayout)) that same layout in a PreferenceActivity I created but then was getting this error: 03-21 16:12:24.395: ERROR/AndroidRuntime(1472):

Re: [android-developers] Re: Using ListPreference view in a non preference activity/dialog

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 12:05 PM, Wall-E bashee...@gmail.com wrote: I'm just now thinking I should create a Preference Screen layout and include all the views I had in my dialog layout. Seems like the easiest and most straightforward thing to do.

Re: [android-developers] Re: Using ListPreference view in a non preference activity/dialog

2011-03-21 Thread Kostya Vasilyev
21.03.2011 20:05, Wall-E пишет: 03-21 16:12:24.395: ERROR/AndroidRuntime(1472): Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list' PreferenceActivity uses a list view to display its content. If you wish use your own layout for

[android-developers] Create Project

2011-03-21 Thread rishabh agrawal
I was create my application as a android sdk api 8.and written all the code.bu now i want run on a sdk api 4.with the help of mainfest file i changed minSdkVersion=4,But when i installed on it then unexpected error are created...In this apps i used Tab..some tab work properly but some

Re: [android-developers] Create Project

2011-03-21 Thread Kostya Vasilyev
Your code probably uses Android classes or methods that didn't yet exist in API 4. Bring up Properties on your project, select Android in the list on the left, and select Android 1.6 for building. Then go through compile errors, and remove or change all code that cannot work with API level

[android-developers] ProgressBar

2011-03-21 Thread rishabh agrawal
In my apps with the help of Intent i call another Activity.But in the duration of calling some delay is occures Blank screens show.here i use ProgressBar for better UI.plz suggest me any tutorial for that.. -- You received this message because you are subscribed to the Google

[android-developers] Sound On/Off Button - Muting app sounds Button

2011-03-21 Thread Gabriel
Hey guys, I see in a lot of games this Button wich you can Mute the app sounds. I want to put this in my app, but I don't have any clue how to do that. 1 - It would be the same button to mute and unmute the sounds. Like in NinJump Game. 2 - It would change the button image. Like Off' when you

[android-developers] Re: Create Project

2011-03-21 Thread rishabh agrawal
thanks Kostya.ur means that if i want to run my apps on api 4 then change my code according to api 4 classes.when i change the code according to api 4.it work very properly in API 8 On Mar 21, 10:42 pm, Kostya Vasilyev kmans...@gmail.com wrote: Your code probably uses Android classes or methods

Re: [android-developers] Re: Create Project

2011-03-21 Thread Kostya Vasilyev
21.03.2011 20:51, rishabh agrawal пишет: thanks Kostya.ur means that if i want to run my apps on api 4 then change my code according to api 4 classes.when i change the code according to api 4.it work very properly in API 8 Right, once you've done this, and your code runs on API4, you can

[android-developers] Cloud Computing

2011-03-21 Thread rishabh agrawal
I am a Begginer in android.But i want develope apps for Cloud ComputingSo for Cloud Computing...Which Language is nessesary. Please Help me.I am Fresher -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Is there any Reminder Service in Android?

2011-03-21 Thread roberto
If you need to run a recurring task (once, twice, 3 times a day or even every 5 minutes), consider using the buzzbox sdk that is built on top of the AlarmManager. More info herehttp://hub.buzzbox.com/android-sdk/ On Mar 21, 5:10 am, Nesim TUNÇ nesimt...@gmail.com wrote: Hi Great

Re: [android-developers] ProgressBar

2011-03-21 Thread Kostya Vasilyev
Most likely what happens is that your second activity (the one you launch) takes too long in its onCreate / onStart / onResume. Fix that, and it should launch smoothly. -- Kostya 21.03.2011 20:45, rishabh agrawal пишет: In my apps with the help of Intent i call another Activity.But in the

[android-developers] mediaplayer surface initialized to a frame

2011-03-21 Thread droid-stricken
Hi All, I am creating a surface holder for displaying my video and creating the mediaplayer instance as well. My question is - How to display the first frame on the surfaceView and then provide a button for the user to click that starts the actual playback of the video? Currently, my screen is

Re: [android-developers] Re: Custom map overlays

2011-03-21 Thread lbendlin
And you'll want to lose the pulsating/fix circle. It's eye candy for sure but it impacts performance heavily without really giving much back. You can replace it with a view placeholder that contains an arrow image that you can rotate according to your direction. -- You received this message

Re: [android-developers] Sound On/Off Button - Muting app sounds Button

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 12:50 PM, Gabriel gab...@gmail.com wrote: I want to put this in my app, but I don't have any clue how to do that. if (muteButtonPressed()) turnOffSound(); if (soundIsOn()) playSounds();

Re: [android-developers] Cloud Computing

2011-03-21 Thread TreKing
On Mon, Mar 21, 2011 at 1:03 PM, rishabh agrawal android.rish...@gmail.comwrote: I am a Begginer in android.But i want develope apps for Cloud Computing Oh for goodness sake. - TreKing

[android-developers] Re: Sound On/Off Button - Muting app sounds Button

2011-03-21 Thread Gabriel
Thanks, but how can I apply this for a single button? And change the button image when I do that? Sorry, I've just started developing, still learning the basics On 21 mar, 15:07, TreKing treking...@gmail.com wrote: On Mon, Mar 21, 2011 at 12:50 PM, Gabriel gab...@gmail.com wrote: I want to

Re: [android-developers] Cloud Computing

2011-03-21 Thread Justin Giles
To my knowledge (I've not scoured every inch of the Android API), there is no built-in cloud computing in Android. What you are going to want to investigate are various services offered by Google and Amazon, such as the Google AppEngine (and other services) and Amazon's EC2. Here are the links

[android-developers] Re: Help using custom Preference types - for pity or money

2011-03-21 Thread lbendlin
Rolling your own preference is not trivial. Definitely more than an hour, including all the required regression testing. Here's a good starter http://android-journey.blogspot.com/2010/01/for-almost-any-application-we-need-to.html -- You received this message because you are subscribed to the

[android-developers] Re: Interested in making a killer GTD app?

2011-03-21 Thread Jake Colman
David, You clearly put alot of thought into this. But have you protected this design in anyway? How would you feel if in a few months an app based on this design is brought to market for a few bucks? Would you feel ripped off or happy that someone built something that meets your needs?

[android-developers] Re: Enabling RTSPEngine logcat

2011-03-21 Thread Ming Lai Lai
May I ask How did you get the RTSPEngine logcat messages? On 2月5日, 上午8時46分, Chris Stankevitz chrisstankev...@gmail.com wrote: Hello, Phone number 1 produces these logcat entries:  10-08 14:11:22.657 I/RTSPEngine( 5031): RTSP Server response:  10-08 14:11:22.657 I/RTSPEngine( 5031): RTSP/1.0

[android-developers] Re: Custom map overlays

2011-03-21 Thread Neilz
Interesting, thanks for the tip. On Mar 21, 6:11 pm, lbendlin l...@bendlin.us wrote: And you'll want to lose the pulsating/fix circle. It's eye candy for sure but it impacts performance heavily without really giving much back. You can replace it with a view placeholder that contains an arrow

[android-developers] Re: Working with Multiple Widget Instances/Layout

2011-03-21 Thread Jake Colman
KV == Kostya Vasilyev kmans...@gmail.com writes: KV 21.03.2011 17:01, Jake Colman пишет: 1) How does one provide multiple options for widget sizes? Do you just add additional meta-data sections under the Receiver entry of the manifest? KV Essentially by providing entirely

[android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
Got it. I have to use MyLocationOverlay.disableMyLocation() as well. Works fine now. Thanks for your advice! Stephan On Mar 21, 4:49 pm, TreKing treking...@gmail.com wrote: On Mon, Mar 21, 2011 at 10:32 AM, Stephan Wiesner testexpe...@googlemail.com wrote: only it does not stop the GPS

  1   2   3   >