[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
> There's not a default number of views created for an adapter. A list > creates as many views as it needs to fill the screen. Views get reused > only when you start scrolling or when the adapter send a > notifyDatasetChanged(). You say you have a thread updating the data, > what is exactly that t

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Delta Foxtrot
2009/6/27 Disconnect > > Thats not an adp build. (You should read the actual release > announcements: > http://andblogs.net/2009/02/new-adp1-update-official-with-google-voice-and-more/ > note the updates, they are important) > That's either a rebuild of the holiday image put out by google or a m

[android-developers] Is there any way to use Luke's multitouch application in the Emulator?

2009-06-26 Thread quill
I want to write a multitouch application based on Luke' method. It seems a little expensive to buy a gphone:) I think maybe there's a way to simulate multitouch events through notebook. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Disconnect
Thats not an adp build. (You should read the actual release announcements: http://andblogs.net/2009/02/new-adp1-update-official-with-google-voice-and-more/ note the updates, they are important) On Fri, Jun 26, 2009 at 11:37 PM, Delta Foxtrot wrote: > 2009/6/27 Disconnect >> >> No adp1 firmware

[android-developers] Re: How to add Google Maps library, Maps to the Android 1.5 version device?

2009-06-26 Thread Delta Foxtrot
2009/6/26 Elvis > > Hi all > > I've pushed 3 files to the required path, but Maps is still invisible. > > Anyone has idea what's going on with this? > > ps. I'm using android sdk 1.5r2 > You do realise you need 2 maps API keys? One for the key you sign and upload apps to Android Market, and ano

[android-developers] Re: Keeping an application running in the background

2009-06-26 Thread Delta Foxtrot
2009/6/27 Dennis > > Yet another question -- we have an application that connects to a > device and therefore needs to keep running in the background even when > there are no Activities active. What is the recommended way to > indicate that our application is still active and for it not to be >

[android-developers] Re: httpclient multipart form upload

2009-06-26 Thread Delta Foxtrot
As I said, multipart uploads aren't hard to do your own function for. private void UploadFile(String FileName) { try { String lineEnd = "\r\n"; String twoHyphens = "--"; String boundary = "*MyMultiPartBoundary"; File sdcard = Environment.getExt

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Delta Foxtrot
2009/6/27 Dianne Hackborn > As the original poster said, the person wants to use it as a regular user > and doesn't care about root access. There is no reason to push something > the person doesn't want. > I'm not trying to push anything, I'm commenting on incorrect information. I personally do

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Delta Foxtrot
2009/6/27 Disconnect > > No adp1 firmware does any auto-update. Thats why the images are > available for dl at htc.com. > > (Its embarrassing to change a development platform unexpectedly. Or > wipe out system/framework changes..) I know personally that the xmas build update that was put out in

[android-developers] Re: Catching ActivityNotFoundException

2009-06-26 Thread Doug
Thank you for the help - unfortunately (as usual) the person having the problem is unable to describe what they are doing in any meaningful manner, and they're a couple of hundred miles away - so there's a lot of guesswork going on at my end. As I say, I've been able to replicate the problem a gr

[android-developers] Re: Catching ActivityNotFoundException

2009-06-26 Thread Dianne Hackborn
I am not aware of any such problems -- the system clearly uses startActivity() a -lot- for all of its normal UI, and I have never seen spurious security exceptions. If you want to debug it, you need to debug the system code -- this is running in the system process, and the class is ActivityManager

[android-developers] Re: Intent.ACTION_SEND and Email

2009-06-26 Thread Doug
For Email/MMS app: (from packages/apps/Email/AndroidManifest.xml and packages/apps/Mms/ AndroidManifest.xml) Of course, these are just the mimeType's mentioned in the manifest files distributed as part of the 1.5 source - any additional apps ins

[android-developers] Re: value @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" is getting lost

2009-06-26 Thread Dianne Hackborn
Hi, this is way outside of the SDK; applications should not be touching such things. Please move to android-porting. On Fri, Jun 26, 2009 at 6:47 PM, Shang Hao wrote: > > In my case, I mark auto brightness option in one of my apk. This > would send some byte stream to "/sys/class/lightsens

[android-developers] Re: Overlay ConcurrentModificationException

2009-06-26 Thread Doug
Wild stab in the dark here, but ConcurrentModificationException happens when you try to alter the contents of a Collection (in this case some kind of list) when that list is being iterated over. It kooks like what you're doing is modifying a UI object while the UI is actually doing some internal

[android-developers] Re: value @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" is getting lost

2009-06-26 Thread Shang Hao
In my case, I mark auto brightness option in one of my apk. This would send some byte stream to "/sys/class/lightsensor/switch_cmd/ lightsensor_file_cmd". And auto brightness will be activated once this byte stream is delivered However, the auto brightness capability should be ON eve

[android-developers] Re: Catching ActivityNotFoundException

2009-06-26 Thread Doug
I understand that, but per the referenced post, for whatever reason the 'startActivity()' method *is* occasionally throwing an ActivityNotFoundException for a validly defined (and working on other clients) activity - **exactly** the same APK - working well on dozens (hundreds) of G1's - throwing t

[android-developers] Re: 30 Days of Android Applications

2009-06-26 Thread Eric Wong (hdmp4.com)
mmI see a lot of duplicates with existing Android apk. Is it worth the effort to create duplicates? Eric --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: value @ "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" is getting lost

2009-06-26 Thread Diego Torres Milano
/sys is a virtual filesystem, it doesn't persist reboots. On Jun 26, 12:18 pm, Shang Hao wrote: > Hi, > > I am storing a byte stream @ > > "/sys/class/lightsensor/switch_cmd/lightsensor_file_cmd" > > but on reboot, the value over here is getting lost. How do i > recover > > Xie xie. --~-

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Dianne Hackborn
As the original poster said, the person wants to use it as a regular user and doesn't care about root access. There is no reason to push something the person doesn't want. Anyway, if you flash a standard user build on it, you I am pretty sure you should indeed get updates like a normal user. If

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Doug
Maybe related, maybe not... I use a CursorAdapter to update a list - whenever the list refreshes (due to the database changing) the 'onBindView()' for a given position always seems to deliver me a *different* view from the one that originally contained the list item. So, during the update at lea

[android-developers] Re: How can I pass a file created in my activity to another activity

2009-06-26 Thread Mark Murphy
silverburgh wrote: > I create a local file in my activity like this: > > File f = getFileStreamPath("mypicture"); > > How can I pass the URI of this file to another Activity? If the other activity is one in your application, just tell it the path from the File object, or the relative path you s

[android-developers] Re: Catching ActivityNotFoundException

2009-06-26 Thread Dianne Hackborn
Activities can't throw exceptions back to you. Any exceptions they throw will be handled in their own process, crashing their own application. On Fri, Jun 26, 2009 at 3:29 PM, Doug wrote: > > So, what should we do when the activity actually *does* exist, but for > reasons of its own Android dec

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Romain Guy
> How many views are created by default for an adapter? My guess is 3 > based on what I see. Then, when getView() gets to index 4, 5, or 6, it > correctly creates more Views and populates the right data. Anyone ever > seen anything like this? There's not a default number of views created for an a

[android-developers] Re: onRecieve starting activity problem

2009-06-26 Thread Dianne Hackborn
You should also read the Application Fundamentals doc, which describes the relationship between activities and tasks and how these are -not- related to processes or threads: http://developer.android.com/guide/topics/fundamentals.html On Fri, Jun 26, 2009 at 4:18 PM, Doug wrote: > > The startActi

[android-developers] Re: Problem with setExtra

2009-06-26 Thread Doug
It would also be handy to know what exactly you mean by 'try catch block'. The immediate assumption here is "it must have been throwing an exception" Could you please give more code - including the try-catch part. Also, you should have some logging from logcat that actually shows the exception -

[android-developers] Re: Thread

2009-06-26 Thread Mr.No
thx, i will try. On 26 Jun., 16:25, Streets Of Boston wrote: > I assume that Thread B is the main UI-thread, handling messages, > 'holding' the View. > Thread A is a background thread doing some computation or other stuff. > > If I'm correct in this assumption, you can just post to the View from

[android-developers] Re: onRecieve starting activity problem

2009-06-26 Thread Doug
The startActivity() methods require the calling context to be an Activity - otherwise the 'FLAG_ACTIVITY_NEW_TASK' flag is required. This is why when you try to start an activity from the Application object, or a Receiver you must specify this flag. See: http://developer.android.com/reference/an

[android-developers] How can I pass a file created in my activity to another activity

2009-06-26 Thread silverburgh
Hi, I create a local file in my activity like this: File f = getFileStreamPath("mypicture"); How can I pass the URI of this file to another Activity? And do I need to set any permission (file permission, manifest permission) to allow other Activity to use that file? Thank you. --~--~-

[android-developers] Re: increase application speed

2009-06-26 Thread Keith Wiley
This is spam if not worse. The file is named 'Part Time Jobs.doc'. I didn't investigate further. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

[android-developers] SQLiteOpenHelper and concurrency

2009-06-26 Thread Daniel
Hi, I am currently doing an app that asynchronously populates a list view at startup using AsyncTask. Therefore the AsyncTask uses SQLiteOpenHelper.getReadableDatabase to read some data. At the app's shutdown (onPause) the UI thread is writing some new data to the database after using SQLiteOpenHe

[android-developers] SQLiteOpenHelper and concurrency

2009-06-26 Thread Daniel
Hi, I am currently doing an app that asynchronously populates a list view at startup using AsyncTask. Therefore the AsyncTask uses SQLiteOpenHelper.getReadableDatabase to read some data. At the app's shutdown (onPause) the UI thread is writing some new data to the database after using SQLiteOpenHe

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
On Jun 26, 5:59 pm, Mark Murphy wrote: > Peter wrote: > > Sorry. I'm making the mistake of hoping people identify the problem > > based on not very much information, partially because I'm lazy, I > > guess. > > I may also simply be a bit thick. > > > Row 0 in the ListView contains an ImageView.

[android-developers] Any Insight on this crash?

2009-06-26 Thread Carl Minden
I am getting a crash intermittently when my Activity starts up either initially or when the screen gets rotated I get several log messages which I have been unable to get any insight from: timeout expired mFreezeDisplay=1 mFreezeCount=0 App freeze timeout expired Force clearing freeze then lots o

[android-developers] Overlay ConcurrentModificationException

2009-06-26 Thread jgostylo
I am trying to integrate a third party location finding service into my app and I am using the results of the location to place an overlay onto my map. The answer to this question is not "use MyLocationOverlay". I am moving away from that for non-GPS accuracy reasons. When the third party locat

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
I agree with your comments, and have made attempts to do so. I use a message handler to update the items. Actually, I never even modify the List that the adapter has. I modify values in a Map that is initiated with the List items as the Map's values. Then, knowing the key, I update the Map item's

[android-developers] Re: Catching ActivityNotFoundException

2009-06-26 Thread Doug
So, what should we do when the activity actually *does* exist, but for reasons of its own Android decides to throw this exception anyway? Ref: http://groups.google.com/group/android-developers/browse_thread/thread/c1b669c2047a8188# On Jun 23, 12:18 pm, Dianne Hackborn wrote: > If you know for

[android-developers] Button works, but ImageButton does not work as expected in the Group View of an Expandable list.

2009-06-26 Thread Roland
Hi, In my application I would like the user to be able to add a child to a group of an expandable list by clicking on a button in the group view. I tried two different layouts for the group view. When I use the first layout (with the plain text Button) everything works as I expected it to work.

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Mark Murphy
Peter wrote: > Sorry. I'm making the mistake of hoping people identify the problem > based on not very much information, partially because I'm lazy, I > guess. I may also simply be a bit thick. > Row 0 in the ListView contains an ImageView. Initially, all rows have > a placeholder image. The thr

[android-developers] Re: how to 'clone' animations

2009-06-26 Thread skink
On 26 Cze, 19:10, skink wrote: > > since loading it from xml is rather slow operation, is there a way to > load it once and then clone it when needed? > > thanks > pskink i took a look into Animation class and it has clone() method however its protected so i could use it only by extending Ani

[android-developers] Re: G1 Firmware in ADP1?

2009-06-26 Thread Disconnect
On Wed, Jun 24, 2009 at 6:22 AM, Delta Foxtrot wrote: > 2009/6/24 Frantisek Fuka >> >> Really? But he still has firmware 1.0 and no offer to upgrade. > > Sorry, the 1.1 firmware included the auto-update feature, if you upgrade to > 1.1 or 1.5 it will upgrade automatically in future. > > > > No a

[android-developers] Re: Problems with shared library JAR

2009-06-26 Thread Max
This is the code that causes the VerifyError: Repository myRepository = new HTTPRepository("http://someserver";, "someid"); On Jun 26, 9:38 pm, Max wrote: > Oh, thanks. I first tried it without that line and thought this would > be a step towards the solution, because without it I get the follo

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Dianne Hackborn
The first thing I would suggest is to not touch anything related to the view hierarchy from another thread. It is really hard to know what all your thread is doing and what problems it might be having, so I would first want to see that potential issue eliminated from the equation. Instead, have i

[android-developers] Production Crash Logs

2009-06-26 Thread Tony Hillerson
Hello, Is there any way to get access to production crash logs for your application? Apple has just introduced this, and it's helpful. Is there any way you guys handle this now? Tony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: testing uses-permission

2009-06-26 Thread erictcrook
Make sure you uninstall the app completely from the G1, then re-install it (I do this through a weblink such as blahblah and install through the browser). This will make sure you have not granted it permissions earlier. Then make sure your app still functions. If it does, you are probably good t

[android-developers] IMAGE_CAPTURE Intent never returns to onActivityResult(int, int, Intent);

2009-06-26 Thread hap 497
Hi, I start an IMAGE_CAPTURE Intent like this, and my activity's onActivityResult() get called: Intent i = new Intent (android.provider.MediaStore.ACTION_IMAGE_CAPTURE, null); i.putExtra("return-data", true); startActivityForResult(i, PICK_ICON_FROM_CAMERA_ID); But, if I start my Intent like this,

[android-developers] Re: with android sdk 1.5, i got a problem.

2009-06-26 Thread erictcrook
Are you running the keytool -genkey - alias wwa -keyalg RSA -validity 2 -keystore wwa everytime you sign? If so, you should only generate the key once and use the wwa key to sign all versions of your app. Also, in Settings -> Applications make sure Unkown Sources is checked. Finally, you can

[android-developers] Re: Android 1.5 SDK now available

2009-06-26 Thread erictcrook
The following should have all the information you need to update your Dev Phone. http://www.htc.com/www/support/android/adp.html On Fri, Jun 26, 2009 at 11:05 AM, Kiran Mudiam wrote: > > Can you post a link to ROM you downloaded for the 1.5 cupcake update > for the G1 Developer phone. > > On May

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
See my comments inline that should give you a better description and slightly more information. Thank you. On Jun 26, 4:43 pm, Mark Murphy wrote: > Peter wrote: > > I've tried to describe this problem a few times, but I'll try again. > > I saw your earlier posts. I could not make heads or tails

[android-developers] How can i display memory remaining to my app?

2009-06-26 Thread admin.androidsl...@googlemail.com
I want to check for memory leaks at different parts of execution but need to know how to display available memory? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

[android-developers] Re: Gettings files to a web server with Cupcake

2009-06-26 Thread jdesbonnet
Figured it (using regular POST). On the Android (1.5) client side: import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.FileEntity; impor

[android-developers] Re: Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Mark Murphy
Peter wrote: > I've tried to describe this problem a few times, but I'll try again. I saw your earlier posts. I could not make heads or tails of them then, and I'm not having much better luck here. > However, when 0 is updated, 5 mirrors its data on the screen > briefly What, exactly, is "its"

[android-developers] Default number of Views constructed for a BaseAdapter?

2009-06-26 Thread Peter
I've tried to describe this problem a few times, but I'll try again. I have a thread (not spawned from the adapter) which updates items in a List that a BaseAdapter child uses to populate its view. I am not adding things in the List from the thread, just modifying content. In any case, I have 6 r

[android-developers] how to 'clone' animations

2009-06-26 Thread skink
hi, i defined some complex AnimationSet in xml and would like to run it on several Views (View.startAnimation()). i cannot just create one instance of this AnimationSet (using AnimationUtils.loadAnimation()) and use it as parameter of View.startAnimation(), so i have to create several instances

[android-developers] Alert Dialog ok button greyed out issue

2009-06-26 Thread sujoydas1...@gmail.com
Hi All, Does anybody know how to grey out the okay button in an AlertDialog? Thanks, SD --~--~-~--~~~---~--~~ 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] Re: Touch Mode and ListViewItems with a Compound View

2009-06-26 Thread Anil Bhatt
I read through more discussion on this topic and realized that I need to use a context sensitive menu to do any item specific tasks in the list. I incorporated this in my code and my context sensitive actions work fine now. One thing I have noticed is if I enter touch mode by touching the edit box

[android-developers] Intent.ACTION_SEND and Email

2009-06-26 Thread Nmix
I am experimenting with sending email from within my app by launching an email app with startActivity(Intent.ACTION_SEND) or (Intent.createChooser(i, title) with various extras. I have it working, although not completely to my liking. ACTION_SEND is fairly generic so the chooser pulls up email a

[android-developers] Re: How to recover stopped activities

2009-06-26 Thread Dianne Hackborn
It doesn't sounds to me like you should be driving this through UI state at all. If you have remembered activities to show to the user, why not put this information in some persistent place like SharedPreferences and just look there when your calendar starts up to see if there is stuff to show bef

[android-developers] Re: Problems with shared library JAR

2009-06-26 Thread Max
Oh, thanks. I first tried it without that line and thought this would be a step towards the solution, because without it I get the following errors: E/dalvikvm( 743): Could not find method org.slf4j.LoggerFactory.getLogger, referenced from method org.openrdf.http.client.HTTPClient. W/dalvikvm(

[android-developers] Re: Problems with shared library JAR

2009-06-26 Thread Raphael
On Fri, Jun 26, 2009 at 11:32 AM, Max wrote: > > I'm trying to use an external library packaged in one JAR file > (openRDF Sesame 2.2.4 [1]). As suggested in this group, I first added > the JAR to a new folder in my project, then added it to the Java build > path via the project properties in Ecli

[android-developers] Re: Best practices for library with UI component

2009-06-26 Thread Mark Murphy
Dennis wrote: > My company is in the process of evaluating if we can add support for > Android to our product. I am currently working on porting our > existing J2ME library to the Android framework and I have a question > regarding our UI component. Right now, we have a custom menu that we > all

[android-developers] Re: How to recover stopped activities

2009-06-26 Thread Thomas
Hi Dianne, Sorry, I'm beginner here. I'll give you more details, may be it'll be clear. Thanks I'm doing an agenda and I have a calendar implemented. There is an Activity to show the alerts of the agenda, it's a really simple activity which shows an alertDialog. I called this activity as Remembe

[android-developers] Re: Strange activity stack issue

2009-06-26 Thread Marco Nelissen
- this is not the right list for asking about flash - don't hijack threads - you've said this several times before. Repeating it over and over won't make it happen any faster On Fri, Jun 26, 2009 at 12:05 PM, joseph lafemina wrote: > We need a flash player for the g1 and the mytouch please > > A

[android-developers] Re: SimpleCursorAdapter()

2009-06-26 Thread Mark Murphy
elzee wrote: > How can I > format these fields before placing them into my listview? > > private static int[] TO = { R.id.from, R.id.body, R.id.date, }; > private static String[] FROMTWO = { FROM, BODY, DATE, }; > > SimpleCursorAdapter adapter; > adapter = new SimpleCursorAdapter(this,R.layout.i

[android-developers] Re: Design

2009-06-26 Thread Yusuf T. Mobile
> Here is where my questions arose: Is there a way to find a suitable > "happy medium" without trial and error testing on a huge database? Profiling with real data is the right way to optimize in a perfect world. If that is unworkable here in this world, then you'll have to get out the slide rul

[android-developers] Re: How to recover stopped activities

2009-06-26 Thread Dianne Hackborn
Your question is vague enough that it is really hard to answer. For example, what do you mean by "stopped"? What do you mean by "launching A" (is it going on top of B?)? It is very useful if questions are posted as solutions to be solved (I want to implement navigation through my app that looks

[android-developers] Re: JIS conversion is ignored!

2009-06-26 Thread Dan Bornstein
On Thu, Jun 25, 2009 at 8:31 PM, Hiro wrote: >            unicode = new String(unicode.getBytes("ISO2022JP"), I believe the encoding name you are looking for is "ISO-2022-JP" (with dashes). The system should also recognize the name "Shift_JIS" (which is a different encoding). -dan --~--~---

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Rud
I just tried to run a Compass example in r2 and it hung on getting the sensor manager. I don't think the bug is fixed and isn't just a compass bug. But if you have any suggestions I am open to trying them. @L!TH!UM - I also am a long time embedded developer. Yes, you have to get onto the real ha

[android-developers] How to hide user dictionary? or suggested words on keyboard

2009-06-26 Thread cvance383
How can I hide the suggested words or turn off auto complete for the virtual keyboard? 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-

[android-developers] Reusable Spans

2009-06-26 Thread Al
Hi, I have a styled Spannable String, which gets append()ed to other Spannables. Rather then restyle it each time, I was hoping to style it once and reuse it over and over. It seems there isn't possible because the styles get removed when append()ing to other SpannableStringBuilders after the init

[android-developers] Problems with shared library JAR

2009-06-26 Thread Max
I'm trying to use an external library packaged in one JAR file (openRDF Sesame 2.2.4 [1]). As suggested in this group, I first added the JAR to a new folder in my project, then added it to the Java build path via the project properties in Eclipse. Now I could already use the classes from the libra

[android-developers] Re: Strange activity stack issue

2009-06-26 Thread Al
Thanks for the info Dianne. On Jun 24, 1:54 am, Dianne Hackborn wrote: > Yeah ADT launches apps differently than the home screen does.  Assume the > home screen is correct, and ignore this behavior from ADT. > > > > On Tue, Jun 23, 2009 at 1:34 PM, Al wrote: > > > Hi, I've come across a very an

[android-developers] How to increase speaker volume using AudioTrack

2009-06-26 Thread Breno
Hey everyone, Does anybody knows how to increase the volume of speaker using AudioTrack? the streamed audio is playing in speaker, but not loud as voice call. Here my code mPlayer = new AudioTrack(AudioManager.STREAM_RING, AUDIO_SAMPLE_FREQUENCY_8000HZ, AudioF

[android-developers] Re: Android 1.5 SDK now available

2009-06-26 Thread Kiran Mudiam
Can you post a link to ROM you downloaded for the 1.5 cupcake update for the G1 Developer phone. On May 6, 1:32 pm, DJMoran wrote: > Never mind I've got it from HTC.com now > > On May 6, 9:30 pm, DJMoran wrote: > > > I've got a dev phone but I ahven't received the firmware update, nor > > is it

[android-developers] Delete non empty folders

2009-06-26 Thread Danesh Mondegarian
Hi ne way of incorporating the new File("...").delete(); command to delete non delete files ? or ne other command that does tht ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: Attempting to pass data via NotificationManager - Seeking Help/Advice

2009-06-26 Thread Jason Van Anden
Hi Dianne, This worked! You rock. My forehead and desktop thank you for the break. Not to sound too defensive but ... I have read the documentation thoroughly and repeatedly. I have also watched any and all videos from the conference, etc. I have been developing with Android since November.

[android-developers] Re: concurrency of AsyncTasks

2009-06-26 Thread Jayesh Salvi
Thanks Romain for quick response. Jayesh On Fri, Jun 26, 2009 at 10:54 PM, Romain Guy wrote: > > Hi, > > It's a bug and your workaround is correct. I'll fix this right away. > > On Fri, Jun 26, 2009 at 9:27 AM, Jayesh Salvi > wrote: > > Hi, > > > > I am replacing the multithreaded code in my ap

[android-developers] Location Provider - Coarse Location Problem

2009-06-26 Thread LBDev
The way we are retrieving locations from our Android phones is to 1st get a Coarse Location followed by a Fine Location. This is for the case where the user may be inside a building initially and unable to track satellites. After we get our coarse location we transition to a fine location to track

[android-developers] listeners in popupwindow

2009-06-26 Thread ak
Hi all, I have one activity , Which has the menu "update" .Whenever i click on update button. I am creating pop up window.In that , following is the code snippet , PopupWindow loginPopUp = new PopupWindow(this); loginPopUp.setContentView(this.getLayoutInflater().inflate (R.layout.login_page,

[android-developers] Re: Security Exception

2009-06-26 Thread Marco Nelissen
On Thu, Jun 25, 2009 at 6:36 PM, Rab73 wrote: > > Just wondering if anyone can help > > Just wondering if anyone can help on the security exception I am > getting. It might help if you also included the code that is triggering this. --~--~-~--~~~---~--~~ You recei

[android-developers] Re: How to recover stopped activities

2009-06-26 Thread Thomas
Hi, Can someone help me? I tried to use android:allowTaskReparenting="true" android:taskAffinity="" but it doesn't work. Thanks On 6/25/09, Thomas wrote: > Hi All, > > I've some problems with a task. There are an activity A stopped and I > start activity B in the sam

[android-developers] SimpleCursorAdapter()

2009-06-26 Thread elzee
Hi, I am trying to pull data from a cursor which is initialized as follows: Uri inboxUri = Uri.parse("content://sms/"); Cursor c = managedQuery(inboxUri, null, null, null, null); this effectively gets me to latest text message that has been sent/ received. I am now trying to put certain fields i

[android-developers] Retrieving Google/GTalk Account bound to Android?

2009-06-26 Thread Cheng Zhong
Hi all, I'm working on a program that will need to read user's GTalk contacts, and also I need to find out which Gtalk account the user is using. I heard that each android is bound with a google account (to be extactly, the username/email of user's google account). I wonder any one can tellme how

[android-developers] Re: Wat to buy???

2009-06-26 Thread ayush
you can purchase the android developer phone. its the same thing as the G1, only difference being that its unlocked and will work with any GSM service provider. check out the following link - this guy has purchased the developer phone in india and recounts his first-hand experience http://www.sh

[android-developers] Re: How to change default intent action?

2009-06-26 Thread Explore Android
Thanks, it works. On Jun 26, 4:53 pm, schwiz wrote: > you have to goto the application settings by pressing menu then > settings then goto applications then scroll down to your app and clear > the default setting > > On Jun 26, 9:12 am, Explore Android wrote: > > > > > Hi, > > > I am customisin

[android-developers] Need Help Dream!!!

2009-06-26 Thread Mediowoman
Hi, my name is Serena and I'm writing from Italy. I have a G1 brad Tim Italia, 2 days ago I installed RC7...and now my phone now is T-Mobile and has problem with keyboard, and I cant'use Telnet. Beside my pc don't see the phone in fastboot, and when i try to install something the phone give me thi

[android-developers] Security Exception

2009-06-26 Thread Rab73
Just wondering if anyone can help Just wondering if anyone can help on the security exception I am getting. 06-18 22:21:48.637 156 162 W Parcel : enforceInterface() expected 'android.os.IPowerManager' but read '-ä' 06-18 22:21:48.707 253 253 W dalvikvm: threadid=3: thread exiting w

[android-developers] Re: ClassNotFoundException

2009-06-26 Thread andrehbleitao
Mike, please to put this on your manifest: .. --~--~-~--~~~---~--~~ 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] Read inbox SMS

2009-06-26 Thread Ankit
Hi, I want to develop application which read sms from inbox. Can any one tell me how can I do it. Thanks in Advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: Sensor and Compass APIDemo failing on emulator 1.5

2009-06-26 Thread Rud
There is a considerable amount of development that can be done, even without actual sensor hardward. Having to comment out all sensor related code to get graphics, keystrokes and all the other minutia working is not productive. The emulator really needs to get fixed. Rud On Jun 25, 8:32 pm, Dia

[android-developers] Question about getFileStreamPath

2009-06-26 Thread n179911
In the following code, which create a File object using getFileStreamPath() with "temp-wallpaper" as parameter. File f = getFileStreamPath("temp-wallpaper"); (new File(f.getParent())).mkdirs(); Can you please tell me where is the file actually located? Thank you. --~--~-~-

[android-developers] Fail to install Maps.apk on cupcake

2009-06-26 Thread Elvis
Hi all~~ I was unable to install Maps.apk into emulator cupcake. I've tried 2 method, both are failure. 1. adb install Maps.apk --> [INSTALL_FAILED_MISSING_SHARED_LIBRARY] 2. Copy Maps.apk to /system/app/, com.google.android.maps.jar to / system/framework/, com.google.android.maps.xml to /

[android-developers] Open source and diagramming

2009-06-26 Thread moschino0116
Dear open source contributors, I am Eunyoung Chung, a Masters student at Oregon State University. I am currently doing a research to understand how contributors communicate and collaborate in Open Source Software (OSS) projects, including diagramming practices. We are seeking volunteers for a qu

[android-developers] increase application speed

2009-06-26 Thread Recruiters
For Details download the MS word file at http://alturl.com/bv92 --~--~-~--~~~---~--~~ 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] Re: httpclient multipart form upload

2009-06-26 Thread slk
Hi Urs, Download HttpClient binary from here: http://hc.apache.org/downloads.cgi ; be sure to download the distribution under the heading 'binary with distribution'. After extracting, you will find a number of jars in the lib folder. saad On Jun 10, 9:08 am, Urs Grob wrote: > Yes, I also could

[android-developers] Android App Widgets

2009-06-26 Thread prats
HI I have recently started using android and wanted to try App Widgets. I have coded all the primary features for the app widget (in the manifest file, xml resources..). But I dont know how do I publish my app widget in another application. And does my App Widget always need to be a broadcaster r

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-06-26 Thread Ankit
hi I have tried by disabling IPv6 from network connection but still it don't work and show me error: could not connect to client socket to 1:5556: On May 25, 3:18 am, David Turner wrote: > On Sun, May 24, 2009 at 6:17 PM, Steve wrote: > > > Not working for me either, running a

[android-developers] help

2009-06-26 Thread Dorj
How to detect key event without activty? --~--~-~--~~~---~--~~ 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 gr

[android-developers] with android sdk 1.5, i got a problem.

2009-06-26 Thread wan wei
I am fail to install my apk file on device, in the logcat it show error message: 01-28 01:41:22.944: ERROR/PackageManager(958): Package test.android.media has no signatures that match those in shared user android.media; ignoring! 01-28 01:41:22.944: WARN/PackageManager(958): Package couldn't be in

[android-developers] Keeping an application running in the background

2009-06-26 Thread Dennis
Hi -- Yet another question -- we have an application that connects to a device and therefore needs to keep running in the background even when there are no Activities active. What is the recommended way to indicate that our application is still active and for it not to be killed automatically?

[android-developers] Re: no classfiles specified and Conversion to Dalvik format failed with error 1

2009-06-26 Thread willis
I don't understand this. I do a fresh clean install of everything, follow the HelloAndroid example to the letter, and as soon as I create the new project I get these errors. [2009-06-25 11:33:21 - HelloAndroid] no classfiles specified [2009-06-25 11:33:21 - HelloAndroid] Conversion to Dalvik for

  1   2   >