[android-developers] Re: app freezes on slow connection waiting for response from mysql server

2011-03-23 Thread j.s. mammen
Is the connection to the server in seperate thread than the UI? If not, one of the way to do is described here http://developer.android.com/reference/android/os/AsyncTask.html On Mar 22, 9:34 pm, acr acr...@gmail.com wrote: Hi all, I have an app that I set up to connect/parse json data/HttpPost

Re: [android-developers] help me pleaseeeeee

2011-03-23 Thread Justin Anderson
* **I have not asked for **the impossible* When no one seems to have understood the question... you have asked for the impossible. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 22, 2011 at 7:50 PM, jaafar zbeiba jaafarinformati...@gmail.com

Re: [android-developers] Bounty for a SoftKeyboard Example

2011-03-23 Thread Justin Anderson
* I find it almost unfathomable that anyone would want to write apps for Android.* Really? All because you can't do one thing? So writing a keyboard app isn't your thing... Write some other kind of app. * But I'll wager $20 that no one can show me a Softkeyboard example that allows one to alter

[android-developers] Re: app freezes on slow connection waiting for response from mysql server

2011-03-23 Thread acr
thanks for the replies I ended up going the AsyncTask rout and it worked like a charm On Mar 23, 1:52 am, j.s. mammen mamm...@gmail.com wrote: Is the connection to the server in seperate thread than the UI? If not, one of the way to do is described

[android-developers] how to stop a progressbar which is runs using a thread?

2011-03-23 Thread gaurav gupta
hi guys, in my application, m using a progrssbar that show the current progress of a song.i need to stop the song as well as progressbar too. progressbar should be reach at starting point and song should be stop. * class* myThread *extends* Thread *implements* Runnable{ *private* *volatile*

Re: [android-developers] how to stop a progressbar which is runs using a thread?

2011-03-23 Thread Laxmi Verma
Hi Gaurav, Just set the property progressBar.setCanceleable(true) and call the method progressBar.cancel() while stopping the thread. It will stop the progress bar. Hope it helps Thanks!! On Wed, Mar 23, 2011 at 11:39 AM, gaurav gupta gaurav.gupta...@gmail.comwrote: hi guys, in my

Re: [android-developers] Re: Refresh previous activity on Back Button Press

2011-03-23 Thread Laxmi Verma
Hi Nick, If I am only clicking back button it does not go to oncreate method and hence not updating the content of the view. Can you please provide some sample code for it. Thanks Regards On Wed, Mar 23, 2011 at 2:40 AM, Nick Kulikaev nkulik...@gmail.com wrote: Hi, Gotcha, I misunderstood

[android-developers] Sending data from android apps to TCP IP

2011-03-23 Thread Honest
Hello, I am able to connect to TCP IP netwrok but even if i am sending some byte array but yet i am not seeing any output on Server console. Server is C++ and i need to send data from my android apps. I am able to connect but when i send data i am not getting any notification. the followins is my

Re: [android-developers] how to stop a progressbar which is runs using a thread?

2011-03-23 Thread gaurav gupta
Hi Laxmi, m using progress bar., = ProgressBar progressbar; progressbar=(ProgressBar)findViewById(R.id.progressbar); in this progressBar.setsetCanceleable(true) is not wroking it works with progressDialog. i also need

[android-developers] Re: database and maps

2011-03-23 Thread Piyush Hari
Putting latitudes and longitudes is one way. Putting just the address and geocoding it before displaying on map is another. The caveat with the latter approach is that geocoding everytime you retrieve data is costly. Since latitudes/longitudes associated with addresses do not change, it is best to

[android-developers] Adding EditText custom context menu items *before* system defaults

2011-03-23 Thread Mark Carter
I'm trying to added a context menu item *before* the standard Select all, Select text etc menu items. From what I can see, those standard items use CATEGORY_CONTAINER for ordering. Whatever category I specify in the order field of the add() method, the custom menu items always appear *after

[android-developers] SQLite insert optimization

2011-03-23 Thread ydm
Hello! I have to insert around 100 rows in a sqlite db at once (trough content provider). Is there any way to make it process all the queries at once, instead of querying the provider for each row separately. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers]

