[android-developers] Re: Auto refresh data from webserver to activity

2012-11-22 Thread Antonis Kanaris
I use Android:onClick"void" for call from layout main activity...is ok?or wrong method? -- 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 t

[android-developers] Re: it is possible to use more than 1 AlarmManager with different repeat values in a single application

2012-11-22 Thread skink
Siva Kumar wrote: > My doubt is ,In android* it is possible to use more than 1 AlarmManager > with different repeat values in a single application* did you try it? its just couple of lines of the code... pskink -- You received this message because you are subscribed to the Google Groups "Andr

[android-developers] Re: Auto refresh data from webserver to activity

2012-11-22 Thread skink
Antonis Kanaris wrote: >i call refreshRunable with onClick > > ok, again, how do you call refreshRunable? pskink -- 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.co

[android-developers] Re: Auto refresh data from webserver to activity

2012-11-22 Thread Antonis Kanaris
Τη Παρασκευή, 23 Νοεμβρίου 2012 8:38:22 π.μ. UTC+2, ο χρήστης Antonis Kanaris έγραψε: > > > > > Hello.I want to make an application for get web data every x secs i try > this code but no work...where is the mistake?Thanks. > > public class ReadWebpageAsyncTask extends Activity { > private

[android-developers] Re: Auto refresh data from webserver to activity

2012-11-22 Thread skink
Antonis Kanaris wrote: > > In main activity i have one text and two buttons the first button on click > call readwebpage and work and the second button call refreshRunable and no > work... how do you call refreshRunable? pskink -- You received this message because you are subscribed to the G

[android-developers] Auto refresh data from webserver to activity

2012-11-22 Thread Antonis Kanaris
Hello.I want to make an application for get web data every x secs i try this code but no work...where is the mistake?Thanks. public class ReadWebpageAsyncTask extends Activity { private TextView textView; private final Handler handler = new Handler(); @Override public void onCreate(B

Re: [android-developers] Why is ActivityGroup deprecated?

2012-11-22 Thread Franzi Roesner
Right, my question is, why are Fragments better / why were they created? On Thursday, November 22, 2012 5:03:33 PM UTC-8, TreKing wrote: > > On Thu, Nov 22, 2012 at 7:21 PM, Franzi Roesner > > > wrote: > >> I know that ActivityGroup is deprecated, and that Fragments should be >> used instead. M

[android-developers] Re: How to create soap request in ksoap2 for a wcf webservice method with complex types?

2012-11-22 Thread Raneez
And you are not supposed to comment here, if you dont have any idea about this. Directing to a inactive forum is not a good attitude, give a hand if you know something else go away! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

Re: [android-developers] OOM with heap enough

2012-11-22 Thread gjs
Hi, I started having to deal with new OOM errors one of my camera apps again recently. First started when I got a new Samsung Galaxy S3 LTE with Android 4.1.0, OOM occurring after reading in an 8MP photo ok & then attempting to allocate additional Bitmap to create a modified copy of the origin

[android-developers] Re: Applying android:actionBarStyle to an activity without using android:theme attribute?

2012-11-22 Thread jhan
The reason why my trial doesn't work is that doesn't understand android:actionBarStyle attribute. reference: http://developer.android.com/guide/topics/manifest/activity-element.html On Friday, November 23, 2012 11:29:39 AM UTC+9, jhan wrote: > > Hello, > > I'm trying to apply 'android:actio

[android-developers] Applying android:actionBarStyle to an activity without using android:theme attribute?

2012-11-22 Thread jhan
Hello, I'm trying to apply 'android:actionBarStyle' to an activity in AndroidManifest.xml without using 'android:theme' attribute. By googling, I found lots of references using 'android:theme' attribute like following: // AndroidManifest.xml // style.xml @style/MyActionBarStyle ..

Re: [android-developers] onClick() is fired twice.

2012-11-22 Thread jhan
It doesn't work. In my case, the activity has a ViewPager which contains four of Fragments. Some fragments have a button to show another activity. These buttons caused 'double-clicking' issues. (If click a button twice very fast, then two of the same activity are shown) I avoided this issue by

Re: [android-developers] Why is ActivityGroup deprecated?

2012-11-22 Thread TreKing
On Thu, Nov 22, 2012 at 7:21 PM, Franzi Roesner wrote: > I know that ActivityGroup is deprecated, and that Fragments should be used > instead. My question is out of curiosity: why was it deprecated? For exactly the reason you stated: Fragments should be used instead. The deprecated status is a c

[android-developers] Why is ActivityGroup deprecated?

2012-11-22 Thread Franzi Roesner
Hi, I know that ActivityGroup is deprecated, and that Fragments should be used instead. My question is out of curiosity: why was it deprecated? Thanks! Franzi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Re: ClassNotFoundException of signed apks

2012-11-22 Thread routis
I forgot something. I have this problems in linux mint 13 and Fedora 17. Fedora 17's javac is openjdk 1.7. On Friday, November 23, 2012 9:13:02 AM UTC+9, routis wrote: > > Sorry for my English :-/ > > I'm having problem with signed apks. Debugging builds are ok and signed > apks work sometimes

[android-developers] ClassNotFoundException of signed apks

2012-11-22 Thread routis
Sorry for my English :-/ I'm having problem with signed apks. Debugging builds are ok and signed apks work sometimes, but usually signed apk cannot even start with ClassNotFoundException. I googled and got some similar cases which is associated with r17 version but could not find what I have d

Re: [android-developers] problem with timer and AsyncTask error....

2012-11-22 Thread TreKing
On Thu, Nov 22, 2012 at 11:17 AM, Antonis Kanaris wrote: > i have a syntax error on token.Why? More info, like the specific line you're getting the error on, is needed. http://www.catb.org/~esr/faqs/smart-questions.html --

Re: [android-developers] Google Play adding permission requests after upload. -> Lose reach, existing users lose upgrade path

2012-11-22 Thread TreKing
On Thu, Nov 22, 2012 at 12:01 PM, JP wrote: > There are no new features that would require any new permissions, and the > target-sdk remains at 11. (min-sdk level 3) > > Turns out that Google Play in its infinite wisdom added permission > requests that aren't required for the app, at least not fo

Re: [android-developers] Sobel camera

2012-11-22 Thread Jim Graham
On Thu, Nov 22, 2012 at 06:53:20PM +0530, android groups wrote: > Yes, > First Sorry for my bad English, > I am designing one android app in that app we are puting sobel camera for > fun so that way i am asking some guide to build sobel camera .. I gave you the information you need. If you wa

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Francisco Marzoa
On 11/22/2012 03:19 PM, Piren wrote: - yeah, swearing does help calm the psyche, does not help so much with the code crashing :-P I admit you are right. But I need to calm my psyche before starting coding!... ;-) - "it is unlikely i need so much memory" Fact is you have an OOM exception... yo

[android-developers] Re: BitmapFactory.decodeFileDescriptor

2012-11-22 Thread G. Blake Meike
FWIW, this part was pilot error. Copying the files works fine. For bitmaps from File Descriptors, I have no answer. -blake -- 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@googlegrou

[android-developers] Google Play adding permission requests after upload. -> Lose reach, existing users lose upgrade path

2012-11-22 Thread JP
After not having touched it since July, I've updated one of my apps in Google Play the other day and noticed that it was filtered out from a bunch of devices I use for testing. There are no new features that would require any new permissions, and the target-sdk remains at 11. (min-sdk level 3)

[android-developers] problem with timer and AsyncTask error....

2012-11-22 Thread Antonis Kanaris
Hello.I try this code for get data from mywebsite every x secsbut i have a syntax error on token.Why? public class ReadWebpageAsyncTask extends Activity { private TextView textView; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanc

Re: [android-developers] Re: image view on Customized dialog box

2012-11-22 Thread Piren
It's a view, it can get the activity. On Thursday, November 22, 2012 4:24:33 PM UTC+2, Mr cool wrote: > > but how can i use runOnUiThread method because i extend my customized > dialog class from dialog class not from activity > > -- You received this message because you are subscribed to the

[android-developers] Re: xml parsing error

2012-11-22 Thread Piren
I haven't checked your code very throughly (its no fun trying to read xml parsing code) but that error seems to indicate you're trying to cast a value into an xml element. or as the Inception people said: you went too deep :) you should do the same type checking you do in the level above it. fir

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Piren
targetSdk has an impact on the way things work, but in your example i dont think it matters. On Thursday, November 22, 2012 2:53:59 PM UTC+2, Fran wrote: > > One thing about this... > > Do you think this may be a problem of target SDK or so? > > This is what I am using right now: > > > > And

Re: [android-developers] Re: image view on Customized dialog box

2012-11-22 Thread ponnu swamy
but how can i use runOnUiThread method because i extend my customized dialog class from dialog class not from activity -- 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

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Piren
- yeah, swearing does help calm the psyche, does not help so much with the code crashing :-P - "it is unlikely i need so much memory" Fact is you have an OOM exception... you're using too much memory:) And if its happening on your first activity, it isnt a memory leak... - i dont know if larg

[android-developers] Re: How to create soap request in ksoap2 for a wcf webservice method with complex types?

2012-11-22 Thread Piren
And this one isn't aimed at any possible library out there... usually if people dont answer a question, "bumping" it wouldn't help much. On Thursday, November 22, 2012 3:23:37 PM UTC+2, Raneez wrote: > > @Piren That forum is inactive. -- You received this message because you are subscribed to

[android-developers] Re: image view on Customized dialog box

2012-11-22 Thread Piren
not sure why you're using the .Show() method, its best to use onCreateDialog for custom dialogs as well. but either way, ASyncTasks dont run onPostExecute on the UI thread automatically, the run it on the thread the ASyncTask was created in. To avoid your issue either add a Handler to run the on

Re: [android-developers] About facebook

2012-11-22 Thread android groups
Dear Pavithra, Check this and develop your face book app https://developers.facebook.com/docs/mobile/android/build/ On Wed, Oct 31, 2012 at 12:22 PM, pavithra wrote: > Hi! > I am developing one application and in need to use the facebook chat > with my application. Can you help me with th

[android-developers] image view on Customized dialog box

2012-11-22 Thread Mr cool
I have one problem with customized dialog box in android,i have created the customized dialog using javainterface in android ,in my class CustomizeDialog i have one thread do some process in back ground after that i have set one imgae to this customized dialog i set the image in OnPostExecute b

Re: [android-developers] Pdf reader

2012-11-22 Thread android groups
Yes, I am designing one android application in that application using one pdf file reading so please guide me how to read pdf file from raw folder.. and i know how to read pdf file from server On Wed, Nov 14, 2012 at 1:18 PM, TreKing wrote: > On Tue, Nov 13, 2012 at 11:50

Re: [android-developers] Automate update every x secs get data from myUrl

2012-11-22 Thread Fred Niggle
No your not, i just ingore/mute him. On 22 November 2012 08:46, Piren wrote: > Am i the only one noticing that he keeps getting people to do pretty much > all the programming he needs, step by step? > > > On Thursday, November 22, 2012 1:40:42 AM UTC+2, TreKing wrote: > >> On Wed, Nov 21, 2012 a

[android-developers] Re: How to create soap request in ksoap2 for a wcf webservice method with complex types?

2012-11-22 Thread Raneez
@Piren That forum is inactive. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegrou

Re: [android-developers] Sobel camera

2012-11-22 Thread android groups
Yes, First Sorry for my bad English, I am designing one android app in that app we are puting sobel camera for fun so that way i am asking some guide to build sobel camera .. On Thu, Nov 22, 2012 at 6:53 PM, android groups < srikanthandroidgro...@gmail.com> wrote: > Yes, > First Sorry for my

Re: [android-developers] Sobel camera

2012-11-22 Thread android groups
Yes, First Sorry for my bad English, I am designing one android app in that app we are puting sobel camera for fun so that way i am asking some guide to build sobel camera .. On Sat, Nov 17, 2012 at 4:41 AM, TreKing wrote: > On Fri, Nov 16, 2012 at 7:52 AM, srikanth > wrote: > >> please gu

Re: [android-developers] Accessing APK expansion file with URI (with Google Zip Expansion Library) causes a crash if expansion file version is different from apk versioncode

2012-11-22 Thread bhaskar bommala
Hi I am trying to upload images (i have packed all images in to zip)as apk main expansion files and added apk expansion library and downloaded library to my application but when am trying to run app am getting exception like the following... Note: I have copied properly the PBKey from my publisher

[android-developers] Re: Not supporting SMALL screen format

2012-11-22 Thread Fazerty
Thanks very much Piren ! This is working and it seems that "layout-small" appears only with Android 1.6 (API Level 4). Le jeudi 22 novembre 2012 12:31:06 UTC+1, Piren a écrit : > > use layout-ldpi instead > > On Thursday, November 22, 2012 1:09:15 PM UTC+2, Fazerty wrote: >> >> Hello, >> >> My ap

[android-developers] Audio Streaming

2012-11-22 Thread Karunakaran Vikash
Hi everyone.. I need to stream an audio file ,from an Android device to another Android device I need to seek it back... with out any breaks , i have to play the songs... Which rule is possible... !!! send me some ideas regarding that ... . Same for Video Streaming tooo... I ne

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Francisco Marzoa
One thing about this... Do you think this may be a problem of target SDK or so? This is what I am using right now: And most of this problems (99% at least) seems to be ocurring in 4.0.3+ Android devices... Does this says something to any Android guru here? O_o Best regards, On 11/21/2

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Francisco Marzoa
On 11/22/2012 12:48 PM, Piren wrote: Well, getting mad of this issue or trying to blame something else, wouldn't really benefit you, would it? Actually yes: it would not solve my crashes, but helps me to unload a bit of stress, you know... ;-D Also swearing is not incompatible with coding, I

[android-developers] Strings.xml call WebView

2012-11-22 Thread Ricardo Cardoso
Who call a WebView through the file strings.xml ?? Como chama uma WebView através do arquvo strings.xml ??? -- 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 unsubs

[android-developers] Re: Google Calendar API v3 with AccountManager not working for some accounts?

2012-11-22 Thread Christopher Masser
UPDATE: I asked some of my users with this problem to create a new Google account on the same device and the new account seemed to work. The problems seemed to start when they deleted some calendars on gmail.com/calendar. On Thursday, November 22, 2012 10:30:41 AM UTC+1, Christopher Masser wrote

[android-developers] xml parsing error

2012-11-22 Thread Ananda Krishna
Hi I am trying to parse an xml file.But I am getting an exception. error Message :org.apache.harmony.xml.dom.TextImpl cannot be cast to org.w3c.dom.Element *Code is as follows:* *Xml File:* Which are the right words to greet someone? Hello Hai Bye When do you use the word

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Piren
Well, getting mad of this issue or trying to blame something else, wouldn't really benefit you, would it? Absurd as much as it is, thats most likely what you got. If you're so pressed on using so much memory, you can also resolve this issue by allocating it in a different manner. This issue is

[android-developers] Install Application from SD Card, open relaunches Application

2012-11-22 Thread B.Arunkumar
Hi, I am facing the same problem as this post: http://code.google.com/p/android/issues/detail?id=18338 We have published our app to the Google PlayStore. When we install it from the PlayStore on Samsung Galaxy and press open, on pressing home button the application is relaunching. This is

[android-developers] Re: Not supporting SMALL screen format

2012-11-22 Thread Piren
use layout-ldpi instead On Thursday, November 22, 2012 1:09:15 PM UTC+2, Fazerty wrote: > > Hello, > > My application does not support SMALL screen format and I don't know why. > I have 4 directories for the layouts ("layout-small", "layout-normal", > "layout-large" and "layout-xlarge") with the

[android-developers] Re: Traffic not showing for France in MapView

2012-11-22 Thread Fazerty
Nobody has got the same issue ? Le mercredi 17 octobre 2012 16:12:57 UTC+2, Fazerty a écrit : > > Hello everybody, > > Is the following normal ? > When I use a MapView with settraffic(true) in order to show traffic > stream, the traffic in France is not showing. But it is showing in England, > B

[android-developers]

2012-11-22 Thread Kesavan.M
Sent from my iPa ASq -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.c

[android-developers] Not supporting SMALL screen format

2012-11-22 Thread Fazerty
Hello, My application does not support SMALL screen format and I don't know why. I have 4 directories for the layouts ("layout-small", "layout-normal", "layout-large" and "layout-xlarge") with the same number of XML files in each directory. With other older applications it works well but not wit

[android-developers] Heap debugging with bugsense

2012-11-22 Thread Francisco Marzoa
Hi there, I can pass some parameters to bugsense so they get reported with the crash report in case app crashes. As I have too many OOM in some devices, I wonder how I could send some valuable information about the heap state with them, you know, things like: - Maximum heap size - Current he

[android-developers] Re: Playing a part of the video

2012-11-22 Thread skink
praveen castelino wrote: > great answer :) is there anyway to fix controls UI issue as it shows the > full video duration. Can we put our own custom controls? > sure you can create your own controls pskink -- You received this message because you are subscribed to the Google Groups "Android D

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Francisco Marzoa
Hi, I hardly could use less memory. Devices with high dpi and res needs more memory so they can use HD images, that's why they have a higher heap limit. Now if you cannot use all that heap size... it is just absurd! I rather prefer that the problem were a bug on bugsense and this report weren't

[android-developers] Re: Playing a part of the video

2012-11-22 Thread praveen castelino
great answer :) is there anyway to fix controls UI issue as it shows the full video duration. Can we put our own custom controls? On Thursday, 22 November 2012 14:49:07 UTC+5:30, skink wrote: > > > > praveen castelino wrote: > > Thanks for your reply. The seekTo() method will allow you to start

