[android-developers] Questions reg. handling WiFi disconnects when device sleeps

2010-11-22 Thread Samuh
I am connecting to a remote server in my Android application. I have noticed that when the device goes to sleep/standby WiFi is disconnected and that when the device wakes up, it gets reconnected. A check-Network-Connectivity code has been put before httpClient.execute(..) call. An assumption is

[android-developers] Re: Query on Customs Map application

2010-11-22 Thread Satya
Hi trek, Thanks for your response. WRT the second point. If at all some application developer develops a custom Maps application then how can he put that on to the target because all custom Maps applications needs to include com.google.android.maps in the respective Manifest files. By default you

Re: [android-developers] How to create a emulator for Samsung Galaxy

2010-11-22 Thread Marcin Orlowski
On 22 November 2010 07:48, Android Humanoid droid.hu...@gmail.com wrote: Can anyone tell me how to create an emulator for samsung phone. Is there any add-on for this. New to internet search? http://innovator.samsungmobile.com/galaxyTab.do -- You received this message because you are

[android-developers] Activity state

2010-11-22 Thread pedr0
Hi at all, I want see the state of my activity (Pause Stop Resume etc etc) without override each methods like this: onPause(){ super(); Log.d(TAG, this activity+name+will come in Pause state); } There is a way to see that using an Android tools ?DDMS allow to see this, I think not but I ask for

[android-developers] onCallbackDied

2010-11-22 Thread Ravi Singh
Hi, I have a remote service which has many clients connected(BINDed) to it. In my service, I wish to perform some functionality when any of my clients is crashed/killed unexpectedly. I came to know about onCallbackDied() API but don't know how to use. Any example or link showing usage of

Re: [android-developers] Re: Passing values from an Activity to a class that extends View Class

2010-11-22 Thread Kostya Vasilyev
It's typical in Android apps for Activity (or closely held code, like small inner class helpers) to coordinate setting values in views, based on data stored in the activity. However, sometimes it doesn't work well, such as when you have a custom View subclass that does more than display a

Re: [android-developers] Re: When is android market opening to India??

2010-11-22 Thread Vijay Vikrant
But the market is not yet open to Developers in India. Any clue if that is on cards anytime soon?? Regards, Vikrant On Sat, Oct 9, 2010 at 2:43 AM, Pent tas...@dinglisch.net wrote: India got paid apps on the 6th and I have since had orders from customers in India. Ditto, though not many.

[android-developers] ServerManagedPolicy not working as expected - getting many This app is not licensed responses.

2010-11-22 Thread kk
Hi all, I've implemented the ServerManagedPolicy based on the sample in the LVL libs. My understanding was that it's much more flexible comparing to the StringPolicy in the it caches responses and it doesn't always need to check. In my dev panel I have the settings for my app returning LICENSED

Re: [android-developers] Android market free app unchanged for the last 4 days

2010-11-22 Thread Evgeny V
The same for both paid and free applications. No updates about 4 days. Thanks, Evgeny On Mon, Nov 22, 2010 at 7:15 AM, narasimha rao knarasimha@gmail.comwrote: in android market i am publish app 4 days back , just the download numbers for my (free) app have been unchanged for the last 4

[android-developers] Re: Android market free app unchanged for the last 4 days

2010-11-22 Thread Nacho Pintos
Same here, both paid and Free, since last Thursday On 22 nov, 11:25, Evgeny V evgen...@gmail.com wrote: The same for both paid and free applications.  No updates about 4 days. Thanks, Evgeny On Mon, Nov 22, 2010 at 7:15 AM, narasimha rao knarasimha@gmail.comwrote: in android

[android-developers] Re: order by clause

2010-11-22 Thread pramod.deore
I have still the problem. I read at

[android-developers] How to embed an external Activity inside one of mine?

2010-11-22 Thread Francesco Vadicamo
Hi all, I need an Activity showing a specified PDF and two buttons. Is possibile to embed an external PDF viewer - showing a specified URI - inside the view of my application? How can I do it? Thanks in advance, Francesco -- You received this message because you are subscribed to the Google

[android-developers] Update to sdk have broken app building..