2011-03-23 Thread Marcin Orlowski
On 23 March 2011 01:29, roger isaac navarro perez roger.navarro.pe...@gmail.com wrote: Hi, i need to create an application for my corp, my question is can i create a OTA like blackberry for download, i want to write url for my application in browser and download the application. OTA means

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Marcin Orlowski
Not that I am surprised too much. Frankly, what surprised me most, was the fact that you got no influence on how DRM is applied to your app. With LVL you could at least mess with checking code to some degree, which makes automated attacks futile. With Amazon's approach you got one ring to rule

Re: [android-developers] NFC Question

2011-03-23 Thread Michael Roland
Hallo, Well, the field in the constructor is clearly named payload, so in NDEF terminology it has to contain the complete payload. Text records (and other RTDs) are built on top of the NDEF specification, so in my opinion, a higher layer of abstraction (like a class NdefTextRecord), that sets up

Re: [android-developers] SQLite insert optimization

2011-03-23 Thread Pepijn Van Eeckhoudt
You can use ContentProvider#bulkInsert or ContentProvider#applyBatch to do a bunch of operations in one go. Pepijn On 23/03/2011 08:59, ydm wrote: Hello! I have to insert around 100 rows in a sqlite db at once (trough content provider). Is there any way to make it process all the queries at

Re: [android-developers] Re: How to increase the amount of time to consider input complete, in android voice recognition?

2011-03-23 Thread Filip Havlicek
Hi vamsi, you should of course specify some integer value representing the silence length in milliseconds. For example: Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS, 1000);

[android-developers] Re: INSTALL_FAILED_MISSING_SHARED_LIBRARY on Galaxy tab with SprintTwinCamDevice Library

2011-03-23 Thread FrankG
Hi john_rambo I would suggest simply try any android ndk example, where a method from a shared lib is called and you will see where exactly you need to put the shared lib in your apk. Or see this link i.e. http://developer.android.com/sdk/ndk/index.html Shared Libs must be under

[android-developers] Re: does NFC in gingerbread support card simulate?

2011-03-23 Thread Michael Roland
Hallo, the current SDK does not allow you to use card emulation. Anyways, with card *emulation* you will not be able to simulate an *NFC tag* (i.e. a tag where you store simple NDEF messages). Card emulation mode allows to emulate a contactless smartcard (typically used for applications with

[android-developers] Re: bitmap size exceeds VM budget on BitmapFactory.decodeResource

2011-03-23 Thread Pent
I have to stop answering queries, someone else always comes along with a much better answer :-) Pent On Mar 22, 10:03 am, String sterling.ud...@googlemail.com wrote: As someone who's done a bunch of similar work, I'm afraid the short answer is: you can't do that. The slightly longer answer:

[android-developers] Re: Can an image be embedded in an email body?

2011-03-23 Thread Mathieu
Zarah did you manage embed your image ? -- 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: How to include a button in the live wallpaper settings GUI?

2011-03-23 Thread MobileVisuals
Do you mean adding the button to the settings.xml file or to the layout : main.xml file? The button was not visible when I added it to the layout : main.xml file and the live wallpaper crashed when I added it to the settings.xml file. Here is the code that I used:

[android-developers] security of the framework

2011-03-23 Thread madushanka
Hi, I am handling the security module of a framework that will designed to develop real time applications for as my final year project. I am new to android and i need help on this. At the moment i need to know how to encrypt an XML file using an algorithm and how to decrypt it when needed, in

Re: [android-developers] how to stop a progressbar which is runs using a thread?

