[android-developers] Re: High "Battery Usage", but no "Use details" listed

2009-10-23 Thread Dianne Hackborn
The battery usage shows usage from when the device was last unplugged. When it is plugged in the stats are stopped, because you are now on power so nothing you can do is going to use battery. (And when you then next unplug, the stats are reset and start collecting again.) On Thu, Oct 22, 2009 at

[android-developers] Photo ACTION_PICK intent returning data not set in setType

2009-10-23 Thread Gyan
Hey All, I'm using the setType to return me images mentioned only of the specific type. Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); photoPickerIntent.setType("image/gif"); photoPickerIntent.setType("image/jpeg"); photoPickerIntent.setType("image/tiff

[android-developers] How to stabiliz my APP's the CPU's usage

2009-10-23 Thread chen ji
HI All, I am writing a camera capture post-process APP. After image captured, I do some post-process to the data. I have stoped the preview during my processing. But I found my program's processing time is fluctuant very much, from 10s to 20s. I have ps in the shell and found there're so mang pro

[android-developers] Re: High "Battery Usage", but no "Use details" listed

2009-10-23 Thread CraigsRace
Hi Dianne, I did have the phone unplugged. However, I have now solved the problem (which turned out to be my fault *oops*). I wasn't unregistering the sensor service when the game quit. So, even though my game would be removed from memory, I'm guessing the sensor service was continuing to run.

[android-developers] Re: Photo ACTION_PICK intent returning data not set in setType

2009-10-23 Thread Miguel Paraz
Hi, On Oct 23, 3:08 pm, Gyan wrote: > I'm using the setType to return me images mentioned only of the specific > type. > >         Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); >         photoPickerIntent.setType("image/gif"); >         photoPickerIntent.setType("image/jpeg"); >    

[android-developers] intercept an outgoing call

2009-10-23 Thread Nemat
Hi, I am trying to disconnect an outgoing call programmatically by injecting END key.but it gives Security Exception.Even I've added INJECT_EVENT permission.Here is my code: Handler handler; Thread t = new Thread() { Object sync = new Object(); public void run() {

[android-developers] Re: Photo ACTION_PICK intent returning data not set in setType

2009-10-23 Thread Gyan
Thanks much that was very precise! On Fri, Oct 23, 2009 at 2:12 PM, Miguel Paraz wrote: > > Hi, > > On Oct 23, 3:08 pm, Gyan wrote: > > I'm using the setType to return me images mentioned only of the specific > > type. > > > > Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); >

[android-developers] Context Menu

2009-10-23 Thread Neilz
The Context Menu in my app (a ListActivity) is getting very annoying. On new phone you have to select and hold the list item for so long before the menu pops up, that it's really not very user friendly. I want my context menu to pop up immediately when the list item is selected. I can't find a wa

[android-developers] Transfer Messages without Service Provider

2009-10-23 Thread ragavendran s
How to transfer Messages from Android phone to another android phone without Service Provider... Is this Possible or Notif Yes Means pls let me know the Concept... Thanks in Advance.. with regards, Raghav.S --~--~-~--~~~---~--~~ You recei

[android-developers] Re: SQLite Blob ?

2009-10-23 Thread joare...@googlemail.com
Nobody ? :o --~--~-~--~~~---~--~~ 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-dev

[android-developers] Re: Context Menu

2009-10-23 Thread skink
On Oct 23, 11:26 am, Neilz wrote: > The Context Menu in my app (a ListActivity) is getting very annoying. > On new phone you have to select and hold the list item for so long > before the menu pops up, that it's really not very user friendly. > > I want my context menu to pop up immediately whe

[android-developers] Re: SQLite Blob ?

2009-10-23 Thread Desu Vinod Kumar
HI joareiss http://developer.android.com/reference/java/sql/Blob.html In this link there is a clear information about blob and it usage... An SQL blob type stores a large array of binary data (bytes) as the value in a column of a database. On Fri, Oct 23, 2009 at 3:09 PM, joare...@googlemail

[android-developers] Re: Context Menu

2009-10-23 Thread Neilz
Hmmm, good point :-) The list I'm playing with isn't very long yet, so I hadn't noticed it. The point is, I just changed phone from HTC Magic to HTC Hero, and the hold duration to activate the menu is painfully long. It's not user friendly - in fact I don't think a random user using this app wou