[android-developers] Re: How to create soap request in ksoap2 for a wcf webservice method with complex types?

2012-11-22 Thread Piren
I looked at it, my suggestion is to ask your question over here http://sourceforge.net/projects/ksoap2/forums On Thursday, November 22, 2012 10:52:15 AM UTC+2, Raneez wrote: > > Please look at this question and give me some suggestions..i hate being > stuck with something like this. -- You r

[android-developers] HttpURLConnection on Galaxy Nexus 4.2

2012-11-22 Thread ryanbateman/secretsquirrel
I'm attempting to write a simple API management class and running into an issue when using HttpUrlConnection to POST content on a Galaxy Nexus recently upgraded to 4.2. In effect, attempting to post content fails on the first attempt with an EOFException: java.io.EOFException > at libcore.io.S

[android-developers] Re: Android in app purchase connection timeout

2012-11-22 Thread Ryan Watts
Hello On Wednesday, November 21, 2012 9:34:32 AM UTC-7, vitthal khatpe wrote: > > Hi All, > > -- 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

[android-developers] Google Calendar API v3 with AccountManager not working for some accounts?

2012-11-22 Thread Christopher Masser
I'm using the AccountManager getAuthToken(..) method to retrieve a token for Google Calendar sync. While sync works in most cases, several users report the following error when trying to get the calendarList of the Google calendar API: com.google.api.client.googleapis.json.GoogleJsonRespo

