Re: [android-developers] Android findViewById() problem

2011-07-17 Thread TreKing
On Sat, Jul 16, 2011 at 11:40 AM, Árón aaronmulhal...@gmail.com wrote: I know I would usually use the code below but this is not working as the R.id.currency TextView is not in the main R.layout.date_list_layout What is the point of setting the text on a TextView that is not presently

Re: [android-developers] Expandable List with Progress Bar or Dialog

2011-07-17 Thread TreKing
On Sat, Jul 16, 2011 at 4:42 PM, Frito Lay cheezypoofs@gmail.comwrote: The groups are also loaded via HTTP request to a PHP service and I have a message dialog being displayed while loading the groups but cannot figure out a way to do it with the children Seems like pretty much the exact

Re: [android-developers] setting a textView in a ListView from a DialogBox. Frustrating....

2011-07-17 Thread TreKing
On Sat, Jul 16, 2011 at 12:55 AM, Chris Johnson cj1098sil...@gmail.comwrote: Currently my code will save the text and put it in a random View in the ListView. I do NOT want that... I want the text I save to go to a specific view and stay there.. anyone have any suggestions? First, when

Re: [android-developers] Re: How to lock current orientation at runtime?

2011-07-17 Thread Dianne Hackborn
Note that basically everything you do for dealing with a configuration change is *exactly* the same thing you need to do to correctly handle your app being killed in the background if the user has (temporarily) left its UI. Thus making sure you deal correctly with a config change is a really good

Re: [android-developers] Spinner usage

2011-07-17 Thread Simon Platten
Thank you, I've re-written the adapter and it now works. On 17/07/2011 6:56 AM, TreKing wrote: On Sat, Jul 16, 2011 at 8:56 AM, Simon Platten simonaplat...@googlemail.com mailto:simonaplat...@googlemail.com wrote: When I'm not making a selection the spinner shows as an empty box with

[android-developers] Re: Xoom external storage

2011-07-17 Thread b_t
Oh, thank you. I completely misunderstood it before. On júl. 16, 18:20, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 16, 2011 at 12:15 PM, b_t bartata...@gmail.com wrote: Can somebody explain something aboutXoom? I would like to getexternalsd path There is no such concept in

Re: [android-developers] Android SDK Courses

2011-07-17 Thread Saad Alghaidani
Thank you guys very very much, thank you Kristopher * * thank you rich* * thank you mark thank you every member in this group I owe you and am grateful to serve you wonderful okay Mark could you please give me books and links for your courses and don't skimp :) for any seminar or

[android-developers] Re: Opengl ES Texture working on Emulator but not on Device

2011-07-17 Thread Nightwolf
Try using bitmap with power of two dimensions or even square bitmap with power of two dimensions. Something like 64*64 or 128*128. On 16 июл, 19:00, odrya12 odr...@gmail.com wrote: I tried everything.. Source: Texture class: public class XAndroidTexture {         private int[] textures =

[android-developers] Android 3.2 Twitter support

2011-07-17 Thread Kostya Vasilyev
Discovered in the docs: http://developer.android.com/reference/android/os/IBinder.html#TWEET_TRANSACTION public static final int TWEET_TRANSACTION Since: API Level 13 IBinder protocol transaction code: send a tweet to the target object. The data in the parcel is intended to be

[android-developers] How to set focusable a LinearLayout in touch mode?

2011-07-17 Thread Goutom
Hi How to set focusable a LinearLayout in touch mode? I tried this: android:focusable=false android:clickable=true android:focusableInTouchMode=true also this: android:focusable=false android:clickable=false android:focusableInTouchMode=false But these dont work.What to do?

[android-developers] Spinner Adapter problem

2011-07-17 Thread Simon Platten
I have a spinner with a checkbox in it, here is the XML for the item: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=?android:attr/listPreferredItemHeight

[android-developers] Again TableLayout and setting column's weight programmatically

2011-07-17 Thread Петр Городничев
Hi All!! I need to create a schedule view like a grid with a WRAP_CONTENTed first 'Description' column and 24 'hour'-columns with the same width. This should be created programmatically. I've tried a different variants, but 'hour'-columns seem like a WRAP_CONTENTED too. :-( XML-part: ..

[android-developers] MediaPlayer - mp3 audio stream Nexus Devices vs others

2011-07-17 Thread Julius Spencer
Hi, I am using the following to stream mp3 or m4a files from a server: mMediaPlayer.setOnCompletionListener(MyActivity.this); mMediaPlayer.setOnPreparedListener(MyActivity.this); mMediaPlayer.setOnErrorListener(MyActivity.this);

[android-developers] How many threads android os can execute at a time in a application?

2011-07-17 Thread Goutom
Hi How many threads android os can execute at a time in a application? Thanks in advance. Regards Goutom -- 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

Re: [android-developers] Android findViewById() problem

2011-07-17 Thread Aaron Mulhall
It is being displayed. The second layout file is for a list item with multiple details for a ListView that is found in the first parent layout file For example the list item layout file is as follows.. ?xml version=1.0 encoding=utf-8? LinearLayout

[android-developers] Postdelayed don't work for more than 1 hour

2011-07-17 Thread arnouf
Hello, I implemented a Live Wallpaper displaying a picture. This pic can be changed automatically from 5 minutes to 24 hours. The change is applied for 5, 15, 30 minutes...but for a value higher than 1 hour, the call is not called. I use a simple postdelayed calling an internal method loading

[android-developers] Re: How many threads android os can execute at a time in a application?

2011-07-17 Thread arnouf
Using AsyncTask you can have some problem with 25 simultaneous task. After this, you can try to implement your own threadpool and make some tests. -- 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] Postdelayed don't work for more than 1 hour