[android-developers] Re: Transfer Messages without Service Provider

2009-10-23 Thread Gyan
You can do it in the emulator though... U can link 2 emulators and implement a SMS reciever and achieve this. On Fri, Oct 23, 2009 at 3:03 PM, ragavendran s wrote: > > > How to transfer Messages from Android phone to another android phone > without Service Provider... > > Is this Possible or

[android-developers] Multipart file uploads using Apache Mime4J still not working

2009-10-23 Thread Matthias
Hi, I raised this ticket a long while ago: http://code.google.com/p/android/issues/detail?id=2357 I am still running into this problem. In fact, since I upgraded to the latest http-mime and mim4j JARs, it has become worse. I always get this exception when trying to upload a file received using

[android-developers] Re: How can I get the real value of a webview ?

2009-10-23 Thread ph wang
The value of webView.getContentWidth() is not what i want. I need the full size of the webview. If you do not zoom in/out, the full size of the webview is unchangeable. In fact, webview.computeHorizontalScrollRange() + webview.getWidth() is what i want, but computeHorizontalScrollRange() is protec

[android-developers] Re: AppWidgetProvider.onUpdate() -- setOnClickPendingIntent

2009-10-23 Thread Jeff Sharkey
One option is to leverage setData() when building the PendingIntent to include something unique about the button being pressed. j On Wed, Sep 30, 2009 at 2:45 PM, sdphil wrote: > > i have an app widget that has a couple of buttons on it, and in my > onUpdate() call, I am hooking up the button

[android-developers] Re: Hi

2009-10-23 Thread Jeff Sharkey
Nope, APPWIDGET_PICK is the only way to bind widgets. You can insert custom widgets into that list using CUSTOM_INFO and CUSTOM_EXTRAS, but you can't change the layout of that dialog. Also, making a "visual" list of widgets may not work for widgets with a configuration step, if their initialLayo

[android-developers] Re: Transfer Messages without Service Provider

2009-10-23 Thread ragavendran s
Hi Gyan thanks for ur reply But wat i need means...How to transfer messages in real Time without service provider using GPS Co-ordination and frequency Channel using CDMA... On Fri, Oct 23, 2009 at 3:35 PM, Gyan wrote: > You can do it in the emulator though... U can link 2 emul

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Jeff Sharkey
What is the actual value of updatePeriodMillis in the XML file? It's worth noting that the updatePeriodMillis approach uses AlarmManager.setInexactRepeating(), which can cause variability in update frequencies if bins your update with other alarms. j On Thu, Oct 22, 2009 at 12:10 PM, String

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread nisha.devit
Is it possible to set the width of a spinner dropdown list in code? I have a spinner populated with integers, and it does not look good with the list expanding to full width. Can I set the width to wrap the content somehow? I tried this.. Spinner hSpinner = (Spinner) timerView.findViewById(R.id.t

[android-developers] Data Retrieval in Android

2009-10-23 Thread Maxood
I am a bit confused. As i am new to database development in android, i need to know the following: 1. Where i will keep the SQLite database file (what path)? 2. I know that i will use import android.database.sqlite.SQLiteDatabase and import android.database.sqlite.SQLiteOpenHelper ? 3. Do i nee

[android-developers] Re: Returning to Previous Activity from a network camera activity

2009-10-23 Thread Mark Murphy
Shobhit Kasliwal wrote: > I am getting back to previous activity with finish() but I am not able > to do any event on it. What does this mean? > When I check the logcat it is saying " No > window to dispatch at Pointer 1 and 0. I trust that LogCat is providing much more information than just t

[android-developers] [Android-developers]arrays to be accessed by both JAVA n C thru JNI in an Android app

2009-10-23 Thread Latha Shivanna
Hii All, I am facing a problem in my Android app which is calling native functions through JNI. So thought somebody in this group can help me to resolve this. The current code : 1. Create an array in JNI layer ( by NewIntArray()) which can be used by both Java & C. 2. we can name tha

[android-developers] Re: Have View and ListView Scroll as one

2009-10-23 Thread Mark Murphy
droid_does wrote: > It's surprising that the easiest way to accomplish this effect is > creating your own custom adapter. It does what I want in concept but > is there any way to add complex layouts > (widgetswidgets LinearLayout> or predefined XML views? Yes. > For example using your demo: >

[android-developers] Re: Data Retrieval in Android

2009-10-23 Thread Maxood
Where is this path: /data/data/your.package.here/databases? None of the books talk about where to keep the db file? Please guide.Thanks Do i have to create a databases folder just like we create raw for video and audio files? On Oct 23, 4:06 am, Mark Murphy wrote: > Maxood wrote: > > 1. Where

[android-developers] Re: Data Retrieval in Android

2009-10-23 Thread Mark Murphy
Maxood wrote: > 1. Where i will keep the SQLite database file (what path)? By default, they will go in /data/data/your.package.here/databases > 2. I know that i will use import > android.database.sqlite.SQLiteDatabase and import > android.database.sqlite.SQLiteOpenHelper ? U...that's not a

[android-developers] Transfer Messages without Service Provider

2009-10-23 Thread ragavendran s
Hi Gyan thanks for ur reply But wat i need means...How to transfer messages in real Time without service provider using GPS Co-ordination and frequency Channel using CDMA... On Fri, Oct 23, 2009 at 3:35 PM, Gyan wrote: > You can do it in the emulator though... U can link 2 emu

[android-developers] GestureLibrary question/suggestion

2009-10-23 Thread Lee
Hello, I had my first dabble with the gesture library today. Two issues reared their heads: 1) if I have a view that I'm not interested in scrolling, I still can't have simple straight line gestures in both directions (orientation has to be horizontal or vertical). Is there some way of getting r