[android-developers] Re: Playing a part of the video

2012-11-22 Thread skink
praveen castelino wrote: > Thanks for your reply. The seekTo() method will allow you to start the > video from any location but there are no APIs to set the end time or the > duration. i.e. I did not find any API which allows me to play any 5 sec > movie clip from a 2 hour duration movie ;( Anybo

[android-developers] Re: Playing a part of the video

2012-11-22 Thread praveen castelino
Thanks for your reply. The seekTo() method will allow you to start the video from any location but there are no APIs to set the end time or the duration. i.e. I did not find any API which allows me to play any 5 sec movie clip from a 2 hour duration movie ;( Anybody who has done this before? On

[android-developers] Re: How to create soap request in ksoap2 for a wcf webservice method with complex types?

2012-11-22 Thread Raneez
Please look at this question and give me some suggestions..i hate being stuck with something like 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@googlegroups.com To unsubscribe

[android-developers] Re: Playing a part of the video

2012-11-22 Thread Piren
http://developer.android.com/reference/android/media/MediaPlayer.html#seekTo(int) On Thursday, November 22, 2012 5:43:30 AM UTC+2, praveen castelino wrote: > > Can anybody help me out with this issue. I don't need any code. Guide me > to the Class or documentation. Is this possible to do it in a

Re: [android-developers] Automate update every x secs get data from myUrl

2012-11-22 Thread Piren
Am i the only one noticing that he keeps getting people to do pretty much all the programming he needs, step by step? On Thursday, November 22, 2012 1:40:42 AM UTC+2, TreKing wrote: > > On Wed, Nov 21, 2012 at 12:40 PM, Antonis Kanaris > > wrote: > >> i want to convert to automatic update.How i

[android-developers] Re: Windows 8

2012-11-22 Thread Piren
Everything runs fine for me (64bit). You can also just install Windows 7... Microsoft has a "downgrade" path. On Wednesday, November 21, 2012 7:16:48 PM UTC+2, Doug Gordon wrote: > > My development PC just took a dive, and most of the decent PCs that I can > find locally are now coming with Wind

Re: [android-developers] OOM with heap enough

2012-11-22 Thread Piren
Yep, makes no sense at all, but thats how it is. Maybe we can ask Romain to give Dianne a call and get a response :-P I tried finding that thread that mentioned this Dalvik bug/feature but no luck... i did come across Romain's famous "use less memory" quote :-P (http://code.google.com/p/android/

[android-developers] Re: Customized Tab Layout in android.

2012-11-22 Thread Piren
TabSpec has a setIndicator that accepts a View, just inflate your own layout. But just a note, your UI is bad. Thats an iOS layout. In Android, tabs go at the top, and you certainly dont add stupid navigational buttons... if you want a scheme similar to that, use an ActionBar. On Thursday, Nov