[android-developers] Re: Application looking stretched

2010-07-30 Thread Johan Abramsson
Thanks for correcting me. Typing too fast - sorry. /Johan On Jul 27, 1:17 pm, Kostya Vasilyev kmans...@gmail.com wrote: Johan, I think you got it backwards. supports-screens android:anyDensity=*true*/ is the good value to use. If the app still looks ugly after this (and

[android-developers] Re: What is the best way to handle Images?

2010-07-30 Thread Sohan badaya
Hi, If someone knows please help me. Thanks Sohan Badaya On Thu, Jul 29, 2010 at 8:12 PM, Sohan badaya sohan.bad...@gmail.comwrote: Hi All, I wrote a application that load images from facebook and i show in lmageview, using this below code. InputStream

[android-developers] Re: benchmarking /stress testing android applications

2010-07-30 Thread metal mikey
But...should Earth be invaded by multi-tentacled beings Android phones might lose market share to phones running OSes that can handle more than 2 fingers. On an equally serious note, if your App were to, say, run a web server that multiple phones can connect to then you might want to look at

[android-developers] Re: What is the best way to handle Images?

2010-07-30 Thread Ed
if you are hanging onto a copy of the images have a look at SoftReference e.g. SoftReferenceBitmap myImage; This will automatically handle releasing the Bitmap if it's not in use or is taking up too much room. If you have a set of images the best approach is a hash map where the url of the

[android-developers] Re: Speech Recogniser on SDK 2.2 gives Error Message

2010-07-30 Thread jamesc
You should try running the app on a phone that supports speech to text. On Jul 30, 4:37 am, krish gvk.va...@gmail.com wrote: Hi, I am new to Android. I am using the SDK 2.2 and when i execute the speech demo app, i get the following error message Recogniser not found. I have read the

[android-developers] Re: How to delete the text messages based on the senders' number?

2010-07-30 Thread Zsolt Vasvari
If you asked a specific question, you *may* get an answer (maybe 10% of the time), but basically asking to fix your app will not get an answer for certain. On Jul 29, 6:22 pm, Leonardo stone198...@gmail.com wrote: Hi, guys, I made a app to block some junk messages. That app would delete the

[android-developers] Re: Confirmation routine

2010-07-30 Thread nexbug
a simple approach is to use the AlertDialog as AlertDialog.Builder bldr = new AlertDialog.Builder(this); bldr.setTitle(confirm) ; bldr.setMessage(place bid ?) ; bldr.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener(){ @Override public void

[android-developers] Re: Multiple Back Button clicks needed to exit application

2010-07-30 Thread StillALearner
Used finish(); to end an activity On Jul 30, 10:32 am, Priyank priyankvma...@gmail.com wrote: Hi, In my current application design, I have an activity class application.java (which starts on launching the application), and it does not have a layout(UI screen). I call another class

[android-developers] Clarity on Wi-Fi Based application !!??

2010-07-30 Thread StillALearner
Hello All, I am trying to create an application based on Wi-Fi and i would need some suggestion on the same , The scenario am trying is,say, when a user with our android application enters a specific Wi-fi Hotspot, i need an activity to be invoked from my app. Basically I can have a service

[android-developers] Re: Unable to retrieve the GIVEN_NAME or FAMILY_NAME from database

2010-07-30 Thread William Ferguson
You appear to be using a combination of Android 1.5 and Android 2.0 mechanisms. Ie passing Android 2.0 constants to an Android 1.5 mechanism. Android 1.5 Uri uri = Phone.CONTENT_URI; Phone.CONTACT_ID, Phone.DISPLAY_NAME, Phone.NUMBER, Phone.TYPE, Phone.LABEL, Android 2.0

[android-developers] problem using listview...

2010-07-30 Thread A N K ! T
am trying to show a list view in my layout .but not getting why it is not showing the listview here is my code please guide me...i know am missing something but not getting it what.!!! public class ShowNumberList extends Activity{ ListView list; @Override protected void

Re: [android-developers] Clarity on Wi-Fi Based application !!??

2010-07-30 Thread Kostya Vasilyev
Since your intent is to launch something on the phone, I don't see why you would want to detect connection on the Wifi router side. In your app, watch for broadcast actions defined here: http://developer.android.com/reference/android/net/wifi/WifiManager.html In particular,

[android-developers] Re: No plan to support Netbeans?

2010-07-30 Thread sblantipodi
I know what I mean, Google as no rights to call Android Java Programming Language since dalvik was an escamotage to don't pay any fees to Sun, Android is NOT Java. To Xavier: thanks for the bad news, anyway thanks for the answer. On Jul 29, 12:40 pm, { Devdroid } webnet.andr...@gmail.com wrote:

Re: [android-developers] Re: Text blinking effect TextView

2010-07-30 Thread Huynh Ngoc Vu Nguyen
Hi, Thanks for your answer! But I don't know using ViewFlipper to make blink effect for Text in the TextView. Can you give me the demo code? Thanks! Best, Nguyen, 2010/7/30 Zsolt Vasvari zvasv...@gmail.com Probably not easily. If I were to do something like this, I'd start with the source

[android-developers] Re: Application is not licensed...

2010-07-30 Thread sblantipodi
no one have an idea on why I got this problem? On Jul 29, 1:45 am, Trevor Johns trevorjo...@google.com wrote: It doesn't need to be published, but it does need to be uploaded to Android Market. (It can be in the unpublished or draft state.) This is because Android Market needs a way to look

[android-developers] Compiling and obfuscating by command line...

2010-07-30 Thread sblantipodi
Since I'm going mad trying obfuscating my projects on Netbeans and it's not reasonable at the moment for me to switch to Eclipse I need a command line script that let me build and obfuscate my APK... Is there some example script, or some tutorial that could help me in this intent? Thanks. --

[android-developers] create a New File ( to be sent ) from a Bitmap

2010-07-30 Thread Pedro Teixeira
Hi, I have a bitmap picPrev which I got from my online server. I want to turn it into a file so I can send it. I was exploring this method: try { FileOutputStream fos = super.openFileOutput(output.jpg, MODE_WORLD_READABLE); picPrev.compress(CompressFormat.JPEG, 75, fos);

[android-developers] Re: Android Socket Communication

2010-07-30 Thread FrankG
How can I run two different apk's simultaneously so that android does not kill any one of those app's ? Thanks, Arjun. Hi Arjun, Start App 1 , press back ( App 1 ) will be stopped Start App 2, hold Home until you see a Windows-Tab-like-History Window In the history you should see App 1

[android-developers] Establish connection HTTPS with web service using soap

2010-07-30 Thread Lamia Hannoun
Hi! I want to connect to my web service (.net) via HTTPS, it works perfectly with http but i can 't make it work over https, the cause is that it verifies the certificate i wan't to simulate the fact that it's validated ok i found a topic about it and i tried to use the code but it doesn't work

Re: [android-developers] create a New File ( to be sent ) from a Bitmap

2010-07-30 Thread Pedro Teixeira
I found the JoshKraker way to do this: Saving the file first to the phone: FileOutputStream Os = getAppContext().openFileOutput(Img + _PicId + .jpg, Context.MODE_WORLD_READABLE); Bm.compress(Bitmap.CompressFormat.JPEG, 100, Os); Os.close(); Then getting the Uri to send to the Chooser intent:

[android-developers] Re: Speech Recogniser on SDK 2.2 gives Error Message

2010-07-30 Thread krish
Hi James, Thank you for the help. Actually, I am developing app on SDK. Is there no way to get the speech recognition on the SDK. Once again thank you for the help Vamsi On Jul 30, 11:54 am, jamesc jame...@gmail.com wrote: You should try running the app on a phone that supports speech to

[android-developers] Re: Speech Recogniser on SDK 2.2 gives Error Message

2010-07-30 Thread krish
On Jul 30, 11:54 am, jamesc jame...@gmail.com wrote: You should try running the app on a phone that supports speech to text. On Jul 30, 4:37 am, krish gvk.va...@gmail.com wrote: Hi, I am new to Android. I am using the SDK 2.2 and when i execute the speech demo app, i get the

[android-developers] Re: Clarity on Wi-Fi Based application !!??

2010-07-30 Thread StillALearner
Thanks for the early reply Kostya, Since your intent is to launch something on the phone, I don't see why you would want to detect connection on the Wifi router side. Well My Idea was to i) Use the phone resource to the minimal ii) to have control on when to invoke an activity from the

[android-developers] Re: R.java file of my project is deleted.......how to get it back

2010-07-30 Thread Justin
In eclipse, the R.Java seems to delete if you save too many files at one go. if you highlight the file in package expolorer, then right click propeties, select builders, unclick all the builders and OK. Then go back in and re-click the items again. On Jul 29, 1:29 pm, Asad Ali

[android-developers] flash audio problems

2010-07-30 Thread kiran
Hi All flash audio is repeating twice in android 2.2. Is this because of processor limitation or flash Bug. Regards Kiran -- 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] How to use preference objects in TabActivity

2010-07-30 Thread Jiang
In general, preference objects can be used in PreferenceActivity. Now I need to use these objects in TabActivity, how to implement this feature? Thanks! - Jiang -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] NPE with Uri, ACTION_MEDIA_CAPTURE and onActivityResult when photo taken in landscape orientation

2010-07-30 Thread Joel
Hi, I get NPE's for a Uri in the callback in onActivityResult I instantiate on launching the on-board camera activity ONLY WHEN the Nexus One (2.2) is used to take a photo in landscape orientation. public class Photo_Activity extends Activity { private final static int TAKE_PHOTO = 2; private

[android-developers] Intent for following a user on Twitter?

2010-07-30 Thread Mark Carter
I want to provide an easy way for my users to follow my app's Twitter account. Is this possible using the Intents system? -- 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] Intent for following a user on Twitter?

2010-07-30 Thread Mark Murphy
On Fri, Jul 30, 2010 at 6:17 AM, Mark Carter mjc1...@googlemail.com wrote: I want to provide an easy way for my users to follow my app's Twitter account. Is this possible using the Intents system? You would have to ask the author of a Twitter application that question. -- Mark Murphy (a

[android-developers] Binder is leaked by binding to a service

2010-07-30 Thread Mogimo
Hello, I made a code for my understanding of Android Service class. It has just a single Activity and Service in apk. Service is the same as the sample code of API reference as below; http://developer.android.com/intl/ja/reference/android/app/Service.html#LocalServiceSample A client side is an

Re: [android-developers] Intent for following a user on Twitter?

2010-07-30 Thread Mark Carter
I was wondering if there might be a standard... On 30 July 2010 12:20, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 30, 2010 at 6:17 AM, Mark Carter mjc1...@googlemail.com wrote: I want to provide an easy way for my users to follow my app's Twitter account. Is this possible

[android-developers] Re: NPE with Uri, ACTION_MEDIA_CAPTURE and onActivityResult when photo taken in landscape orientation

2010-07-30 Thread Joel
Addendum: This only happens if the orientation of the camera activity is changed wrt the orientation of my preceding Photo_Activity. I.e. the NullPointerException only occurs when the user changes the orientation of the phone when the on-board camera activity is present. Is it because it's

[android-developers] Re: NPE with Uri, ACTION_MEDIA_CAPTURE and onActivityResult when photo taken in landscape orientation

2010-07-30 Thread Joel
Addendum2: No, this also happens with launchMode:standard. On Jul 30, 11:37 am, Joel joelefisc...@googlemail.com wrote: Is it because it's destroying my Photo_Activity (It's launchMode:singleTask)? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Binder is leaked by binding to a service

2010-07-30 Thread Brion Emde
Binding to a service is asynchronous. You should maybe disable the button that binds and unbinds until you are sure that you are actually, respectively, bound and unbound. You do that by keeping track of when the ServiceConnection object's onServiceConnected() and onServiceDisconnected()

[android-developers] Re: Launch application or service from html link?

2010-07-30 Thread Shrenik Vikam
is it really working ? On Jun 19, 7:24 pm, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jun 18, 2010 at 9:18 PM, Dianne Hackborn hack...@android.com wrote: You can actually build a URI to launch pretty much any intent; the browser always adds the BROWSABLE category, though, so any

Re: [android-developers] Re: Clarity on Wi-Fi Based application !!??

2010-07-30 Thread Kostya Vasilyev
Hi, Registering to receive Wifi notifications (either via the app manifest, or registering a receiver in a service) is not inherently inefficient. There isn't anything special about them - so all the usual rules regarding process management apply. Your process will get killed if necessary,

[android-developers] My Eclipse 3.5 always lag and have to force close - why?

2010-07-30 Thread Mystique
Hi, I'm on Win7 32-bit with 4GB RAM. Why my Eclipse always become so slow until it take so long to response to my mouse or keyboard. I have to force terminate it, restart and use it for like 20min and repeat the same thing again... Anyone facing this or have experience dealing with it? Regards.

[android-developers] Upload large files on the web server on android

2010-07-30 Thread mudit
Hi I want to upload files on a web server in my android app.Currently i am able to upload files around 5mb from the device but more than this gives a outofmemory exception and also makes app very unstable. i am looking for a method using which we can upload the data in the app background plus of

[android-developers] Pinch in , Pinch-out Zoom in android

2010-07-30 Thread harshe
HI, I need to implement the pinch in and pinch out zoom on a list adapter. I have a list of contacts sorted alphabetically. Using pinch-in the list has to be zoomed out(shrinked).. and in Pinch-Out the list has to be Zoom-in (enlarged or expanded)..i tried with onTouchListener and

[android-developers] Why can't I put a ProgressDialog in onClick() other than onCreate();

2010-07-30 Thread Mystique
Hi, I try to call inside onCreate() it is ok but not onClick(). How to make it work? -- 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: Establish connection HTTPS with web service using soap

2010-07-30 Thread Lamia Hannoun
* I forgot to mention the code that i use to ignore the certificate. Do u have any ideas to help me out. final* *static* HostnameVerifier *DO_NOT_VERIFY* = *new* HostnameVerifier() { *public* *boolean* verify(String hostname, SSLSession session) { *return* *true*; } }; /** * Trust every

[android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread sblantipodi
Ok, since I founded no way to automatically do it with netbeans now I'm trying the ant way posted here: http://just2us.com/2009/07/tutorial-obfuscate-an-android-application/ previously in this thread. I followed all the instructions but I get this error from ant o_O taskdef class

Re: [android-developers] My Eclipse 3.5 always lag and have to force close - why?

2010-07-30 Thread Kwan Cheng
I have the same issue On Jul 30, 2010 7:22 AM, Mystique joven.ch...@gmail.com wrote: Hi, I'm on Win7 32-bit with 4GB RAM. Why my Eclipse always become so slow until it take so long to response to my mouse or keyboard. I have to force terminate it, restart and use it for like 20min and repeat

[android-developers] adding audio to a game - triggerClip for SFX

2010-07-30 Thread kk
Hi all, I'm using JetPlayer in order to add some audio to a game I'm developing. Using the examples in JetBoy I have managed to create a .jet file using JetCreator and play an audio track. So far so good. However, I'm having some trouble playing sound effects for my game. I have a set of very

[android-developers] Re: My Eclipse 3.5 always lag and have to force close - why?

2010-07-30 Thread Kaj Bjurman
It has unfortunately been like that for ages (if you are modifying e.g. layout files). It doesn't happen if you only write code. It looks like the Android plugin is leaking resources, and fast. On 30 Juli, 13:22, Mystique joven.ch...@gmail.com wrote: Hi, I'm on Win7 32-bit with 4GB RAM. Why

[android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread DanH
Just say no to obfuscation. On Jul 30, 3:36 am, sblantipodi perini.dav...@dpsoftware.org wrote: Since I'm going mad trying obfuscating my projects on Netbeans and it's not reasonable at the moment for me to switch to Eclipse I need a command line script that let me build and obfuscate my

Re: [android-developers] My Eclipse 3.5 always lag and have to force close - why?

2010-07-30 Thread Kostya Vasilyev
You guys running Java update 21 by any chance? If so, revert back to 20 - someone posted within last week that update 21 has issues with Eclipse. -- Kostya 30.07.2010 16:36, Kwan Cheng ?: I have the same issue On Jul 30, 2010 7:22 AM, Mystique joven.ch...@gmail.com

[android-developers] add uses-permission to application via Java code

2010-07-30 Thread RamaMohan
HI all, I want to add uses-permission via programatically .I want to telephone number of the device.For that i need to access the phone state.But i need to add that permission only with Java code at runtime. Is it Possible to do so. (or) Can you suggest any alternative way to read the telephone

[android-developers] Correct way to kill the application

2010-07-30 Thread RamaMohan
HI all, I s there any way to kill the entire application at once.Not using with finish() or system.exit() ..all these two will kill the activity ,but not the appication. Is there any way to kill the entire application from any activity .Please help me . -- You received this message because you

Re: [android-developers] add uses-permission to application via Java code

2010-07-30 Thread Carlos Silva
On Fri, Jul 30, 2010 at 14:09, RamaMohan rama.mohan...@gmail.com wrote: HI all, I want to add uses-permission via programatically .I want to telephone number of the device.For that i need to access the phone state.But i need to add that permission only with Java code at runtime. Is it

[android-developers] people.NUMBER is deprecated....what else i can use in place of it

2010-07-30 Thread A N K ! T
am trying to fetch phone contact.bu when i am using people.Number it is showing people.Number is deprecated.then wot should i use. -- A N K ! T.. -- 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] Correct way to kill the application

2010-07-30 Thread Carlos Silva
On Fri, Jul 30, 2010 at 14:13, RamaMohan rama.mohan...@gmail.com wrote: HI all, I s there any way to kill the entire application at once.Not using with finish() or system.exit() ..all these two will kill the activity ,but not the appication. Is there any way to kill the entire application

[android-developers] ActivtyGroup - problem returning to the root activity.

2010-07-30 Thread kunal khaire
Hi All, Probably not known to me but i do not find this happening with Android-ActivityGroup I have a service-bind() in the root activity of a activitygroup and in the same frame two redirector buttons for two activities. *public class RemoteServiceBinding extends ActivityGroup {* *

[android-developers] Re: What is the best way to handle Images?

2010-07-30 Thread Ravindra Kamble
Use the BitmapFactory.Options to create the images. In the BitmapFactory.Options, you can scale your image so that it will consume low memory. On Jul 30, 11:50 am, Ed edscha...@gmail.com wrote: if you are hanging onto a copy of the images have a look at SoftReference e.g. SoftReferenceBitmap

[android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread sblantipodi
Ok, thanks for the suggestions, any other idea? :) On Jul 30, 2:59 pm, DanH danhi...@ieee.org wrote: Just say no to obfuscation. On Jul 30, 3:36 am, sblantipodi perini.dav...@dpsoftware.org wrote: Since I'm going mad trying obfuscating my projects on Netbeans and it's not reasonable at

Re: [android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread Jonas Petersson
Well, how about going native? (NDK) That should be somewhat more challenging than decompiling java. Good luck / Jonas On 07/30/2010 04:11 PM, sblantipodi wrote: Ok, thanks for the suggestions, any other idea? :) On Jul 30, 2:59 pm, DanHdanhi...@ieee.org wrote: Just say no to

[android-developers] Help Needed Getting JSON to Jersey Web Service and Consuming it

2010-07-30 Thread JimBadger
Hi, I've just recently started out with Android development, and have progressed to the point where I have written a very basic Hello World Jersey RESTful web service, and successfully called it from within my Android App. What I want to do now though, is send a new user record (just name and

Re: [android-developers] Why can't I put a ProgressDialog in onClick() other than onCreate();

2010-07-30 Thread TreKing
On Fri, Jul 30, 2010 at 6:54 AM, Mystique joven.ch...@gmail.com wrote: How to make it work? Do it correctly. Unless you post more information, like what code you're using in onClick (like onClick of what?), and why it's not OK, you're not going to get any better help than that.

Re: [android-developers] Re: Multiple Back Button clicks needed to exit application

2010-07-30 Thread Jenus Dong
yeah,the welcome activity has the reference of the application activity, you can call activity.finish() of the application, and there you can overide the finish function of the application, make destory the servicebind. Hope it could be helpful. On Fri, Jul 30, 2010 at 3:33 PM, StillALearner

Re: [android-developers] How to use preference objects in TabActivity

2010-07-30 Thread TreKing
On Fri, Jul 30, 2010 at 4:36 AM, Jiang webs...@yahoo.cn wrote: Now I need to use these objects in TabActivity, how to implement this feature? Easiest answer: don't. Use them in Preference Activity where they're meant to be used. Second option, look at Preference Screen and see what you can do

Re: [android-developers] Froyo -- How to detect that my application has been killed?

2010-07-30 Thread Jenus Dong
Do you mean how to kill the service when you want to kill the process, that is , the host of service? On Fri, Jul 30, 2010 at 11:15 AM, Dianne Hackborn hack...@android.comwrote: Applications can't kill services with this. They can only kill background processes, which the OOM killer is free

[android-developers] Re: NPE with Uri, ACTION_MEDIA_CAPTURE and onActivityResult when photo taken in landscape orientation

2010-07-30 Thread Joel
--SOLVED-- This is actually caused by my Photo_Activity being destroyed and created again just before the callback from the on-board camera activity when the orientation of the camera activity is changed. Fix is to set screenOrientation=portrait (or landscape). Then my Photo_Activity is not

[android-developers] UI Widgets/Layout/Tools

2010-07-30 Thread Kumaravel Kandasami
Wanted to get feedback from the community on the following: - Any tools to quickly assemble and design Android UI ? - Any Visual Display/Documentations of all the possible layouts/widgets available in the Android Platform ? Thanks, and appreciate your support. Kumar_/|\_

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-30 Thread Pent
Building with eclipse it seems OK, but via Ant I get: I/LicenseChecker( 2115): Binding to licensing service. E/LicenseChecker( 2115): Could not bind to service. W/ActivityManager( 85): Unable to start service Intent { act=av }: not found Any hints ? Pent -- You received this message because

[android-developers] Re: Correct way to kill the application

2010-07-30 Thread Mike dg
Object o = null; o.toString(); -Mike dg On Jul 30, 9:37 am, Carlos Silva r3...@r3pek.org wrote: On Fri, Jul 30, 2010 at 14:13, RamaMohan rama.mohan...@gmail.com wrote: HI all, I s there any way to kill the entire application at once.Not using with finish() or system.exit() ..all these two

[android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread DanH
Keep in mind that what goes onto the phone isn't Java bytecodes but rather the Dalvik translation. Much harder to back-translate than bytecodes. (I've seen obfuscated bytecodes and it's not pretty. Class loading time goes up, execution efficiency is reduced, the odds of hitting a bug, either in

Re: [android-developers] problem using listview...

2010-07-30 Thread TreKing
On Fri, Jul 30, 2010 at 2:45 AM, A N K ! T ankit.awasth...@gmail.comwrote: .i know am missing something but not getting it what. I would start with making the main LinearLayout's height and width to be fill_parent ...

Re: [android-developers] Intent for following a user on Twitter?

2010-07-30 Thread TreKing
On Fri, Jul 30, 2010 at 5:33 AM, Mark Carter mjc1...@googlemail.com wrote: I was wondering if there might be a standard... Why would there be a standard intent to execute a non-standard action? -

Re: [android-developers] Intent for following a user on Twitter?

2010-07-30 Thread Chris Stewart
Hey, maybe instead of rudely answering the question, you could save your keystrokes for something useful? Chris Stewart cstewart...@gmail.com On Fri, Jul 30, 2010 at 11:57 AM, TreKing treking...@gmail.com wrote: On Fri, Jul 30, 2010 at 5:33 AM, Mark Carter mjc1...@googlemail.comwrote: I was

Re: [android-developers] people.NUMBER is deprecated....what else i can use in place of it

2010-07-30 Thread TreKing
On Fri, Jul 30, 2010 at 8:31 AM, A N K ! T ankit.awasth...@gmail.comwrote: it is showing people.Number is deprecated. It's probably also showing what you should be using instead. - TreKing

Re: [android-developers] Intent for following a user on Twitter?

2010-07-30 Thread Mark Carter
A standard intent may be used to execute non-standard actions. For example, there might be a standard Intent action to FOLLOW something. A Twitter client might attempt to respond to such Intents... On 30 July 2010 17:57, TreKing treking...@gmail.com wrote: On Fri, Jul 30, 2010 at 5:33 AM, Mark

Re: [android-developers] Intent for following a user on Twitter?

2010-07-30 Thread TreKing
On Fri, Jul 30, 2010 at 10:59 AM, Chris Stewart cstewart...@gmail.comwrote: Hey, maybe instead of rudely answering the question, you could save your keystrokes for something useful? I was being rude? I asked a simple question in response the OP's statement. Hey, maybe instead of

[android-developers] Re: RTSP Example

2010-07-30 Thread Dave Sparks
That sounds like a problem with Hero. The compositor is supposed to scale the video to fit the surface view. On Jul 18, 6:41 am, Anthoni anthoni.gard...@gmail.com wrote: Hi Dave, Thanks, found that it partially works, but for some reason I think the videos are scaled wrong. On my hero I can

Re: [android-developers] Help Needed Getting JSON to Jersey Web Service and Consuming it

2010-07-30 Thread Brad Gies
To give you good advice, we probably need to know what your server end is expecting, and what kind of security you need. It could be as simple as what's below (NOTE there is extra stuff you don't need in here, but it should at least give you what you need) : ListNameValuePair nvps;

[android-developers] Re: adding audio to a game - triggerClip for SFX

2010-07-30 Thread Dave Sparks
triggerClip() was designed to play synchronized sound effects for musical games like JetBoy. If you just want to play random sound effects, I would use SoundPool instead. On Jul 30, 5:53 am, kk kkostia...@gmail.com wrote: Hi all, I'm using JetPlayer in order to add some audio to a game I'm

Re: [android-developers] Upload large files on the web server on android

2010-07-30 Thread Alex Xin
Do you use HTTP POST to upload your file to android phone? On Fri, Jul 30, 2010 at 7:27 PM, mudit mudit.a...@gmail.com wrote: Hi I want to upload files on a web server in my android app.Currently i am able to upload files around 5mb from the device but more than this gives a outofmemory

[android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread sblantipodi
You are so kind answering me and I really appreciate it but there are many answers, all are off topic. I haven't asked if it is good to obfuscate or if I need to switch to NDK, I asked if someone succeded obfuscating standard android class using ant. Please don't move this thread off topic.

[android-developers] Re: OpenGL missing pixels?

2010-07-30 Thread Indicator Veritatis
One thing I am seeing from the relevant reading at http://www.opengl.org/sdk/docs/man/xhtml/glLineWidth.xml is that you should not be setting the line width to be less than one pixel. On Jul 29, 10:12 pm, SChaser crotalistig...@gmail.com wrote: I am drawing lines in OpenGL on an app that will

Re: [android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread Frank Weiss
On Fri, Jul 30, 2010 at 5:14 AM, sblantipodi perini.dav...@dpsoftware.org wrote: Ok, since I founded no way to automatically do it with netbeans now I'm trying the ant way posted here: http://just2us.com/2009/07/tutorial-obfuscate-an-android-application/ previously in this thread. I followed

[android-developers] Re: read default browser cookies for webview

2010-07-30 Thread andrew android
Mark- I actually was able to read the cookies but now I need to figure out how to use them in my webview. That is tricky for me now. Any help you have for this? Thanks! On Jul 25, 2:33 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jul 25, 2010 at 10:48

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-30 Thread Indicator Veritatis
Now don't get me wrong, I am sure Google did a better job of it than ARM did, but I learned to hate licensing servers from the bitter experience of using ARM's licensing server for their development tools. We had continual problems with false negatives, i.e, the program refused to run because it

Re: [android-developers] Correct way to kill the application

2010-07-30 Thread Mark Murphy
On Fri, Jul 30, 2010 at 9:13 AM, RamaMohan rama.mohan...@gmail.com wrote: HI all, I s there any way to kill the entire application at once.Not using with finish() or system.exit() ..all these two will kill the activity ,but not the appication. Is there any way to kill the entire application

Re: [android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread Mark Murphy
If this is a normal Android project, run android update project -p ..., where ... is the path to your project, and it will create or repair your local.properties file. On Fri, Jul 30, 2010 at 1:31 PM, sblantipodi perini.dav...@dpsoftware.org wrote: I have listed it in the main.xml, the problem

[android-developers] Re: Correct way to kill the application

2010-07-30 Thread Arjun
Your question is missing some information. You can always kill your main activity that is possible. But you dont have any other control on other activities if those activities are binded to intent filter. Because each activities runs in their own process ..but there is a hack for this..if you can

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-30 Thread sblantipodi
same problem here: http://groups.google.com/group/android-developers/browse_thread/thread/8f09bd1993d14f13 On Jul 30, 5:24 pm, Pent tas...@dinglisch.net wrote: Building with eclipse it seems OK, but via Ant I get: I/LicenseChecker( 2115): Binding to licensing service. E/LicenseChecker( 2115):

Re: [android-developers] Re: Android Market Licensing: Now Available!

2010-07-30 Thread Xavier Ducrohet
if you are using an emulator, make sure you use the Google APIs add-on for API 8 (2.2) in revision 2. Instructions for the setup: http://developer.android.com/guide/publishing/licensing.html#acct-signin On Fri, Jul 30, 2010 at 8:24 AM, Pent tas...@dinglisch.net wrote: Building with eclipse it

[android-developers] Re: Can't get LVL working.

2010-07-30 Thread Xav
The Google APIs add-on for 2.2 (in revision 2) supports testing LVL- enabled app. See instructions at http://developer.android.com/guide/publishing/licensing.html#acct-signin On Jul 30, 10:30 am, sblantipodi perini.dav...@dpsoftware.org wrote: Really thanks but so there is no way to test LVL

Re: [android-developers] Extending multiple classes

2010-07-30 Thread Priyank Maiya
Thanks guys for the quick response. Will try it out and let you know Thanks Priyank On Fri, Jul 30, 2010 at 12:38 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Jul 30, 2010 at 1:29 PM, Priyank priyankvma...@gmail.com wrote: Can my class extend 2 or more classes at a time. No,

[android-developers] Can't get LVL working.

2010-07-30 Thread sblantipodi
Hi all, I'm trying to get LVL working. I followed the offical guidelines, I copyed the LVL source into my project and added the correct manifest attribute. I also copyed from LVL sample folder the mainactivity.java into my project, changed the public key with the one from my developer console.

Re: [android-developers] Extending multiple classes

2010-07-30 Thread Shane Isbell
Just invoke Activity.getApplication() within your Activity.onCreate method, casting the Application to your specific class type. Then your can set whatever you need on your application instance and it will be accessible within other Activities through the same Activity.getApplication() method.

[android-developers] Re: Can't get LVL working.

2010-07-30 Thread jeffro
I don't believe the Android Market is included on the emulator and the licensing service is included with the Market app. I have it working successfully, but I did all my development and testing with a real phone (N1 Froyo). Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer

[android-developers] AppFriend for Facebook/Twitter (Social discovery of apps)

2010-07-30 Thread Shane Isbell
I've been looking into social discovery of Android applications and have found the space saturated with a lot of players. Most of these seemed to focus on aggregated data (AppAware, AppBrain). What I wasn't able to find was a simple way to just share apps that you like with your friends. So I came

[android-developers] Extending multiple classes

2010-07-30 Thread Priyank
Hi, I had a basic question. Can my class extend 2 or more classes at a time. What is the syntax. I want to extend Activity as well as Application. Wont this create problems in the manifest file? Activity because, I need to do a couple of things during the onCreate() [binding a service]and

[android-developers] Re: Froyo -- How to detect that my application has been killed?

2010-07-30 Thread tomei.ninge...@gmail.com
Dianne, here's the reproduction step on Froyo: [1] Run on Froyo - start ApiDemos, start the RemoveService sample. You will now see two processes com.example.android.apis com.example.android.apis:remote [2] You will notice that Sample Remote Service appears on status bar. [3] write an

Re: [android-developers] Extending multiple classes

2010-07-30 Thread Mark Murphy
On Fri, Jul 30, 2010 at 1:29 PM, Priyank priyankvma...@gmail.com wrote: Can my class extend 2 or more classes at a time. No, sorry. I want to extend Activity as well as Application. Even if that were possible, I doubt this would be a good idea. Activity because, I need to do a couple of

[android-developers] Re: Compiling and obfuscating by command line...

2010-07-30 Thread sblantipodi
I have listed it in the main.xml, the problem seems that ant doesn't find the SDK... if you found my error on google taskdef class com.android.ant.SetupTask cannot be found you will find dozens of people with my same problem, but I can't find a solution yet... On Jul 30, 6:59 pm, Frank Weiss

[android-developers] Re: Can't get LVL working.

2010-07-30 Thread sblantipodi
Really thanks but so there is no way to test LVL using emulator? I don't want to test the Buy Button that redirect from the app to the market, I want to test the doCheck() method that tell me if the app is licensed or not. This should work ok on the emulator. Am I wrong? Thanks. On Jul 30, 7:22 

[android-developers] Picking up radio stations?

2010-07-30 Thread Tommy
Hey everyone, Is there a way to let my app tune into a certain radio station(FM/AM?) Or is this something not yet possible with android? -- 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] Sync Adapter and api level 3 4?

2010-07-30 Thread Mark Wyszomierski
Hi, I'm looking at the sample sync adapter here: http://developer.android.com/resources/samples/SampleSyncAdapter/index.html I'd like to still support sdk level 3 and 4 devices. Will including the following lines in my app's manifest be problematic?: uses-permission

[android-developers] Subclassing Animation

2010-07-30 Thread jsera
Hi, I'd like to subclass Animation in order to get an animation that changes the clipRect of the canvas passed to a particular custom view instead of messing with the matrix of that canvas. The reason for this, is that I want to animate a partially obscured bitmap up to display it fully. So, say

  1   2   >