2010-11-22 Thread Namrata
Hi, I am building an application which has one android lib. For android lib android.library=true set in default.properties. In main application have mentioned android.library.reference.1 with correct path. Using ant it was building fine prior to update sdk to 2.2. Now it is giving following error

Re: [android-developers] Re: order by clause

2010-11-22 Thread ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ
I made this for myself and it works I created a class named fro example dbFile public class DbFile { static Cursor getAll(SQLiteDatabase db) { return(db.rawQuery(SELECT * FROM TableName ORDER BY ColumnName, null)); } } and from my activity class i declare Cursor model=null; and on create i call:

[android-developers] Re: order by clause

2010-11-22 Thread pramod.deore
Hi, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ yes it solves my problem. But I don't understand what earlier query not work. On Nov 22, 4:28 pm, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ plia...@gmail.com wrote: I made this for myself and it works I created a class named fro example dbFile public class DbFile  { static Cursor

[android-developers] Display Calendar Instance

2010-11-22 Thread paresh mayani
Hello all, i have referred the example given on: http://goo.gl/1uxXv , But it is not showing the exact DatePicker dialog as given in the book example, what i should do to display the same dialog box or Calendar instance in my application ?? pls Help me -- You received this message because you

Re: [android-developers] Re: order by clause

2010-11-22 Thread ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ
If you work on Eclipse try to read carefully the Console and logCat window, maybe there you'll find the answer Στις 22 Νοεμβρίου 2010 1:38 μ.μ., ο χρήστης pramod.deore deore.pramo...@gmail.com έγραψε: Hi, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ yes it solves my problem. But I don't understand what earlier query

[android-developers] su: permission denied error

2010-11-22 Thread kamiomar
By using command prompt access the device shell/terminal. then use the su command getting permission denied error. Why this happening? how can i solve this problem. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Problem with playing sound

2010-11-22 Thread tina lincon
Hi all, I am playing a sound in my application.Most of the time it plays succesfully without any pause.It is a short duration type sound file which lasts for 1 sec(a tick -tock sound of clock) which I am repeatedly playing infinitely and most of the times there are no issues.But rarely it happens

Re: [android-developers] Re: android for OCR library?

2010-11-22 Thread Ray da Costa
Regards The cool, but runs on android? Have you ever done anything to Andoid this api? 2010/11/21 JP joachim.pfeif...@gmail.com Assembly required. On Nov 21, 4:34 am, ko5tik kpriblo...@yahoo.com wrote: On Nov 20, 8:36 pm, JP joachim.pfeif...@gmail.com wrote: The Tessaract OCR

Re: [android-developers] Problem in loading image on the layout on clicking button.

2010-11-22 Thread alok upadhyay
thanks for the hint!! On Sat, Nov 20, 2010 at 12:54 AM, TreKing treking...@gmail.com wrote: On Wed, Nov 17, 2010 at 12:37 AM, Alok Upadhyay maddy.luck...@gmail.comwrote: Problem:i am able to load images in next button click but as i click on back button no image got loaded. Look at the

Re: [android-developers] Re: android for OCR library?

2010-11-22 Thread Ray da Costa
How to proceed to install the HTC 1.6? 2010/11/22 Ray da Costa raydaco...@gmail.com Regards The cool, but runs on android? Have you ever done anything to Andoid this api? 2010/11/21 JP joachim.pfeif...@gmail.com Assembly required. On Nov 21, 4:34 am, ko5tik kpriblo...@yahoo.com wrote:

Re: [android-developers] Re: Bluetooth in Andoid?

2010-11-22 Thread Ray da Costa
Nanek Lance, thank you. I tried to do this, notice if it works. But still no one in the group knows where or how to go about these ABIX pacontes, the link: http://developer.android.com/resources/samples/BluetoothChat/index.html not have details. 2010/11/19 Lance Nanek lna...@gmail.com You need

Re: [android-developers] Re: Bluetooth in Andoid?

2010-11-22 Thread Kostya Vasilyev
Bluetooth support in Android 2.0 is more complete than in previous releases. If supporting 1.5 and 1.6 devices is a priority, take a look at this: There is a library that fills some of the gaps, available here: http://code.google.com/p/android-bluetooth/ It appears to have been abandoned

