Re: [android-developers] Lack of clicking in ListView

2011-07-10 Thread krishna kumar
Hi please help me... how to hung up call in 2.3 i have done call blockbut not working hung up function any body please help me.. it's urgent thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: wireless screenshots

2011-07-10 Thread Gerhard
You an use adbwireless On 9 Jul., 23:57, bob b...@coolgroups.com wrote: How do you take screenshots of an app when your phone isn't connected to your PC? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: wireless screenshots

2011-07-10 Thread Raghav Sood
I actually use screenhotit. Works on a good amount of phones without rooting. On Sun, Jul 10, 2011 at 12:00 PM, Gerhard gscha...@gmail.com wrote: You an use adbwireless On 9 Jul., 23:57, bob b...@coolgroups.com wrote: How do you take screenshots of an app when your phone isn't connected

[android-developers] Re: Localization

2011-07-10 Thread Ali Chousein
Just quick thinking, I've not implemented localization so far, maybe there is a better way to do it, but define a localization class, subclass it with the languages you want to support, when you change the language create an instance of the correct subclass (for the desired language). Your

[android-developers] Re: Localization

2011-07-10 Thread mot12
What do you mean with closing the app? Maybe you mean you want to avoid restarting an activity? That can be done. You just have to load the layout again after changing the locale so the layout is loaded with a new set of resources. You can find source code examples on Google for this. If you can't

[android-developers] Re: Localization

2011-07-10 Thread Ali Chousein
. load the layout again after changing the locale Martin, good information man. Although I didn't ask the original question, thank you. If I ever support localization I'll keep this in my mind. -- Ali Chousein Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com/

[android-developers] service icon

2011-07-10 Thread kamiseq
it is maybe stupid question but I dont really get it from documentation android:icon An icon representing the service. This attribute must be set as a reference to a drawable resource containing the image definition. If it is not set, the icon specified for the application as a whole is used

[android-developers] Re: Proguard with external library

2011-07-10 Thread b0b
Review the proguard warnings in the console and If you think they won't cause problems try adding -ignorewarnings in your proguard.cfg On Jul 8, 4:32 pm, Albert albert8...@googlemail.com wrote: Hi, I am trying to use proguard when exporting the build but it's failing on Proguard returned with

Re: [android-developers] service icon

2011-07-10 Thread Marcin Orlowski
On 10 July 2011 13:59, kamiseq kami...@gmail.com wrote: I added an icon to my service but is not visible or at least I cannot find it :/ can someone give my example where I could use it I believe it shall appear at system settings - applications - running services. But I'd suggest to leave

[android-developers] ListView with CheckBox

2011-07-10 Thread Robin
Dear All, I have a ListActivity and i populated the listview. My Listview consists of checkbox, two textviews. Initially i had to make invisible my check box which i did. On Menu Button i have edit, which when clicked i should enable the check box. How would i perform such? My demo application is

[android-developers] Aw: Lack of clicking in ListView

2011-07-10 Thread anaran
Am Sonntag, 10. Juli 2011 07:15:32 UTC+2 schrieb arudzki: All, I'm writing an app that has 3 tabs and a ListView as its first screen. Here is a portion of the class that sets up the 3 tabs with icons and then creates an intent for the MyList.class that is my ListView class. This

[android-developers] web view