2011-03-23 Thread Filip Havlicek
Hi gaurav, use setProgress(0), setMax(0) or whatever suits you. But please, do NOT use threads like that unless you really know what you are doing. Why don't you use for example AsyncTask to do all the threading work? You just initiate it, start the music playback in it and update the

Re: [android-developers] Re: does NFC in gingerbread support card simulate?

2011-03-23 Thread Zhihong GUO
Hi Michael, Thank you so much. 2011/3/23 Michael Roland mi.rol...@gmail.com Hallo, the current SDK does not allow you to use card emulation. Anyways, with card *emulation* you will not be able to simulate an *NFC tag* (i.e. a tag where you store simple NDEF messages). Card emulation

Re: [android-developers] security of the framework

2011-03-23 Thread Marcin Orlowski
On 23 March 2011 10:50, madushanka chamilhewag...@gmail.com wrote: Hi, I am handling the security module of a framework that will designed to develop real time applications for as my final year project. I am new to android and i need help on this. At the moment i need to know how to encrypt

[android-developers] how to use Cache-Control with http get request?

2011-03-23 Thread Hitendrasinh Gohil
hi, i am using httpconnection to retrieve data from server.now suppose if i want to use Cache-Control how can i use it. like in my request i have added httpCon.setRequestProperty(Cache- Control,maxage=900); i want to use server cache for 15mins. regards, hitendra gohil -- You received this

[android-developers] Re: How to increase the amount of time to consider input complete, in android voice recognition?

2011-03-23 Thread vamsi
Hi Filip Havlicek, I change my code as follows intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS, 10 ); But i did not see any result. I am testing it with adding zeros to the number. Still same issue am getting. Is there any other way to solve it?

[android-developers] Set 2 buttons positions in all densities

2011-03-23 Thread Alaeddine Ghribi
Hi, I have two buttons, one for calculate the operation(in the LEFT) and the other(in the RIGHT) for reset EditTexts values! And, i'm having a problem of reset button in a high density screens(i want it to take the max right position, and calculate button the max left). I used this:

Re: [android-developers] Registering file extensions for sharing

2011-03-23 Thread akshay goel
Thanks Dianne! But I do not understand why this DOES work if the app registers for VIEW instead of SEND. Is Android able to handle both MIME types and extensions for VIEW but only MIME types for SEND? -Akshay On Wed, Mar 23, 2011 at 2:34 AM, Dianne Hackborn hack...@android.comwrote: Android

[android-developers] Uninstalling applications from emulator

2011-03-23 Thread Jumana
I was just wondering whether uninstalling applications through command line was better than uninstalling them from the emulator itself? Coz everywhere on the net I find the former option as the solution. Is there a reason for that? -- You received this message because you are subscribed to the

[android-developers] Re: How to Create a Media Player

2011-03-23 Thread Nani Barai
The media player example given in developer.android.com may be helpful for initial starting: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/MediaPlayerDemo_Video.html Already you may also know: 1. The implementation of Media player is also available

Re: [android-developers] Registering file extensions for sharing

2011-03-23 Thread Mark Murphy
On Wed, Mar 23, 2011 at 6:46 AM, akshay goel xpectro...@gmail.com wrote: Thanks Dianne! But I do not understand why this DOES work if the app registers for VIEW instead of SEND. Is Android able to handle both MIME types and extensions for VIEW but only MIME types for SEND? Correct. Let's

Re: [android-developers] Uninstalling applications from emulator

2011-03-23 Thread Mark Murphy
It is often easier to type ant uninstall than to click your way through the Setting screen. Other than that, they do the same thing AFAIK. On Wed, Mar 23, 2011 at 6:46 AM, Jumana jumanamaj...@gmail.com wrote: I was just wondering whether uninstalling applications through command line was better

[android-developers] How to Obfuscate Android project source in eclipse