[android-developers] Re: Issue loading native libraries (i.e. System.load()/dlopen) on my Nexus One after FRG83 System update

2010-11-22 Thread Piyush Khanna
Hi David, Thanks so much for your post...very helpful :) I'll definitely try the 'user' build and check the issue. I'm not exactly sure which tool to use for getting a dump of the dynamic section and dynamic symbol table...is it 'nm'? Thanks, Piyush On Nov 18, 8:26 pm, David Turner

Re: [android-developers] Re: Android market free app unchanged for the last 4 days

2010-11-22 Thread Marcin Orlowski
On 22 November 2010 12:05, Nacho Pintos nacho.pin...@gmail.com wrote: Same here, both paid and Free, since last Thursday Mine updates -- 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] Stopping activity problem

2010-11-22 Thread umakantpatil
I have app which has around 5 activities. When App is loaded I open Activity A and IF user opens then menu and click on button 2 then Activity B is opened, If users clicks button 3 from menu then Activity C is opened. Its just like instead of tab i m using menu. Now the problem is. If i m at

[android-developers] Re: Stopping activity problem

2010-11-22 Thread umakantpatil
In short, question is how to close B activity from activity A. ? On Nov 22, 6:34 pm, umakantpatil umakantpat...@gmail.com wrote: I have app which has around 5 activities. When App is loaded I open Activity A and IF user opens then menu and click on button 2 then Activity B is opened, If users

[android-developers] Re: Crash Reports - new version of ACRA available for tests

2010-11-22 Thread mot12
Kevin, This is great. I love the new integration and will start my own testing soon. Thanks again for providing such a great tool. Martin mobitobi.com Gentle Alarm, Sleep Now -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Stopping activity problem

2010-11-22 Thread paulb
Can you close the activities after you activate the next one? Then, you will only ever have open one activity. On Tue, Nov 23, 2010 at 12:50 AM, umakantpatil umakantpat...@gmail.com wrote: In short, question is how to close B activity from activity A. ? On Nov 22, 6:34 pm, umakantpatil

[android-developers] Re: Stopping activity problem

2010-11-22 Thread umakantpatil
Thanks paul. That is the solution currently i have with me. But i dont want that because: Each activity fetches valued from db and renders them. So when i move within the activities. Each time it doesn't fetch data from and and re-render it. It just brings the activity to the front. But If i keep

[android-developers] Re: Android market free app unchanged for the last 4 days

2010-11-22 Thread John Gaby
My paid apps are updating, but not my free apps. On Nov 22, 5:21 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 22 November 2010 12:05, Nacho Pintos nacho.pin...@gmail.com wrote: Same here, both paid and Free, since last Thursday Mine updates -- You received this message because

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

2010-11-22 Thread Qin Ding
I have two local html pages. At start, one page is loaded with a few input text fields and buttons. One button triggers the second pages to be loaded with a few input fieds and buttons. Now, my JavascriptInterface on the main activity tris to populate the second page's input test by calling the

[android-developers] Using html in WebView to build UI

2010-11-22 Thread JavaMan
Hi all, I've been building my app using the standard xml and Java Android layout libraries. I don't like the set up very much; and I would prefer to build the ui in html. I've been testing the speed of the WebView; and it seems that it is quite fast at rendering. Does anyone know if Google has

[android-developers] Just a concern on Async Task

2010-11-22 Thread umakantpatil
Hey, I just have a concern about AsycnTask. If i have one activity which starts a async task. Now that activity goes in background and new activity gets opened visible to us. So the async task opened by previous activity stops or it still keeps going in background or it pauses or stops ? --

[android-developers] A scroll view with only part of the screen scrolling

2010-11-22 Thread darrinps
I've done this before but what worked for another project isn't working now. All I want to do is have a text field and some buttons at the top that stay anchored and a scroll view under them that scrolls. Here is what I have. All that does is show the button with everything else writing over top

Re: [android-developers] Just a concern on Async Task

2010-11-22 Thread Mark Murphy
The AsyncTask's background thread will keep running, and so doInBackground() should run to completion. Work in publishProgress() and onPostExecute() may be delayed until the activity is resumed -- I have not tried that scenario. On Mon, Nov 22, 2010 at 10:21 AM, umakantpatil

