Re: [android-developers] Get Data from Database of selected Item

2011-09-19 Thread Krishna Prasad
did u get your values from db correctly? On Mon, Sep 19, 2011 at 11:21 AM, Bishan tvbis...@gmail.com wrote: i got this exception, java.lang.ClassCastException: android.widget.ArrayAdapter for below code. SimpleCursorAdapter simpleCursorAdapter = (SimpleCursorAdapter) parent.getAdapter();

[android-developers] Re: onTouchEvent not called on every touch motion

2011-09-19 Thread loril...@gmail.com
Historical data for motion events helped! Thank you Blake! On Sep 19, 9:05 am, loril...@gmail.com loril...@gmail.com wrote: Will it not just move the element as I move my finger on the screen. I want to draw the element at all positions where my finger has touched so that I can see a

Re: [android-developers] Re: Progressive Rendering, when loading the content at runtime in Android Webview

2011-09-19 Thread Jebarlin Robertson
Hi Streets Of Boston, Thanks for your valuable response, Can u give me some sample code for the javascript to append html content dynamically? U can give me some solution, f there is any other way also? Regards. Jebarlin .R. On Fri, Sep 16, 2011 at 7:18 PM, Streets Of Boston

[android-developers] Send message with C2DM to selected devices

2011-09-19 Thread Joshua Partogi
hi there, I am interested to use C2DM for my application. Is it possible to send push messages to selected devices only? Or will it send to all devices that has my application? Thank you in advance for your help. -- @jpartogi -- You received this message because you are subscribed to the

[android-developers] Issue with event.getX()

2011-09-19 Thread limtc
Hi, Recently I started to receive reports on one of my old app, and this error is totally new to me. Seems like the app might have some issues with new Android builds? -- java.lang.IllegalArgumentException: pointerIndex out of range at android.view.MotionEvent.nativeGetAxisValue(Native Method)

Re: [android-developers] Re: [Fragments/supportv4] How do I make ViewPager/TabHost attatch all tabs and not just the current and the one next to it?

2011-09-19 Thread Gustaf Carleson
Thank you both very much for your input! Brgds, Gustaf Carleson On Fri, Sep 16, 2011 at 3:44 PM, Streets Of Boston flyingdutc...@gmail.comwrote: If you just need your tabs *instantiated *(as a Java Object), you can do this in your activity. Pre-instantiate all 4 of them (new MyFragment() 4

Re: [android-developers] Listview: heterogenous rows: if statements in XML layout file?

2011-09-19 Thread John Goche
Thanks Mark Murphy, Well, sorry to bother you again, but my question was not regarding the author's code in particular but about how to make sense of the android API documentation in general. Suppose I extend an abstract class such as

Re: [android-developers] Can 'Recent' item's bind intent be changed ?

2011-09-19 Thread Dianne Hackborn
Sorry, you can not. Actually there is no Intent bound to it or any such thing; it is just a hard-coded dialog that is displayed by the system. On Sun, Sep 18, 2011 at 9:11 PM, Pritam pritamsha...@gmail.com wrote: Hi All, Can we change the intent that is bind to recent item list that appears

[android-developers] enable search with custombaseadapter??

2011-09-19 Thread Hitendrasinh Gohil
Hi, I am using baseadapter for my listview.There is list of product i need to search it with edittext and within baseadapter. so which is the best way to do it i)using autocompltetextview ii)edittext.addtextchangelistner. -- You received this message because you are subscribed to the Google

[android-developers] Re: Application force close after change it from /system/app to /data/

2011-09-19 Thread sam
Thanks all for your reply, I just want to know the root cause, looks like UID change cause this. On 8月30日, 上午11时26分, James 030440...@163.com wrote: When removing your application, a full uninstall is required. On Aug 26, 11:09 am, sam hrlixi...@gmail.com wrote: HI guys, I have a

[android-developers] How to implement back button functionality in activitygroup?

2011-09-19 Thread pramod shirsath
I have 3 tabs in my application. One of the tab shows search page after submitting event listing page is displayed. From this page it goes to details page then goes to rating page. I have used custom button for back functionality. But I am getting this error after clicking back button going

[android-developers] Re: enable search with custombaseadapter??

