[android-developers] Re: How do I write Android.mk for an application using com.google.android.maps.jar

2010-09-08 Thread Binggrae
Thank you. No one has answered. On Aug 27, 9:56 am, Binggrae bangg...@gmail.com wrote: Hi I am developing an application using com.google.android.maps.jar It is OK to develop it with Eclipse SDK. but an build-error happens when building system.img with GMS licence

[android-developers] Re: Market alternatives

2010-09-08 Thread mort
On Sep 8, 12:01 am, Kevin Duffey andjar...@gmail.com wrote: I have to ask.. in the last year since I started learning Android (haven't had much time the past several months to do much other than read some of these emails), how many more markets has Google got Android into that offer apps to be

[android-developers] Re: Variable number of settings

2010-09-08 Thread Schoel
The idea I've gotten so far is to extend the PreferenceScreen class and make a PresenceScreen which fills itself with whatever has been saved to it when it loads. This idea still feels a bit to vague though and I would appriciate any help! If anyone knows where to get the source code for the WiFi

[android-developers] Re: How to implement directory tree like list?

2010-09-08 Thread Explore Android
Thanks for the reply. I had followed the link trail but no useful information. All the posts talk about this kind of implementation is not worth on phone devices, given the real estate they have. What about tablet devices that are coming out? They have required real estate to support this kind of

[android-developers] android.os.Parcel.readException(Parcel.java:1224)

2010-09-08 Thread Raghavendra Singh
Hi I am having remote service and a client in my app and there are two aidl(Request.aidl Response.aidl) to client - service communication. In one of class i am calling a service mathod(Request.aidl ) through binder and service is giving callback for client request( Response.aidl) and in

[android-developers] I want application runtime load new jar?

2010-09-08 Thread CaryWang
My application update some jar files,I want runtime load jar files or any idea? -- Cary -- 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

Re: [android-developers] Re: Market alternatives

2010-09-08 Thread Shane Isbell
Google is doing an HTML5 web store, so there isn't much point putting tons of effort into their Android Market place client. An HTML5 web store will have global reach and combine that with paypal support and the alternative markets that are doing nothing more than selling applications (pretty

[android-developers] Re: List Item (a view) order changes unexpextedly while (fast) scrolling in a ListView

2010-09-08 Thread jamesc
Hi Sorry, I think I misunderstand you last post. Which of the two methods is the 'old' one (with the 'random order' problem) and which is the 'new' one (where the problem has gone away)? I would assume that the new/correct version is this one?: public View getView(int position, View

[android-developers] REST web services and JSON Response object support in Android

2010-09-08 Thread cool.manish
Hi All, In my application, I will call webservices which are written using REST and returning JSON object rather than XML. My Question is it that Is Android support them? Sending an request to REST web services and rendering its response is same as HTTP request or something different. I haven't

Re: [android-developers] LED turn off

2010-09-08 Thread Anand Android
Hi Mark, I'm using eclair 2.1. This option is not avaible in that. -Anand On Wed, Sep 8, 2010 at 6:22 AM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 3, 2010 at 9:05 AM, Anand Android android.an...@gmail.com wrote: In charge only mode the device stays awake all the time, it

Re: [android-developers] Re: How to implement directory tree like list?

2010-09-08 Thread TreKing
On Wed, Sep 8, 2010 at 1:37 AM, Explore Android stetest...@googlemail.comwrote: What about tablet devices that are coming out? They have required real estate to support this kind of features in the application. This is true, if that's what you're targeting. Is there a nice technique of

Re: [android-developers] I want application runtime load new jar?

2010-09-08 Thread TreKing
On Wed, Sep 8, 2010 at 1:43 AM, CaryWang wangjf...@gmail.com wrote: My application update some jar files,I want runtime load jar files or any idea? Your question does not make very much sense. Care to elaborate?

[android-developers] Killing all the activities that was started by my application.

2010-09-08 Thread Ajmer Singh
Hi I need to have a Exit menu items in my application,My question here is how can i just exit the app,Please throw some light on this is that possible in android if yes then how. Please help,Thanks in advance -- Thanks and Regards Ajmer Singh -- You received this message because you are

Re: [android-developers] Variable number of settings

2010-09-08 Thread TreKing
On Tue, Sep 7, 2010 at 10:54 AM, Schoel samuelsson.j...@gmail.com wrote: All I've found is this: http://groups.google.com/group/android-developers/browse_thread/thread/e45bb1c0d373be45 and that reply unfortunately doesn't help me very much. Why not? It's an excellent reply! =P On Wed, Sep

[android-developers] Dynamically load jar files in android runtime?

2010-09-08 Thread CaryWang
I have a jar file in my app local data /data/data/application packageName/test.jar. I want to load the class com.test.abc which resides in my jar. I am using java.net.URLClassLoader to load the class. On an non android environment the code works, on android it gives me this exception can't load

[android-developers] How to specify avd in more than one emulator

2010-09-08 Thread Sohan badaya
Hi, when more than one emulator is running i can't use adb command. If I have only one emulator and type adb logcat it works fine but if more than one is running it not runs. so I want to know what is the command for the same. Thanks, Sohan -- You received this message because you are

[android-developers] How to specify avd in more than one emulator

2010-09-08 Thread Sohan badaya
Hi, when more than one emulator is running i can't use adb command. If I have only one emulator and type adb logcat it works fine but if more than one is running it not runs. so I want to know what is the command for the same. Thanks, Sohan -- You received this message because you are

[android-developers] Re: Bitmaps and OutOfMemoryError: Best Practices needed

2010-09-08 Thread Indicator Veritatis
Eclipse has so many moving parts, I don't think you should assume he knows by 'MAT' you mean the Open Source Project, Eclipse Memory Analysis Tool. On Sep 7, 8:11 pm, Romain Guy romain...@android.com wrote: It's not hard to debug. Dump the heap (with DDMS) and use a tool like MAT to see what's

[android-developers] doc for ril and sms architecture

2010-09-08 Thread Sohan badaya
Hi Is there any documentation available on net for 1.) RIL layer in android. 2.) Sms flow architecture through telephony to radio modem in android. Thanks and Regards, sohan badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: How do I write Android.mk for an application using com.google.android.maps.jar