Re: [android-developers] Using html in WebView to build UI

2010-11-22 Thread Mark Murphy
Considering that PhoneGap, Rhodes, Titanium Mobile, and other frameworks are all based on using WebView for rendering UIs, you are in good company. Bear in mind that *users* may or may not agree with your decision, since your UI will tend to look and feel different than a native UI. On Mon, Nov

[android-developers] View.computeScroll(): How to implement it correctly?

2010-11-22 Thread Jonas Schwertfeger
This has been asked before by Daren (here http://groups.google.com/group/android-developers/browse_thread/thread/ab41256a0f57cd44/0c082d62ed206733 and here http://groups.google.com/group/android-developers/browse_thread/thread/3e6276e775b9685b/8b37670956c9b03f) and even though Romain Guy replied,

[android-developers] Re: android for OCR library?

2010-11-22 Thread JP
See if you can find the Mezzonfanti app somewhere. I've tried it out last year, it ran just fine. Unless unpublished, it should still be in the Market. I experimented with Tessaract OCR on a client project some three months ago, but they put a stop on it before I could finish it. At any rate,

[android-developers] using sqlite in native code

2010-11-22 Thread manigault
Hi all i have a library written in C which implements some complicated algorithm over two databases and as a result produce new one. I am trying to import it in android using android-ndk. What is the correct wat to use sqlite in you native libraries, i was able to build the sqlite manually using

Re: [android-developers] Re: Guidelines on using Webview to render UI - getting approval for Market

2010-11-22 Thread Marcin Orlowski
Do however expect lot of negative comments and 1 star rates for doing this. Not necessarily - it all depends on how it's done. Last I checked, for example, EverNote was using a webview to implement their native Android app, and it has 12457 ratings with an average of 4.08 stars. Correct.

Re: [android-developers] Re: Android market free app unchanged for the last 4 days

2010-11-22 Thread Marcin Orlowski
On 22 November 2010 15:39, John Gaby jg...@gabysoft.com wrote: My paid apps are updating, but not my free apps. Free of mine are, so it seems like random pattern :/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Developing and debugging on Logitech Revue

2010-11-22 Thread Marcin Orlowski
Hi, Anyone using Logitech Revue for GTV's development? I mean - are these any restrictions (Logitech ships within US only for now) or once can i.e. debug/test their apps outside US w/o much hassle? Any info appreciated -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Android Flicker Login

2010-11-22 Thread TreKing
On Wed, Nov 17, 2010 at 9:01 AM, QuocTan queo1...@gmail.com wrote: How to login flickr on my android program. This has nothing to do with Android: http://www.flickr.com/services/api/ - TreKing

Re: [android-developers] Developing and debugging on Logitech Revue

2010-11-22 Thread Mark Murphy
You cannot write apps for Google TV at present. On Mon, Nov 22, 2010 at 10:45 AM, Marcin Orlowski webnet.andr...@gmail.com wrote: Hi, Anyone using Logitech Revue for GTV's development? I mean - are these any restrictions (Logitech ships within US only for now) or once can i.e. debug/test

Re: [android-developers] problems reloading map in android.

2010-11-22 Thread TreKing
On Wed, Nov 17, 2010 at 5:19 PM, Riz iz.gem@gmail.com wrote: how can i solve this problem ?? Debug your app. Look at the LogCat output to find out what the error is, for starters. - TreKing

[android-developers] Re: how to build android.jar?

2010-11-22 Thread Hal
In very general terms, you can try the following: - use jar or ant to create the jar file jar destfile=${lib.home}/android.jar basedir=${build.home}/classes/ - This jar file needs to be part of your Eclipse/android project. This works in general. On Nov 21, 8:15 pm, Shuo

[android-developers] Re: make JPEG image has map

2010-11-22 Thread sal
Hi Kostya, Thanks for ur concern. I dont want precision and reliabilty, I just want a source code of sample application which lets me draw image has a map and allow me to mark the location on the map. pointer to sample source code would be appreciated rgds Sal On Nov 20, 3:24 pm, Kostya

[android-developers] Re: Using html in WebView to build UI

2010-11-22 Thread JavaMan
Ok, thanks. I planned on changing the UI look and feel a little anyway. I just hope it's fast enough! Thanks Vance On Nov 22, 10:32 am, Mark Murphy mmur...@commonsware.com wrote: Considering that PhoneGap, Rhodes, Titanium Mobile, and other frameworks are all based on using WebView for

Re: [android-developers] changes to Android Market

2010-11-22 Thread TreKing
2010/11/18 Éva Lovrencsics lovi...@gmail.com What is a feature graphic? I googled it but didn't find any example. I think we're all waiting for Google to explain what the hell these required graphics are for.

Re: [android-developers] Custom view in gallery

2010-11-22 Thread TreKing
On Thu, Nov 18, 2010 at 12:59 AM, Shalini coolcool.shal...@gmail.comwrote: i want a custom view which will contain one textview and one imageview ,in a gallery as an item. OK. can anyone send me the code for that? No one is going to do your work for you, sorry. Please tell me how to

[android-developers] Re: Handling Android device without Menu button

2010-11-22 Thread Stephen Lebed
Thanks for the feedback Mark! It turns out that the device has a menu button in the status bar, and the user wants me to not display my app full frame in order for him to access it. I wonder if devices without a dedicated menu button will be a major issue in the future. I really don't want to

Re: [android-developers] Re: Handling Android device without Menu button

2010-11-22 Thread Mark Murphy
On Mon, Nov 22, 2010 at 2:20 PM, Stephen Lebed srle...@gmail.com wrote: It turns out that the device has a menu button in the status bar, and the user wants me to not display my app full frame in order for him to access it.  I wonder if devices without a dedicated menu button will be a major

[android-developers] Anyone seeing mysterious application crashes lately?

2010-11-22 Thread Kostya Vasilyev
I've am seeing some pretty mysterious crash reports in the Market Console lately. One is an OutOfMemoryError in Bitmap.nativeCreate, which is actually a 2 by 2 bitmap for a hatched Paint object. Another is a NullPointerException in String.concat - in code that calls getTitle on an Activity,

Re: [android-developers] Re: Stopping activity problem

2010-11-22 Thread Kostya Vasilyev
Hi, Take a look at Activity lifecycle chart: http://developer.android.com/guide/topics/fundamentals.html#actlife (scroll down a bit to see the chart) You may need to override onStart or onRestart, and fetch data there. If you still need to change how your activities behave, take a look at

Re: [android-developers] Re: make JPEG image has map

2010-11-22 Thread Kostya Vasilyev
Ok, then. Subclass ImageView, implement onTouch to handle user interaction, handle scrolling, etc. http://developer.android.com/guide/topics/ui/ui-events.html Trying to get location from GPS is *probably* going to be meaningless. My Motorola Milestone shows location precision of about

Re: [android-developers] Re: Market statistics stall

2010-11-22 Thread David Erosa García
I got the following response from Google: Hello, Thank you for taking the time to write to us. Our team is currently investigating multiple reports of metrics in the Developer Console being out-of-date. We hope to have a resolution soon, and will contact you if we need further information.

Re: [android-developers] Re: Market statistics stall

2010-11-22 Thread Kumar Bibek
Aah, Patience :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 2:06 AM, David Erosa García soul...@gmail.comwrote: I got the following response from Google: Hello, Thank you for taking the time to write to us. Our team is currently

[android-developers] Re: Guidelines on using Webview to render UI - getting approval for Market

2010-11-22 Thread Rukksi
Thanks all for your input, I realise it is the easy way to get an app up there which is perhaps why crappy ones are often Webview based. Hopefully with a focus on quality it won't have to be the case :-) Thanks again Russ On Nov 23, 4:47 am, Marcin Orlowski webnet.andr...@gmail.com wrote: Do

[android-developers] Re: Handling Android device without Menu button

2010-11-22 Thread String
On Nov 22, 7:20 pm, Stephen Lebed srle...@gmail.com wrote: It turns out that the device has a menu button in the status bar, and the user wants me to not display my app full frame in order for him to access it. Recommended reading:

[android-developers] Re: LVL - Yay or Nay?

2010-11-22 Thread Sheado
thanks for the feedback guys, Pent - have you noticed if your sales have increased since adding LVL? I know it's different on a case-by-case basis, but I always like hearing specific cases. JP - we're definitely going freemium with one of our apps, but the other niche ones we need to charge some

Re: [android-developers] Re: Query on Customs Map application

2010-11-22 Thread TreKing
On Mon, Nov 22, 2010 at 2:32 AM, Satya ksprasa...@gmail.com wrote: If at all some application developer develops a custom Maps application then how can he put that on to the target because all custom Maps applications needs to include com.google.android.maps in the respective Manifest files.

Re: [android-developers] Anyone seeing mysterious application crashes lately?

2010-11-22 Thread Jonas Petersson
Hi Kostya, On 11/22/2010 09:00 PM, Kostya Vasilyev wrote: I've am seeing some pretty mysterious crash reports in the Market Console lately. [...] I am wondering if anyone else is seeing strange errors like these, and whether they can be caused by devices that have really low-quality firmware,

Re: [android-developers] List child item focus change

2010-11-22 Thread TreKing
On Fri, Nov 19, 2010 at 12:53 AM, Mutturaj muttur...@gmail.com wrote: 1) Background of the button should change to blue if user clicks on list child item. 2) Background of the button should change to white if user clicks on other views. Track the currently selected item and reset it's color

