[android-developers] working on rss parsing

2012-04-11 Thread chowdary nani
Hi all, I am working on Rss feed parsing I am able to parse rss feed but i am getting some problem in reading content:encoded tag which contains lot of data only some part of data only it is not reading full data. following is my code: public class EventRssHandler extends DefaultHandler {

[android-developers] Re: where does Android store sms.

2012-04-11 Thread Alger Lin
You may able to query incoming SMS by content provider, refer to URL below. http://stackoverflow.com/questions/2223296/select-first-sms-on-android-database-inbox http://stackoverflow.com/questions/2223296/select-first-sms-on-android-database-inbox And column of SMS table is defined at

[android-developers] Re: Simultaneously connect wifi to several wifi spots

2012-04-11 Thread viktor
Thanks On 10 Кві, 22:47, Mark Murphy mmur...@commonsware.com wrote: On Tue, Apr 10, 2012 at 1:13 PM, viktor victor.scherb...@gmail.com wrote: Can I programatically simultaneously connect to several wifi spots? So, I have 2-3 wifi routers, one of them should to conect to the local network,

[android-developers] Re: Search action not working

2012-04-11 Thread Ali Chousein
To be honest, I think Dwayne is trying to integrate web search but he's completely lost in the process. @Dwayne: If you are trying to integrate web search in your application, you cannot do it by using webview only. You have to integrate the API of a search engine. Google Custom Search API is one

[android-developers] Re: ProgressBar Dialog and Back button crashes pp

2012-04-11 Thread Tom
I think I have a problem in my final Handler handler = new Handler - method. My progressbar declaration is : progDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); But the handler dismis the dialog only when: int total = msg.getData().getInt(total);

Re: [android-developers] Re: ProgressBar Dialog and Back button crashes pp

2012-04-11 Thread deb-account
On 11/04/12 09:31, Tom wrote: I think I have a problem in my final Handler handler = new Handler - method. My progressbar declaration is : progDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); But the handler dismis the dialog only when: int total =

[android-developers] Re: SearchView Icon help!!

2012-04-11 Thread Lars
Op zondag 8 april 2012 13:18:15 UTC+2 schreef Lars het volgende: i am creating a android 4.03 application and i am making a searchview with this code @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { MenuItem item = menu.add(Search);

[android-developers] Re: Searchview in tabs

2012-04-11 Thread Lars
Any idea??!!! I really need help with it -- 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] Google Mapview

2012-04-11 Thread Mini agrawal
Can you please explain in bit more details? On Wed, Apr 11, 2012 at 1:14 AM, Mark Murphy mmur...@commonsware.comwrote: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(geo:45,-110))); where 45 is your latitude and -110 is your longitude, in decimal degrees. On Tue, Apr 10, 2012 at

[android-developers] Trace GsmCellLocation get Cell ID problem

2012-04-11 Thread wang nungchao
My Android version is 2.3 My project get Cell ID is -1, so I want trace Android how to get Cell ID. I trace code find the GsmCellLocation.java - GsmCellLocation(Bundle bundle) { mLac = bundle.getInt(lac, mLac); mCid = bundle.getInt(cid, mCid); mPsc = bundle.getInt(psc,

Re: [android-developers] Google Mapview

2012-04-11 Thread Ralph Bergmann | the4thFloor.eu
Am 11.04.12 10:30, schrieb Mini agrawal: Can you please explain in bit more details? On Wed, Apr 11, 2012 at 1:14 AM, Mark Murphy mmur...@commonsware.com mailto:mmur...@commonsware.com wrote: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(geo:45,-110)));

[android-developers] Using a Handler to create a timer

2012-04-11 Thread Rahul Vijay
Hi, android developer I am facing a new problem. I am create a handler using a thread thread.start method to start a thread,but i am not develop a timer. Suppose given time is 45 mintus, my timer is start after 45 mintus current activity is automatically stoped. -- You received this message

[android-developers] Play maket and reviews

2012-04-11 Thread Giuseppe
I have an user that bought our app, didn't understand how to use, then wrote a bad review and ask for money back via device. Result: app not sold bad review from incapable user Google must not allow people that delete orders to write reviews, there are many people in the world that in 15

Re: [android-developers] Play maket and reviews

2012-04-11 Thread Kostya Vasilyev
It seems like this particular user doesn't know about the 15 minute refund window, so his order is still valid, and that's how he was able to post the comment. Now, looking at this more broadly -- yes, this and more happens. As time goes on and your app gets more downloads, you will see