2010-09-08 Thread FrankG
What is wrong? IMHO first of all the group, as this is more related to android- platform. The strange thing for me is, why Google -Maps is not part of your platform as vendor extension under app\mydroid\vendor\google\frameworks ? I have no idea whether your approach can work. I think you need

[android-developers] ant build file for android

2010-09-08 Thread nikki
hi group I need to write ant build file for my project. Do anyone have an idea about how to write ant build file for android. regards -- 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: List of Android Devices with specifications to use in Emulator

2010-09-08 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/8/10 07:49 , Marcus Wolschon wrote: Thanks. That should be quite useful. There's a more efficient way to gather these data. For instance, look at http://droidparade.noser.com/droidparade/droidparade.html They're collecting the data from

Re: [android-developers] REST web services and JSON Response object support in Android

2010-09-08 Thread Marc Lester Tan
I am using the library from http://www.json.org/java/index.html. Just include the source in your app (or package it into a jar if you want) then check Test.java for examples on how to use it. Cheers, Marc Twitter: mharkus http://www.appcellar.com On Wed, Sep 8, 2010 at 3:31 PM, cool.manish

[android-developers] Re: How to specify avd in more than one emulator

2010-09-08 Thread skink
On Sep 8, 9:48 am, Sohan badaya sohan.bad...@gmail.com wrote: Hi, when more than one emulator is running i can't use adb command. If I have only one emulator and type  adb logcat it works fine but if more than one is running it not runs.  so I want to know what is the command for the same.

[android-developers] Possible to clear gallary cache via Android code?

2010-09-08 Thread Mystique
Hi, I'm looking for ways to clear cache from the gallary. Can I implement code in my Android app? How to do it? (not the manual way). Many thanks. -- 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] Killing all the activities that was started by my application.