2011-03-23 Thread Animesh Sinha
Hi all I want to know How to Obfuscate Android project source in eclipse, i have searched many sites but i wont get the solution for the same. Please help me... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Christer Nordvik
How do all of you take into account: - C2DM (push messaging only available on Android Market) - House-ads via AdMob that links to apps in the Android Market - In-app purchasing that is coming soon on the Android Market - Links to additional content in Android Market from your app Are you all

[android-developers] Re: SQLite insert optimization

2011-03-23 Thread DanH
You need to use start/end transaction, to speed up things. On Mar 23, 2:59 am, ydm jordanmiladi...@gmail.com wrote: Hello! I have to insert around 100 rows in a sqlite db at once (trough content provider). Is there any way to make it process all the queries at once, instead of querying the

[android-developers] create password

2011-03-23 Thread jaafar zbeiba
I will like making a small application for authentication when launching the program a message display type your password -- 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: Uninstalling applications from emulator

2011-03-23 Thread Jumana
great thanks, mark! On Mar 23, 2:57 pm, Mark Murphy mmur...@commonsware.com wrote: It is often easier to type ant uninstall than to click your way through the Setting screen. Other than that, they do the same thing AFAIK. On Wed, Mar 23, 2011 at 6:46 AM, Jumana jumanamaj...@gmail.com wrote:

[android-developers] Gallery default item selected is in center

2011-03-23 Thread umakantpatil
Hi All, I'm using Gallery view within my app. Now when I run the code. Gallery has default selected item is no 1 which is in center and left side is blank. Instead I want no 1 item should be at left and selected. Also clicking on the any gallery item should not bring that item in the center. I

[android-developers] Re: How to Obfuscate Android project source in eclipse

2011-03-23 Thread lbendlin
you're searching for the wrong terms. This hasn't much to do with Android. Try eclipse java obfuscate -- 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: Set 2 buttons positions in all densities

2011-03-23 Thread lbendlin
use dp/dip, and read up a little more on the available layout parameters, especially the ones with Parent in their name. -- 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: set the data connection ON by code?

2011-03-23 Thread lbendlin
Obviously your users are smart enough to disable data connection on their phone. You're fighting a losing battle. Never underestimate the ingenuity of users. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Michael A.
On Mar 23, 12:00 pm, Christer Nordvik cnord...@gmail.com wrote: - C2DM (push messaging only available on Android Market) Haven't used this, but are you sure this is a feature limited to the Android market? - House-ads via AdMob that links to apps in the Android Market You could always add in

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Mark Murphy
On Wed, Mar 23, 2011 at 7:30 AM, Michael A. michael.aki...@gmail.com wrote: On Mar 23, 12:00 pm, Christer Nordvik cnord...@gmail.com wrote: - C2DM (push messaging only available on Android Market) Haven't used this, but are you sure this is a feature limited to the Android market? The device

[android-developers] Re: set the data connection ON by code?

2011-03-23 Thread guiridemeer
maybe It is a losing battle, but i have to try. My app is a HOME aplication and i don't let get out of it unless you write a security code (for the disabilidty users tutors or parents). The cannot go to the settings and i am developing a new way to make a call and new settings windows easier for