Re: [android-developers] how to add icon to Quick contact badge

2012-04-11 Thread Live Happy
add those intent to ur manifest file one for sms and the other for call intent-filter android:priority=100 action android:name=android.intent.action.SENDTO / category android:name=android.intent.category.DEFAULT / data android:scheme=sms /

[android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Iain King
In the near future I'll be releasing a game on Google Play: both the full game (costed) and a free demo. The LVL license model looks good for this: when I check whether the user is licensed to play the game I can have it fully available if they've bought it, or switch to a cut-down feature set

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Mark Murphy
On Wed, Apr 11, 2012 at 7:39 AM, Iain King iaink...@gmail.com wrote: Everyone who releases a free version seems to do it by releasing two different apps - I'd rather avoid that if I can. Then use in-app purchasing. Only distribute the free app, and have the app upgrade itself to paid (e.g.,

[android-developers] Re: Starting an app upon device startup

2012-04-11 Thread Thomas
I had those problems recently(detecting boot and slidelock inhibiting/bypass). The app was for a kiosk-like project in a museum. Detecting power-on was also a consideration. see: http://tombtalk.net/?page_id=598sequence=1 There are some code samples and a description on modifying the tablet

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Iain King
On Wednesday, 11 April 2012 12:47:30 UTC+1, Mark Murphy (a Commons Guy) wrote: On Wed, Apr 11, 2012 at 7:39 AM, Iain King wrote: Everyone who releases a free version seems to do it by releasing two different apps - I'd rather avoid that if I can. Then use in-app purchasing. Only

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Mark Murphy
On Wed, Apr 11, 2012 at 7:56 AM, Iain King iaink...@gmail.com wrote: That would work, but I don't like the user experience: their first interaction at the store is to see Install (Free), and then their first interaction in the game is to see Buy me now!!!. Then don't do that. You are the one

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Iain King
On Wednesday, 11 April 2012 13:04:51 UTC+1, Mark Murphy (a Commons Guy) wrote: On Wed, Apr 11, 2012 at 7:56 AM, Iain King wrote: That would work, but I don't like the user experience: their first interaction at the store is to see Install (Free), and then their first interaction in the

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Latimerius
On Wed, Apr 11, 2012 at 1:47 PM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Apr 11, 2012 at 7:39 AM, Iain King iaink...@gmail.com wrote: Everyone who releases a free version seems to do it by releasing two different apps - I'd rather avoid that if I can. Then use in-app purchasing.

Re: [android-developers] Using a Handler to create a timer

2012-04-11 Thread Jitesh dedhiya
didn't get your language... On Wed, Apr 11, 2012 at 2:37 PM, Rahul Vijay rahul.vija...@gmail.comwrote: Hi, android developer I am facing a new problem. I am create a handler using a thread thread.start method to start a thread,but i am not develop a timer. Suppose given time is 45 mintus,

Re: [android-developers] Re: Starting an app upon device startup

2012-04-11 Thread Jitesh dedhiya
agreed with @treking..What difference does it make? On Wed, Apr 11, 2012 at 5:21 PM, Thomas tbirchm...@usa.net wrote: I had those problems recently(detecting boot and slidelock inhibiting/bypass). The app was for a kiosk-like project in a museum. Detecting power-on was also a consideration.

Re: [android-developers] Re: [android-discuss] Re: Android Life cycle issue

2012-04-11 Thread Jitesh dedhiya
try using this FLAG_ACTIVITY_REORDER_TO_FRONThttp://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_REORDER_TO_FRONTIf set in an Intent passed to

[android-developers] Problems locking the screen orientation with ActivityInfo.SCREEN_ORIENTATION_NOSENSOR

2012-04-11 Thread saex
I have an activity that shows a scrollview with a lot of linearlayouts with a lot of imageviews and textviews. This activity must show two columns in my scrollview if the orientation is landscape, and it must show one column in my scrollview if the orientation is portrait. It works fine. I

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Kostya Vasilyev
And to add two more cents: in-app items don't show in the user's purchases list in Market... scratch that, Google Play application on the device. Sometimes this raises questions about whether they'd have to be repurchased - even though they don't, obviously not every user understands this. -- K

[android-developers] Force Close like iPhone

2012-04-11 Thread giles ian
What i want is when ever there is a Force close i totally want to exit the app ( just like iOS does) I know im making some of the android dev angry and im also sorry for that. But is there any way to achieve that. PS: I know i can achive that by using try catch and exiting app in catch, but ill

[android-developers] Re: Android bulk app purchases B2b

2012-04-11 Thread Marcel Arts
why bother google? Purchase the app for free. build up a server to collect all new installs. Firsttime the app runs ask for company name etc... communicate with your server and do your administration.. On Apr 5, 7:55 pm, android dev ad...@archiemd.com wrote: I am a developer of medical apps

Re: [android-developers] Force Close like iPhone

2012-04-11 Thread TreKing
On Wed, Apr 11, 2012 at 10:00 AM, giles ian gilesian@gmail.com wrote: What i want is when ever there is a Force close i totally want to exit the app ( just like iOS does) Why? This is not iOS.

[android-developers] Convert PDF to Thumbnail JPG

2012-04-11 Thread New Developer
Is there a method to convert the first Page of a PDF to a Thumbnail JPG ? Is it a part of the PDF reference manual ? Thanks in advance -- 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] Demo/Full Game options on Google Play