2010-09-08 Thread TreKing
On Wed, Sep 8, 2010 at 2:41 AM, Ajmer Singh ajmersing...@gmail.com wrote: I need to have a Exit menu items in my application, Why do you think you need this? My question here is how can i just exit the app, Have the user press the back button. Please throw some light on this is that

[android-developers] canvas woe

2010-09-08 Thread dadada
hi all, i tried the sample compass app in apidemo. When there's a new reading in azimuth, i write the reading on canvas. However, the canvas is set to rotate when new reading comes in, to simulate the rotation of the compass arrow. Is there an alternative to just rotate the bitmap rather than

[android-developers] Re: REST web services and JSON Response object support in Android

2010-09-08 Thread mani
Yes you can use the REST api's in android apps. I have used the REST apis for google local search. You need to use... HttpClient object. For parsing using JSON. Check below how i have did it. Example: HttpClient client = new DefaultHttpClient(); String query =

Re: [android-developers] Launch two Activities extended from another one.

2010-09-08 Thread Frank Weiss
Please show the part of the manifest that is used to launch A and B. Looks like the problem may be there. -- 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: LED turn off

2010-09-08 Thread Zarah Dominguez
Hi Anand, Are you sure? I am also using Eclair 2.1 and I have that option. Or are you asking how to turn off the screen programmatically (which I don't know how to do heheh). Thanks, Zarah. On Sep 8, 3:34 pm, Anand Android android.an...@gmail.com wrote: Hi Mark, I'm using eclair 2.1. This

[android-developers] Porting launcher2 to SDK - facing compilations issues with android.renderscript.Allocation

2010-09-08 Thread mani
Hi all, I wanted to modifyl the default Launcher2 app and tried to work through the code flow by debugging in eclipse with android SDK. When i brough the whole code from packages/apps/launcher2, i could see certain imports are not recogonized in android SDK. Is it the apis from renderscript are

[android-developers] Internazionalizing, different languages...

2010-09-08 Thread sblantipodi
Hi, as title. What is the best way to internazionalize a software on android? I want to release a single apk with different languages. What is the smartest way to procede? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: LED turn off

2010-09-08 Thread Anand Android
yes zarah, i want to do it programatically. On Wed, Sep 8, 2010 at 2:13 PM, Zarah Dominguez zarah.doming...@gmail.comwrote: Hi Anand, Are you sure? I am also using Eclair 2.1 and I have that option. Or are you asking how to turn off the screen programmatically (which I don't know how to

Re: [android-developers] Re: Bitmaps and OutOfMemoryError: Best Practices needed

2010-09-08 Thread Kostya Vasilyev
If this bitmap is used for drawing off-screen, then why are you recreating it every time the orientation changes? Screen size stays the same no matter what the orientation. You might need to use various matrix scaling methods in Canvas so that your drawing code works in either orientation.

[android-developers] Re: Gallery popup menu

2010-09-08 Thread viktor
I captured phone screen, look at left, you can see what I mean. Share menu pressed and sub menu is appear. http://xmages.net/storage/10/1/0/9/8/upload/c509163f.png Nexus One Android 2.2, Standard Gallery application. Any ideas how to do that menu -- You received this message because you are

[android-developers] Re: Action_CALL visio

2010-09-08 Thread Kumar Bibek
AFAIK, All the phones dont have default Video Calling options. So, there's no way to initiate a video call through code. If you are talking about a particular device, look into their specs and check if the protocol is supported or not. -Kumar Bibek http://techdroid.kbeanie.com On Sep 7, 11:29 

[android-developers] Re: How to invoke phone dialer in browser? or is it impossible ?

2010-09-08 Thread Kumar Bibek
There's a tel:// protocol for that. Lool at the documentations. http://developer.android.com/guide/appendix/g-app-intents.html For SMS, there are none. -Kumar Bibek http://techdroid.kbeanie.com On Sep 7, 6:35 pm, mm...@hustunique.com mm...@hustunique.com wrote: I post it in StackOverFlow,but

[android-developers] Re: Arbitrary XML and hash marks ('#')

2010-09-08 Thread Kumar Bibek
Try escaping #es with \s -Kumar Bibek http://techdroid.kbeanie.com On Sep 6, 8:48 am, Stou Sandalski stou.sandal...@gmail.com wrote: Hello, When I place my custom xml file under res/xml AAPT throws a ton of errors because the file uses '#' inside tag attributes.  For example the line `input

Re: [android-developers] Re: List of Android Devices with specifications to use in Emulator

2010-09-08 Thread Andrew Brampton
On 8 September 2010 09:05, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: There's a more efficient way to gather these data. For instance, look at http://droidparade.noser.com/droidparade/droidparade.html They're collecting the data from people willing to run their diagnostic app.

[android-developers] Why Android cannot play .avi but can play youtube (avi?) and flash?

2010-09-08 Thread Mystique
Most youtube are flash am I right? then the codec must be build in somewhere? -- 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

Re: [android-developers] Internazionalizing, different languages...

2010-09-08 Thread Filip Havlicek
Hi, maybe going the official way wouldn't be such a bad idea. http://developer.android.com/guide/topics/resources/localization.html Best regards, Filip Havlicek 2010/9/8 sblantipodi perini.dav...@dpsoftware.org Hi, as title. What is the best way to internazionalize a software on android?

[android-developers] Re: Why Android cannot play .avi but can play youtube (avi?) and flash?

2010-09-08 Thread Alessandro Pellizzari
Il Wed, 08 Sep 2010 02:32:15 -0700, Mystique ha scritto: Most youtube are flash am I right? then the codec must be build in somewhere? AVI is just a container, not a format. Videos on Youtube are tipically in mp4 format, for which Android has a decoder. Only the chrome (the interface around

Re: [android-developers] Re: how to press menu key programmatically..

2010-09-08 Thread A N K ! T
yes i mean to unlock the screen by pressing menu key... i can achieve this task by the methods keyGuardDisable in KeyGuardLock class but i dont think this is the right way to do this... On Tue, Sep 7, 2010 at 9:32 PM, Zhenyu Jiang jfo...@gmail.com wrote: maybe he means unlock the screen

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread KrcK ---
So, for example, If I want to create a new register with each incoming call in my database tableI should use a BroadcastReceiver, and if I want to do some actions in my app when appears an incoming call I should use a listener (like save some states or stop a service), is ok? On the other hand I

[android-developers] Re: Why Android cannot play .avi but can play youtube (avi?) and flash?

2010-09-08 Thread Mystique
Thanks Alessandro for the explanation :) On Sep 8, 5:37 pm, Alessandro Pellizzari a...@amiran.it wrote: Il Wed, 08 Sep 2010 02:32:15 -0700, Mystique ha scritto: Most youtube are flash am I right? then the codec must be build in somewhere? AVI is just a container, not a format. Videos on

[android-developers] Google ID

2010-09-08 Thread perumal316
Hi, Is it possible to get the Google ID of the phone? Google ID is the Gmail ID used for setting up the phone. Thanks In Advance, Perumal -- 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: CPU usage stats

2010-09-08 Thread Andy
Hi all, Thanks for the input and I think these comments answer my question. Maybe it would be an idea to allow an SDK api to access these stats as they, in my view for applications, can be very useful due to the heavy multitasking nature of android? Regards, Andy On Sep 7, 12:30 pm, Mark

Re: [android-developers] Google ID

2010-09-08 Thread Christian Buchner
Is it possible to get the Google ID of the phone? Google ID is the Gmail ID used for setting up the phone. On Android 2.x: adb shell *sqlite3* /data/data/com.google.*android*.googleapps/databases/gls.db *select* * from *meta*; On Android 1.x the database has a different name. Google it ;)

[android-developers] Re: Google ID

2010-09-08 Thread perumal316
Hi Christian, I want to obtain it through code. Is there any way to do so? Thanks and Regards, Perumal On Sep 8, 6:14 pm, Christian Buchner christian.buch...@gmail.com wrote: Is it possible to get the Google ID of the phone? Google ID is the Gmail ID used for setting up the phone. On

[android-developers] Re: Killing all the activities that was started by my application.

2010-09-08 Thread Yahel
Every one here will tell you, you don't need it, it's against Android Os policy. Android manage the life and death of your app. But anyway : you should simply call the finish() function of your activity : It will call onpause, onstop, and ondestroy thus terminating gracefull the app. You need to

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 5:55 AM, KrcK --- krc...@gmail.com wrote: So, for example, If I want to create a new register with each incoming call in my database tableI should use a BroadcastReceiver, and if I want to do some actions in my app when appears an incoming call I should use a listener

[android-developers] Re: Listening to events in other Apps

2010-09-08 Thread Tez
Are these system wide touch events? On Sep 6, 3:25 pm, octega oct...@gmail.com wrote: Hi all, Good day to everyone here! We are currently trying to build an App that listens to events in other Apps. (we already have approval from users to access such information in a control study) And

Re: [android-developers] Re: LED turn off

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 5:07 AM, Anand Android android.an...@gmail.com wrote: yes zarah, i want to do it programatically. Ah. In that case, you want android.provider.Settings.System, specifically the STAY_ON_WHILE_PLUGGED_IN setting:

[android-developers] Displaying Google map on Android is paid or free

2010-09-08 Thread cool.manish
Hi All, I get to know that displaying map in some other application is a paid thing and we need to create a key using which we can get it. Is this true for Android application also? Is it paid? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How can I delete the black shadow above framelayout in the tabwidget

2010-09-08 Thread DaPhilz
Hello, I have a problem with my framelayout.I created a tabwidget with a tabgroup the tabgroup setup a shadow and a black line on top of teh framelayout. How can I disable this shadow? I tried to setup the tabwidget padding, transparent, weight and height but nothing worked. THanks for your help.

Re: [android-developers] Re: Google ID

2010-09-08 Thread Christian Buchner
I want to obtain it through code. Is there any way to do so? Sorry, I cannot help you there - I am not yet familiar with theGoogle APIs on Android. You could certainly use the sqlite3 API to access these database files directly, but relying on this is not guaranteed to work in future Android

Re: [android-developers] Displaying Google map on Android is paid or free

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 6:29 AM, cool.manish mannishga...@gmail.com wrote: I get to know that displaying map in some other application is a paid thing and we need to create a key using which we can get it. Is this true for Android application also? Is it paid? For developers, it is free. You

[android-developers]How can i make to return from the external link to my application?

2010-09-08 Thread Lidia G
Hello guys, I have the following question.My android application has 3 links. the example of code is as follows:  String termsConditions =a href='+ApplicationData.linkTermsConditions+' +Conditions+ a;        bottomTermsConditions.setText(Html.fromHtml(termsConditions));

[android-developers] Re: Method to check Mediaplayer in Idle state

2010-09-08 Thread Nithin
Anybody there to help me in this issue.. On Sep 7, 2:45 pm, Nithin nithin.war...@gmail.com wrote: Hi, Is there any method to check whether the mediaPlayer is in Idle state. We can check the mediaPlayer in started state by using isPlaying(). Like that any method is there, to check whether

[android-developers] How can i make to return from the external link to my application?

2010-09-08 Thread Lidy
Hello guys, I have the following question.My android application has 3 links. the example of code is as follows: String termsConditions =a href='+ApplicationData.linkTermsConditions+' +Conditions+ a; bottomTermsConditions.setText(Html.fromHtml(termsConditions));

Re: [android-developers]How can i make to return from the external link to my application?

2010-09-08 Thread Sebastián Treu
On Wed, Sep 8, 2010 at 7:35 AM, Lidia G lidyp...@yahoo.com wrote: When the link button is pressed from my application and the required internet page is opened, if i press back from the phone, it is not returning any time back to my application. Is there are any possibility to make it

[android-developers] Re: Displaying Google map on Android is paid or free

2010-09-08 Thread Yahel
As I understand it, it is free even with a high traffic. From the FAQ : http://code.google.com/intl/fr-FR/apis/maps/faq.html -- My site gets a lot of traffic. Can I use the Maps API? Yes, absolutely. There's no limit to the number of page views of Maps on your site. If you expect your

[android-developers] how to make conference.......

2010-09-08 Thread A N K ! T
hey am trying to make conference of two calls what i have done isi can pick the first call and can dial another call programmatically but not getting how to merge these calls... please guide me out -- A N K ! T.. -- You received this message because you are subscribed to

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread KrcK ---
The general idea is to create an app like incoming call log. So I have to create a new register in my database when a new call is answered or lost. To do that, I implement a BroadcastReceiver that reacts when the phone state changes. In the onReceive method, I get the TelephonyManager and through

[android-developers] Re: canvas woe

2010-09-08 Thread dadada
hello all, i used matrix to rotate instead of the canvas. However, the result isn't what i expected. The path just rotate infinitely without stopping. below is my code. it is a modification of the compass.java in apidemo. can someone please give me some advice on this? import

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 7:12 AM, KrcK --- krc...@gmail.com wrote: The general idea is to create an app like incoming call log. So I have to create a new register in my database when a new call is answered or lost. Android has a CallLog already. It's called android.provider.CallLog. To do that,

[android-developers] Strange Exceptions when deleting and reading contacts

2010-09-08 Thread Samuh
I am getting following exceptions when I try to read/delete contacts from my application using Contacts Content Provider. What does the following mean? ERROR/IMemory(1349): binder=0x490f38 transaction failed fd=-2147483647, size=0, err=-2147483646 (Unknown error: 2147483646) ERROR/IMemory(1349):

[android-developers]sharing with facebook is not working

2010-09-08 Thread manigault
Hi all, I am using the following code to launch chooser for sharing Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, message); sendIntent.putExtra(Intent.EXTRA_SUBJECT, MyApp); sendIntent.setType(text/plain); try {

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread KrcK ---
Why not use the existing CallLog? Because I wanted to play with this API and I thougth to do that developing an app like CallLog. On the other hand, the CallLog could be deleted by the user and I want to not allow it in my app. There is also an Intent extra. Which information could I get

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 7:36 AM, KrcK --- krc...@gmail.com wrote: There is also an Intent extra. Which information could I get through that intent? The EXTRA_STATE extra indicates the new call state. If the new state is RINGING, a second extra EXTRA_INCOMING_NUMBER provides the incoming phone

[android-developers] Re: Fetch recurrent events

2010-09-08 Thread Jens
Or, if one doesn't reply with a snarky one-liner: For Android 2.1 and earlier you could query content://calendar/ events with the following selection rrule IS NOT NULL For Android 2.2 the authority of the calendar provider was changed, so you query content://com.android.calendar/events instead.

[android-developers] ProtocolException while HTTP POST

2010-09-08 Thread Amit
Hi All, I am trying to do HTTP Post through HttpURLConnection. But in the line OutputStream output = httpCon.getOutputStream(); I am getting exception- problem in connection - java.net.ProtocolException: Does not support output URL - my url What may be the reason? Kindly help. Best Regards

Re: [android-developers]sharing with facebook is not working

2010-09-08 Thread Martin Obreshkov
Sorry for the spam i found what is the problem in this thread http://groups.google.com/group/android-developers/browse_thread/thread/731d7891c116a5d5/1a65697822513218?lnk=gstq=ACTION_SEND+facebook#1a65697822513218 On Wed, Sep 8, 2010 at 2:29 PM, manigault manig...@gmail.com wrote: Hi all, I am

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread KrcK ---
Ok but how could I identify that I answered a call or is lost, and the duration of the call? Because I can know the current state and at what time it is produced but I do not have information about previous states. For example, I answer a call so I will receive OFFHOOK state, but when the call

[android-developers] Re: Fog of war? is it possible?

2010-09-08 Thread John Paul Bernal
Thanks to Everyone's Reply. We'll try implementing those tips! thanks again :) On Sep 7, 6:01 pm, Robert Green rbgrn@gmail.com wrote: Fog of war = 1)  Divide world into tiles. 2)  Tile can have any of 3 states { FOGGED, PARTIALLY FOGGED, CLEAR } 3)  If tile = FOGGED, draw black (or don't

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 8:18 AM, KrcK --- krc...@gmail.com wrote: Ok but how could I identify that I answered a call or is lost, and the duration of the call? Because I can know the current state and at what time it is produced but I do not have information about previous states. The

[android-developers] Re: Dynamically load jar files in android runtime?

2010-09-08 Thread Chris Stratton
Android doesn't understand java. Java is used during development, but the java class file inside the jar must be converted to a dex class file before android can use it. CaryWang wrote: I have a jar file in my app local data /data/data/application packageName/test.jar. I want to load the class

Re: [android-developers] Re: TelephonyManager PhoneStateListener

2010-09-08 Thread KrcK ---
Ok, I think that now I know a way to do it! Thanks Mark, your help and explanations were very helpful! 2010/9/8 Mark Murphy mmur...@commonsware.com On Wed, Sep 8, 2010 at 8:18 AM, KrcK --- krc...@gmail.com wrote: Ok but how could I identify that I answered a call or is lost, and the

[android-developers] Lat Long value using zip code or city name

2010-09-08 Thread cool.manish
Hi All, Is there any way to find out the lat long value for a particular zip code or city name? I want to display google map after giving zipcode or city name. Thanks Regards Manish -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: LED turn off

2010-09-08 Thread Anand Android
yes i looked into these values. but in powermanagerservice.java if do getInt(STAY_ON_WHILE_PLUGGED_IN) it is returning 0. it means never stay on. but in my case it never goes off -Anand On Wed, Sep 8, 2010 at 3:58 PM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Sep 8, 2010 at 5:07 AM,

[android-developers] Re: Displaying Google map on Android is paid or free

2010-09-08 Thread cool.manish
So If we are developing an application for the bussiness purpose to sell one application, one of whose feature is to display map, no one developer as well as user have to pay for that. On Sep 8, 3:57 pm, Yahel kaye...@gmail.com wrote: As I understand it, it is free even with a high traffic.

[android-developers] Re: Develop Games

2010-09-08 Thread Zsolt Vasvari
Who said this forum was moderated. No way that it is. On Sep 7, 4:39 pm, Haroon Khalid ghett...@gmail.com wrote: how do fucking emails like this get approved by moderators? dude give up on Android and slap yourself in the face.On Tue, Sep 7, 2010 at 3:54 PM, TreKing treking...@gmail.com

[android-developers] How to display route on Google map in Android

2010-09-08 Thread cool.manish
Hi All, How to display route on Google map in Android in between two lat long value? Does android supports it and are there any api available as there are for displaying map? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Android App Licensing Mechanism Still Easy to Break!!

2010-09-08 Thread Zsolt Vasvari
The artcile is 2 weeks old and it's been extensively discussed here. Maybe changing your nickname should be in order. On Sep 5, 6:30 am, mastermind rinees...@gmail.com wrote: Hey Guys... Just came over this news...and thought of sharing with you people According to Android Police,

[android-developers] Re: Should Activity component be starting component for Android apps

2010-09-08 Thread cool.manish
My Query was it that if I wish to install an application which will run at the start up and will fetch and/or send some data to the network. I need not any user interference for it. So I want to develope an application which has Service component as the launcher. Is this possible. On Sep 3, 2:16 

Re: [android-developers] Lat Long value using zip code or city name

2010-09-08 Thread TreKing
On Wed, Sep 8, 2010 at 8:07 AM, cool.manish mannishga...@gmail.com wrote: Is there any way to find out the lat long value for a particular zip code or city name? Google geocoding and reverse geocoding.

[android-developers] Re: How to display route on Google map in Android

2010-09-08 Thread cool.manish
One more query is, Is there API to find out Lat Long for a zipcode or city name supported in android. On Sep 8, 6:19 pm, cool.manish mannishga...@gmail.com wrote: Hi All, How to display route on Google map in Android in between two lat long value? Does android supports it and are there any

[android-developers] Application Update

2010-09-08 Thread Joany
Hi all, I did a custom application available on my website, I would like to warn the user when an update is available. By searching on google, I found that was possible: This is built into the APK installer system. However, it is up to you to get the APK (Android application package) to the

Re: [android-developers] Re: Should Activity component be starting component for Android apps

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 9:22 AM, cool.manish mannishga...@gmail.com wrote: My Query was it that if I wish to install an application which will run at the start up and will fetch and/or send some data to the network. I need not any user interference for it. So I want to develope an application

Re: [android-developers] App Widget with AlarmManager... full example source?

2010-09-08 Thread Rich Allen
Hi Mark, thank you for responding. I've looked through the code you provided and I'm still a little unclear. I don't believe I need any of the wakeful intent code, correct? My widget currently has a service with a function called buildUpdate that returns a RemoteViews object. To enable 5

[android-developers] Re: Should Activity component be starting component for Android apps

2010-09-08 Thread cool.manish
I want to do it only for my personal purpose. and only those users who will be interested to use this application, will install it. On Sep 8, 6:50 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Sep 8, 2010 at 9:22 AM, cool.manish mannishga...@gmail.com wrote: My Query was it that if I

Re: [android-developers] App Widget with AlarmManager... full example source?

2010-09-08 Thread Mark Murphy
On Wed, Sep 8, 2010 at 9:52 AM, Rich Allen ricow...@gmail.com wrote:  Hi Mark, thank you for responding.  I've looked through the code you provided and I'm still a little unclear.  I don't believe I need any of the wakeful intent code, correct? Probably not, in your case, since you said you

[android-developers] Getting source line no after crash

2010-09-08 Thread Doug Gordon
An Eclipse question, I know, but maybe some Android-specific considerations. When I'm in Eclipse and running my app in debug mode, if it halts due to a runtime exception, where can I look to find the java source line number that was executing at the time? I've been able to find the error message,

[android-developers] Fast destroy multiple WebView's

2010-09-08 Thread viktor
Hi, My problem: I have many WebView's these display images. Each WebView is item in Gallery view. 10-15 images are loading simultaneously. Internet is very low, for loading all visible items is need 5-10 sec. If close Activity and restart it few times, device CPU is hangs long time. I try

[android-developers] Converting binary JPEG data to Bitmap

2010-09-08 Thread Doug Gordon
My app will have an SQLite database with some embedded JPEG images -- basically the binary contents of a JPEG file stored as a Blob in the database. Can someone point me in the general direction of where to start to figure out how to convert this array of bytes into a Bitmap object that can be

[android-developers] Re: Bitmaps and OutOfMemoryError: Best Practices needed

2010-09-08 Thread blahblah...@gmail.com
The workaround seems to be to put a System.gc(); System.runFinalization(); System.gc(); at the end of the onDestroy(). -- 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] Getting source line no after crash