[android-developers] Re: Data Retrieval in Android

2009-10-23 Thread Mark Murphy
Maxood wrote: > Where is this path: > /data/data/your.package.here/databases? On your emulator or device, though you can only browse to it on the emulator. And, of course, "your.package.here" is replaced by your own app's package name. > None of the books talk about where to keep the db file?

[android-developers] Gracefully destroying Dialog box

2009-10-23 Thread Neilz
Hi. I have an activity which pops up a Dialog box, to get some text input from the user. The problem arises when you switch orientation. The Dialog disappears, so I have added code to set and check flags in the savedInstanceState, meaning that the Dialog is displayed again in these circumstances.

[android-developers] Re: -http-proxy for emulator on Android 1.6?

2009-10-23 Thread Marc Reichelt
Hi again, is there anyone out there who at least has the same problem? Regards Marc Reichelt || http://www.marcreichelt.de/ On 22 Okt., 20:54, Marc Reichelt wrote: > Hi there! > > I am developing applications for Android in a company where the > Internet is accessable via a proxy server

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-23 Thread Kiran
Hierarchy viewer shows the text view. Also the data contains the html page. Here is the screenshot of hierarchy viewer: http://i1011.photobucket.com/albums/af233/kiranjulapalli/textview.png?t=1256301091 On Oct 22, 5:21 pm, Mark Murphy wrote: > Kiran wrote: > > I did that.. every statement is pr

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-23 Thread Mark Murphy
Kiran wrote: > Hierarchy viewer shows the text view. Also the data contains the html > page. Here is the screenshot of hierarchy viewer: > http://i1011.photobucket.com/albums/af233/kiranjulapalli/textview.png?t=1256301091 Great! That means your background processing is working just fine. Now all

[android-developers] updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Sterling Udell
Jeff, That's good to know, thanks. After running some much longer test sessions (like overnight), that does appear to be the situation, that it's behaving like setInexactRepeating and the first event might not happen for a while. I have to say, this is likely to cause some unhappy users for vario

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Mark Murphy
Sterling Udell wrote: > I have to say, this is likely to cause some unhappy users for various > widgets. Especially with the minimum time being bumped up in Donut, > there are probably widgets which used to update every 10 or 15 minutes, > and which now may not get their first update for nearly an

[android-developers] Re: Data Retrieval in Android