[android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Michael A.
Ah well, if it's just a matter of the device _having_ Android market installed, it shouldn't be much of a problem - most phones will still have that, after all. One should probably ensure that the code degrades gracefully, though, since such devices are probably likely to become more common in

[android-developers] Re: How to Obfuscate Android project source in eclipse

2011-03-23 Thread Hari Edo
The Android SDK setup for Eclipse does integrate with the ProGuard tool, which includes obfuscation. I don't think obfuscation is much of a protection, to be honest. Focus on making a damned good app that honest people will be happy to pay for. You'll never achieve 100% control over something

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Kostya Vasilyev
A device manufacturer can only preinstall Market on their device is it passes Android certification tests. So a device without Market, at this point, may have all kinds of incompatible implementation weirdness (and many do - e.g. Android-based book readers). Installing a 3rd party application

[android-developers] Re: SQLiteDatabase or XML(saving)?

2011-03-23 Thread DanH
Well, you can't put images in XML. If this is really a formatted document in one single byte stream the most logical choice would be a flat file. On Mar 22, 4:46 am, -Ernest kisskam...@gmail.com wrote: Hello guys, Thanks for making android a wonderful platform. Me and my mate are writing a

[android-developers] Regarding accessing resources of other applications

2011-03-23 Thread sandy
I have heard about Class loaders. By using class loaders can i access other application's resources such as Views if both applications have the same userid and both apps run in same process?? If Yes anyone tell me how to do that or where can i find some sample code ? Please its very urgent. I am

Re: [android-developers] How to Obfuscate Android project source in eclipse

2011-03-23 Thread Marcin Orlowski
On 23 March 2011 12:00, Animesh Sinha animesh.andr...@gmail.com wrote: Hi all I want to know How to Obfuscate Android project source in eclipse, if source means source code then be aware such action is quite pointless. If you meant binary - use ProGuard it's already built-in, yet,

[android-developers] Fetch user facebook information (Facebook integration application)

2011-03-23 Thread Abhishek Talwar
Hey guys My application uses fbConnect.jar. and i am able to show the pop up to the user when user clicks the facebook button. User wil login with user id and password and can even post the data . What i am not able to fetch is the user information like its email address or user picture , sex ,

[android-developers] Group

2011-03-23 Thread Alexei Telles
Is this group active? -- 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

Re: [android-developers] Group

2011-03-23 Thread Raghav Sood
very active -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ -- 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,

[android-developers] Re: Running Monkeyrunner directly on Android tablet

2011-03-23 Thread raki
Hi Milano, Thanks for your reply. I wanted to run monkey scripts on multiple android devices without connecting them to any laptop/desktop. With my study and understanding until now, I think it is not possible. Correct me if I am wrong. Thanks and regards, Rakesh On Mar 23, 5:28 am, Diego

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Mark Murphy
On Wed, Mar 23, 2011 at 7:53 AM, Kostya Vasilyev kmans...@gmail.com wrote: A device manufacturer can only preinstall Market on their device is it passes Android certification tests. So a device without Market, at this point, may have all kinds of incompatible implementation weirdness (and

Re: [android-developers] android developer site not working

2011-03-23 Thread Harsh J
I'm able to load it just fine. Next time, you can check if its a local ISP/Machine issue with sites like these: http://downorisitjustme.com/ On Wed, Mar 23, 2011 at 12:20 AM, AddrulZ onur.dik...@gmail.com wrote: http://developer.android.com not loading ? is it down ? can not open for days

[android-developers] Re: Scope of Singletons

2011-03-23 Thread Jake Colman
Guys, Great answers, all. Thank you. Please allow me to abstract this up one level. I am coming to Android development with many years of C++ experience on many platforms so I have a good understanding of development and OO. I am relatively new, however, to Java and Android. I am struggling

Re: [android-developers] android market application

2011-03-23 Thread TreKing
On Tue, Mar 22, 2011 at 11:28 PM, Brill Pappin bpap...@sixgreen.com wrote: I gotta' say I'm not impressed with Amazon's contribution at this point... the Google Market just jump a peg on my esteem meter because I'm very annoyed with the Amazon market right now. Because ?

[android-developers] Re: Fragment transactions, transitions and the back stack

2011-03-23 Thread Kelly Merrell
Thanks for the clarification Dianne. Is there a chance that these types of improvements/fixes could be released in updates to the compatibility lib faster than the platform releases? This would allow us to adopt the changes much faster than waiting for the full release. On Mar 22, 5:41 pm,

[android-developers] Re: SQLite insert optimization

2011-03-23 Thread ydm
Thank you both! It's really faster now! On Mar 23, 1:04 pm, DanH danhi...@ieee.org wrote: You need to use start/end transaction, to speed up things. On Mar 23, 2:59 am, ydm jordanmiladi...@gmail.com wrote: Hello! I have to insert around 100 rows in a sqlite db at once (trough content

[android-developers] Re: Set 2 buttons positions in all densities

2011-03-23 Thread Alaeddine Ghribi
Sorry but i didn't find anything ! can you give me an example to follow ? Thank you :). On 23 mar, 12:17, lbendlin l...@bendlin.us wrote: use dp/dip, and read up a little more on the available layout parameters, especially the ones with Parent in their name. -- You received this message

[android-developers] Re: Set 2 buttons positions in all densities

2011-03-23 Thread Alaeddine Ghribi
Sorry but i didn't find anything ! can you give me an example to follow ? Thank you :). On 23 mar, 12:17, lbendlin l...@bendlin.us wrote: use dp/dip, and read up a little more on the available layout parameters, especially the ones with Parent in their name. -- You received this message

[android-developers] Re: Amazon Appmarket is now open!

2011-03-23 Thread Michael A.
Um... which is why I recommended ensuring the app degrades gracefully. In this respect, distributing the app through the amazon market is no different than any other independent app market. Assuming the presence of the Android market is probably never a good idea. Regards, Michael A. On Mar

Re: [android-developers] Re: How to include a button in the live wallpaper settings GUI?

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 4:40 AM, MobileVisuals eyv...@astralvisuals.comwrote: Do you mean adding the button to the settings.xml file or to the layout : main.xml file? I mean add it where you want it - that's up to you. If you want it in an PreferenceActivity, you would use a Preference, not a

Re: [android-developers] Re: Hi... Flocks

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 12:01 AM, Narendra Padala checksumandr...@gmail.com wrote: give some suggestions to learn android. Again, read the website. - TreKing

[android-developers] how to change behavior of default application in android

2011-03-23 Thread Kacee
Hello All, I want to change default behavior of one of the in-built application like Phone/SMS/etc. I got to search on forums that there is an option in SettingsLaunch By Default There Clear defaults The Clear default button on right is disabled for both in-built and any other downloaded app.

[android-developers] Re: does NFC in gingerbread support card simulate?

2011-03-23 Thread nadam
There seems to be some work-around though using undocumented features. http://www.youtube.com/watch?v=28TwCpx4Dng On 23 mar, 16:03, Michael Roland mi.rol...@gmail.com wrote: Hallo, the current SDK does not allow you to use card emulation. Anyways, with card *emulation* you will not be able

[android-developers] Re: security of the framework

2011-03-23 Thread Kacee
Encrypting / decrypting an XML file is just as same as in Java. Get the contents of xml file , apply Encrypt algo, write back to a file named abc.xml Do reverse for Decrypting. On Mar 23, 3:06 pm, Marcin Orlowski webnet.andr...@gmail.com wrote: On 23 March 2011 10:50, madushanka

[android-developers] Open Payment

2011-03-23 Thread prashant singh
Hey Guys I am wondering if anyone has used this payment system for InApp Payment . Please let me know your experience . http://openpayments.mobi/ Thanks -- Prashant Singh Product Manager, Spice Labs. Blog : http://blog.spicelabs.in If someone's using a PC to demo the Next Big Thing... then

Re: [android-developers] Re: Scope of Singletons

2011-03-23 Thread Kostya Vasilyev
23.03.2011 16:14, Jake Colman пишет: If I create an instance of a singleton from within an activity/service/receiver, am I correct that that same instance is available to the other components of my application? If so, then is it correct to say that all the components of my application share the

Re: [android-developers] Re: Scope of Singletons

2011-03-23 Thread Mark Murphy
On Mar 23, 2011 9:15 AM, Jake Colman col...@ppllc.com wrote: If I create an instance of a singleton from within an activity/service/receiver, am I correct that that same instance is available to the other components of my application? For the life of the process, yes. If so, then is it

[android-developers] Re: how to change behavior of default application in android

2011-03-23 Thread Hari Edo
I think you're confused about how Android picks apps (activities) to handle various commands (intents) that the user invokes. Roughly: * the phone radio kit receives a call * Android asks, hey, which app is able to answer calls? + If one app says it can, that app is assumed the default.

[android-developers] Re: security of the framework

2011-03-23 Thread Hari Edo
On Mar 23, 5:50 am, madushanka chamilhewag...@gmail.com wrote: Hi, I am handling the security module of a framework that will designed to develop real time applications for as my final year project. I am new to android and i need help on this. At the moment i need to know how to encrypt an

[android-developers] App review

2011-03-23 Thread Raghav Sood
Hi everyone, I have started a site that randomly picks apps and reviews them. Currently there are only two reviews but I will definitely be adding more. Please give any suggestions you have for improving the site. The URL is http://www.androidappcheck.com/ Thanks -- Raghav Sood

Re: [android-developers] How to Obfuscate Android project source in eclipse

2011-03-23 Thread Animesh Sinha
Thanx Marcin For quick reply, can you please tell me how to config or tune ProGuard in our project. Thanks and Regards Animesh Sinha. On Wed, Mar 23, 2011 at 5:40 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 23 March 2011 12:00, Animesh Sinha animesh.andr...@gmail.com wrote:

Re: [android-developers] Re: android.R.styleable can't be resolved?

2011-03-23 Thread Justin Anderson
My bad too... I saw the XML attribute android:keyBackground in the SDK docs and assumed there was a related method to set it. Turns out there isn't... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 22, 2011 at 6:28 PM, trans

Re: [android-developers] App review

2011-03-23 Thread Marcin Orlowski
On 23 March 2011 15:33, Raghav Sood raghavs...@gmail.com wrote: I have started a site that randomly picks apps and reviews them. Currently there are only two reviews but I will definitely be adding more. Please give any suggestions you have for improving the site. Your site does not look any

Re: [android-developers] How to Obfuscate Android project source in eclipse

2011-03-23 Thread Marcin Orlowski
On 23 March 2011 15:32, Animesh Sinha animesh.andr...@gmail.com wrote: Thanx Marcin For quick reply, can you please tell me how to config or tune ProGuard in our project. if you create new project proguard.cfg shall be created automatically. If it's not, update your dev tools first.

Re: [android-developers] How to Obfuscate Android project source in eclipse

2011-03-23 Thread J Handal
watch these slides http://androiddevnotes.com/2011/02/18/129797460.html -- 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

Re: [android-developers] App review

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 9:53 AM, Raghav Sood raghavs...@gmail.com wrote: Anyone with more suggestions? 1 - As Marcin implied, clearly state what your qualifications are and what entitles you to review apps and why anyone should care what you have to say. 2 - Honestly, find something better to

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-23 Thread Tobiah
Logging shows me that the onPause() method is being called, yet the AsyncTask is still running while I'm viewing the other activity. http://developer.android.com/reference/android/os/AsyncTask.html http://developer.android.com/reference/android/os/AsyncTask.htmlRead Canceling a Task.

Re: [android-developers] App review

2011-03-23 Thread Raghav Sood
I made this 2 days ago. i am still working on it. That is why I asked for suggestions. And yes Marcin you are right the sections are a bit thin. I will work on expanding them. Anyone with more suggestions? Thanks -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ -- You

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-23 Thread Kostya Vasilyev
23.03.2011 18:16, Tobiah пишет: So I thought that by calling cancel(true), the task would be whacked. What does that argument really do then? According to the docs, calling cancel(true) causes the task's worker thread to be interrupted. See Thread.interrupt:

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 10:16 AM, Tobiah t...@tobiah.org wrote: What does that argument really do then? AsyncTask manages a thread to do it's work. According to the doc comment, it probably calls interrupt()http://developer.android.com/reference/java/lang/Thread.html#interrupt()on the thread,

[android-developers] Releasing a tablet-only application

2011-03-23 Thread Chris Stewart
I'm close to releasing a tablet-only application and I'm wondering what steps I need to take to ensure it's only available to Android 3.0 devices. Is it really a matter of setting the minimum SDK level to 11? When the next version of Android comes out that has an SDK level of 12, but it's only

Re: [android-developers] Releasing a tablet-only application

2011-03-23 Thread Kostya Vasilyev
API 12 may be for phones only, or for phones and tablets, or there may be a version of Android that runs on phones and still has API level 11. At this point, it's just not public knowledge. So - IMO, filtering by API level is not sufficient. Adding a filter for support-screens / only xlarge

Re: [android-developers] Releasing a tablet-only application

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 10:33 AM, Chris Stewart cstewart...@gmail.comwrote: Is it really a matter of setting the minimum SDK level to 11? No, that determines the platform you're available on. For now that's HoneyComb and for now that's tablets only, but I wouldn't rely on that. Use the

[android-developers] Re: Scope of Singletons

2011-03-23 Thread Jake Colman
I use the following standard paradigm for singletons: private static MyClass instance = null; public static MyClass getInstance() { if( instance = null ) instance = new MyClass(); return instance; } If my application gets killed by Android, as can be expected, can I reasonably assume

Re: [android-developers] Re: Scope of Singletons

2011-03-23 Thread Mark Murphy
On Wed, Mar 23, 2011 at 12:37 PM, Jake Colman col...@ppllc.com wrote: If my application gets killed by Android, as can be expected, can I reasonably assume that when the application is restarted that instance is reinitialized to null?  In other words, when Adroid invisibly kills and restarts

Re: [android-developers] App review

2011-03-23 Thread Nadeem Hasan
You would be surprised :) -- 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

Re: [android-developers] Re: Scope of Singletons

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 11:37 AM, Jake Colman col...@ppllc.com wrote: public static MyClass getInstance() { if( instance = null ) instance = new MyClass(); return instance; } I hope that was a typo. If that's your actual code, you have bigger problems.

Re: [android-developers] App review

2011-03-23 Thread Raghav Sood
Thank you everyone, I will make a page about my qualifications. I will also improve the post quality with screen shots and graphs and detailed descriptions of my tests. Thanks -- Raghav Sood http://www.raghavsood.com/ http://www.androidappcheck.com/ -- You received this message because you

[android-developers] Amazon appstore

2011-03-23 Thread Hendrik Greving
Do you guys know why you need a tax id in the amazon appstore? -- 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: Scope of Singletons

2011-03-23 Thread Kenny Riddile
On 3/23/2011 12:37 PM, Jake Colman wrote: I use the following standard paradigm for singletons: private static MyClass instance = null; public static MyClass getInstance() { if( instance = null ) instance = new MyClass(); return instance; } If my application gets killed by

[android-developers] Sync to google calendar

2011-03-23 Thread Brad Stintson
How can I sync my application data to google calendar? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Amazon appstore

2011-03-23 Thread Justin Anderson
* Do you guys know why you need a tax id in the amazon appstore?* For tax purposes... The government always wants their share of everything. If you don't have an actual business, then you need to use your SSN. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware

Re: [android-developers] Adding EditText custom context menu items *before* system defaults

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 2:37 AM, Mark Carter mjc1...@googlemail.com wrote: Is there any way to override this? Could you remove them, add yours, then re-add the defaults? - TreKing

Re: [android-developers] Re: Scope of Singletons

2011-03-23 Thread TreKing
On Wed, Mar 23, 2011 at 11:56 AM, Kenny Riddile kfridd...@gmail.com wrote: instance == null, not instance = null...right? Precisely. - TreKing http://sites.google.com/site/rezmobileapps/treking -

  1   2   3   >