2012-04-11 Thread Justin Anderson
I have an app that uses two apk's... One is the free one, and the paid one acts as a plugin to unlock features in the free one. I developed this before in-app purchasing was available, but I don't know if I would have used in-app purchasing had it been available for use due to all the drama with

Re: [android-developers] Convert PDF to Thumbnail JPG

2012-04-11 Thread Mark Murphy
This has nothing to do with Android. On Wed, Apr 11, 2012 at 11:07 AM, New Developer secur...@isscp.com wrote: Is there a method to convert the first Page of a PDF to a Thumbnail JPG ? Is it a part of the PDF reference manual ? Thanks in advance -- You received this message because you

Re: [android-developers] Force Close like iPhone

2012-04-11 Thread giles ian
I was expecting something like this from you :) Reason being when one activity crashes, its previous activity comes in foreground and then that one crashes as well. So there are multiple crashes. If it would have exited the app this would not have happened On Wed, Apr 11, 2012 at 8:34 PM,

Re: [android-developers] Google Mapview

2012-04-11 Thread TreKing
On Wed, Apr 11, 2012 at 3:30 AM, Mini agrawal itsmin...@gmail.com wrote: Can you please explain in bit more details? http://developer.android.com/guide/appendix/g-app-intents.html - TreKing

Re: [android-developers] Re: Searchview in tabs

2012-04-11 Thread Justin Anderson
04-09 10:48:51.072: E/AndroidRuntime(933): FATAL EXCEPTION: main 04-09 10:48:51.072: E/AndroidRuntime(933): java.lang.NullPointerException 04-09 10:48:51.072: E/AndroidRuntime(933): at com.appspot.workarts.calandrooster.LeerlingFragment$Fragment.onQueryTextChange(LeerlingFragment.java:129)

Re: [android-developers] Force Close like iPhone

2012-04-11 Thread Justin Anderson
If it would have exited the app this would not have happened Funny... It would also not happen if you fixed the crashes. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Apr 11, 2012 at 9:10 AM, giles ian gilesian@gmail.com wrote: I was

Re: [android-developers] Force Close like iPhone

2012-04-11 Thread TreKing
On Wed, Apr 11, 2012 at 10:10 AM, giles ian gilesian@gmail.com wrote: Reason being when one activity crashes, its previous activity comes in foreground and then that one crashes as well. So there are multiple crashes. If it would have exited the app this would not have happened If you

Re: [android-developers] Convert PDF to Thumbnail JPG

2012-04-11 Thread New Developer
okay? In my code I am able to convert JPG and 3gp to a thumbnail. I would like to do the same with a PDF. Does anyone know of a lightweight Android PDF library that will do this OR can one use the PDF Viewer in Android to extract an image of the first page ? Thanks in advance On 04/11/2012

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Iain King
On Wednesday, 11 April 2012 16:06:58 UTC+1, MagouyaWare wrote: I have an app that uses two apk's... One is the free one, and the paid one acts as a plugin to unlock features in the free one. I developed this before in-app purchasing was available, but I don't know if I would have used

Re: [android-developers] Re: ProgressBar Dialog and Back button crashes pp