[android-developers] Re: LVL - Yay or Nay?

2010-11-22 Thread Pent
Pent - have you noticed if your sales have increased since adding LVL? I know it's different on a case-by-case basis, but I always like hearing specific cases. Sorry, can't say. I put it in very shortly after release. Pent -- You received this message because you are subscribed to the

Re: [android-developers] Determining the subset of text that is visible in a TextView

2010-11-22 Thread TreKing
On Fri, Nov 19, 2010 at 10:00 PM, HippoMan hippo.mail...@gmail.com wrote: Is there any way that I can then query this TextView or some other component in order to find out the subset of the text which is actually being displayed? If nothing else, you can look at the source code for TextView

Re: [android-developers] Intent loading issue in MenuItem

2010-11-22 Thread TreKing
On Sun, Nov 21, 2010 at 5:06 AM, Chandana Napagoda cnapag...@gmail.comwrote: Is any body know fix this? I cannot open Google map Activity from menu item. Make sure your uses library element in the manifest is in the right place (withing the application element).

Re: [android-developers] Detecting Task Resume

2010-11-22 Thread TreKing
On Fri, Nov 19, 2010 at 9:32 AM, Some Coder somecoder...@gmail.com wrote: What is the cleanest way to do this? Initialization code should go in onCreate. Here you get a null Bundle if it's starting from scratch, otherwise it's non-null if you were killed and need to resume what you were doing.