2009-10-23 Thread junker37
It is important to note that you can't just package the database in your apk and start using it. You'll have to create it first (which creates an empty database at the path specified by Mark) and then manually perform the steps necessary to re-populate it. Based on a suggestion by Mark, I export

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread nisha.devit
whd? On Fri, Oct 23, 2009 at 6:19 PM, Sterling Udell wrote: > Jeff, > That's good to know, thanks. After running some much longer test sessions > (like overnight), that does appear to be the situation, that it's behaving > like setInexactRepeating and the first event might not happen for a while

[android-developers] Re: High "Battery Usage", but no "Use details" listed

2009-10-23 Thread Disconnect
Seems like that should be a bug - when an app exits completely, shouldn't all resources be cleaned up? (Whether it exits on purpose, due to ANR/FC or due to something like task killer or the system prefs "kill app"..) (I'm still trying to track down my battery usage in a case where it just says '

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread String
On Oct 23, 1:54 pm, Mark Murphy wrote: > Set your own alarm using AlarmManager to supplement or replace > updatePeriodMillis in the next edition of your app. You don't need to > use it; it is there mostly as a convenience AFAICT. I'm already using alarms to drive my widget updates. Problem is,

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Mark Murphy
String wrote: > I'm already using alarms to drive my widget updates. Problem is, > alarms are unreliable, especially with the proliferation of task > killer apps which abuse the API (see > http://groups.google.com/group/android-developers/browse_thread/thread/3f87972d1f99ee81). > People have these

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Tom Gibara
But presumably the alarm for updatePeriodMillis will be owned by a system process and will therefore be immune to the task killers. Tom. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Re: how to capture browser activity or callback

2009-10-23 Thread Smelly Eddie
Sorry for the late response. You can actually just set the activity with a scheme "myapp://" and that schmee is uses as a url to call your activity "myapp:///?token=1234" And then you can use onResume to parse out the token; URI result = getIntent.getData(); The scheme must be set in the mab

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Sterling Udell
2009/10/23 Tom Gibara wrote: > But presumably the alarm for updatePeriodMillis will be owned by a system > process and > will therefore be immune to the task killers. In my experience, that's exactly right, hence its usefulness as a backup for my own alarm. String -- Sterling Udell Author: -

[android-developers] Re: updatePeriodMillis not working for widget on 1.6

2009-10-23 Thread Mark Murphy
Sterling Udell wrote: > 2009/10/23 Tom Gibara wrote: > >> But presumably the alarm for updatePeriodMillis will be owned by a system >> process and >> will therefore be immune to the task killers. > > In my experience, that's exactly right, hence its usefulness as a > backup for my own alarm.

[android-developers] Does Android Support Video Rotation?

2009-10-23 Thread Arun Tripathy
Is there any way we can rotate a video in Android (specially in Java layer) as it supports ino BREW or WM? Also, how does the orientation change (portrait/landscape) is different than the video rotation? Regards, -Arun --~--~-~--~~~---~--~~ You received this m

[android-developers] How to turn off the screen display?

2009-10-23 Thread Arun Tripathy
Hi All, I have a requirement to turn the screen display on and off from a Android Service. I should have a function SwitchScreenDisplay (ON/OFF), to ON or OFF the display. I searched through the SDK and found a few APIs and settings. One method I found is boolean err = android.provider.Settings.S

[android-developers] Re: 1.6: GPS location provider stop unexpectedly ("exceeded MIN_FIX_COUNT"), bouncing back and forth

2009-10-23 Thread JP
(Refers to the logs) This occurs every 3s, although minTime is much higher, just as you've found. I will venture to say that this is harder on the battery than to just let GPS stand. BTW, resting a location provider this way is also mis-spec'ed. If an app registers multiple listeners for a locati

[android-developers] Re: Returning to Previous Activity from a network camera activity

2009-10-23 Thread shobhit kasliwal
Thanks for your help. I got the solution for this problem. I was running 2 threads in Parallel one in the first activity and second in the second activity and when I was finishing the second activity the Threads causing a deadlock. Thanks Shobhit On Fri, Oct 23, 2009 at 5:52 AM, Mark Murphy wro

[android-developers] Re: SimpleCursorAdapter.bindView() and Row Views