2012-04-11 Thread Justin Anderson
If you are using a spinner styled dialog, why are you trying to update its progress with a total? Why don't you have a total? You are the one that controls that... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Apr 11, 2012 at 1:52 AM,

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Latimerius
2012/4/11 Justin Anderson magouyaw...@gmail.com: My paid app actually does nothing other than the LVL check through the service. Would it also be possible to initiate the LVL check from the free app? Client-side security has to rely on obfuscation to some extent, otherwise the attacker can

Re: [android-developers] Convert PDF to Thumbnail JPG

2012-04-11 Thread Mark Murphy
On Wed, Apr 11, 2012 at 11:15 AM, New Developer secur...@isscp.com wrote: can one use the PDF Viewer in Android to extract an image of the first page There is no PDF Viewer in Android. Certain devices might ship with a third-party PDF viewer, but Android itself has no PDF capability. -- Mark

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Iain King
On Wednesday, 11 April 2012 16:22:11 UTC+1, latimerius wrote: 2012/4/11 Justin Anderson My paid app actually does nothing other than the LVL check through the service. Would it also be possible to initiate the LVL check from the free app? Client-side security has to rely on

[android-developers] Re: Anyway to pre allocate memory for a Bitmap?

2012-04-11 Thread Brian
I did eventually figure out how to pre-allocate a Bitmap. After looking at the documentation more closely. I realize you can create a ByteArray, and the BitmapFactory has option for using a ByteArray to store the bitmap, instead of allocating its own memory. You can then reuse ByteArray for

Re: [android-developers] custom application icon in view

2012-04-11 Thread TreKing
On Wed, Apr 11, 2012 at 6:12 AM, Live Happy livehap...@gmail.com wrote: i want to add in my application a custom view who content some icon application as gallery and map and voice record and etc to share photo and all other things so how i can create this view its similar to what appear in

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Justin Anderson
Doesn't that end up with your user ending up with both apps installed anyway? So at some later time when they are trying to clear up space, they still see YourGame Demo is installed, and nuke it? In my case no, because I don't market it as a trial version... I market it as AppSwipe! Task

Re: [android-developers] Re: Where are my symbol files for my Droid Application to debug native Crash Dump?

2012-04-11 Thread Justin Anderson
Are you building via the NDK? When I get a crash and I look at the logcat output I get a stack trace... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 10, 2012 at 8:38 PM, stringa sstri...@gmail.com wrote: UhI get getting the Crash Dump

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Iain King
On Wednesday, 11 April 2012 16:37:24 UTC+1, MagouyaWare wrote: Doesn't that end up with your user ending up with both apps installed anyway? So at some later time when they are trying to clear up space, they still see YourGame Demo is installed, and nuke it? In my case no, because I

Re: [android-developers] Re: Where are my symbol files for my Droid Application to debug native Crash Dump?

2012-04-11 Thread Kristopher Micinski
That's strange... Can you try pasting the relevant portion of your logcat (perhaps filtered on the tag from your app) to see what's going on? On Tue, Apr 10, 2012 at 10:38 PM, stringa sstri...@gmail.com wrote: UhI get getting the Crash Dump through Android's LogCat.  I have written a java

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Latimerius
On Wed, Apr 11, 2012 at 5:27 PM, Iain King iaink...@gmail.com wrote: On Wednesday, 11 April 2012 16:22:11 UTC+1, latimerius wrote: 2012/4/11 Justin Anderson My paid app actually does nothing other than the LVL check through the service. Would it also be possible to initiate the LVL

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Latimerius
On Wed, Apr 11, 2012 at 5:37 PM, Justin Anderson magouyaw...@gmail.com wrote: Would it also be possible to initiate the LVL check from the free app? I tried that but ran into some snags... It is probably possible, but you would have to modify the LVL a bit to allow you to specify the package

[android-developers] Re: Fragment animation

2012-04-11 Thread Neilz
Perhaps I'm in the wrong forum... can anyone help? On Apr 5, 9:46 pm, Neilz neilhorn...@gmail.com wrote: Hi all. I'm having difficulty getting to grips with the 'objectAnimator' element which is used forfragmentanimation, and searching around hasn't really offered much clues. Here's what I'm

Re: [android-developers] Re: Fragment animation

2012-04-11 Thread Justin Anderson
Perhaps this could help: http://stackoverflow.com/questions/4817900/android-fragments-and-animation Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Apr 11, 2012 at 10:21 AM, Neilz neilhorn...@gmail.com wrote: Perhaps I'm in the wrong forum... can

[android-developers] Can you Determine the x,y Coordinates of a Character in TextView?