2011-07-17 Thread Romain Guy
You should never use postDelayed() for such delays. Use the AlarmManager instead. On Sun, Jul 17, 2011 at 2:24 AM, arnouf arnaud.far...@gmail.com wrote: Hello, I implemented a Live Wallpaper displaying a picture. This pic can be changed automatically from 5 minutes to 24 hours. The change

[android-developers] Problem with Progress Dialog

2011-07-17 Thread Ajith Kamath
Hi I want to use Progress Dialog in my application with default style(Spin Wheel). I use setMax() to set the max value. Now when I do setProgress() in the Thread, it doesn't work. It doesn't stop when progress reaches MAX value. So after doing setProgress, I tried getProgress() again to see if

Re: [android-developers] Postdelayed don't work for more than 1 hour

2011-07-17 Thread arnouf
Yes I thought this, but I didn't know if in a wallpaper it was a good idea (working in a service)... So if you confirm that my strategy was bad, I change this soon. Thanks for your help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] clearing notification

2011-07-17 Thread kamiseq
hi, I ve searched for answer here but nothing seems to work as expected. I have a service that in onStartCommand sends notification, created as final Notification notification = new Notification(icon, notify_title, when); final Intent notificationIntent = new Intent(this, MyActivity.class);

[android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread kamiseq
are you creating this dialog every time you want to show it or are you try to set progress value on already created dialog?? On 17 Lip, 11:29, Ajith Kamath sjce.aj...@gmail.com wrote: Hi I want to use Progress Dialog in my application with default style(Spin Wheel). I use setMax() to set the

[android-developers] Re: Spinner Adapter problem

2011-07-17 Thread Simon Platten
Fixed, the problem was in my adapter: // Categories / Folders Adapter for Spinner View public class spAdapter extends BaseAdapter implements OnClickListener { private ArrayListString m_arySelItems; private LayoutInflater m_layoutInfater; private ArrayListString

Re: [android-developers] Postdelayed don't work for more than 1 hour

2011-07-17 Thread arnouf
But is it possible to send an information to a wallpaperservice from broadcastreceiver ? -- 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

[android-developers] How to retrieve a Wallpaperservice.Engine from broadcastreceiver

2011-07-17 Thread arnouf
I would like to know how can I do to retrieve my WallpaperService.Engine running from a BroadcastReceiver... Thanks by advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Horizontal List View

2011-07-17 Thread hegde
You can try gridview and if you have less number of elements you can manipulate number of columns in the grid view so that only one row is shown -Hegde On Jul 16, 5:03 am, bhasker reddy.ba...@gmail.com wrote: I am surprised that there is no Horizontal List View in Android. Tried using gallery

Re: [android-developers] Android findViewById() problem

2011-07-17 Thread rich friedel
I didn't go through your code (not able to atm) but are you trying to merge layouts and access the widget ids therein? If so, you should check out this: http://developer.android.com/resources/articles/layout-tricks-merge.html -- You received this message because you are subscribed to the

[android-developers] error: device not found suddenly...

2011-07-17 Thread rich friedel
Did inserting the SIM card reset the USB debugging to disabled? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: How to retrieve a Wallpaperservice.Engine from broadcastreceiver

2011-07-17 Thread arnouf
Ok I found a solution using an internal Broadcastreceiver class -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Getting a contact name given its phone number

2011-07-17 Thread Ali Chousein
Why are you working with content://com.android.contacts/ phone_lookup, content://contacts/phones/filter etc? Use ContactsContract instead, which is supported since API level 5. Otherwise you are not writing a code which is guaranteed to work. -- Ali Chousein Geo-Filtered Assistant

Re: [android-developers] latitude and longitude Problem

2011-07-17 Thread Ankit Kasliwal
I just simply wants my current location.in real time like i press some login button and fetch my location On Sun, Jul 17, 2011 at 10:49 AM, TreKing treking...@gmail.com wrote: On Sat, Jul 16, 2011 at 2:39 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: i try the below code but it

[android-developers] Checkbox bug?

2011-07-17 Thread Simon Platten
Whilst building a layout I think I've found a bugin a relative layout: CheckBox android:text=File-name android:layout_width=fill_parent android:layout_height=wrap_content android:layout_gravity=left android:id=@+id/chkUse

[android-developers] Re: Android SDK Courses

2011-07-17 Thread cellurl
There is a video on: http://www.udemy.com/ On Jul 16, 1:15 am, Saad Alghaidani adebofi...@gmail.com wrote: Hello Guys, i just joined the group today , and i am very interesting in android development, so  Could you please help me how can i take Course in Andriod SDK  for junior?  and

[android-developers] How long is a paid app considered refundable?

2011-07-17 Thread Jim Graham
I seem to recall seeing this mentioned, either in the dev guide or somewhere else, but I have no idea where it was How long is a paid app, with an accompanying free app, considered refundable? If I remember correctly, with a free app, the paid app is not refundable. Is this correct? Or is

Re: [android-developers] How long is a paid app considered refundable?

2011-07-17 Thread Simon Platten
24 hrs I believe. On 17/07/2011 2:54 PM, Jim Graham wrote: I seem to recall seeing this mentioned, either in the dev guide or somewhere else, but I have no idea where it was How long is a paid app, with an accompanying free app, considered refundable? If I remember correctly, with a free

Re: [android-developers] How long is a paid app considered refundable?

2011-07-17 Thread Kostya Vasilyev
Wait, wasn't it changed to 15 minutes some time in December 2010? Oh, and the free app doesn't come into play here at all - the free and paid apps are entirely separate entities, Market doesn't know that those are two versions of the same application. -- Kostya 17.07.2011 17:58, Simon

Re: [android-developers] How long is a paid app considered refundable?

2011-07-17 Thread Jim Graham
On Sun, Jul 17, 2011 at 06:04:54PM +0400, Kostya Vasilyev wrote: Oh, and the free app doesn't come into play here at all - the free and paid apps are entirely separate entities, Market doesn't know that those are two versions of the same application. Ok, that confirms the other possibility I

Re: [android-developers] How long is a paid app considered refundable?

2011-07-17 Thread Mark Carter
On a related note, a paid app is dev-refundable forever which makes me a little nervous... Suppose your Google Account was compromised. The hacker could then go through refunding all of your sales, if they were so inclined. -- You received this message because you are subscribed to the Google

[android-developers] Re: error: device not found suddenly...

2011-07-17 Thread wan
Hi Rich, It did not reset.. and i have double check enabled, disabled, enabled it again... On Jul 17, 7:14 pm, rich friedel rich.frie...@gmail.com wrote: Did inserting the SIM card reset the USB debugging to disabled? -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Install % not updating?

2011-07-17 Thread Kostya Vasilyev
Ok, my turn to be affected. Now when I log into the Checkout order list, I get this: Error Purchase History Error Oops! An error occurred while retrieving data for your request. Please try again. If the error persists, please contact Google. That's a nice one. -- Kostya 16.07.2011 23:09,

Re: [android-developers] Android SDK Courses

2011-07-17 Thread zameer mohammed
Hey , I am android professional since one and half years, I can teach you. But you need to pay fee for it.. On Sat, Jul 16, 2011 at 11:45 AM, Saad Alghaidani adebofi...@gmail.comwrote: Hello Guys, i just joined the group today , and i am very interesting in android development, so

[android-developers] Re: error: device not found suddenly...

2011-07-17 Thread rich friedel
Make sure you are not trying to use an unusable run configuration. Make sure it isn't trying to use the old SIM id. -- 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

[android-developers] Context menu problem

2011-07-17 Thread saurabh kulkarni
Context Menu is returning me object how should I get text view(Name) which was their in list? HomeActivity is ListView like Name Date --- public void onCreateContextMenu(ContextMenu menu,View

[android-developers] Context menu problem

2011-07-17 Thread saurabh kulkarni
Context Menu is returning me object how should I get text view(Name) which was their in list? HomeActivity is ListView like Name Date --- public void onCreateContextMenu(ContextMenu menu,View

[android-developers] Linkify combined with Html.fromHtml

2011-07-17 Thread Julius Spencer
Hi, I have a String with 'a href=...Something/a' tags and some text such as 'www.example.com'. I would like both to be links that can be clicked in a TextView. I can use Html.fromHtml to create links from the tags, but if I use Linkify.addLinks I lose the links created from the

[android-developers] Low Maturity or Everyone - Which reaches the most people?

2011-07-17 Thread Droid
Low Maturity or Everyone - Which reaches the most people? I feel many are putting Low Maturity which imo means for children? But their apps are in fact for everyone. I don't understand. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] latitude and longitude Problem

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 7:34 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: I just simply wants my current location.in real time like i press some login button and fetch my location Then wait for an update instead of getting and immediately using the last known location.

Re: [android-developers] Android findViewById() problem

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 4:12 AM, Aaron Mulhall aaronmulhal...@gmail.comwrote: But my problem is that there is one more TextView that is found within each list item that needs to be filled from an input from the user and not the database Then you'll likely need your own adapter, perhaps

[android-developers] Invoking clickable call-back?

2011-07-17 Thread Simon Platten
I have a checkbox that has an onClick listener function attached, when my application starts up I read in the settings and set-up the initial state of the controls, is there anyway to get the views (in this case a checkbox) to invoke its onClick call-back when a value is assigned to it? --

Re: [android-developers] Low Maturity or Everyone - Which reaches the most people?

2011-07-17 Thread Nikolay Elenkov
On Mon, Jul 18, 2011 at 1:24 AM, Droid rod...@gmail.com wrote: Low Maturity or Everyone - Which reaches the most people? I feel many are putting Low Maturity which imo means for children? But their apps are in fact for everyone. I don't understand. If you use location, you need to set it to

Re: [android-developers] Re: Install % not updating?

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 9:42 AM, Kostya Vasilyev kmans...@gmail.com wrote: Ok, my turn to be affected. Now when I log into the Checkout order list, I get this: Error Purchase HistoryError Oops! An error occurred while retrieving data for your request. Please try again. If the error

Re: [android-developers] Invoking clickable call-back?

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 11:32 AM, Simon Platten simonaplat...@googlemail.com wrote: I have a checkbox that has an onClick listener function attached, when my application starts up I read in the settings and set-up the initial state of the controls, is there anyway to get the views (in this

[android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread Mike
spin wheel you can't set the progress...it is on of off. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread rambabu mareedu
you have to setCancelable(true); end of the progess dialog .. On Sun, Jul 17, 2011 at 10:15 AM, Mike darksk...@gmail.com wrote: spin wheel you can't set the progress...it is on of off. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] השב: Re: Opengl ES Texture working on Emulator but not on Device

2011-07-17 Thread odrya12
there is a way to change the image to power of 2? and thanks, it working perfect! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] latitude and longitude Problem

2011-07-17 Thread Ankit Kasliwal
Ok Thanks On Sun, Jul 17, 2011 at 9:57 PM, TreKing treking...@gmail.com wrote: On Sun, Jul 17, 2011 at 7:34 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: I just simply wants my current location.in real time like i press some login button and fetch my location Then wait for

Re: [android-developers] Re: Install % not updating?

2011-07-17 Thread Kostya Vasilyev
Yeah, I know, and contacting Checkout is _especially_ easy: - checkout-supp...@google.com gives an auto-response saying don't write here, we don't read it - help forums posts are often closed by Google employees with please read the help pages - contact us screens require choosing one of a

Re: [android-developers] Invoking clickable call-back?

2011-07-17 Thread Simon Platten
I have already checked the documentation. Perhaps I didn't make myself clear. In my activity onCreate method: m_chkShowAll = (CheckBox)findViewById(R.id.chkShowAll); m_chkShowAll.setOnClickListener(new OnClickListener() { @Override public

Re: [android-developers] Re: Install % not updating?

2011-07-17 Thread Adam Ratana
Yes, attempting to file a bug report on this was one of the more frustrating experiences I've had, I had to just pick some random thing tangentially related, which got me a canned response. But I replied to the canned response and a human replied indicating that the developers have been made

Re: [android-developers] Invoking clickable call-back?

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 12:23 PM, Simon Platten simonaplat...@googlemail.com wrote: I have already checked the documentation. http://developer.android.com/reference/android/widget/CompoundButton.html#setOnCheckedChangeListener(android.widget.CompoundButton.OnCheckedChangeListener)

Re: [android-developers] Re: Install % not updating?

2011-07-17 Thread Kostya Vasilyev
17.07.2011 21:40, Adam Ratana пишет: Yes, attempting to file a bug report on this was one of the more frustrating experiences I've had, I had to just pick some random thing tangentially related, which got me a canned response. But I replied to the canned response and a human replied

Re: [android-developers] Invoking clickable call-back?

2011-07-17 Thread Kostya Vasilyev
17.07.2011 21:23, Simon Platten пишет: The listener is not invoked when using setChecked, only when the user touches the checkbox. What I want is to invoke the listener when I set the state of the checkbox programmatically. The listener will be invoked if the new state is different from

Re: [android-developers] Invoking clickable call-back?

2011-07-17 Thread Simon Platten
Thank you, I've tried it and it works: m_chkShowAll = (CheckBox)findViewById(R.id.chkShowAll); m_chkShowAll.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView,

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

2011-07-17 Thread dan raaka
can you provide the build fingerprint of the device you are testing and being able to reproduce ? Also code snippet will be helpful ... -Dan On Sat, Jul 16, 2011 at 9:53 PM, Daniel daniel.ge.sm...@gmail.com wrote: I have been getting reports of S2 crashes too... and based on this thread, and

Re: [android-developers] How many threads android os can execute at a time in a application?

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 4:01 AM, Goutom goutom.sust@gmail.com wrote: How many threads android os can execute at a time in a application? It should be fairly straightforward to write some code to test this.

[android-developers] Yet another paid app question: Licensing code

2011-07-17 Thread Jim Graham
I have what I hope will be the final question on this topic for a while Looking at the instructions in the dev guide on Application Licensing, I'm still not clear on one thing. Specifically, after installing the library code from the Market Licensing Library, if I'm understanding correctly,

Re: [android-developers] Send dtmf tone on uplink

2011-07-17 Thread Fred Niggle
I'd like to add my voice to this topic also, as I have several devices which are DTMF enables (relays) and being able to use an app to send the tones would be extremely helpful, having to drive 25 miles to open and close greenhouse windows is a major chore and while I have the temp and humidity

[android-developers] Can I sell hardware+app together on Android Market?

2011-07-17 Thread cellurl
I want to sell a companion piece of hardware with my app. Can anyone point me to where this is OK, not-OK in the terms. I need facts only please. Thanks -cellurl -- 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 sell hardware+app together on Android Market?

2011-07-17 Thread Chrystian Vieyra
The android market is for selling software, not software and hardware. How would you handle special refunds? It seems that the best approach to your app would be to contact Google and see if they can give you a special android market contract or you can try to sell your app on a different

[android-developers] Re: Can I sell hardware+app together on Android Market?

2011-07-17 Thread nemik
Might be best to sell the hardware on your own online store and through other sites willing to sell it. Then release the app for free and make it work only with the hardware. You could also give each HW device a serial number and that number has to be entered when starting the app to register it

Re: [android-developers] Android SDK Courses

2011-07-17 Thread Saad Alghaidani
dear zameer, no problem give me the titles of your course and price -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Can I sell hardware+app together on Android Market?

2011-07-17 Thread cellurl
I don't see where it is prohibited here: http://www.android.com/us/developer-distribution-agreement.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

Re: [android-developers] Android findViewById() problem

2011-07-17 Thread Aaron Mulhall
@rich friedel I dont think the merge will work for me. Like this tutorialhttp://codehenge.net/blog/2011/05/customizing-android-listview-item-layout/Im trying to customize the list Items(1 item for each row) and display the list of all items from a database table with 5 variables(5 cols). This is

[android-developers] Re: Can I sell hardware+app together on Android Market?

2011-07-17 Thread nemik
Even if it's not, purchases from the Android store don't ask for shipping address, postage options/prices, etc. It's just not set up for physical goods and even if you somehow got it working, I bet it would be a very painful process for both you and your customers. On Jul 17, 6:12 pm, cellurl

Re: [android-developers] Android findViewById() problem

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 6:24 PM, Aaron Mulhall aaronmulhal...@gmail.comwrote: I was thinking I might need to do something like that but didn't know where to start. As I'm a complete newbie I still haven't got my head around The SimpleCursorAdapter. Any suggestions on how would I go about

[android-developers] Re: Yet another paid app question: Licensing code

2011-07-17 Thread Jim Graham
On Sun, Jul 17, 2011 at 02:01:47PM -0500, Jim Graham wrote: I have what I hope will be the final question on this topic for a while Looking at the instructions in the dev guide on Application Licensing, I'm still not clear on one thing. Specifically, after installing the library code

[android-developers] Drawing To And Then Re-Using A Bitmap In A Map Overlay

2011-07-17 Thread hoyski
Below is a generalized version of the map overlay class of an application I'm developing. The feature I'm trying to highlight is that the class does all of its drawing to a bitmap and then re-renders the bitmap when requested to draw the overlay onto a map that hasn't moved. There are more details

Re: [android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread Ajith Kamath
Hi Thanks for the all the suggestions. @kamiseq : I create a new Progress Dialog in my Activity and trying to set its progress from a thread spawned in this activity. In the thread I'm doing some work and then setting its progress. @Mike: Even I'm thinking of the same. Is there any way to

Re: [android-developers] clearing notification

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 4:39 AM, kamiseq kami...@gmail.com wrote: and this is fine but in onDestroy I try to clear that notification, I thought that mNotificationManager.clear(SERVICE_STARTED_NOTIFICATION_ID) would be enough but it wasnt. Are you sure onDestroy is being called? And it should

[android-developers] Regarding Wifi in android

2011-07-17 Thread Sohan badaya
Hi All, I want to develop an android app that is based on Wifi. App should always be active to receive wifi signal. From my research I have come to know that I have to use WifiManager.WifiLock class. But this will consume battery a lot. Please let me know that is it only the way to get wifi

[android-developers] SharedPreferences update issue

2011-07-17 Thread mark2011
Dear All : I had use getSharedPreferences, edit, putString commit to save the setting in activity A successfully. I start another Activity B from Activity A. I can display the setting on the Activity A. I also use the same command to update the setting on the Activity B (

Re: [android-developers] SharedPreferences update issue

2011-07-17 Thread TreKing
On Sun, Jul 17, 2011 at 10:45 PM, mark2011 androidmark2...@gmail.comwrote: What's wrong ? Can anyone help me? Without the actual relevant code to look at, I'm not sure how much help you're going to get.

[android-developers] Getting Transformer factory exception in android 2.1

2011-07-17 Thread HariRam
Thanks for previous replies. I am using xml parser for android 2.1 version, whenever i compile the application i am getting transformer factory exception, i searched this issue in google, they mentioned that android 2.1 version never support transformer factory

[android-developers] Re: Again TableLayout and setting column's weight programmatically

2011-07-17 Thread Cryogenic
Isn't there anyone can help me? :-( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Fwd: image view listener

2011-07-17 Thread arun kumar
thank you for reply while changing that code am getting application force close. On Sat, Jul 16, 2011 at 2:49 PM, gaurav gupta gaurav.gupta...@gmail.comwrote: Hi Arun, Add this line in ur program if (((ImageView) v).isClickable()) {

[android-developers] Start Intent

2011-07-17 Thread kypriakos
HI all, from an activity class A I start another activity process (class B belongin to the same package) using the following: Intent intent = new Intent(); intent.setClass(myContext, org.myClass.ServiceImpl.class); intent.setFlags(intent.FLAG_ACTIVITY_NEW_TASK);

Re: [android-developers] Fwd: image view listener

2011-07-17 Thread gaurav gupta
Hi Arun, it should to work. i dont know the full flow of your code. if u will send ur code, then i can help you.its not a big issue,its simplest program. On Mon, Jul 18, 2011 at 11:06 AM, arun kumar arun.kata...@gmail.com wrote: thank you for reply while changing that code am getting