Re: [android-developers] AdMob ads only display for a second

2010-11-22 Thread TreKing
On Mon, Nov 22, 2010 at 1:31 AM, CrazyH huang...@gmail.com wrote: The ad only displays for a brief moment, no more than a second, then it goes away and becomes empty space again (no ad). So it just repeats like this: no ads for while, brief display of ad, no ads again for while, and so on.

[android-developers] Re: New MiKandi Launch with Support For Paid Apps

2010-11-22 Thread Shane Isbell
And just out is the MiKandi App Store demo video: http://www.youtube.com/watch?v=Qk7Kbc8S12I It shows how the new client works with virtual currency and the theater section. On Sun, Nov 21, 2010 at 10:32 AM, Shane Isbell shane.isb...@gmail.comwrote: New MiKandi launch, check out the

Re: [android-developers] Re: Mutating of nine-patch images

2010-11-22 Thread Dianne Hackborn
2010/11/16 Евгений Григорьев grigoriev.evgen...@gmail.com I understand stretching of image, but there is some other changing of image. There is simple way to see this: Just create 1-pixel thin round- rectangle line. And using draw9patch set top stretchable area: 1 middle pixel, and left

[android-developers] ListAdapter source

2010-11-22 Thread Bret Foreman
I want to look at the source code for the ListAdapter class without downloading the entire Android source code tree. Is there a way to do that? -- 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] [TabActivity]Encountered NullPointerException. Could anyone give me a hand ?Thanks

