[android-developers] LocationManager using Network provider returns stale locations

2011-07-27 Thread Davy
Hi, I have the following scenario t1 : sitting at home - wifi connected - location manager using network provider returns the correct location (home) t2 : I get in my car, use the location manager now with gps provider - returns correct locations throughout the trip (100km) t3 : arrive at work

Re: [android-developers] Comments in market place

2011-07-27 Thread Nikolay Elenkov
On Thu, Jul 28, 2011 at 3:38 PM, Simon Platten wrote: > Is there anyway to remove spam comments from your applications? > No. > I have several applications on the market place, today someone has posted a > comment saying the application contains spyware, which is complete rubbish > and not true,

Re: [android-developers] Comments in market place

2011-07-27 Thread Kumar Bibek
No, you can't. You could probably mark that comment as spam, but just your vote doesn't count towards anything. I am not sure if Google cares about spammy comments. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Thu, Jul 28, 2011 at 12:08 PM, Simon

[android-developers] Comments in market place

2011-07-27 Thread Simon Platten
Is there anyway to remove spam comments from your applications? I have several applications on the market place, today someone has posted a comment saying the application contains spyware, which is complete rubbish and not true, how can you prevent this kind of thing? -- Regards, Sy -- You rec

[android-developers] Re: Regarding User Authentication

2011-07-27 Thread nirm
Hello List httpparams = new ArrayList(); httpparams .add(new BasicNameValuePair("user", androidUser)); httpparams .add(new BasicNameValuePair("pass", androidpassword)); URI uri = URIUtils.createURI("http", "yourUrl", -1, "/ youractionOrPage", URLEncodedUtils.format(httpparams , "UTF-8"), null)

Re: [android-developers] Re: HTTP Post of Image

2011-07-27 Thread Sivasankar K
In your manifest file add permissions to camera and for uploading internet permission as follows On Thu, Jul 28, 2011 at 11:07 AM, perumal316 wrote: > Hi Siva, > > But my application keeps on crashing when I insert this line: > URI mCapturedImageURI = > getContentResolver().insert(MediaStore.

[android-developers] Re: Enabling root permissions/functioanlities from the Android application or a folder in Android filesystem with default Permission

2011-07-27 Thread s.rawat
Hi Chris , Thanks for the reply it worked pretty well. The /data folder in the android file system has the default application folder where the application specific read write happens they generally looks like this : "*/data/data/my.package.name//* **directory=getDir("fodlername", Context.MODE_

[android-developers] Re: HTTP Post of Image

2011-07-27 Thread perumal316
Hi Siva, But my application keeps on crashing when I insert this line: URI mCapturedImageURI = getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); Must I add any permission in the manifest file? Basically I just want to get the string containing the path to the ima

[android-developers] Re: Compatibility Library, revision 3 has a 0 size

2011-07-27 Thread Walt Armour
Ah... finally sorted it out. My compatibility library (rev 1) was in \android-compatibility. I tried updating again and nothing happened. I deleted that directory this time and tried to install it clean. The directory didn't come back. A little digging showed that it was actually installing i

[android-developers] Re: google map marker

2011-07-27 Thread arun kumar
abhishek can you send source code with xml file and android manifest file like project. because i try your coding its shows error.like some lines are not supported. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

Re: [android-developers] [android] pending Intent

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 11:32 PM, kirti waykole wrote: > I am implementing Alarm Manager in my application. I also using Pending > Intent. when i set alarm to current date its working fine. but when i set > alarm for dynamic date its not working. alarm not in invoking after changing > the date. >

Re: [android-developers] Is the screensaver in source code Launcher?

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 8:40 PM, leo luo wrote: > I want to know when we drag LOCK to UNLOCK, the screensave activity exit? or it start another Intent to jump to home? IDK - look at the source if you need to know how this works.

[android-developers]Proximity Alerts not working as expected