2009-10-23 Thread Nmix
This has actually gotten worse. When I finish the app by pressing the back button, then re-launch the app, I am now also getting row views for position 0 from the previous run of the app. So now I have 3 row views floating around for position 0. Am I doing this all wrong, or what? The key part o

[android-developers] White screen in my OpenGL application

2009-10-23 Thread Steff
Hi I've just dusted off an application I did for Android half a year ago. I upgraded to the latest SDK and Eclipse ADT. After some struggeling I get the application to run again. When I debug it I can see that all the right code are executed the right way. The application shows a OpenGL surface

[android-developers] Is there a description of commands for the command line interface

2009-10-23 Thread Ryck
I haven't been able to find a description of the commands available when I terminal to my android phone. Can anyone point me to it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Re: White screen in my OpenGL application

2009-10-23 Thread nEx.Software
I am assuming your textures are not power of 2 and square. On Oct 23, 7:43 am, Steff wrote: > Hi > > I've just dusted off an application I did for Android half a year ago. > I upgraded to the latest SDK and Eclipse ADT. After some struggeling I > get the application to run again. When I debug it

[android-developers] How to show a cursor when user tap a view

2009-10-23 Thread Long
Hi, How can I show a cursor when user tap on a view. Cheers. Long --~--~-~--~~~---~--~~ 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

[android-developers] How to get a segmented bar just like iphone in android

2009-10-23 Thread purvi
Hello, Can anyone please help me to know how can we get the segmented bar in android just like we have in iphone? Thanks. Regards, Purvi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] htc hero developing

2009-10-23 Thread aaa...@gmail.com
i'm thinking to start developing in HTC hero. I want to know if i will have any problem because this phone is using SENSE UI interface (an interface developed by HTC). Any suggestion? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Does Android Support Video Rotation?

2009-10-23 Thread Fred Grott(Android Expert)
Arun, Yes.. Hint its not android.graphics.camera and the Matrix classes. On Oct 23, 8:44 am, Arun Tripathy wrote: > Is there any way we can rotate a video in Android  (specially in Java layer) > as it supports ino BREW or WM? > >  Also, how does the orientation change (portrait/landscape) is

[android-developers] Re: Ad test problem in app with AdMob

2009-10-23 Thread Mike
Erick, Feel free to come on over to the admob-publisher-discuss group at http://groups.google.com/group/admob-publisher-discuss for any AdMob related questions you may have. We monitor that group a little more closely and will be able to help you there. I see a couple of other things you could

[android-developers] Animating ViewStub

2009-10-23 Thread Matthias
Hi, I am trying to animate a ViewStub -- without success. My code: stub.setVisibility(View.VISIBLE); // inflate the stub Animation anim = AnimationUtils.makeInAnimation(this, true); stub.startAnimation(anim); No animation is played, the ViewStub simply appears. How come? --~--~-~

[android-developers] Re: Find MAC address

2009-10-23 Thread Wayne Wenthin
Anyone have a clue how to implement this? This looks like a good way to get a unique ID for any device that can talk to the net. On Thu, Oct 22, 2009 at 7:31 PM, String wrote: > > On Oct 22, 8:49 pm, Ronny wrote: > > > I am eager to know if it is possible to get the device MAC address. > > How

[android-developers] WidgetLayout inside PreferenceActivity displays new then old bitmap...

2009-10-23 Thread Seb
Hi, I have a PreferenceActivity designed with a .xml file Inside the .xml, I have: ... ... The widgetLayout xml file is a linearlayout with a ImageView inside. I have set a default drawable src attribute to the ImageView: android:src="@drawable/test" When launching, the PreferenceActi

[android-developers] Question on NotificationManager, setLatestEventInfo() and custom view.

2009-10-23 Thread Jiri
Hello, I am creating a notification that displayes the progress of downloading files. Because I use a custom layout to be displyed in the expanded view. This custom view has a progressbar. I first make a call to the notification manager that will show the progress bar as being indeterminate a

[android-developers] Sqlite3 concurrency

2009-10-23 Thread Mariano Kamp
Hi, I have implemented a slow search provider that queries my database. Now when at the same time I do another read access my applications stalls (ANR). It's both read and I don't see why there should be a lock. What are my options to get a little more concurrency here? Cheers, Mariano Her

