Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread Lew
Arjun wrote: > > can you pla tel me the example how to use it in case if get > ArrayList view= solo.getviews(); is comming 0 i mean > in this case what is the solution can u give me a example > > You should introduce new questions as new topics, but here goes. From a code fragment it's impossi

[android-developers] Re: Android & Google play -- (official/unofficial) position on external (bluetooth/usb) based sensors

2012-09-10 Thread RichardC
Does with require=false, cover your use-case? http://developer.android.com/guide/topics/manifest/uses-feature-element.html On Tuesday, September 11, 2012 6:56:40 AM UTC+1, falcon74 wrote: > > Wondering if anyone has come across an official (or unofficial) > statement/stand regarding Android (S

[android-developers] Android & Google play -- (official/unofficial) position on external (bluetooth/usb) based sensors

2012-09-10 Thread falcon74
Wondering if anyone has come across an official (or unofficial) statement/stand regarding Android (SDK) and Google-Play, regarding apps using external sensors, e.g. bluetooth or USB based ones. My experience based on attempt at installing several apps, that require GPS, is that Google-play refu

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread Haris
Hai thanks for the replys I changed my code like matrix.postScale(scaleWidth, scaleHeight); matrix.postRotate(angle, X+centrex , Y+centrey ); canvas.setMatrix(matrix); Bitmap resizedBitmap = Bitmap.createBitmap(arrow, 0, 0, arrow.getWidth(), arrow.getHeig

Re: [android-developers] soap request parameter

2012-09-10 Thread rauf qureshi
hey jsutin anderson i have solved problem related to soap. and thanks to comment on this problem. On Wed, Sep 5, 2012 at 8:52 PM, Justin Anderson wrote: > I have two links for you: > >- > > http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html >- http://lmgtfy

Re: [android-developers] Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread Haris
Instead of rotating I need to move my image on X and Y direction On Monday, 10 September 2012 21:22:27 UTC+5:30, Harri Smått wrote: > > Hi, > > Why are you adding constants X and Y to pivot point? > > -- > H > On Sep 10, 2012 4:18 PM, "Haris" > wrote: > >> Hai all >> >> I am trying an application

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
can you pla tel me the example how to use it in case if get ArrayList view= solo.getviews(); is comming 0 i mean in this case what is the solution can u give me a example thanks Arjun On Tue, Sep 11, 2012 at 1:09 AM, Lew wrote: > Arjun wrote: > >> Thanks, actually i have created android test p

Re: [android-developers] Abnormal tip "sorry,process com.google.process.gapps has stopped" popup very often.

2012-09-10 Thread Robert Greenwalt
Sorry - I was out of the office for a while. I'm surprised nobody else jumped in to help. Your original post included a nice log of the crash. Searching for "has died" turns up: I/ActivityManager( 260): Process com.google.process.gapps (pid 609) has died. So that tells you that process 609 wa

[android-developers] Re: keyboard event to start

2012-09-10 Thread andro1indico
El viernes, 7 de septiembre de 2012 12:13:05 UTC-6, andro1indico escribió: > > I have a question > how I can intercept the keyboard event when this starts, this will need to > bring up a modal window for writing there > and also that in some cases it will not rise > Thanks for your help > and wa

[android-developers] Transfering VBO's between a loader and renderer.

2012-09-10 Thread Braindrool
I've been trying to rely on forums less, but yet here I am to pester you. Problem this time I've had for about a week. I've been experimenting with a variety of different codes and having no change in success. The title says it all. I abandoned my previous project as I discovered someone else h

Re: [android-developers] Re: sending / receiving custom broadcast intent

2012-09-10 Thread Martin Brabham
Wow sorry...I should really learn to read dates. On Monday, September 10, 2012 3:09:27 PM UTC-7, Martin Brabham wrote: > > try adding exported="true" in your manifest on the receiver specification. > > On Saturday, July 25, 2009 5:19:04 AM UTC-7, Mark Murphy wrote: >> >> Try: >> >> -- commenting o

Re: [android-developers] Re: sending / receiving custom broadcast intent

2012-09-10 Thread Martin Brabham
try adding exported="true" in your manifest on the receiver specification. On Saturday, July 25, 2009 5:19:04 AM UTC-7, Mark Murphy wrote: > > Try: > > -- commenting out your category in both the intent and filter > -- having your intent filter watch for just the action > > If that does not work,

Re: [android-developers] Re: Where to start for developing an Android Game?

2012-09-10 Thread bob
Yes, I use it to vacation at the Sea of Tranquility in the summertime. On Monday, September 10, 2012 3:29:18 PM UTC-5, Kristopher Micinski wrote: > > I forgot that NASA open sourced that a while back, > > kris > > On Mon, Sep 10, 2012 at 4:23 PM, bob > > wrote: > > I got my start with the L

[android-developers] Re: Google Navigation

2012-09-10 Thread lbendlin
have you checked here? https://developers.google.com/maps/documentation/directions/ On Sunday, September 9, 2012 2:23:00 PM UTC-4, Diego Nunes wrote: > > The message I sent was incomplete, follows: > > I'm developing an Android application that uses the Google Navigation. In > this application I

Re: [android-developers] Re: installation of audio in /mnt/sdcard

2012-09-10 Thread Dave Stikkolorum
Ok, that is a pity, because the app would contain code that will never be used again. I know it is probably not much space, but not neat to my opinion. On Mon, Sep 10, 2012 at 10:29 PM, lbendlin wrote: > not to my knowledge. > > > On Monday, September 10, 2012 4:12:33 PM UTC-4, drstikko wrote: >

Re: [android-developers] Re: installation of audio in /mnt/sdcard

2012-09-10 Thread lbendlin
not to my knowledge. On Monday, September 10, 2012 4:12:33 PM UTC-4, drstikko wrote: > > In linux for example you can use an install script > that is part of the install package or organize it > in such a way that the distro 'knows' where to place it. > > I don't like it that the app itself has t

Re: [android-developers] Re: Where to start for developing an Android Game?

2012-09-10 Thread Kristopher Micinski
I forgot that NASA open sourced that a while back, kris On Mon, Sep 10, 2012 at 4:23 PM, bob wrote: > I got my start with the Lunar Lander source code. > > > On Sunday, September 9, 2012 11:22:51 AM UTC-5, Abhi wrote: >> >> Hi, >> >> I am new to game development. >> Where can I start, for develo

[android-developers] Re: Where to start for developing an Android Game?

2012-09-10 Thread bob
I got my start with the Lunar Lander source code. On Sunday, September 9, 2012 11:22:51 AM UTC-5, Abhi wrote: > > Hi, > > I am new to game development. > Where can I start, for developing a simple Android Game ? > -- You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread bob
canvas.save(Canvas.MATRIX_SAVE_FLAG); canvas.rotate(angle, *X + *getWidth() >> 1, *Y +* getHeight() >> 1); super.dispatchDraw(canvas); canvas.restore(); On Monday, September 10, 2012 2:22:15 PM UTC-5, lbendlin wrote: > > canvas.save(Canvas.MATRIX_SAVE_FLAG); > canvas.rotate(angle, getWidth

Re: [android-developers] Re: installation of audio in /mnt/sdcard

2012-09-10 Thread Dave Stikkolorum
In linux for example you can use an install script that is part of the install package or organize it in such a way that the distro 'knows' where to place it. I don't like it that the app itself has to do install tasks Is there such an approach? On Mon, Sep 10, 2012 at 10:04 PM, lbendlin wrote:

[android-developers] Re: installation of audio in /mnt/sdcard

2012-09-10 Thread lbendlin
Not sure what you mean. This is all very pedestrian. use standard file management routines. Inputstream, outputstream etc. Here is an example to copy a database from the package to a usable location InputStream myInput = myContext.getAssets().open(DB_NAME); // Path to the just created em

[android-developers] Re: UncaughtExceptionHandler

2012-09-10 Thread Lew
bob wrote: > > Not sure if this is good since he calls System.exit, which I was told > never to call. > >> >>> "I was told ..." To avoid cargo-cult programming, one should delve into the rationale behind advice. The rationale to avoid 'System.exit()', which is different advice from never use i

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread Lew
Arjun wrote: > Thanks, actually i have created android test project for Robotium the > problem is Robotium is not working in multiple activites so i would like > to use monkeyrunner inside the Robotium project for other activities which > Robotium not able to find the views. Is there any other

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread lbendlin
canvas.save(Canvas.MATRIX_SAVE_FLAG); canvas.rotate(angle, getWidth() >> 1, getHeight() >> 1); super.dispatchDraw(canvas); canvas.restore(); On Monday, September 10, 2012 9:18:32 AM UTC-4, Haris wrote: > > Hai all > > I am trying an application like rotating image with motion sens

[android-developers] Re: UncaughtExceptionHandler

2012-09-10 Thread bob
Looks like he is doing this: public void uncaughtException(Thread t, Throwable e) { Log.e(ACRA.LOG_TAG, "ACRA caught a " + e.getClass().getSimpleName() + " exception for " + mContext.getPackageName() + ". Building report."); // Generate

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
Thanks, actually i have created android test project for Robotium the problem is Robotium is not working in multiple activites so i would like to use monkeyrunner inside the Robotium project for other activities which Robotium not able to find the views. Is there any other way to do this. Thanks

Re: [android-developers] download the files from where it left off if the internet connection goes down?

2012-09-10 Thread Robert Greenwalt
How about using the built in support: http://developer.android.com/reference/android/app/DownloadManager.html On Tue, Sep 4, 2012 at 3:46 AM, RichardC wrote: > yes > > http://stackoverflow.com/questions/3414438/java-resume-download-in-urlconnection > > > > On Tuesday, September 4, 2012 9:31:39

[android-developers] Re: UncaughtExceptionHandler

2012-09-10 Thread RichardC
Have a look at source for ACRA http://code.google.com/p/acra/ On Monday, September 10, 2012 7:08:24 PM UTC+1, bob wrote: > > > Can someone help me see what a *good* Android UncaughtExceptionHandler > looks like? > > I wrote this, but I suspect it is bad: > > public class BSOD_Exception_Handler i

[android-developers] UncaughtExceptionHandler

2012-09-10 Thread bob
Can someone help me see what a *good* Android UncaughtExceptionHandler looks like? I wrote this, but I suspect it is bad: public class BSOD_Exception_Handler implements UncaughtExceptionHandler { @Override public void uncaughtException(Thread thread, Throwable ex) { BSOD.show_blue_screen(Main

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread Lew
Always double-check advice. I just doublechecked and it's "libs/" relative to the project directory, per http://developer.android.com/tools/projects/index.html "Workflow / Setting Up Projects / Android Projects" Arjun wrote: > > Thanks for your reply. i have imported to the build path lib. >

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
It is working if run this as a java project. but if make the android project and run the project means i am getting this error. Can you tel me am i missing any other files or is there any other way to do this?. Thanks Arjun On Mon, Sep 10, 2012 at 11:22 PM, mallikarjun gudisagar < gudisaga...@gma

Re: [android-developers] Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread bob
A rotation matrix by default rotates around the origin. What he should probably do is subtract the pivot point (thus centering the image at the origin), do the rotation, and then add the pivot point again. On Monday, September 10, 2012 10:52:27 AM UTC-5, Harri Smått wrote: > > Hi, > > Why

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
Thanks for your reply. i have imported to the build path lib. On Mon, Sep 10, 2012 at 11:17 PM, Lew wrote: > Arjun wrote: >> >> Hi all, >> Its working fine from project but when i tried this in android project >> i am getting error like "java.lang.NoClassDefFoundErro**r: com/android/ >> chimpc

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread Lew
Arjun wrote: > > Hi all, > Its working fine from project but when i tried this in android project i > am getting error like "java.lang.NoClassDefFoundError: com/android/ > chimpchat > > /ChimpChat" > > Am i missing any thing? help is appreciated. > > > > Thanks > > Arjun > > > On Sun, Sep 9, 20

[android-developers] No string in extras

2012-09-10 Thread Ehsan Sadeghi
I have these codes in broadcast receiver : Intent mainActivityIntent = *new* Intent(context, ir.smspeik.sms.GetResponse.*class*); mainActivityIntent.setFlags(Intent. *FLAG_ACTIVITY_NEW_TASK*); context.startActivity(mainActivityIntent); Intent broadcastIntent = *new* Intent(); broadca

[android-developers] Using zoom controls in image view !

2012-09-10 Thread Talha Qamar
Hi i have already search for the issue.But could't get much of it.I wanna use the zoom in/out controls in image view in android.Please do share some helpful material.Hope you might help me.Thanks in advance guys.Reply soon. Regards, Talha Qamar. -- You received this message because you are subscr

Re: [android-developers] keyboard event to start

2012-09-10 Thread TreKing
]On Fri, Sep 7, 2012 at 1:13 PM, andro1indico wrote: > how I can intercept the keyboard event when this starts, What is "this"? > this will need to bring up a modal window for writing there > Android does not do "modal" windows. > and also that in some cases it will not rise What does "no

Re: [android-developers] University eVarsity App

2012-09-10 Thread TreKing
On Sat, Sep 8, 2012 at 7:34 AM, Ankur Sinha wrote: > 1) Can I create the app like I mentioned without creating a mobile site? > Yes.. > 2) Do I have to get University's permission for the database access for id > and password credentials and then change the in app interface? > Technically? Pr

Re: [android-developers] Creating file & folder with the same name inside a directory

2012-09-10 Thread TreKing
On Fri, Sep 7, 2012 at 9:26 AM, Deepthi wrote: > Can someone please suggest on how a folder with the same name as a file be > created within a directory. It can't. Give the file the file an extension, at least. ---

Re: [android-developers] soap+android related problem

2012-09-10 Thread TreKing
On Sun, Sep 9, 2012 at 5:05 AM, rauf qureshi wrote: > In above code i have soap api when i use addProperty method it take > parameter in following format > > customer.login{email=sachin.si...@idhasoft.com > ;password=12345;website=base;} > >but i want to send request in

Re: [android-developers] Properties Elements Layout

2012-09-10 Thread Tor Norbye
This is fixed in ADT 21 ( https://android-review.googlesource.com/#/c/42238/) -- Tor On Fri, Sep 7, 2012 at 11:37 PM, fala70 wrote: > I installed new adt plugin 20.0.3 int layout designer are changed much > things. The properties panel is nicer but also much limited.. If I want > set an he

Re: [android-developers] Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread Harri Smått
Hi, Why are you adding constants X and Y to pivot point? -- H On Sep 10, 2012 4:18 PM, "Haris" wrote: > Hai all > > I am trying an application like rotating image with motion sensorMy > problem is that the image does not rotate about centre properlyAnd my > angle range is 0 to 90 and 0

Re: [android-developers] FragmentStatePagerAdapter is not setting the UI elemtents when using Loader API

2012-09-10 Thread Jose Ayerdis
Interesting I'll look at it but it does not explained why the first fragment does not load the data and when I start switching this gets set. Although the listview inside each fragment get loaded and then empty. PD. this works without a ViewPager and the FragmentStatePagerAdapter approach. Sincer

[android-developers] Re: Canvas Zoom in,zoom out and drag

2012-09-10 Thread bob
Sounds like you want to call setMatrix on the Canvas object. On Monday, September 10, 2012 6:52:47 AM UTC-5, Tilottama Gulame wrote: > > Hello Friends, > > I want to open image on canvas, after that i want to zoom > in,zoom out and drag canvas. After zooming canvas i want to draw l

[android-developers] NFC Secure Element by Software

2012-09-10 Thread Gorka
Hi all, I would like to know which are the solutions that nowadays are being proposed in order to develop software-based secure elements. I know what a Secure Element is, so please don´t tell me that the Secure Element must be a hardware device by definition and that it could be an UICC/SIM or

[android-developers] Re: creating view programatically

2012-09-10 Thread bob
I'd probably use these constructors: TextView(Context context) EditText(Context context) LinearLayout(Context context) Then, I'd call addView on the Linear layout to add the text view and edit text. Then, I'd call setContentView to set the content view to the linear layout. On Monday, Septe

[android-developers] creating view programatically

2012-09-10 Thread vadivel rajan
hi friends any one help me my task is creating textview , edittext , buttons and linearlayout programly(only by java code) in android. creating every component as seperate class at last merge with linearlayout. .. i expect reply from u as much as fast.Advance thanks frds.. -- You rece

[android-developers] Re: My new Game "Balloon Mania " not showing no of downloads

2012-09-10 Thread bob
If you want accurate stats, why not use something like Flurry or Localytics? On Monday, September 10, 2012 2:20:47 AM UTC-5, RKJ (Android developer) wrote: > > Hi, > > Any one know, why no of downloads is not showing at portal. > > > -- > Thanks & Regards > > Rakesh Kumar Jha > Android Deve

[android-developers] Re: How to increase textsize

2012-09-10 Thread bob
Why not just set it in your layout xml? On Monday, September 10, 2012 4:26:40 AM UTC-5, plw wrote: > > How do I make the size of text larger than the rest of the text that > follow it so that it look like a heading? I have tried using setTextSize > but it doesn't have any effect when I

[android-developers] Re: Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread bob
I think you should be doing something like this: canvas.setMatrix(matrix); On Monday, September 10, 2012 8:18:32 AM UTC-5, Haris wrote: > > Hai all > > I am trying an application like rotating image with motion sensorMy > problem is that the image does not rotate about centre properl

Re: [android-developers] Re: print integer value in logcat.

2012-09-10 Thread Raghav Sood
Why would you use that when you have a perfectly working LogCat class? What's wrong with Log.i("value =" + intName);? Raghav Sood Sent from my Galaxy Nexus On Sep 10, 2012 6:48 PM, "Jan Burse" wrote: > Most simple approach: > > int x; > System.err.println("x="+x); > > Will show in LogCat. > > m

[android-developers] Rotate image around it's centre problem with matrix rotation

2012-09-10 Thread Haris
Hai all I am trying an application like rotating image with motion sensorMy problem is that the image does not rotate about centre properlyAnd my angle range is 0 to 90 and 0 to -90.. And below is my code. public void onDraw(Canvas canvas) { super.onDraw(canvas);

[android-developers] Re: print integer value in logcat.

2012-09-10 Thread Jan Burse
Most simple approach: int x; System.err.println("x="+x); Will show in LogCat. mohammed Nuhail schrieb: How to print integer value in LogCat ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

Re: [android-developers] print integer value in logcat.

2012-09-10 Thread Mark Murphy
Use String.valueOf(), or concatenate it with another string (e.g., "This is #"+i), etc. On Mon, Sep 10, 2012 at 8:19 AM, mohammed Nuhail wrote: > How to print integer value in LogCat ? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group.

Re: [android-developers] print integer value in logcat.

2012-09-10 Thread Live Happy
add " "+ integer valuer On Mon, Sep 10, 2012 at 3:19 PM, mohammed Nuhail wrote: > How to print integer value in LogCat ? > > -- > 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@go

[android-developers] International Hack-A-Thon!

2012-09-10 Thread Bill Mote
Our sister group across the pond is holding an "International Hack-a-Thon." http://www.dutchaug.org/events/74969932/ I know Johan, the organizer, and I'm certain he'll hold an amazing event. The have substantial prizes for winners! (Trips to London, Tablets, etc.) Even if you can't p

[android-developers] print integer value in logcat.

2012-09-10 Thread mohammed Nuhail
How to print integer value in LogCat ? -- 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...@goo

[android-developers] Canvas Zoom in,zoom out and drag

2012-09-10 Thread Tilottama Gulame
Hello Friends, I want to open image on canvas, after that i want to zoom in,zoom out and drag canvas. After zooming canvas i want to draw line between 2 particular touch points of image. Please help me to do this. Thanks in advance. -- You received this message because you are subsc

Re: [android-developers] How to increase textsize

2012-09-10 Thread Knutsford Software
ah right SpannableStringBuilder seems to be the way to go. Thanks I will give it a go Pam - Original Message - From: "Mark Murphy" To: Sent: Monday, September 10, 2012 12:12 PM Subject: Re: [android-developers] How to increase textsize Either use two TextViews, or create your te

Re: [android-developers] How to increase textsize

2012-09-10 Thread Mark Murphy
Either use two TextViews, or create your text using a SpannableStringBuilder and apply appropriate spans for formatting, or create your text as HTML and use Html.fromHtml() to create the Spanned object that you pass to setText(). On Mon, Sep 10, 2012 at 5:26 AM, plw wrote: > How do I make the si

Re: [android-developers] Google's Android developer tutorial problem

2012-09-10 Thread Mark Murphy
On Sun, Sep 9, 2012 at 10:19 PM, Kristopher Micinski wrote: > yes, at the same time you should file a documentation bug report! I did (or, rather, added more comments on an issue related to this tutorial): http://code.google.com/p/android/issues/detail?id=32940 -- Mark Murphy (a Commons Guy) h

Re: [android-developers] Re: My new Game "Balloon Mania " not showing no of downloads

2012-09-10 Thread Kostya Vasilyev
2012/9/10 Rocky > Thanks for reply. > > But my other 2-3 apps is also not showing no. of downloads. > > is it google issue ? > >From past experience, Market stats are quite often broken, and in the process of being fixed "this time for realz". It can also be observed that Market malfunctions

[android-developers] Store and Retrieve image selected from a GridView.

2012-09-10 Thread Mehboob
Hello everyone, Am trying to retrieve and display an image which was selected in a grid view, I added a small image (checkmark) to indicate the selected image in onClickListener(). Am saving the position of image in a database table. Am retrieving the position of image back from database, but

Re: [android-developers] problem on actionbarsherlock

2012-09-10 Thread RichardC
ABS support forum: https://groups.google.com/forum/?fromgroups=#!forum/actionbarsherlock On Monday, September 10, 2012 10:26:54 AM UTC+1, nanda wrote: > > Hi > Its not working and I am using Actionbarsherlock for implementing the > actionbar. > > On Monday, September 10, 2012 12:38:54 PM UTC+5:

[android-developers] Re: installation of audio in /mnt/sdcard

2012-09-10 Thread drstikko
Ok, but how do I do that? Is there a standard scriptname that contains these commands? Dave Op zaterdag 8 september 2012 14:30:48 UTC+2 schreef lbendlin het volgende: > > During the initial run of your application you can copy the required files > from the package to the sd card.Bonus points if

Re: [android-developers] problem on actionbarsherlock

2012-09-10 Thread nanda
Hi Its not working and I am using Actionbarsherlock for implementing the actionbar. On Monday, September 10, 2012 12:38:54 PM UTC+5:30, Live Happy wrote: > > use a custom android:actionButtonStyle. > > @style/ActionButtonStyle > > > like this > > parent="@android:style/Widget.Holo.Light.Action

[android-developers] How to increase textsize

2012-09-10 Thread plw
How do I make the size of text larger than the rest of the text that follow it so that it look like a heading? I have tried using setTextSize but it doesn't have any effect when I run eclipse when I do this TextView tv1

[android-developers] Re: Question about SurfaceView and Threads

2012-09-10 Thread Jan Burse
Harri Smått schrieb: That's not true. Android supports basic Java Threads and there's no reason for not to use them when appropriate. But the thing is, you can not alter UI components outside of UI Thread. In your case it would be updating the textual contents of TextView. See method named runOnU

[android-developers] Re: MediaStore.ACTION_VIDEO_CAPTURE: EXTRA_DURATION_LIMIT ignored on HTC devices?

2012-09-10 Thread BoD
No idea, anybody? -- BoD On Thursday, September 6, 2012 11:30:56 AM UTC+2, BoD wrote: > > Hi! > (First of all sorry if this message is duplicated, it seems my previous > attempt was lost). > > I am trying to start a video recording activity, with a duration limit. > Using MediaStore.EXTRA_DURAT

Re: [android-developers] how to retrieve data between specified date

2012-09-10 Thread Kristopher Micinski
+1 to what harri said, store stuff as time since the epoch or something, and then you can select using standard SQL filters.. kris On Mon, Sep 10, 2012 at 2:07 AM, Sadhna Upadhyay wrote: > Hi everybody, >i want to know that how to convert,let me first explain application( > i have create

Re: [android-developers] .Net to Android GCM Logic

2012-09-10 Thread Rocky
please check android-expert.blogspot.com On Mon, Sep 10, 2012 at 2:07 PM, Krishna Mahadik wrote: > Hi Guys, > > Can anyone please help me understand the flow and logic of GCM, as in, > pushing update from .net web service to android phone for an application. > > Thanks & Regards, > Krishna V. M

Re: [android-developers] Question about SurfaceView and Threads

2012-09-10 Thread Harri Smått
On Sep 10, 2012 12:04 AM, "Edvinas Kilbauskas" wrote: > I heard that android doesn't support plain old Java Threads. That's not true. Android supports basic Java Threads and there's no reason for not to use them when appropriate. But the thing is, you can not alter UI components outside of UI Thr

[android-developers] .Net to Android GCM Logic

2012-09-10 Thread Krishna Mahadik
Hi Guys, Can anyone please help me understand the flow and logic of GCM, as in, pushing update from .net web service to android phone for an application. Thanks & Regards, Krishna V. Mahadik -- -- . \\\/// . /\ . | \\ // | . ( |

Re: [android-developers] Re: My new Game "Balloon Mania " not showing no of downloads

2012-09-10 Thread Rocky
Thanks for reply. But my other 2-3 apps is also not showing no. of downloads. is it google issue ? On Mon, Sep 10, 2012 at 1:21 PM, Zsolt Vasvari wrote: > My developer console has in a huge yellow box: > > "6 September 2012: Stats not updating on Developer Console and Google Play > We're awa

Re: [android-developers] Where to start for developing an Android Game?

2012-09-10 Thread Harri Smått
Hi, Instead of developing "a simple game", try to come up with more detailed idea(s) what you want to see your game did. Saying this only in hopes that having some more specific goal gave you extra motivation for creating it. Good luck with your project in any case. -- H On Sep 10, 2012 5:23 AM,

Re: [android-developers] how to retrieve data between specified date

2012-09-10 Thread Harri Smått
Hi, It may be best if you didn't store dates as Strings for this use case - if never to be more precise. Firstly, using Strings you hardcode application language. Secondly, comparisons become next to impossible compared to e.g long comparisons. -- H On Sep 10, 2012 9:07 AM, "Sadhna Upadhyay" wro

Re: [android-developers] Re: Getting pointer to current activity

2012-09-10 Thread Kristopher Micinski
Ah yes, that would explain it :-) kris On Mon, Sep 10, 2012 at 3:59 AM, Ravin wrote: > Well okay after some investigation it looks like I need activities for each > new major screen I make - I cannot use the main activity for this as I > thought. > > > On Sunday, September 9, 2012 8:58:25 PM UTC

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-10 Thread Javier Garcia Crespo
I wonder for one example develop with ONLY, the new technique for selector Android 3.2 + ( http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts ): extract: 320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc). 480dp: a tweener tablet

Re: [android-developers] Re: Getting pointer to current activity

2012-09-10 Thread Ravin
Well okay after some investigation it looks like I need activities for each new major screen I make - I cannot use the main activity for this as I thought. On Sunday, September 9, 2012 8:58:25 PM UTC-7, Kristopher Micinski wrote: > > It seems like you should generally be able to do this within

[android-developers] Re: My new Game "Balloon Mania " not showing no of downloads

2012-09-10 Thread Zsolt Vasvari
My developer console has in a huge yellow box: "6 September 2012: Stats not updating on Developer Console and Google Play We're aware of the reports that installs data displayed in the Developer Console and on Google Play have not updated. We're investigating this issue and are striving to resol

Re: [android-developers] Problem with xml layout displaying on phone using the alias technique described in the newsreader project on Android Developers

2012-09-10 Thread Ibrahim Sada
hey dannie i need ur help if ur expert in androidam wating for ur reply On 12 July 2012 01:33, DanielleM wrote: > Hello all, > > I'm having some problems with my layout not displaying correctly in the > emulator or on my device, even though it looks fine in eclipse. I've been > trying to

[android-developers] File descriptor passed to DrmManagerClient::openDecryptSession

2012-09-10 Thread eaglessong
As I understood drm service is running in a process named drmserver which is different from mediaserver process and the application process. If that's the case how the following API call works since file descriptor is not supposed to be shared across process. The FileSource class used by medias

Re: [android-developers] FragmentStatePagerAdapter is not setting the UI elemtents when using Loader API

2012-09-10 Thread Calin Perebiceanu
Hello, I believe that your issue is caused by the fact that the viewpager instantiates the fragments only when needed. You should take a look at http://developer.android.com/reference/android/support/v4/view/ViewPager.html#setOffscreenPageLimit(int) On Monday, 10 September 2012 03:58:53 UTC+

[android-developers] My new Game "Balloon Mania " not showing no of downloads

2012-09-10 Thread Rocky
Hi, Any one know, why no of downloads is not showing at portal. -- Thanks & Regards Rakesh Kumar Jha Android Developer, Trainer and Mentor Bangalore Skype - rkjhaw -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

Re: [android-developers] University eVarsity App Help

2012-09-10 Thread Calin Perebiceanu
Hi, You will need something like a web service to provide you the information (if this is what you ask at pt. 1). For point 2 , it depends on how you set up the web service. On Monday, 10 September 2012 05:22:50 UTC+3, Kristopher Micinski wrote: > > FYI the place to ask permission for permission

Re: [android-developers] problem on actionbarsherlock

2012-09-10 Thread Live Happy
use a custom android:actionButtonStyle. @style/ActionButtonStyle like this 0dip 0dip 0dip On Mon, Sep 10, 2012 at 9:31 AM, nanda wrote: > I have implemented a