2011-07-27 Thread deepak subramanian
Hi everyone, I have an application which needs to call a new screen if it comes within the proximity of a few locations. So I am using the addProximityAlerts() function as follows: But this does not work at all. My code is shown below *public void setupLocationMonitoring(Intent newIntent) {

[android-developers] [android] pending Intent

2011-07-27 Thread kirti waykole
hi, I am implementing Alarm Manager in my application. I also using Pending Intent. when i set alarm to current date its working fine. but when i set alarm for dynamic date its not working. alarm not in invoking after changing the date. plz help whats going wrong or something i missed to used in p

[android-developers] Re: Focus in Listview

2011-07-27 Thread ndiiie90
Ohh sure! Sorry I forgot to put the code Here is the code: private class MyAdapter extends ArrayAdapter { private ArrayList items; public MyAdapter(Context context, int textViewResourceId, ArrayList items) { super(context, textViewResourceId, items);

[android-developers] Project setup question, android library

2011-07-27 Thread dnkoutso
Hey everyone, I have project A that depends on a JAR (call it B) I want to extract some files out of A into a new project called C which will be an android lib and so A will now add C into the build path. The new project C also depends on the JAR (B) If I include both B on A and C, will my app

Re: [android-developers] Re: Windows 7, emulator, and orientation changes

2011-07-27 Thread Francisco Dalla Rosa soares
try Ctrl + Fn + F12/F11 and it should work. I think enabling/disabling the Fn behavior of the keyboard is in the BIOS setup (at least my dell's settings were there) or somewhere in the keyboard settings in the control panel. I have just the same behavior on my mac where the the Fn keys were enabl

Re: [android-developers] HTTP Post of Image

2011-07-27 Thread Sivasankar K
using the uri of content resolver you can get the path where it is getting stored URI mCapturedImageURI = getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.putExtra(MediaStore.

Re: [android-developers] Focus in Listview

2011-07-27 Thread yasir perwez
Hi, Can you please put relevant portion of code here? Yasir On Thu, Jul 28, 2011 at 8:03 AM, ndiiie 90 wrote: > Hi all, > I have a case where I have custom listview with the editable text in each of > the item. > The strange case is when I click the editable text, not the first one item > (for

[android-developers] HTTP Post of Image

2011-07-27 Thread perumal316
Hi All, I am using the following intent to invoke the camera: Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); startActivity(cameraIntent); The image is saved into the sdcard with the time/date as the name. I want to do a HTTPPost of this image once the picture

[android-developers] Focus in Listview

2011-07-27 Thread ndiiie 90
Hi all, I have a case where I have custom listview with the editable text in each of the item. The strange case is when I click the editable text, not the first one item (for example, 2nd, 3rd, 4th item, etc), the listview will focus to the 1st item, so that I can't modify the content of 2nd, 3rd,

Re: [android-developers] Can't attach my devices anymore...

2011-07-27 Thread B Lyon
on 2.2, I've seen the os seem to run out of file handles or something after uploading an app many many times as part of debugging. A reboot of the phone seemed to clear it up for me. On Mon, Jul 25, 2011 at 10:20 AM, Amokrane Chentir wrote: > Hi, > > I have an issue here with the ADB tool. Since

Re: [android-developers] Strategy deploying a subscription based application to market place

2011-07-27 Thread Nikolay Elenkov
On Thu, Jul 28, 2011 at 12:35 AM, Yama wrote: > I want to deploy my application to Android users and I have some > questions: Every next time you post the same questions, the chance of getting an answer decreases. Once is enough. > 2. Can you use the new API In-App billing checkout to collect mo

[android-developers] Join us for "Android Programming Aug. 4th 2011 Webinar - "Licensing""

2011-07-27 Thread Sang Shin
Android Programming Aug. 4th 2011 Webinar - "Licensing" Join us for a Webinar on August 4 *Space is limited.* Reserve your Webinar seat now at: https://www3.gotomeeting.com/register/371131622 In this Webinar, we are going to cover

[android-developers] How to send and recieve data from Android App?

2011-07-27 Thread AJs
Hi, I m writing an Android app which will run on my smartphone and communicates with an embedded device. This device currently supports a GUI via webpage as it is running a webserver. My idea is to have same info displayed via Android App. Can I used http GET method in my Android app to get data

Re: [android-developers] Is the screensaver in source code Launcher?

2011-07-27 Thread leo luo
I have another issue. As u know, when we click the POWER button, the screen off, and then we click POWER again, the screensaver appears. When we drag the LOCK to UNLOCK. The homescreen shows. I want to know when we drag LOCK to UNLOCK, the screensave activity exit? or it start another Intent to

Re: [android-developers] Re: Curious NPE

2011-07-27 Thread Nikolay Elenkov
On Thu, Jul 28, 2011 at 3:35 AM, Doug wrote: > On Jul 27, 1:25 am, Nikolay Elenkov wrote: >> On Wed, Jul 27, 2011 at 5:07 PM, Doug wrote: > > I see checked exceptions as a compile-time reminder that it's always a > good idea to handle potential errors.  This is almost exactly the same > concept

[android-developers] Re: The emulator died when I execute ping in adb shell repeatly

2011-07-27 Thread nanhu
only when the ping execution failed,the problem can appear On 7月27日, 下午2时57分, nanhu wrote: > when I execute "ping -c 20 -i 0.2 -s 92 -W 1www.google.com" in adb > shell repeatly , after dozens of times , it can not execute , and I > can not login another shell -- You received this message becaus

Re: [android-developers] Re: Curious NPE

2011-07-27 Thread Nikolay Elenkov
On Thu, Jul 28, 2011 at 9:04 AM, William Ferguson wrote: > Well said Doug. > For what's it worth, I'd be voting Nikolay off my development team. I wouldn't want to work for you anyway :) > > Some people just don't get it. I agree. Some people just refuse to see language design mistakes as such

Re: [android-developers] Compatibility Library, revision 3 has a 0 size

2011-07-27 Thread Xavier Ducrohet
I was able to download/install it just now. the size display (0MiB) is a bug due to the size of the package being too small and rounding to 0. Xav On Tue, Jul 26, 2011 at 7:41 PM, Walt Armour wrote: > Trying to update to revision 3.  No errors, it just never updates. > > Here's the package desc

[android-developers] NumberPicker doesn't get the input value from keyboard

2011-07-27 Thread Frank
Hi all, I have a very weird problem from NumberPicker. The values input through the keyboard is not recognized but the values input by the "+/-" buttons are. The following is the source code. public class NumberPickerDlg extends AlertDialog { private NumberPicker mInteger; private

[android-developers] SQLiteException: error code 14: unable to open database file

2011-07-27 Thread Nathan
HI everyone. I am getting this from a customer log. Now before I go investigating whether the device is loosing access to the SD card when it is going to sleep, or something like that, I believe this can happen when the database is busy, because some other thread still has a cursor open while try

[android-developers] Re: Curious NPE

2011-07-27 Thread William Ferguson
Well said Doug. For what's it worth, I'd be voting Nikolay off my development team. Some people just don't get it. And it makes it worse for the rest of us as we pick up their pieces. William On Jul 28, 4:35 am, Doug wrote: > On Jul 27, 1:25 am, Nikolay Elenkov wrote: > > > On Wed, Jul 27, 20

[android-developers] installLocation Doesn't Seem To Apply

2011-07-27 Thread Skyre
I have a test application, and I am trying to allow it to install to the SD card, however it seems to refuse to do it. I have tried both "preferExternal" as well as "auto", neither seems any different from the default. My minSDK is set to 4, while my target is set to 9, so that should not be the

[android-developers] Re: Odp: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame

2011-07-27 Thread Daniel
FYI, i just finished implementing a replacement sound player with OpenSL ES using the NDK, and preliminary testing reports indicate that the crashes on the S2 have gone, so it sounds like the problem is with soundpool, and not at a lower level. I used a dynamically linked shared library since Op

Re: [android-developers] Re: How to get web data into TextViews?

2011-07-27 Thread b . ampwera
Hey droid, Please post your code... -Original Message- From: Droid Sender: android-developers@googlegroups.com Date: Wed, 27 Jul 2011 13:44:10 To: Android Developers Reply-To: android-developers@googlegroups.com Subject: [android-developers] Re: How to get web data into TextViews? OK,

[android-developers] Re: Sending a URI commanto a remote server and getting the response

2011-07-27 Thread endyk
Hello Ankit you can use httpconnection to do that On Jul 27, 1:09 pm, Ankit Maheshwari wrote: > Hi, > i wish to connect to remote server use and send a encrypted/plain URI > and get the response back from the server . > can any one please help me in achieving this . any help or code > snippet wi

[android-developers] Re: Sending a URI commanto a remote server and getting the response

2011-07-27 Thread endyk
hello Ankit, you can use httpconnection to do that On Jul 27, 3:09 am, Ankit Maheshwari wrote: > Hi, > i wish to connect to remote server use and send a encrypted/plain URI > and get the response back from the server . > can any one please help me in achieving this . any help or code > snippet w

Re: [android-developers] Mifare Classic emulation using NFC on Android 2.3.4

2011-07-27 Thread Fernando Miguélez
Yes it is possible. Check this thread out: https://groups.google.com/d/topic/android-developers/1fw1qfFqpGc/discussion On Wed, Jul 27, 2011 at 9:12 AM, Ankit Maheshwari wrote: > Hi , > has anybody tried for the Mifare Card Emulation using NFC .??? i will > be really grateful if anybody could helo

Re: [android-developers] Re: How to get web data into TextViews?

2011-07-27 Thread b . ampwera
Hey droid, Please post your code... -Original Message- From: Droid Sender: android-developers@googlegroups.com Date: Wed, 27 Jul 2011 13:44:10 To: Android Developers Reply-To: android-developers@googlegroups.com Subject: [android-developers] Re: How to get web data into TextViews? OK,

[android-developers] Re: How to get web data into TextViews?

2011-07-27 Thread Droid
OK, I done it now. On Jul 27, 3:57 pm, TreKing wrote: > On Wed, Jul 27, 2011 at 9:42 AM, Droid wrote: > > I want to display this text in a TextView on my Android and need specific > > code snippet to do it. > > I kind of want to repeat my entire first response. > > > I know that I need an Async

[android-developers] SearchView in Action Bar randomly stealing focus

2011-07-27 Thread Mike Mangino
We're developing an app on Honeycomb that uses the new tab fragments stuff. We also have a SearchView in the Action Bar. We're consistently seeing the SearchView gain focus and bring up the keyboard on tab switch. It's currently 100% reproducible and always happens on the third tab change. Is a

[android-developers] Re: sendDtmf on Xoom WiFI / Android 3.0

2011-07-27 Thread Robert Auger
Here is the log : 07-27 22:07:46.670: VERBOSE/SipAudioCall(15522): onCallEstablished()v=0 07-27 22:07:46.670: VERBOSE/SipAudioCall(15522): o=cp10 131179726711 131179726712 IN IP4 172.18.24.29 07-27 22:07:46.670: VERBOSE/SipAudioCall(15522): s=SIP Call 07-27 22:07:46.670: VERBOSE/SipAudioCall(15522

[android-developers] WSDL+KSOAP2 WITHOUT PASSING ANY PARAMETER

2011-07-27 Thread rishabh agrawal
Hi ,I am begginer in Web service.I developing app using ksoap2 jar file.In my project i have add ksoap2 2.5.7 jar file.In my app user does not pass any parameter.He is directly retrive all the data.When im run my code the it get a error which is shown below & i am giveing my code please see where i

Re: [android-developers] Using Options Menu in a multi-Fragment Activity

2011-07-27 Thread Dianne Hackborn
You will need to have the activity populate the options menu and call to the current fragment when an item is selected. On Tue, Jul 26, 2011 at 3:39 PM, Sam wrote: > I have a FragmentActivity which hosts a FragmentStatePagerAdapter. The > pager contains multiple instances of the same fragment, i

Re: [android-developers] Re: SurfaceView#setZOrderMediaOverlay(true) not working as expected

2011-07-27 Thread Dianne Hackborn
Well it is too bad we made that API public. :p You can use "adb shell dumpsys window" to see the windows in the window manager, to see how your windows have been Z-ordered. Also be sure you are setting this property before the SurfaceView is attached to its window, and never changing it. On Tue,

Re: [android-developers] Re: About Android 3.0 status bar hide questions

2011-07-27 Thread Dianne Hackborn
You can't. You'll notice that nowhere in the standard platform as shipped on Xoom does it disappear. There is no facility to make it disappear. To be able to do this, you would need to take the platform and modify the code that displays the system bar to have an API that only your trusted app ca

[android-developers] Calling addTextChangedListener BEFORE setInputType crashes, but AFTER is fine

2011-07-27 Thread UBZack
Hello all, this may be a problem in my code, but it could also be a potential problem in the API, and I'd like to point it out to the community with hopes that the platform's official developers at Google see this (and chances are they probably know, but I thought I'd point it out anyway). I'm dyn

Re: [android-developers] radiogroups

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 7:14 AM, Leah wrote: > it only reads the first row of my radiogroups. > What? > how can i put the getCheckedRadioButtonId for every radiogroup? > What? - TreKing

[android-developers] Re: Curious NPE

2011-07-27 Thread Doug
On Jul 27, 1:25 am, Nikolay Elenkov wrote: > On Wed, Jul 27, 2011 at 5:07 PM, Doug wrote: > > > By the way, when you you advocate NOT checking the return value of C > > runtime functions?  You'd just write to an unknown file descriptor > > even after a failed call to open() and just wait for the

Re: [android-developers] Custom drawable not showing

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 5:24 AM, joe wrote: > Why is nothing shown? Is your draw method called? Is the LinearLayout itself visible? (set some pink background on it or something) - TreKing

Re: [android-developers] Sending a URI commanto a remote server and getting the response

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 2:09 AM, Ankit Maheshwari wrote: > i wish to connect to remote server use and send a encrypted/plain URI > and get the response back from the server . > can any one please help me in achieving this . any help or code > snippet will be realy helpful > A - This has nothing t

Re: [android-developers] Is the screensaver in source code Launcher?

2011-07-27 Thread TreKing
On Tue, Jul 26, 2011 at 8:57 PM, leo luo wrote: > How to develop a screensaver? Android doesn't have "screensavers". - TreKing - Chicago transit

Re: [android-developers] Add a Progress bar on an AlertDialog

2011-07-27 Thread TreKing
On Wed, Jul 27, 2011 at 12:52 AM, Prashant Mahajan wrote: > I am unable to put Progress Bar on that. > Why not? > If anybody have solution for this,please help. > Use ProgressDialog? - TreKing

[android-developers] Re: How to create android app running on top of another app

2011-07-27 Thread Abhishek Akhani
i think you can't do it on application level... you have to do these changes in OS.. -- 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, s

Re: [android-developers] Package File is Invalid

2011-07-27 Thread Nick Risaro
If you have an unsigned version of your application you can't install a signed one, try deleting your unsigned apk and then installing the signed version. On Tue, Jul 26, 2011 at 6:37 PM, Eric wrote: > I have a working app with a working debug APK file generated by > Dreamweaver CS5.5 and PhoneG

[android-developers] How to Zoom Image on ImageViewer Frame

2011-07-27 Thread sumant singh
Sir, Plz guide me about the Zooming the imageviwer of 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@googlegroups.com To unsubscribe from this group, send e

[android-developers] Strategy deploying a subscription based application to market place

2011-07-27 Thread Yama
I want to deploy my application to Android users and I have some questions: We have created a subscription model program we have deployed to a website which collects payments. After payment is successfully processed the user is notifed and given an username and password which then allows users to

[android-developers] Deployment Strategy

2011-07-27 Thread Yama
Deploying the Android app without violating Android rules of engagement: 1. Create a website for our Best Stock Now! a stock grading system by Bill Gunderson 2. Web will offer free version Best Stock Now! LITE which includes top 200 Nasdaq stocks 3. User will have option to upgrade to full version

[android-developers] How to inject NOP opcode into a dex file?

2011-07-27 Thread Yury Zhauniarovich
Hello all. I have a simple android program in a .apk file. I want to inject several NOP opcodes into this program. How can I do this and what tools are useful for this purpose? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] git clone isn't working on openssl android project

2011-07-27 Thread rickrvo
Hi, I'm trying to get libssl.so and libcrypto.so for android with this instructions: http://android.git.kernel.org/?p=platform/external/openssl.git;a=summary and I can't get git clone to work... Cloning into openssl... android.git.kernel.org[0: 130.239.17.13]: errno=Connection timed out android.

[android-developers] Re: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame

2011-07-27 Thread BenMc
I'm experiencing the same thing. Users of galaxy S2 devices are emailing and commenting saying the game randomly crashes. I'm now asking them to disable all in-game sounds in hopes that this helps. On Jun 13, 12:40 pm, Andy wrote: > I have a strange Problem in my Game. I use SoundPool for my FX

[android-developers] Re: create wi fi connection

2011-07-27 Thread Jeremiah Snader
You can certainly create a point-to-point connection that you speak of, as had accomplished within a group of ours previously if that is your question. I do not currently recall the details behind it or what complications came of it throughout the process. I would look into point-to-point applica

[android-developers] Re: Need help on adding overlays on Map View

2011-07-27 Thread Jeremiah Snader
There are third party APIs available similar to Google API that will also allow for you to download local map files on the SD card in place of needing a connection even or provide different types of overlays that give you more freedom, etc. It's also something else to look into. On Jul 26, 6:19 p

[android-developers] Re: About Android 3.0 status bar hide questions

2011-07-27 Thread RichardLalancette.Blogspot.com
I really need to find a way to hide and show the bottom bar. Our app needs to take over the entire screen. Please advise on a way to do so if you know, even if it means not using the regular SDK. On Jul 21, 8:51 pm, Dianne Hackborn wrote: > No. > > We shouldn't let you force stop the system UI,

[android-developers] Re: How to provide updates on sqlite database

2011-07-27 Thread Jeremiah Snader
On Jul 27, 12:56 am, lbendlin wrote: > that's probably not what you want to do. Instead, use the onUpgrade method > to run a couple of SQL scripts to adjust the table structures without losing > the data. Correct. You'll want to focus on updating the SQLite database with SQL commands without r

[android-developers] Re: External JAR file to reduce the code in class file

2011-07-27 Thread AndroidVogue
Hello, I think you need to create jar file from the classes. On Jul 27, 5:43 pm, Mark Murphy wrote: > You are probably thinking of ProGuard. > > On Wed, Jul 27, 2011 at 8:18 AM, Viral Brahmbhatt > > wrote: > > any one having any idea about this? > > > On Wed, Jul 27, 2011 at 5:17 PM, Viral Brah

[android-developers] radiogroups

2011-07-27 Thread Leah
hi everyone, am having a problem with my radiogroups.. i have an array of radiogroup.. i used listview, that's why every row has radiogroup. i noticed when am testing the app that i created, it only reads the first row of my radiogroups. how can i put the getCheckedRadioButtonId for every radiogrou

[android-developers] Re: How to create android app running on top of another app

2011-07-27 Thread Awais
There can be many ways, havenot tried. you can lunch another activity in some window i guess. also you can ask for the activity name/class name from user and then can create the activity and then can show that in the customize tabactivity. On Jul 26, 4:34 pm, Lasith Chandrasekara wrote: > I want

[android-developers] Understanding the subscription model

2011-07-27 Thread Yama
I want to deploy my application to Android users and I have some questions: We have created a subscription model program we have deployed to a website which collects payments. After payment is successfully processed the user is notifed and given an username and password which then allows users to

Re: [android-developers] login screen

2011-07-27 Thread Γιώργος Καρανίκας
You don't need a file. You just need a table in your database (sqlite) that holds the information about the users (username,password,etc.). Then to create or authenticate your users you use a SQLiteDatabase object (that holds your database) and it's methods, such as query (returns Cursor objec

[android-developers] Re: Hide app from recent list

2011-07-27 Thread Blundell
On Jul 26, 9:42 am, Hareef wrote: > I want to hide my app from Recent List. > Any idea what changes to do in the manifest file? > > Thanks in advance > Hareef -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

Re: [android-developers] Re: SurfaceView#setZOrderMediaOverlay(true) not working as expected

2011-07-27 Thread Sunarko _rpl
what it this..?? 2011/7/27 Shri > I am occasionaly seeing this on Nexus S Gingerbread MR1 as well. Is > this a bug in setZOrderMediaOverlay? > > On Jul 13, 2:09 pm, Shri wrote: > > I have a small screen camera preview being shown on top of a larger > > video (see layout at the end). I use > >

[android-developers] ColorMatrix problem

2011-07-27 Thread Alex Pruss
I've been trying to draw an ALPHA_8 bitmap with the alpha channel giving a grayscale value. The fairly obvious thing to do is to set up a paint with ColorMatrixColorFilter that does the following transformation: r' = a g' = a b' = a a' = 1 >From the documentation, it seems I should use this ma

[android-developers] Re: Windows 7, emulator, and orientation changes

2011-07-27 Thread frederic solecki
Ctrl+F11/F12 is working as expected on a notebook with win7 64bit and the latest dev tools. On 26 juil, 18:03, Dan wrote: > Some laptop keyboards have made the feature keys the default function > instead of the "F" keys. > > On Jul 26, 1:46 pm, Mark Murphy wrote: > > > > > > > > > I have a stude

[android-developers] How to linkify between two activities?

2011-07-27 Thread ndiiie 90
I have done searching in google and find out to linkify between activities in this link: http://stackoverflow.com/questions/4025770/android-launch-activity-from-clickable-text/4026303#4026303 However, I end up in this line of code: UnderlineSpan[] underlines = strBuilder.getSpans(UnderlineSpan.

[android-developers] Discador

2011-07-27 Thread Douglas Rodrigo
Boa noite desenvolvedores. Tenho o celular milestone, com o sistema operacional android na versão MIUI. O sistema funciona perfeitamente tirando a questão do discador. Qualquer ligação que eu faça, quando aperto o botão ligar, automaticamente a tela fica escura sem eu colocar o telefone ao ouvido e

[android-developers] Re: Use OpenGL error

2011-07-27 Thread Jimmy Jam
I ended up using the syntax specified by RyanMcNally, using "ByteOrder.nativeOrder()" instead of ByteBuffer.nativeOrder() e.g. sphereVertex = ByteBuffer.allocateDirect( 40 ).order( ByteOrder.nativeOrder() ).asFloatBuffer(); This was after I found a workable syntax els

[android-developers] Hands on widgets during Animation

2011-07-27 Thread sree ram
Hello, I am having my hands on Animation, I am successful to an extent, the problem arises when i am trying to have control on listeners, to be clear I have two buttons btnOne and btnTwo positioned at top left corner in horizontal style. When we click on btnOne , it makes btnTwo to translate on X

[android-developers] AppWidgetManager.updateAppWidget() not being called instantly

2011-07-27 Thread Brad
I similarly posted this question on to StackOverflow: http://stackoverflow.com/questions/6837032 I am developing an appwidget that uses the RemoteViews to display a ListView. For simplicity's sake, I will give an analogy of the appwidget's functionality: 1. The user will select to add the appwidg

[android-developers] Column Freeze in table layout

2011-07-27 Thread Droid Dev
Hi, I have a requirement where in the left most column of table like display should be frozen(without any horizontal movement, but should have vertical movement). Rest of the table layout should move both in X and Y directions. COuld you please let me know as how this can be achieved. -- You rece

[android-developers] Custom drawable not showing

2011-07-27 Thread joe
The application that I'm working on requires me to extend drawable and then place this custom drawable inside an ImageView for displaying. I've simplified my code as much as possible but still I only get a black screen. The draw() method of my drawable class is: public void draw(Canvas ca

[android-developers] Emulator has Alzheimers (forgets who it is)

2011-07-27 Thread Clay Shannon
Hello Everyone, I've created my first ("Hello, World" type (actually, "Yeaux, Dudimus")) Android app. A lot of the stuff here I will probably later laugh at, but as I said, this is my very first attempt at an Android app (I'm pretty new to Java also, having come from the Delphi and then C# world

[android-developers] The emulator died when I execute ping in adb shell repeatly

2011-07-27 Thread nanhu
when I execute "ping -c 20 -i 0.2 -s 92 -W 1 www.google.com" in adb shell repeatly , after dozens of times , it can not execute , and I can not login another shell -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Add a Progress bar on an AlertDialog

2011-07-27 Thread Prashant Mahajan
Hello Everyone, I have made an AlertDialog display in my app. I want to show a progress bar on that AlertDialog. I am unable to put Progress Bar on that. If anybody have solution for this,please help. Thanks in advance. Regards, Prashant M. -- You received this message because you are subscrib

[android-developers] Live Wallpaper SurfaceHolder for Camera Preview

2011-07-27 Thread bThere
I have seen apps that use the Camera Preview as a Live Wallpaper Using the typical camera setup code using the surface holder callbacks of the Wallpaper Engine results in the camera complaining about "registerBuffers failed with status -38" I then set the type of the surface holder using setType(

[android-developers] Is the screensaver in source code Launcher?

2011-07-27 Thread leo luo
Hi all, I am trying to make my own screensaver, but the result is not that good. I want to read the screensaver source code. I guess the source code is in Launcher, but I did not found it. Anyone who know where the screensaver source code is , please share with me. How to develop a screensaver?

[android-developers] Extending Interface of Dynamically Loaded Dex File

2011-07-27 Thread Matthew Yeo
Hello, I have created an application that dynamically loads plugin style functionality using a DexClassLoader. My application is organized as follows: - Interface.jar, which defines the interfaces of the plugin classes. - Implementation.jar, which contains classes that implement the plugin inter

[android-developers] Sending a URI commanto a remote server and getting the response

2011-07-27 Thread Ankit Maheshwari
Hi, i wish to connect to remote server use and send a encrypted/plain URI and get the response back from the server . can any one please help me in achieving this . any help or code snippet will be realy helpful Thnx Ankit -- You received this message because you are subscribed to the Google Gro

[android-developers] Regarding User Authentication

2011-07-27 Thread rajesh nair
Members, I have developed an application using which I can view mjpeg stream being streamed from my camera, on my android phone. It works fine if a user authentication is not required. But fails when the server requires a user authentication. Following code is used to read the Mjpeg stream. //url

[android-developers] Reg accessing a server which requires user authentication

2011-07-27 Thread rajesh nair
Members, I have developed an application using which I can view mjpeg stream being streamed from my camera, on my android phone. It works fine if a user authentication is not required. But fails when the server requires a user authentication. Following code is used to read the Mjpeg stream. //url

[android-developers] Avoid recording alert tones

2011-07-27 Thread Pranav
hello, I'm developing a voice recorder application and I'm trying to pause the recording on incoming calls, messages or any other alerts and notifications to avoid recording them in my Activity. Is there a way I can handle them or listen to them? -- You received this message because you are s

[android-developers] Mifare Classic emulation using NFC on Android 2.3.4

2011-07-27 Thread Ankit Maheshwari
Hi , has anybody tried for the Mifare Card Emulation using NFC .??? i will be really grateful if anybody could helo me on this . Thanks Ankit -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Using Options Menu in a multi-Fragment Activity

2011-07-27 Thread Sam
I have a FragmentActivity which hosts a FragmentStatePagerAdapter. The pager contains multiple instances of the same fragment, in order that the user can swipe between the items in a list. I want to be able to provide the user with an options menu which will act only on the visible item. For examp

[android-developers] aapt problem!! /usr/lib/libz.so.1: no version information available

2011-07-27 Thread sim yang
android-sdk-linux_x86/platform-tools/aapt: /usr/lib/libz.so.1: no version information available (required by /home/android/android-sdk- linux_x86/platform-tools/aapt) I am a new beginner in android. I am using a 64 centos in vmware and eclipse . I have searched on the Internet, and havan't found

[android-developers] Package File is Invalid

2011-07-27 Thread Eric
I have a working app with a working debug APK file generated by Dreamweaver CS5.5 and PhoneGap. It runs perfectly on both the emulator and actual devices. The distribution apk file has an extension of .ap_ I have signed the file using jarsigner, and aligned it using zipalign. I have uploaded the

Re: [android-developers] Re: Windows 7, emulator, and orientation changes

2011-07-27 Thread Lee Fisher
I don't see a telnet option to change orientation. Is there a shell command (e.g., an am subcommand) that can do it? I can probably do it via a monkeyrunner script if needed. The status bar of the WP emu's GUI has 2 buttons for orientation switching, that's what you are supposd to use. http://

Re: [android-developers] Re: Windows 7, emulator, and orientation changes

2011-07-27 Thread Kostya Vasilyev
Try the 7/Home or 9/PgUp keys - if his laptop has those (not the "regular" Home key). Don't forget about the NumLock. -- Kostya 27.07.2011 20:55, Mark Murphy пишет: On Wed, Jul 27, 2011 at 12:49 PM, Jake Wharton wrote: I have a friend whose laptop has the alternate function enabled by defaul

Re: [android-developers] Re: Windows 7, emulator, and orientation changes

2011-07-27 Thread Kostya Vasilyev
The right control + F11 / F12 doesn't switch the orientation for me on a desktop computer either. So it seems to be how the emulator works. Right Ctrl + F11 still works as Run in Eclipse, so it's not my keyboard (not that I really need to stretch my hand that far). -- Kostya 27.07.2011 20:4

Re: [android-developers] Listview with image, text and checkbox

2011-07-27 Thread Simon Platten
In a nutshell as was said by the last poster, the listview re-uses the same objects over and over for those items on view. In your adapter you can have an array which contains the entire content but you should be very careful that you aren't storing to much in this array, for example don't att

  1   2   >