2010-09-08 Thread Kostya Vasilyev
Doug, The trick is, once you see in Eclipse that the application crashed, hit run button (the yellow-green triangular arrow). This lets the exception propagate to Android framework, and after that you get the stack trace in logcat. This includes the original cause for the exception. Look

[android-developers] Re: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-09-08 Thread gcstang
What is the issue with using IMEI? On Sep 7, 5:36 am, Opted Out stock...@gmail.com wrote: I'm just coming into the market and can see some use for my application if each and everyone has a unique ID. Is there still issues or does it appear to be fixed? On Aug 18, 1:48 pm, Maps.Huge.Info

[android-developers] Re: Killing all the activities that was started by my application.

2010-09-08 Thread viktor
Yahel is right, it is very dangerous. But you can try doing it with broadcast, and listen it in activities which you want to close. If you did, look at device CPU status. Maybe your devise is down!!! Or another way is saving your own activity stack, and consequentially finish. -- You received

[android-developers] Re: One day sale made my paid app free, now I cannot revert!

2010-09-08 Thread Nik Bhattacharya
I got bitten by this on my app. I changed from paid to free, and couldn't revert. I had to pull the app from the market unfortunately and repackage and re-list. Not very intuitive from the developer console (there should atleast be a warning that the developers get when going from paid to

  1   2   3   >