2011-09-19 Thread skink
Hitendrasinh Gohil wrote: Hi, I am using baseadapter for my listview.There is list of product i need to search it with edittext and within baseadapter. so which is the best way to do it i)using autocompltetextview ii)edittext.addtextchangelistner. iii) AbsListView.setTextFilterEnabled()

[android-developers] Re: Unable to launch Emulator

2011-09-19 Thread seersand`
Logesh rajendren logeshme at gmail.com writes: This problem arises after updating your android .here is the way to start your emulator . please follow these .1) open command prompt in windows 2) go to android_sdk folder where u have installed it  Eg: C:\android-sdk 3) go to the folder tools

[android-developers] How to set android:fillViewport=true for scrool view programatically?

2011-09-19 Thread Krishna Prasad
Hi all, I had a problem in my linear layout which is inside a scroll view .The background image is not showing in full screen. My sample code is ScrollView sv = new ScrollView(this); sv.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,

[android-developers] App force closes when Bluetooth connection occurs

2011-09-19 Thread Steven Bruce
Hi I have been following the Bluetooth guide on the Android developer site and have got everything working so far but now I am really stuck. Despite my code looking virtually identical to the one in the Bluetooth page it just doesn't work. Is that code wrong or something? I have my two thread,

Re: [android-developers] Android Honeycomb CheckBox against white background cannot be seen

2011-09-19 Thread Mark Murphy
Theme.Holo.Light is usually applied to an activity in the manifest, to affect the whole activity, not an individual CheckBox in a layout. On Mon, Sep 19, 2011 at 12:47 AM, albnok alb...@gmail.com wrote: I am putting a CheckBox against a white background. It looks fine on pre-Honeycomb devices

Re: [android-developers] Listview: heterogenous rows: if statements in XML layout file?

2011-09-19 Thread Mark Murphy
On Mon, Sep 19, 2011 at 4:00 AM, John Goche johngoch...@googlemail.com wrote: When I use Eclipse IDE it tells me but when I use some editor outside of Eclipse it does not. Other IDEs might (e.g., IntelliJ). Compilers will. Plain editors will not, but that is not exactly Android's fault. IMHO

[android-developers] Re: How to install APK programmatically without user prompt

2011-09-19 Thread Oli
Pratik, I think you should explain what you're trying to achieve with this and maybe someone can suggest an alternative. There's no good reason why you should want to install an apk without user input as that would break security, so I think you just need an alternative approach here. Cheers,

Re: [android-developers] Get Data from Database of selected Item

2011-09-19 Thread Bishan
Got java.lang.ClassCastException: java.lang.String in line 78 (code in line 78 is cursor = (Cursor) parent.getItemAtPosition(position);) what is the issue ? file attached. On Mon, Sep 19, 2011 at 11:42 AM, Krishna Prasad krishnaprasadrs.1...@gmail.com wrote: did u get your values from db

[android-developers] Re: USB - IR drivers

2011-09-19 Thread FrankG
Hello Achim, Yes, maybe .. I have no experiences with the new USB Accessory Development Kit, but I assume that this requires the hardware and kernel support means a 3.1 capable devise. Nevertheless it sounds very promising to allow many different external devices. Good luck ! Frank On 17

[android-developers] Re: UsbStorageConnector failing with IOException.

2011-09-19 Thread FrankG
Hmm, strange .. your UsbStorageConnector tries to communicate with a native daemon using the NativeDaemonConnector. But to investigate into this is out of scope of this particular group. Which platform are you using ? Maybe the UsbStorageConnector is a vendor extension because this is normally

Re: [android-developers] Get Data from Database of selected Item

2011-09-19 Thread Krishna Prasad
Use Simple cursor adapter insted of array adapter... Check http://thinkandroid.wordpress.com/2010/01/09/simplecursoradapters-and-listviews/ On Mon, Sep 19, 2011 at 4:54 PM, Bishan tvbis...@gmail.com wrote: Got java.lang.ClassCastException: java.lang.String in line 78 (code in line 78 is

[android-developers] Some times R.Java file is not genarated? what is reason behind that

2011-09-19 Thread venugopal reddy
Some times R.Java file is not genarated? what is reason behind that pls 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

[android-developers] Some times R.Java file is not genarated? what is reason behind that

2011-09-19 Thread venugopal reddy
Some times R.Java file is not genarated? what is reason behind that.. Pls 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

[android-developers] How to make standard game design/layout through Surfaceview

2011-09-19 Thread Devon Smith
I have used SurfaceView in my game. Right Now, I have created layout considering one device (320 x 480). The game layout looks nice and all functions are working properly. But when I see the same game in another device with different dimension (screen size), the layout does not seem to be proper.

Re: [android-developers] Listview: heterogenous rows: if statements in XML layout file?

2011-09-19 Thread John Goche
On Mon, Sep 19, 2011 at 12:43 PM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Sep 19, 2011 at 4:00 AM, John Goche johngoch...@googlemail.com wrote: When I use Eclipse IDE it tells me but when I use some editor outside of Eclipse it does not. Other IDEs might (e.g., IntelliJ).

[android-developers] Android Status Notification Bar

2011-09-19 Thread Andi
Hi, I trying to write an JUnit-Test which can check wether my application has send an notification or not and which notification was send. I didn ´t found out yet how to do it. So i hope someone had the same problem and solved it or someone have any idea how to solve this issue. -- You received

[android-developers] Re: Calendar Intent not working in Motorola Xoom Honeycomb 3.1

2011-09-19 Thread Arno
Hi I have the same issue with an Asus Eeepad Transformer on Honeycomb 3.2 for title and eventLocation fields. Did you find a solution for this ? -- 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] HttpResponse problem

2011-09-19 Thread swer
hello friends.. It has been almost a day and I have still working on this little code. All I need to do is to get the response stream from the server. However compiler gives an error just the beginning of the code.. I will be appreciated if you give me a hand on this... The code is below. Note

[android-developers] Appication developed for 1.6 do not work on 2.3

2011-09-19 Thread Anshu
Hi.. I have developed an GPS application on android 1.6 platform.. Its working fine on 1.6 Now I have to make it work on android 2.3.3. How can I do so Thanks Regards Anshu -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Android Successful Download Notification Using OMA Download Descriptor

2011-09-19 Thread ashok patel
Hello Team, I am planning to have one of my app across multiple app stores and want to track successful downloads/installs using OMA dd concept. We tried solution on many devices with different vendors and versions and observed that it works for some devices. On some devices it says Download

[android-developers] Message Picker

2011-09-19 Thread Ace
Hello, I'm trying to develop and application which needs to select SMS Messages from the Inbox. This is similar to an App invoking a Contact Picker to select a particular contact. I tried with the following code, but it doesn't seem to work public void importFrmMsgs() { Uri msgUri =

[android-developers] Hello World Tutorial

2011-09-19 Thread Angelica Gomez
Hi! I am having a problem with the hello world tutorial for android. I've published the details in my blog post: http://angelsalvogomez.blogspot.com/2011/09/tinkering-with-android-help-wanted.html. Please take a look at it. Any help is highly appreciated. I really want to learn programming in

[android-developers] How to draw circle on the move on canvas

2011-09-19 Thread Aks
i.e. I want to draw circle while user is moving its finger.. I m able to adjust radius but It is drawing after ACTION_UP...rep -- 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] intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES) return null

2011-09-19 Thread Cheakey Zhang
in the NFCDemo,a tag can be discoved,but intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES) return null, that is Parcelable[] rawMsgs = intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES); rawMsgs always equal null。My phone for debugging is samsung Nexus S.Can anyone

[android-developers] Cheap, rapid solution for disasters

2011-09-19 Thread david
Hello, I am looking for a Android GUI for cheap, rapid solution for disasters. What I need is a very simple GUI with code to run on an Android table phone to do the following: To get device ID, get x, y, Z from GPS Signal, a picture, a recorded sound file, and then send this by email to s

[android-developers] get confirmation before activity closure

2011-09-19 Thread emilio
hi guys i'm developing an android application for mobile billing and i wondering: there is a way to get user confirmation before activity closure? thanks!!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Cannot create 3.1 AVD

2011-09-19 Thread gag
Hi all, I am having a problem creating a 3.1 AVD. When I try to start it I get the following error. emulator: ERROR: No initial system image for this configuration! Is there something that I am missing. I really appreciate the help. Thanks, Greg -- You received this message because you are

Re: [android-developers] Cheap, rapid solution for disasters

2011-09-19 Thread Robin Talwar
Sir Would you like a glass of beer along with this also?? On Sat, Sep 17, 2011 at 2:16 AM, david davidg...@googlemail.com wrote: Hello, I am looking for a Android GUI for cheap, rapid solution for disasters. What I need is a very simple GUI with code to run on an Android table phone to do

[android-developers] Re: Icecream Sandwich, when the SDK?

2011-09-19 Thread Streets Of Boston
Nothing new...it's always been like this: The first phones are almost already on the market before the devs get the SDK. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Progressive Rendering, when loading the content at runtime in Android Webview

2011-09-19 Thread Streets Of Boston
I don't have examples. Just take a look at the official android developer site: http://developer.android.com/guide/webapps/webview.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] Re: Some times R.Java file is not genarated? what is reason behind that

2011-09-19 Thread Streets Of Boston
I think that's not happening because regenerating R.java, i.e. recompiling the resources, can take a looong time. However, when changing, adding or deleting a resource, R.java should be re-generated. When you just change a Java source file, R.java may not be regenerated. -- You

Re: [android-developers] Hello World Tutorial

2011-09-19 Thread J Handal
the emulator is locked. click the lock icon,dragged to the speaker icon and relesed it. lo mismo pasa con real phones. On Sep 19, 2011 9:33 AM, Angelica Gomez bestsevent...@gmail.com wrote: Hi! I am having a problem with the hello world tutorial for android. I've published the details in my

[android-developers] ListView: responding to item clicks via a listener

2011-09-19 Thread John Goche
Hello, I am trying to respond to item clicks in a ListView which has an adapter. When the items are clicked (each item is just a LinearLayout with four TextViews), my onItemClick listener is not called even though my ListView is clickable and focusable. I have read the following but was no help

Re: [android-developers] Cheap, rapid solution for disasters

2011-09-19 Thread Nick Risaro
And some peanuts, and cheese... maybe a pizza? On Mon, Sep 19, 2011 at 10:46 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Sir Would you like a glass of beer along with this also?? On Sat, Sep 17, 2011 at 2:16 AM, david davidg...@googlemail.com wrote: Hello, I am looking for a

[android-developers] Re: How to make standard game design/layout through Surfaceview

2011-09-19 Thread niko20
Use OpenGL instead and you can tell it to stretch to fill On Sep 19, 8:11 am, Devon Smith devonsmit...@gmail.com wrote: I have used SurfaceView in my game. Right Now, I have created layout considering one device (320 x 480). The game layout looks nice and all functions are working properly.

[android-developers] How to set selected color effect when click on any image button or image view same as iphone?

2011-09-19 Thread Sam
I have one screen with some image buttons and image view. when user click on these buttons or image view i need to show selected effect not replace any image instead of these. only selected dark shade effect on button or imageview same as iphone. How it's possible ? i have not any selected image

[android-developers] Re: How to deal with expensive view height calculation?

2011-09-19 Thread Ted Hopp
Thanks, Adam. It seems that onSizeChanged is the way to go. I can cache the last width passed in onSizeChanged and only trigger new work if the width changes. I'm glad you pointed out that onSizeChanged can be called with 0 width; I wouldn't want to do any work in response to that! Just to be

[android-developers] Re: ListView: responding to item clicks via a listener

2011-09-19 Thread John Goche
Hello, The solution was to attach an onItemClick listener to each list item rather than to the ListView itself like so: SimpleAdapter adapter = new SimpleAdapter(this, maps, R.layout.alarmgroups_item, from, to) { @Override public View getView(int position, View convertView,

[android-developers] Infinite horizontal scroll

2011-09-19 Thread Benjamin LE CUN
Hello, I'm trying to build an infinite horizontal carousel, which will basically be 5 images next to each other, with zoom animation on the one in the middle (1st and 5th image small, 2nd and 4th a bit bigger, and 3rd image is the biggest). The list of items displayed will be between 7 to 10,

[android-developers] Re: ListView: responding to item clicks via a listener

2011-09-19 Thread Streets Of Boston
The solution you have may work, but it's not the best... keyboard/dpad navigation of your list won't work well. My question is: What about R.layout.alarmgroups_item. Could you show the alarmgroups_item.xml contents? Maybe one of the items in there is clickable and/or focusable. -- You

Re: [android-developers] App force closes when Bluetooth connection occurs

2011-09-19 Thread Kristopher Micinski
Did you check the logcat? Is it completely silent? It's weird that there wouldn't be an exception thrown, but I spose weirder things have happened. Kris On Mon, Sep 19, 2011 at 6:04 AM, Steven Bruce stevebruc...@gmail.com wrote: Hi I have been following the Bluetooth guide on the Android

Re: [android-developers] Appication developed for 1.6 do not work on 2.3

2011-09-19 Thread Dianne Hackborn
You'll need to provide more than that. What error are you getting? What code is failing? On Sun, Sep 18, 2011 at 8:37 PM, Anshu anshu0...@gmail.com wrote: Hi.. I have developed an GPS application on android 1.6 platform.. Its working fine on 1.6 Now I have to make it work on android 2.3.3.

Re: [android-developers] Get Data from Database of selected Item

2011-09-19 Thread Bishan
thanx Krishna On 9/19/11, Krishna Prasad krishnaprasadrs.1...@gmail.com wrote: Use Simple cursor adapter insted of array adapter... Check http://thinkandroid.wordpress.com/2010/01/09/simplecursoradapters-and-listviews/ On Mon, Sep 19, 2011 at 4:54 PM, Bishan tvbis...@gmail.com wrote: Got

[android-developers] Older stuff

2011-09-19 Thread kypriakos
Hi all, does anyone know if there are any OTA updates archives for updating any older phones (HTC G1 and the like) from Android 1.1 to 1.5 or 1.6. The attempt is to eventually upgrade these phones to 2.2 but I think I will need to go through the older updates first before I get there? Plus I am

[android-developers] What can block my ProgtessDialog

2011-09-19 Thread nika-...@ya.ru
Hi all! I have a problem with my ProgressDialog in AsyncTask. public class Background extends AsyncTaskVoid, String, ArrayListEvents { @Override protected void onPreExecute() { startProgress(); super.onPreExecute(); }

Re: [android-developers] Re: ListView: responding to item clicks via a listener

2011-09-19 Thread John Goche
On Mon, Sep 19, 2011 at 5:32 PM, Streets Of Boston flyingdutc...@gmail.comwrote: The solution you have may work, but it's not the best... keyboard/dpad navigation of your list won't work well. My question is: What about R.layout.alarmgroups_item. Could you show the alarmgroups_item.xml

Re: [android-developers] Listview: heterogenous rows: if statements in XML layout file?

2011-09-19 Thread Mark Murphy
On Mon, Sep 19, 2011 at 9:14 AM, John Goche johngoch...@googlemail.com wrote: Is the documentation generated with javadoc? Yes, with some custom doclets. What does BaseAdapter do that ArrayAdapter cannot? Nothing, really. ArrayAdapter extends BaseAdapter. ArrayAdapter adapts arrays.

[android-developers] Android memory management question

2011-09-19 Thread KC203
I have bunch of queries regarding android memory management . I know each app is provided with jvm , but how about memory size , do they increase and decrease with respect to other apps on phone? The main part how do jni memory allocation in each jvm taken care ? When accessing one of the

[android-developers] Re: Some times R.Java file is not genarated? what is reason behind that

2011-09-19 Thread venugopal reddy
Thnakq very much On Mon, Sep 19, 2011 at 7:46 PM, Streets Of Boston flyingdutc...@gmail.comwrote: I think that's not happening because regenerating R.java, i.e. recompiling the resources, can take a looong time. However, when changing, adding or deleting a resource, R.java should be

[android-developers] How can i close current running application in android application?

2011-09-19 Thread venugopal reddy
hi guys, How can i close current running application in android application? can u pls help guys -- 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

[android-developers] ViewFlipper class does not support SurfaceView like it should

2011-09-19 Thread MobileVisuals
My app uses a ViewFlipper. It is possible to flip between the views without problems at first.But after switching to another app and then switching back to the ViewFlipper app, it is not possible to flip between the views. One of the views is always displayed as just a black screen. I have

Re: [android-developers] Cheap, rapid solution for disasters

2011-09-19 Thread Jim Graham
On Sat, Sep 17, 2011 at 2:16 AM, david davidg...@googlemail.com wrote: On Mon, Sep 19, 2011 at 10:46 AM, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: On Mon, Sep 19, 2011 at 11:38:30AM -0300, Nick Risaro wrote: I am looking for a Android GUI for cheap, rapid solution for disasters.

Re: [android-developers] ViewFlipper class does not support SurfaceView like it should

2011-09-19 Thread Dianne Hackborn
Don't use a SurfaceView in a ViewFlipper. Nor a ListView. SurfaceView is a *very* *special* view. As it says, what it does is create a completely separate surface (a.k.a. window) that is associated with your main window. This window is positioned behind the main window, and a hole punched

[android-developers] Need help with problem reading local variables

2011-09-19 Thread Ab Caballero
I am copying a SQLite database to a CSV file. I know the data is being written to the database, but when i write the code to save it as a CSV to external storage, the local variables are not being read. Any help is appreciated: //This is where i create the database private void initDatabase() {

Re: [android-developers] Digest for android-developers@googlegroups.com - 24 Messages in 11 Topics

2011-09-19 Thread Ekri
android-developers@googlegroups.com wrote: = Today's Topic Summary = Group: android-developers@googlegroups.com Url:

Re: [android-developers] Digest for android-developers@googlegroups.com - 24 Messages in 11 Topics

2011-09-19 Thread Ekri
android-developers@googlegroups.com wrote: = Today's Topic Summary = Group: android-developers@googlegroups.com Url:

Re: [android-developers] Digest for android-developers@googlegroups.com - 24 Messages in 11 Topics

2011-09-19 Thread Ekri
android-developers@googlegroups.com wrote: = Today's Topic Summary = Group: android-developers@googlegroups.com Url:

[android-developers] Disconnecting from the task

2011-09-19 Thread Andrei
Good afternoon. How can I clean up a variable search = intent.getStringExtra(SearchManager.QUERY), after the search is completed. I take the string so: Intent intent = getIntent(); if (Intent.ACTION_SEARCH.equals(intent.getAction())) { //Берем строку запроса из экстры

Re: [android-developers] Need help with problem reading local variables

2011-09-19 Thread Nick Risaro
On Mon, Sep 19, 2011 at 3:50 PM, Ab Caballero a...@mac.com wrote: StringBuffer fileBuf = new StringBuffer(); String tripName = null; String origin = null;

[android-developers] Re: How to make standard game design/layout through Surfaceview

2011-09-19 Thread RichardC
Look at the scaling methods of the Canvas you draw into. On Sep 19, 2:11 pm, Devon Smith devonsmit...@gmail.com wrote: I have used SurfaceView in my game. Right Now, I have created layout considering one device (320 x 480). The game layout looks nice and all functions are working properly. But

[android-developers] How does WebView handle content:// urls internally?

2011-09-19 Thread Jeff Thorn
Internally, how does WebView handle content:// urls? Does it use something like ContentResolver.openInputStream()? I tried looking at WebView source code and it appears that loadUrl eventually just calls the native webkit loadUrl method. So how does it resolve data from a content provider?

[android-developers] Re: Older stuff

2011-09-19 Thread Chris
You can flash newer firmware on older phones if the phone supports it. You're probably not going to get an update pushed over the air, though, you'll probably have to find a copy of the firmware and flash it yourself. Keep in mind that radio and bootloader firmwares will have to be updated,

[android-developers] Re: Need help with problem reading local variables

2011-09-19 Thread Ab Caballero
Thanks, Nick! I had written a method to do that an inadvertently forgot to call it. It was driving me crazy. On Sep 19, 12:29 pm, Nick Risaro nris...@gmail.com wrote: On Mon, Sep 19, 2011 at 3:50 PM, Ab Caballero a...@mac.com wrote:                                        StringBuffer fileBuf =

[android-developers] Receive Broadcast call when activity is paused

2011-09-19 Thread laminina
hello everybody! I created a BroadcastReceiver in my activity to receive when the Storage is unmounted, find an example code here: IntentFilter filter = new IntentFilter(); filter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); filter.addAction(Intent.ACTION_MEDIA_EJECT);

[android-developers] Re: Disconnecting from the task

2011-09-19 Thread laminina
you can clean the extras with RemoveExtra from the intent you are receiving. On Sep 19, 11:58 am, Andrei entre...@gmail.com wrote: Good afternoon. How can I clean up a variable search = intent.getStringExtra(SearchManager.QUERY), after the search is completed. I take the string so: Intent

[android-developers] Re: Receive Broadcast call when activity is paused

2011-09-19 Thread laminina
The UI is like this link Image http://androidadvices.com/wp-content/uploads/2011/08/Connect-USB-Storage.png On Sep 19, 1:53 pm, laminina jennys.jen...@gmail.com wrote: hello everybody! I created a BroadcastReceiver in my activity to receive when the Storage is unmounted, find an example code

[android-developers] I'm struggling to understand differences between View.setBackground( NinePatchDrawable) and View.setBackground( BitmapDrawable) differ. As one produces drawing errors while the ot

2011-09-19 Thread neuromit
I have an activity with a grid of 3x4 ImageButtons. When an ImageButton is pressed it grows to fill the screen then shrinks back down to its original location and size. However _during_ the shrink animation trailing lines are left and are only cleared once the animation has finished. I posted

[android-developers] OK for LoaderManager.LoaderCallbacks.onCreateLoader() to return null?

2011-09-19 Thread goosedroid
If the creation of the loader fails in LoaderManager.LoaderCallbacks.onCreateLoader(), is it ok to return null? Looking through the source code for LoaderManager it appears the implementation handles this scenario gracefully, but the docs don't say either way (as usual). -- You received this

Re: [android-developers] Re: Need help with problem reading local variables

2011-09-19 Thread Nick Risaro
On Mon, Sep 19, 2011 at 5:10 PM, Ab Caballero a...@mac.com wrote: Thanks, Nick! Your welcome I had written a method to do that an inadvertently forgot to call it. It was driving me crazy. Sometimes the only you need are some fresh eyes On Sep 19, 12:29 pm, Nick Risaro

[android-developers] Databases

2011-09-19 Thread kypriakos
Hi all, I create a database in the assets of a project and install and start the app. When does Android copy the database in the /data/data/app name/databases directory? I don't see it listed there until I open an sqlite3 DB handler to it in the code. Is this right? Thanks -- You received

[android-developers] Re: Databases

2011-09-19 Thread kypriakos
Please ignore the posting below: the database was not being created in the OnCreate so thought that the Android was scheduling the creation at a later point in time. I do have methods that transfer the DB from the assets to the appropriate directories. I apologize for the extra email. Thanks

[android-developers] What the hell is ActivityManager.isUserAMonkeyFor???

2011-09-19 Thread Mark Ayers
I am truely baffled by the isUserAMonkey class. What on earth is it for? -- 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] How to implement back button functionality in activitygroup?

2011-09-19 Thread TreKing
On Mon, Sep 19, 2011 at 4:11 AM, pramod shirsath shirsath.pra...@gmail.comwrote: Fatal Exception: main java.lang.StackOverflowError Can anyone tell me the solution? Use your debugger? Stackoverflow means you're stuck in an infinite loop - use your debugger to figure out where.

[android-developers] Re: What the hell is ActivityManager.isUserAMonkeyFor???

2011-09-19 Thread Streets Of Boston
http://developer.android.com/guide/developing/tools/monkey.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 from this group, send email to

Re: [android-developers] What the hell is ActivityManager.isUserAMonkeyFor???

2011-09-19 Thread Mark Murphy
It will tell you if the user is the Test Monkey. Or possibly monkeyrunner. Or perhaps has the name Caesar (in which case, watch out, as he's one cranky monkey). On Mon, Sep 19, 2011 at 7:39 PM, Mark Ayers markthe...@gmail.com wrote: I am truely baffled by the isUserAMonkey class. What on earth

[android-developers] Frame Drop Management in Video Player

2011-09-19 Thread Ganesh
Dear Experts, In Video playback, the current algorithm uses the audio track's time source as reference and based on the thresholds, a decision is taken if a video frame can be rendered or dropped or delayed. This is implemented in AwesomePlayer.cpp, onVideoEvent method. If there is some block in

[android-developers] 7 wm8650 calling tablet

2011-09-19 Thread hussam eldin amin abu talib
I NEED YOUR HELP PLS I PURCHASED 7 VIA WONDERMEDIA8650 TABLET WITH SIM CARD SLOT,4GB INTERNAL MEMORY GREEN LED ,BLACK AUDIO.I SEARCHED ALOT OF WEBSITE TO KNOW ITS MODEL AND FINALLY GOT IT SEE SPECIFICATION IN THIS LINK http://www.alibaba.com/product-gs/48551 ... _with.html MY DEVICE NOW IS

[android-developers] Cannot connect to Samsung Galaxy 10.1

2011-09-19 Thread gag
Hi Everyone, I am trying to run and debug my application on a Samsung Galaxy 10.1 tablet. When I try to launch it from Eclipse, I don't the Galaxy under the attached devices. I installed the USB driver. Is there anything else I am missing? Any help would be greatly appreciated. Thanks, Greg

[android-developers] License Check fails for 5-10% of legit users

2011-09-19 Thread Kenny Wyland
This is really starting to become an issue. I'm getting bad reviews and my word of mouth recommendations for my apps are stopping because the Google Licensing service is repeatedly denying users the first time they start the app. I get emails from users regularly and I need to find a solution. I'm

[android-developers] A question regarding process fork()

2011-09-19 Thread SagarJ
I am looking to leverage an existing automated test framework and a number of existing tests written in native code for that framework for android. The production android code will not be using fork() call but I believe the test framework would be used without changing the existing fork() based

[android-developers] Error in the sample code files

2011-09-19 Thread melis
Hello, when i try to create a new android project from the existing source (C: \android-sdk_r12-windows\android-sdk-windows\platforms\android-10), i'm getting an error like this: Unknown format name 'fraction' in attr name=verticalGap, file 'C:

[android-developers] How do you copy the contents of HTML div into Java through WebView?

2011-09-19 Thread hollandnumerics
I have a WebView pointing to an HTML file, which will contain a clickable div containing some formatted text. I would like the click to copy the contents of the div (i.e. innerHTML) back to Java to be inserted in an email. Current Java code: private WebSettings webSettings; private WebView

[android-developers] ListFragment items not refreshed in view, but db, and adapter are updated.

2011-09-19 Thread Bourke Floyd IV
I just moved to Fragments a few weeks ago and I've enjoyed allot of neat benefits like the PageView for my sorting filters on my main listfragment. For some reason on my ListFragment when I restartLoader to requery the new data in the Cursor (which is the correct data) and I call swapCursor on

[android-developers] FragmentStatePagerAdapter getItem only called for starting orientation, which in turn keeps some fragments between orientation change (not recreates them)

2011-09-19 Thread Bourke Floyd IV
My source is below, but I was hoping that the Fragements getItem would be called after an orientation change on all page items, so that I can re-populate my fragment tracking code seen below in the adapter but it seems that somehow in the background the framents are saved between orientations and

[android-developers] BrowserForFolder

2011-09-19 Thread John
Newbie question: Does Android have a BrowserForFolder function? Scenario: My app needs to ask the user to pick a folder. Is there a way to spawn an OS widget that will return the user's choice, or do I have to roll my own using a ListView activity and java.IO? Thanks. -- You received this

[android-developers] Importing a project using com.android.internal.* packages

2011-09-19 Thread MarKco
Hello to everybody, my name is Marco, I'm a newbie as a forum user and as a Android developer. The issue I'd like to share with you is - I think - quite simple for somebody who already have some experience with Android. What happens is that I need to work in a previously developed project, which

[android-developers] Image recognise

2011-09-19 Thread Marcin M.
I would like to build an app that will do some action after camera recognise predefined image. But i have no idea how to do it. I saw that junaio browser can do exactly what i want but i would like to implement it in my own app. I'am looking for framework or somenthing that allows markerless

[android-developers] Help developing an app

2011-09-19 Thread Johnny Five(5)
a href=http://therentalsearch.com; For Rent_The Rental Search/a This is the site i am launching, and i am hoping to find some help getting an app developed for users to browse on their mobile device. I am adding a QR code for all of the listings as well and hope to incoprorate that into it. --

[android-developers] Implementing database in Android

2011-09-19 Thread Gaurav Srivastava
Hello, I want to develop an application in Android which needs to implement database. so anyone is having a demo or sample application which is running properly and will be useful for me? Please reply. -- You received this message because you are subscribed to the Google Groups Android

  1   2   >