2010-11-22 Thread Shawn_Chiu
Hi, all I encountered an excepiton when I used TabActivity. Each tab content is a seperate activity. Could anyone give me a hand ?Thanks :-) The exception stack trace is as follow: -

[android-developers] Re: ListAdapter source

2010-11-22 Thread Bret Foreman
What I'm really trying to figure out is how ListAdapters and ListViews handle the Views that are off-screen and how they reuse View objects. On Nov 22, 5:48 pm, Bret Foreman bret.fore...@gmail.com wrote: I want to look at the source code for the ListAdapter class without downloading the entire

Re: [android-developers] ListAdapter source

2010-11-22 Thread Mark Murphy
On Mon, Nov 22, 2010 at 8:48 PM, Bret Foreman bret.fore...@gmail.com wrote: I want to look at the source code for the ListAdapter class without downloading the entire Android source code tree. Is there a way to do that? Use Google Code Search: http://www.google.com/codesearch Search on:

[android-developers] Re: order by clause

2010-11-22 Thread pramod.deore
Ok, Thanks for your help. On Nov 22, 4:54 pm, ΠΑΣΧΑΛΗΣ ΠΛΙΑΧΑΣ plia...@gmail.com wrote: If you work on Eclipse try to read carefully the Console and logCat window, maybe there you'll find the answer Στις 22 Νοεμβρίου 2010 1:38 μ.μ., ο χρήστης pramod.deore deore.pramo...@gmail.com έγραψε:

[android-developers] Re: Passing values from an Activity to a class that extends View Class

2010-11-22 Thread hari
i am still facing a minor problem with this... I created the view... But i donno where i should enter the xml layout for it... Let me paste the code here... pls have a look n tell me what to do ... This is the initial code that will load a simple form

[android-developers] SAX- \n \r not recognized

2010-11-22 Thread Android Humanoid
Hi All, I'm using a SAX Parser where it is not recognizing \n \r symbols that am getting from it, but when I save the file instead of parsing through a parser they are seen in the file. My xml file is of utf-8 format. Please cay anyone help me. Thanks Regards. -- You received this message

[android-developers] Re: Encountered NullPointerException. Could anyone give me a hand ?Thanks

2010-11-22 Thread pramod.deore
Hi Shawn_Chiu, You have not override onCreate method in HelloTabActivity class correctly. override it as @Override public void onCreate(Bundle savedInstanceState) { super.onCreate (savedInstanceState); } And remove statement super.onCreate

Re: [android-developers] SAX- \n \r not recognized

2010-11-22 Thread Frank Weiss
Please provide more details. 1. Since you mention symbols, are you using a push or pull SAX parser? 2. Newlines between *opening* XML elements are typically ignored, not by the parser itself, but by the handler. 3. Newlines in a text node (characters) are significant. Is this the case you are

[android-developers] Web Slice for Android

2010-11-22 Thread Bobby
I would like to know how to implement the Web Slice functionality in Android Web browser. Is there any app already that you people know ? Please guide me as I am very new to the webkit and browser !! ref:http://en.wikipedia.org/wiki/Web_Slice Regards Phani Kanth -- You received this message

[android-developers] twitter integration

2010-11-22 Thread akt
Hi Folks Could you please any one help for twitter integration with android. i have implemented game application there user can post there status on facebook as well as twitter i have done integrating facebook. i failed with twitter.please anyone help me i searched on net by using that only

[android-developers] Apps not showing in Market

2010-11-22 Thread stymie
I just updated to Froyo(2.2).Now when I search for my apps in the marketPlace they are not showing up in my search.I had the minSDK set to 1.6(4) when I developed them. Why would the apps not show now.This worry me. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Encountered NullPointerException. Could anyone give me a hand ?Thanks

2010-11-22 Thread pramod.deore
Hi Shawn_Chiu, you had not override onCreate() method of HelloTabActivity class. override it as public void onCreate(Bundle savedInstanceState) { super.onCreate (savedInstanceState); } your activity is extending from TabActivity, so remove line

[android-developers] Apps not showing in Market

2010-11-22 Thread stymie
I just updated to Froyo(2.2).Now when I search for my apps in the marketplace they are not showing up.I had the minSDK set to 1.6(4) when I developed them. Why are the not showing with Froyo?This worries me somewhat, -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] twitter integration