[android-developers] Re: Data Retrieval in Android

2009-10-23 Thread Maxood
My requirement is simple , i just have to fetch or retrieve the data from a single column of SQLite database file. Can you please tell me what methods of android.database.sqlite.SQLiteDatabase, android.database.sqlite.SQLiteOpenHelper do i have to use. Can you provide me with a sample code for fe

[android-developers] Re: White screen in my OpenGL application

2009-10-23 Thread String
Did it used to work on the 1.5 emulator? Keep in mind that the emulator doesn't have the OpenGL hardware of an HTC handset, so it's not going to behave the same. Having said that, my OpenGL stuff runs better on the 1.6 emulator than it did on 1.5. String On Oct 23, 3:43 pm, Steff wrote: > Hi >

[android-developers] Re: How to get a segmented bar just like iphone in android

2009-10-23 Thread String
On Oct 23, 4:16 pm, purvi wrote: > Can anyone please help me to know how can we get the segmented bar in > android just like we have in iphone? My suggestion: if you want that, get an iPhone. Android is a completely different OS, with a completely different UI. Don't try to make it into somethi

[android-developers] Re: Data Retrieval in Android

2009-10-23 Thread Maxood
Also do i have to use the android.database.sqlite.SQLiteQueryBuilder for building and running the SELECT query? And also what do i have to do with the database file? On Oct 23, 9:16 am, Maxood wrote: > My requirement is simple , i just have to fetch or retrieve the data > from a single column o

[android-developers] Re: White screen in my OpenGL application

2009-10-23 Thread Steff
My app used to work in the emulation of the SDK I used to use. It was downloaded almost a year ago. I believe it was 1.2 or something. So the app works in 1.2 emulator AND on my 1.5 firmware HTC magic. But it does not work on the 1.5 emulator of the 1.6 SDK downloaded today. I dont know if my tex

[android-developers] Re: Animating ViewStub

2009-10-23 Thread skink
On Oct 23, 5:55 pm, Matthias wrote: > Hi, > > I am trying to animate a ViewStub -- without success. My code: > >   stub.setVisibility(View.VISIBLE); // inflate the stub > >   Animation anim = AnimationUtils.makeInAnimation(this, true); just a guess: what is duration of such Animation? maybe it

[android-developers] Re: database question

2009-10-23 Thread Wouter
Can someone help me? On Oct 20, 5:36 pm, Wouter wrote: > Hey, > > I am working on a project for a belgium Tv Guide. > Now I download a database (.db) file from a server to the sdcard to > work with. > In this database are 2 tabels, tvchannels and tvprograms. > Now I can do several updates to the

[android-developers] Re: Data Retrieval in Android

2009-10-23 Thread Mark Murphy
Maxood wrote: > Also do i have to use the android.database.sqlite.SQLiteQueryBuilder > for building and running the SELECT query? No. It is there as a convenience. I only use it for creating SQLite-backed content providers. > Can you provide me with a sample code for fetching data from table. U

[android-developers] Re: White screen in my OpenGL application

2009-10-23 Thread Steff
Hi I tried to remove all usage of texture in the app. That did not help. Now I have narrowed it down: My application contains this line "mGLSurfaceView.getHolder().setFormat (PixelFormat.RGBA_);". If I comment out that line, then the OpenGL rendering works again. But I need that line, becaus

[android-developers] Re: database question

2009-10-23 Thread Mark Murphy
Wouter wrote: >> Now I can do several updates to the tvchannels table and i want to >> make a backup of this table to a lokal database file. How can i do >> that? Copy the database file to a backup file. Either you already know your path to your database, or you can use getDatabasePath() to find

[android-developers] Upgrade issue with SD card write permission

2009-10-23 Thread webmonkey
If you have an app that targets 1.6 ( using targetSdkVersion=4 ) and that is still backward compatible with 1.5 (using minSdkVersion=3) , and it has the new WRITE_EXTERNAL_STORAGE permission because it writes to the SD card, there is a problem when the OS is upgraded to 1.6. If a user has Android

[android-developers] Re: Problem to show unicode strings in TextView