2011-07-10 Thread Ahmed Shoeib
hi , now i have a web view wv.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) {

[android-developers] Re: Localization

2011-07-10 Thread Ahmed Shoeib
using this code Locale locale = new Locale(ar); Locale.setDefault(locale); Configuration config = new Configuration(); config.locale = locale;

[android-developers] R: How to know if screen is locked

2011-07-10 Thread Federico Pelloni
Anybody? -- 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 more options,

[android-developers] Android partially destroying an app?

2011-07-10 Thread nadam
In a low memory situation Android can shut down apps and has some logic to prioritize which apps to shut down first. I have read some comments that Android can also partially destroy an app by destroying Activities that are not currently used. Since I haven't found any documentation about this, I

Re: [android-developers] Android partially destroying an app?

2011-07-10 Thread Kostya Vasilyev
The docs says this: http://developer.android.com/guide/topics/fundamentals/activities.html#Lifecycle If an activity is paused or stopped, the system can drop it from memory either by asking it to finish (calling its |finish()| method), or simply killing its process. IIRC, the emulator has

Re: [android-developers] Android partially destroying an app?

2011-07-10 Thread Mark Murphy
On Sun, Jul 10, 2011 at 11:47 AM, Kostya Vasilyev kmans...@gmail.com wrote: IIRC, the emulator has a setting / button somewhere to trigger the destruction of unused activities without killing the process, so there is a way to test this case. IIRC, that setting is in the Dev Tools app. --

[android-developers] Re: ListView with CheckBox

2011-07-10 Thread NikolaMKD
You are trying to say you want to hide the checkbox on previously clicked item and then show it on the currently clicked item? You can edit it with the getView() method or do something like this private class UI extends AsyncTask View, String, View { public View viewItem=null;

[android-developers] Re: ListView with CheckBox

2011-07-10 Thread NikolaMKD
Sorry, I forgot to say how you call this implementation.. listView.setOnItemClickListener(new OnItemClickListener(){ @Override public void onItemClick(AdapterView? parent, View viewItem, int position, long arg3) throws NullPointerException{ new

[android-developers] Android Marketplace Search Results

2011-07-10 Thread Chris
Since around 1st July I have noticed the search results on a device are a bit strange. The same search on the device and the website return very different results. Anyone else spotted this ? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Listview help...

2011-07-10 Thread Simon Platten
I've been working on a listview for while now. Each of my items in the list has a checkbox, an image and two buttons. It works like a gallery and enables the user to preview images in my application, the buttons allow the user to rotate the image in the listview by 90 degrees, clockwise or

Re: [android-developers] Android partially destroying an app?

2011-07-10 Thread Dianne Hackborn
It will only destroy activities if you have a large number of them on your stack. In practice, I think most apps will hit an out of memory error on their local heap before encountering this (and don't have significantly deep stacks), so are unlikely to encounter it. On Sun, Jul 10, 2011 at 8:17

Re: [android-developers] Closing AppWidget when force closing an application

2011-07-10 Thread Dianne Hackborn
If that causes your app widget to break, there is probably something wrong with your implementation. App widgets by design don't rely on their app running all of the time. When the user interacts with the app widget, this should be through an Intent being sent to an app component that will cause

Re: [android-developers] Listview help...

2011-07-10 Thread Mark Murphy
On Sun, Jul 10, 2011 at 2:04 PM, Simon Platten simonaplat...@googlemail.com wrote: I've been working on a listview for while now.  Each of my items in the list has a checkbox, an image and two buttons.  It works like a gallery and enables the user to preview images in my application, the

Re: [android-developers] Listview help...

2011-07-10 Thread Simon Platten
Obviously I'm missing something, it seems to me that the list view doesn't work off the actual array but takes copies of the data when the getView is called, when these are edited the differences are lost when the item goes off view. I've tried modifying the getView to reference the array

Re: [android-developers] Android Marketplace Search Results

2011-07-10 Thread TreKing
On Sun, Jul 10, 2011 at 1:03 PM, Chris chris.fou...@gmail.com wrote: Anyone else spotted this ? Yup. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for

Re: [android-developers] Listview help...

2011-07-10 Thread Mark Murphy
On Sun, Jul 10, 2011 at 2:29 PM, Simon Platten simonaplat...@googlemail.com wrote: Obviously I'm missing something, it seems to me that the list view doesn't work off the actual array but takes copies of the data when the getView is called, when these are edited the differences are lost when

Re: [android-developers] Listview help...

2011-07-10 Thread Kostya Vasilyev
No, there isn't any copying of data, and no editing as such in ListView. The adapter has a method to return a view for a particular item position, and that's it. It's the responsibility of this method to make sure that the data is presented in consistent way. If you are using ArrayAdapter,

Re: [android-developers] R: How to know if screen is locked

2011-07-10 Thread Dianne Hackborn
Did you try this? http://developer.android.com/reference/android/app/KeyguardManager.html#inKeyguardRestrictedInputMode() On Sun, Jul 10, 2011 at 8:03 AM, Federico Pelloni federico.pell...@gmail.com wrote: Anybody? -- You received this message because you are subscribed to the Google

Re: [android-developers] Listview help...

2011-07-10 Thread Simon Platten
I'm trying to do this in such a way that I don't have to replicate code...what ideally I would like is when I press either of the rotate buttons, it invalidates the image causing it to be re-rendered and rotated, so far the only way I've been able to get the rotation to work is to get the

Re: [android-developers] Listview help...

2011-07-10 Thread Simon Platten
BTW, Just ordered your book on Amazon! On Sun, Jul 10, 2011 at 8:39 PM, Simon Platten simonaplat...@googlemail.com wrote: I'm trying to do this in such a way that I don't have to replicate code...what ideally I would like is when I press either of the rotate buttons, it invalidates the image

Re: [android-developers] Listview help...

2011-07-10 Thread Kostya Vasilyev
Are you aware that ImageView lets you apply a matrix to the image? http://developer.android.com/reference/android/widget/ImageView.html#setImageMatrix(android.graphics.Matrix) -- Kostya 10.07.2011 23:39, Simon Platten пишет: so far the only way I've been able to get the rotation to work is to

Re: [android-developers] Listview help...

2011-07-10 Thread Simon Platten
No, Thank you, I was doing this: Matrix mtx = new Matrix(); mtx.setRotate(intAngle, bmpScaled.getWidth() / 2, bmpScaled.getHeight() / 2); bmpFinal = Bitmap.createBitmap(bmpScaled,

Re: [android-developers] R: How to know if screen is locked

2011-07-10 Thread Federico Pelloni
Thank you very much, together with ACTION_SCREEN_ON it works perfectly. -- 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] How can I change my google account email address?

2011-07-10 Thread sblantipodi
How can I change my google account email address? how can I change the primary email address? thanks. -- 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: Lack of clicking in ListView

2011-07-10 Thread droidGUI
Use try/catch blocks with Log.e(String, String, e) and verify if have any Error, and post here :) On 10 jul, 09:21, anaran adrian.aich...@googlemail.com wrote: Am Sonntag, 10. Juli 2011 07:15:32 UTC+2 schrieb arudzki: All, I'm writing an app that has 3 tabs and a ListView as its first

[android-developers] Re: service icon

2011-07-10 Thread kamiseq
ok, I was just curious cos I was looking for a way to launch service when user clicks on launch icon but I think I have to launch activity and then launch service from it and then finish the activity. On 10 Lip, 14:17, Marcin Orlowski webnet.andr...@gmail.com wrote: On 10 July 2011 13:59,

Re: [android-developers] Re: service icon

2011-07-10 Thread Mark Murphy
On Sun, Jul 10, 2011 at 5:28 PM, kamiseq kami...@gmail.com wrote: ok, I was just curious cos I was looking for a way to launch service when user clicks on launch icon but I think I have to launch activity and then launch service from it and then finish the activity. Do not have a service that

[android-developers] Re: Locations using Google Maps

2011-07-10 Thread Cindy
Haha alright sounds good. Thanks Mark and TreKing :) On Jul 8, 5:02 am, Mark Murphy mmur...@commonsware.com wrote: You need to have geographic coordinates for your eye doctors. The Google Maps add-on for Android does not have a showEyeDoctors() method. :-) On Thu, Jul 7, 2011 at

[android-developers] Re: How can I change my google account email address?

2011-07-10 Thread sblantipodi
I don't care if I can't change the primary email address of my google account, but how to change the email account in use for android market? On Jul 10, 10:06 pm, sblantipodi perini.dav...@dpsoftware.org wrote: How can I change my google account email address? how can I change the primary email

[android-developers] Re: Installing APK + DB

2011-07-10 Thread hectordu...@yahoo.com
hey guys, i am getting problems, again, with the DB; it happens when the DB size is great than 1MB. i have my DB in the assets folder and first time is copied to the data/ data/APPL/databases directory. i wonder if the 1MB restriction for the assets folder is still an application constraint ? i

[android-developers] Re: Installing APK + DB

2011-07-10 Thread hectordu...@yahoo.com
hey guys, i am getting problems, again, with the DB; it happens when the DB size is great than 1MB. i have my DB in the assets folder and first time is copied to the data/ data/APPL/databases directory. i wonder if the 1MB restriction for the assets folder is still an application constraint ? i

[android-developers] TextWatcher in inherited SimpleAdapter

2011-07-10 Thread Manish Garg
Hi All, In my code, I was using following code for textwatcher private TextWatcher filterTextWatcher = new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count,int after) { } @Override

[android-developers] Can I call a web service to get some data return the screen to the android?

2011-07-10 Thread mark2011
Dear All : Can I call a web service to get some data return the screen to the android? Actually, I want to get some data on the remote web server from the android phone return back the android platform. How can I do it? Thanks. BR, Mark -- You received this message because you are

[android-developers] Help! How can I add a fake keyevent to the Android Input System in native code(c/c++, but not in java calling IWindowManager.injectKeyEvent) without modifying kernel?

2011-07-10 Thread fei wang
How can I add a fake keyevent to the Android Input System in native code(c/c++, but not in java calling IWindowManager.injectKeyEvent) without modifying kernel? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Can I call a web service to get some data return the screen to the android?

2011-07-10 Thread Streets Of Boston
Yes, you can do that. Parts needed: Web Server On Phone: HTTP (DefaultHttpClient, AndroidHttpClient, etc) XML/JSON parser. Simple: AsyncTask doing the fetching of the data. More difficult, but preferable at times: (Intent)Services fetching the data. Activities to show the data. -- You

Re: [android-developers] Re: Can I call a web service to get some data return the screen to the android?

2011-07-10 Thread wu mark
Dear : Thanks for your quickly answer. Since I'm new to android. Could you give me some example to help me? Thanks. BR, Mark 2011/7/11 Streets Of Boston flyingdutc...@gmail.com Yes, you can do that. Parts needed: Web Server On Phone: HTTP (DefaultHttpClient, AndroidHttpClient, etc)

[android-developers] Re: NFC card emulation, NXP PN544 and S2C (NFC-WI)

2011-07-10 Thread petr.maza...@mautilus.com
Hi, Many thanks for the answers! Let's continue the discussion, but please be patient with me - I still do not understand what/how should be done in order to use the SD card with the secure element and how to connect it via S2C, so let's start with basics: The SD card has normally 8 pins and

Re: [android-developers] Can I call a web service to get some data return the screen to the android?

2011-07-10 Thread tushar sahni
yeah On Jul 11, 2011 7:16 AM, mark2011 androidmark2...@gmail.com wrote: Dear All : Can I call a web service to get some data return the screen to the android? Actually, I want to get some data on the remote web server from the android phone return back the android platform. How can I do

Re: [android-developers] Re: How can I change my google account email address?

2011-07-10 Thread TreKing
On Sun, Jul 10, 2011 at 7:05 PM, sblantipodi perini.dav...@dpsoftware.orgwrote: I don't care if I can't change the primary email address of my google account, but how to change the email account in use for android market?

Re: [android-developers] Re: Installing APK + DB

2011-07-10 Thread Nikolay Elenkov
On Mon, Jul 11, 2011 at 9:29 AM, hectordu...@yahoo.com hectordu...@yahoo.com wrote: hey guys, i am getting problems, again, with the DB; it happens when the DB size is great than 1MB. You have to split your data into 1MB chunks and merge those when copying the database. At some point (soon?)

[android-developers] textview auto scroll

2011-07-10 Thread bob
How do you make a TextView always auto-scroll to the bottom? -- 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] how to compare web service date to calendar date in android ?

2011-07-10 Thread vijayakumar M
Hi Freinds, Please Help me... how to compare web service date to calendar date in android ? then i want highlight that particular date in calendar. any one please help me Thanks M VIJAYAKUMAR -- Nobody can go back and start a new beginning, but anyone can start today and make a new

[android-developers] Loading an array of strings into a ListView

2011-07-10 Thread Jim Graham
I'm trying to load a String[] array into a ListView. Based on examples I've seen, I *THINK* this (below) is how to do it...but I'm far from certain. // This part I'm familiar with String[] nameList = getResources().getStringArray(R.array.Grains_Names); // The rest of this is new ground for

Re: [android-developers] Loading an array of strings into a ListView

2011-07-10 Thread Kumar Bibek
http://www.androidpeople.com/android-listview-example A simple example. You are pretty close though :) *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Mon, Jul 11, 2011 at 9:36 AM, Jim Graham spooky1...@gmail.com wrote: I'm trying to load a

Re: [android-developers] Loading an array of strings into a ListView

2011-07-10 Thread Jim Graham
On Mon, Jul 11, 2011 at 09:42:33AM +0530, Kumar Bibek wrote: http://www.androidpeople.com/android-listview-example A simple example. You are pretty close though :) Thanks. I'll look at it. Might be back with more questions in the morning...but not tonight...brain is about to quit for the

Re: [android-developers] Can I call a web service to get some data return the screen to the android?

2011-07-10 Thread wu mark
Dear Tushar : Could you provide some example? Thanks. BR, Mark 2011/7/11 tushar sahni tusharsahn...@gmail.com yeah On Jul 11, 2011 7:16 AM, mark2011 androidmark2...@gmail.com wrote: Dear All : Can I call a web service to get some data return the screen to the android?

Re: [android-developers] Can I call a web service to get some data return the screen to the android?

2011-07-10 Thread vijayakumar M
check this one http://iamvijayakumar.blogspot.com/2011/03/android-webservice-with.html On Mon, Jul 11, 2011 at 10:47 AM, wu mark androidmark2...@gmail.com wrote: Dear Tushar : Could you provide some example? Thanks. BR, Mark 2011/7/11 tushar sahni tusharsahn...@gmail.com yeah