2010-11-22 Thread Kumar Bibek
I would suggest that you don't write your own Twitter client, but use existing apps for this. Write a generic share module, which would show different channels through which the user could share his scores. This will also take care of facebook. You just have to pass the message, and let the user

[android-developers] How to fix imageviews in customized 2d shapes

2010-11-22 Thread sunrises
Hi, I need to fix images in customized 2D shapes,for example if we have a 2D diamond shape,I need to insert the image to that shape,I extended the ImageView class and Im able to create diamond shape with the help of canvas in onDraw() method..But Im unable to insert the image into that diamond

[android-developers] Re: SAX- \n \r not recognized

2010-11-22 Thread Android Humanoid
SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader xr = sp.getXMLReader(); SearchHandler sh=new SearchHandler(); xr.setContentHandler(sh); String query=xml query;

Re: [android-developers] twitter integration

2010-11-22 Thread guru sagar
HI Kumar, can you please elaborate generic share module with some example ., Thanks, Gurusagar -- 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] Android Testing

2010-11-22 Thread kampy
hi while testing a activity can we move from that activity to the another activity . i think it is possible as i found that we can deploy a complete test application a android app but i am not gettig how i can move from one acitivity to another activity -- You received this message because

[android-developers] Raising intent to child of tab activity

2010-11-22 Thread Anzi
Hi, How to raise an intent to child of tab activity, so that activity manager displays respective tab activity as a foreground activity to handle the intent in onNewIntent(). I was tried raising an intent, but activity is displaying as a separate activity instead of child of my tab activity.

[android-developers] Re: Problem with playing sound

2010-11-22 Thread tina lincon
Anyone have an idea about this?If, so, pls do help... On Nov 22, 5:11 pm, tina lincon tina.theresalin...@wipro.com wrote: Hi all, I am playing a sound in my application.Most of the time it plays succesfully without any pause.It is a short duration type sound file which lasts for 1 sec(a tick

Re: [android-developers] twitter integration

2010-11-22 Thread Kumar Bibek
Something like this. Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject); sendIntent.putExtra(Intent.EXTRA_TEXT, message); sendIntent.setType(text/plain); Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com

[android-developers] SQL Injection

2010-11-22 Thread Kevin
Does using the insert or update method of an SQLiteDatabase object offer any protection against SQL injection? Would I need to escape strings before inserting them with these functions? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] SQL Injection

2010-11-22 Thread Kumar Bibek
Well, If you don't have a content provider, you don't have to worry about this at all. Since, you DB cannot be accessed by other applications. And, for ContentProviders, there are well defined contracts for implementing one. If you comply to these, then, it's pretty safe. Kumar Bibek

[android-developers] Re: SQL Injection

2010-11-22 Thread Chris Stratton
On Nov 23, 12:36 am, Kumar Bibek coomar@gmail.com wrote: If you don't have a content provider, you don't have to worry about this at all. Since, you DB cannot be accessed by other applications. Not so fast. If you have a text field for user entry, or pull a string out of an email or off a

[android-developers] Re: AdMob ads only display for a second

2010-11-22 Thread CrazyH
Sorry, I am pretty new to android development. My app has not been released to the market yet if that's what you mean. Additional info: I found that the ads display perfectly in landscape mode. The problem only happens when phone is in portrait mode. Thanks! On Nov 22, 3:04 pm, TreKing

Re: [android-developers] Re: SQL Injection

2010-11-22 Thread Kumar Bibek
Well, if you user Raw query, then yeah, I guess it's possible. But if you use the query method of the SQLiteDatabase, then I guess, you are safe. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Nov 23, 2010 at 11:16 AM, Chris Stratton cs07...@gmail.com wrote: On Nov

[android-developers] Re: LVL - Yay or Nay?

2010-11-22 Thread Zsolt Vasvari
Why would the sales increase by adding LVL? The vast majority of pirates wouldn't pay for your app in the frist place, this has been shown many times since the very early days of personal computers. So I wouldn't add the LVL to increase sales, but to make it harder for people to simply steal my

  1   2   3   >