2009-10-23 Thread qmwestview
The Html.from(utfStringInDecimalForm).toString() works! Thank you so much Ludovic Perrier!! I have sent an email to Struts' mailing list, hoping they could correct this in the first place. QM --~--~-~--~~~---~--~~ You received this message because you are subscri

[android-developers] Re: Sqlite3 concurrency

2009-10-23 Thread mirko
Hi Mariano, I had the same problems with my app. After reading a little bit on the SQLite Website my understanding was that locking is done with process (thread) locks. So there are many reader treads possible, but only one writer thread. For this reason your SQLiteDatabase object needs to be a s

[android-developers] Re: database question

2009-10-23 Thread Wouter
Hey Mark, Thanks for the answer. So how can i backup that database file? I now have a file tvgids.db on my sdcard (so path is /sdcard/tvgids.db) How can I make a copy of that? Wouter On 23 okt, 19:05, Mark Murphy wrote: > Wouter wrote: > >> Now I can do several updates to the tvchannels table

[android-developers] Android Market Down? - Unable to see my Published Apps

2009-10-23 Thread Smelly Eddie
When i log onto the publisher section of Android I get error; http://market.android.com/publish/Home Failed to load application list. Try again later. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: WebView + Cookie Problem

2009-10-23 Thread Jason Proctor
i use this mechanism and it works for me. do you log out what's going on in this section and see if anything untoward is happening? >I have a server that sends my android app a session cookie used for >authenticated communication. I am trying to load a WebView with a URL >pointing to that sa

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-23 Thread jotobjects
geo fix works for me with both DDMS and the emulator console. Using console this works - telenet localhost 5554 geo fix -117.24 32.883 This locates you in the University of California San Diego campus. I tried this with DDMS manual geo fix and it works there also. My test is using Google Maps

[android-developers] Not able to connect device using adb -d shell command from vista

2009-10-23 Thread adag
Hello, I am trying to use "adb -d shell" command to start a shell on device (android dev 1 phone ) from my vista command line. But whenever I try giving such command it does not open any shell or interaction on the phone device. But instead it goes to the next line in the cmd as '$'. any help wou

[android-developers] Re: Not able to connect device using adb -d shell command from vista

2009-10-23 Thread Jason Proctor
that means it's working :-) >Hello, > >I am trying to use "adb -d shell" command to start a shell on device >(android dev 1 phone ) from my vista command line. But whenever I try >giving such command it does not open any shell or interaction on the >phone device. But instead it goes to the next

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-23 Thread Kiran
Thanks Mark, Hierachy viewer did help me. The issue is in the xml file. I am not sure why I had the listview in first place and removing it solved the problem. But the process exposed to a good toolset that will help me in future debugging. http://schemas.android.com/apk/res/ android" andro

[android-developers] Re: database question

2009-10-23 Thread Mark Murphy
Wouter wrote: > Hey Mark, > > Thanks for the answer. So how can i backup that database file? I now > have a file tvgids.db on my sdcard (so path is /sdcard/tvgids.db) > > How can I make a copy of that? Java file I/O. http://exampledepot.com/egs/java.io/CopyFile.html -- Mark Murphy (a Commons

[android-developers] No luck with italic text

2009-10-23 Thread Keith Wiley
Without specifying a custom font, does the default Android font simply not support italic? It seems to support all other settings provided by the Typeface class: serif, bold, monospace, etc., but italic and italic-bold don't work. The former appears normal and the latter appears bold. I'm surpris

[android-developers] Re: Not able to connect device using adb -d shell command from vista

2009-10-23 Thread adag
Hello Jason, adb -d shell supposed to be opening a shell on phone deivce. But in my case it is not happening. Re, adag On Oct 23, 6:52 pm, Jason Proctor wrote: > that means it's working :-) > > > > >Hello, > > >I am trying to use "adb -d shell" command to start a shell on device > >(android dev

[android-developers] Re: database question

2009-10-23 Thread Wouter
Nice thank you so much Mark! On Oct 23, 7:56 pm, Mark Murphy wrote: > Wouter wrote: > > Hey Mark, > > > Thanks for the answer. So how can i backup that database file? I now > > have a file tvgids.db on my sdcard (so path is /sdcard/tvgids.db) > > > How can I make a copy of that? > > Java file I/

[android-developers] Re: No luck with italic text