2012-04-11 Thread Dancing Fingers
Hi guys, I'm finishing up my app that's a custom keyboard for Android. I'm using TextView because it doesn't have a default keyboard and it seem to work better in FrameLayout. I'm toying with the idea of having text appear to fly in the TextView widget. I figure if I know the font width,

[android-developers] Recording AAC-ADTS in ICS

2012-04-11 Thread Tom Uhl
ICS is supposed to support encoding AAC-ADTS. I can use setAudioEncoder(MediaRecorder.AudioEncoder.AAC) to set the audio codec, but how do I tell the MediaRecorder to use the ADTS packaging format? It seems like there needs to be a setOutputFormat(MediaRecorder.OutputFormat.ADTS_RAW). Tom --

[android-developers] terms of putting an app on market

2012-04-11 Thread Mike Adams
Hi, I'm investigating how to distribute an app for my company. We don't want general access to the app. It contains our pricing, kind of a calculator, and we want authorized sales people to get it, more as a supplement to their existing software to order, not as a replacement. Anyone can see

[android-developers] Problem with RemoteViews

2012-04-11 Thread Giuseppe
I have a RemoteViews that I use with a notification manager to show elapsed time from recording start. in start code I have: mChronometerBase = SystemClock.elapsedRealtime(); n.contentView.setChronometer(R.id.chrononotify,mChronometerBase , Time: (%s), true); nm.notify(myID, n); the

[android-developers] I need a way to get hold of a populated hashmap from a service?

2012-04-11 Thread Graham Bright
Hi, Would you suggest using the steps mentioned in the blog below to bind to a running service? I need a way to get hold of a populated hashmap from my service? bindService(mServiceIntent, mConnection, Context.BIND_AUTO_CREATE); ...

Re: [android-developers] Problem with RemoteViews

2012-04-11 Thread TreKing
On Wed, Apr 11, 2012 at 12:41 PM, Giuseppe porcelli.giuse...@gmail.comwrote: *mChronometerBase *= SystemClock.elapsedRealtime(); n.contentView.setChronometer(R.id.chrononotify, *chronometer.getBase()*, Time: (%s), false); nm.notify(myID, n); Why are you using chronometer.getBase()? I'd

Re: [android-developers] terms of putting an app on market

2012-04-11 Thread TreKing
On Wed, Apr 11, 2012 at 12:32 PM, Mike Adams adams...@gmail.com wrote: Would this be permissible? I don't see why not, but these types of questions are best asked to a lawyer. - TreKing

Re: [android-developers] http post to ASP form, not submitting

2012-04-11 Thread Kumar Bibek
Try sending this request through your browser, and see what happens. Or get some server logs. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Thu, Apr 12, 2012 at 9:09 AM, Farhan Tariq farhan@gmail.com wrote: httpPost.setHeader(Content-Type,

Re: [android-developers] http post to ASP form, not submitting

2012-04-11 Thread Farhan Tariq
I did, I guess it is the problem with the request I am making and not with android httpclient. On Thu, Apr 12, 2012 at 8:41 AM, Kumar Bibek coomar@gmail.com wrote: Try sending this request through your browser, and see what happens. Or get some server logs. *Thanks and Regards, Kumar

Re: [android-developers] Demo/Full Game options on Google Play

2012-04-11 Thread Justin Anderson
Not possible. You cannot add the request LVL permission to a free app. Stupid me... I should have remembered that (but it WAS a long time ago). The annoying thing is that you can get ALL the way up to publishing on the Market... And when you try to upload it tells you that you can't have the

[android-developers] Re: What does the mediascanner do?

2012-04-11 Thread Nathan
On Apr 11, 5:43 pm, Dianne Hackborn hack...@android.com wrote: The media scanner just scans through all of the files on external storage, collecting meta-data about them to populate the media database you so can do queries on them. A crash in the media scanner would be a bug in the media

[android-developers] How to use the default radio button and check box drawable resource (image)

2012-04-11 Thread Put_tiMe
In my layout, for some of the UI controls, I want to use the OS radio button resource. For example, I want an ImageView, but it draws the default radio button texture. How can I achieve this? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Android proguard problems

2012-04-11 Thread Rahul
I am creating one android application and i want create build (.apk) by using Proguard. I am also using some external(android.support) and internal jar file(map.jar) jar files for reference and also added it as a -libraryjars But i dont understand why i am not able to create APK file. Its showing