2009-10-23 Thread Mark Murphy
Keith Wiley wrote: > Without specifying a custom font, does the default Android font simply > not support italic? It seems to support all other settings provided by > the Typeface class: serif, bold, monospace, etc., but italic and > italic-bold don't work. The former appears normal and the latter

[android-developers] Re: arrays to be accessed by both JAVA n C thru JNI in an Android app

2009-10-23 Thread fadden
On Oct 23, 3:51 am, Latha Shivanna wrote: > The whole procedure is followed for (480x640) times. And so there is a > redundant creation of the array for every frame display. Why do you have to create a new array each time? Why can't you re-use an existing one? --~--~-~--~~-

[android-developers] Not able to connect device using adb -d shell command from vista

2009-10-23 Thread Jason Proctor
adb doesn't tell you what's going on nor does it open a new window or anything like that. the $ prompt is the shell *on the phone*. what happens if you type "ls" at the $ prompt? >Hello Jason, >adb -d shell supposed to be opening a shell on phone deivce. >But in my case it is not happening.

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-23 Thread jotobjects
If you give your TextView a weight it will probably show up under the list. android:layout_weight="1" On Oct 23, 10:53 am, Kiran wrote: > Thanks Mark, > Hierachy viewer did help me. The issue is in the xml file. I am not > sure why I had the listview in first place and removing it solved the >

[android-developers] Re: Not able to connect device using adb -d shell command from vista

2009-10-23 Thread adag
Actually I have got my new dev phone today. I need to connect wifi to start up with dev phone as I dont have any data card. So I was planning to use my lan wifi connection. the "ls" shows the list from the phone device. then I was intending to give "am start -a android.intent.action.MAIN - n com.

[android-developers] Two questions.

2009-10-23 Thread richard
Hi all, I have two questions, which i would like to learn from you. 1. Is there any stored procedure support in the sqlite database of Android? and any docs on doing this? 2. Is there any way my Android progam can know the data in the Android native data set have been changed? like contacts, ca

[android-developers] Re: Google wave invitations...?

2009-10-23 Thread aming zhu
hi Who can give me a wave invitation ah, thank you thanks Ben. 2009/10/16 Kenneth Adam Miller > Who wants to be in Google wave? > I have 16 invitations > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: Inertial Sensor on HTC Hero

2009-10-23 Thread ko5tik
On Oct 1, 12:07 pm, DD wrote: > get the both at the same time. Therefore, G is decomposed based on the > values of pitch and roll that are always "out of date"; they are not > corresponding to the new acclerations. This is where the error comes > out. I would say, g is already decomposed by

[android-developers] ADT/JUnit can't find HttpClient classes

2009-10-23 Thread Clément Plantier
Hi, I'm having troubles with ADT and JUnit Testing. When I use HttpClient classes, my JUnit tests fail with errors like: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient. I run my tests in Eclipse as "JUnit Tests" (not "Android JUnit Tests") with the "Android Test Launcher". An

[android-developers] memory leaks

2009-10-23 Thread aman
can anyone tell me any solution or tool provided by Android to find the exact place of memory leaking? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Error creating dex file while building using ANT

2009-10-23 Thread phoenix
I created a sample project using the below command: android create project --target 1 --name HelloAndroid --path ./ HelloAndroid --activity HelloAndroid --package com.helloandroid then attempted to build it using ANT. It gives the below error while creating the .dex file. C:\workspace\HelloAndro

[android-developers] Field Test mode on a Android mobile phone.

2009-10-23 Thread The Caller
After searching the groups and posts, i could not find a suitable answer to my question - On a Android mobile phone, where can i find the Field Test Mode/Application so that i can see cellular network information? On other mobile phone platforms, you can enter a number key sequence and a Field te

[android-developers] Help me: My emulator reported an error that "com.android.settings has no certificates at entry AndroidManifest.xml"

2009-10-23 Thread yagbu
Hi, I did some modification about the java code and AndroidManifest.xml of "com.android.settings" package. Then I ran the emulator like this: make; lunch 1; emulator & When PackageManagerService was scanning the "/system/app/Settings.apk" packages at boot time, it reported an error that "com.and

  1   2   >