[android-developers] Re: PopupWindow - controlling size?

2013-02-06 Thread skink
Mohit sharma wrote: Any solution yet ? popup.showAtLocation(...); int wrap = LayoutParams.WRAP_CONTENT; popup.update(wrap, wrap); 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] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread a
Hi, An update to my question here: I have some code that gets executed when the screen is on, but when I power off the screen, has some problems in execution(even after acquiring Wakelock globally). I have a service that acquired a wakelock and calls the activity - ExecuteScript with the

[android-developers] Flex Video in Android Tablet

2013-02-06 Thread arjunender pabba
Flex video not loading in android in tablet any suggestions -- -- 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] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread skink
a wrote: Hi, An update to my question here: I have some code that gets executed when the screen is on, but when I power off the screen, has some problems in execution(even after acquiring Wakelock globally). I have a service that acquired a wakelock and calls the activity - ExecuteScript

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread Archana r
Hi, I have integrated the code(ScriptActivity and ScriptService from SL4A into my project to execute PythonScripts in Android).. So I have ExecuteScript- ScriptActivity-ScriptService ... On Wed, Feb 6, 2013 at 1:24 PM, skink psk...@gmail.com wrote: a wrote: Hi, An update to my question

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread skink
Archana r wrote: Hi, I have integrated the code(ScriptActivity and ScriptService from SL4A into my project to execute PythonScripts in Android).. So I have ExecuteScript- ScriptActivity-ScriptService ... how/when do you acquire/release the wake lock? pskink -- -- You received this

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread a
Hi I have acquired WakeLock like given in the link: http://stackoverflow.com/questions/11274196/releasing-wakelock-in-different-activity-to-where-it-was-acquired (having a class separately and acquired globally).. My application flow is like: MainActivity-starts a Service when I click a

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread skink
a wrote: Hi I have acquired WakeLock like given in the link: http://stackoverflow.com/questions/11274196/releasing-wakelock-in-different-activity-to-where-it-was-acquired (having a class separately and acquired globally).. My application flow is like: MainActivity-starts a Service when I

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread Archana r
Yes it is :) ConnectService runs HTTP server in the phone. Initially, when Start button is pressed, the script is HTTP Posted to the client. To execute the script, this service calls ExecuteScript. On Wed, Feb 6, 2013 at 2:39 PM, skink psk...@gmail.com wrote: a wrote: Hi I have acquired

[android-developers] Download Expansion File

2013-02-06 Thread Michel Cabillot
I've tried to implement expansion file to my application according to the Android Developer's guidehttp://developer.android.com/google/play/expansion-files.html#Downloading, but I've got some erros while copying their code : boolean expansionFilesDelivered() { for (XAPKFile xf : xAPKS) {

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread skink
Archana r wrote: Yes it is :) ConnectService runs HTTP server in the phone. Initially, when Start button is pressed, the script is HTTP Posted to the client. To execute the script, this service calls ExecuteScript. so how/when/where do you acquire the wake lock? pskink -- -- You

Re: [android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2013-02-06 Thread reaktor24
I have had a read of this thread and have come to the conclusion that the best method could be to offer a freely distributable demo version for download on the Android market so people can try out your game. Then if they like it enough to buy the full version they DO NOT purchase through the

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread Archana r
I acquire WakeLock in onCreate() of ConnectService and release it only in onDestroy() of ConnectService. On Wed, Feb 6, 2013 at 3:05 PM, skink psk...@gmail.com wrote: Archana r wrote: Yes it is :) ConnectService runs HTTP server in the phone. Initially, when Start button is pressed,

Re: [android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2013-02-06 Thread John Coryat
You could do that but you'd be in violation of the Google Play developer's agreement: 3. Pricing and Payments. However, if you want to collect fees after the free trial expires, you must collect all fees for the full version of the Product through the Payment Processor on the Market.

Re: [android-developers] Re: Wakelock when using startActivityForResult()

2013-02-06 Thread skink
Archana r wrote: I acquire WakeLock in onCreate() of ConnectService some code? 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.com To unsubscribe from this

[android-developers] SubScription Based In App Purchase in Android

2013-02-06 Thread JOBZ
Hi, I want to implement an In app Purchase (*Subscription *based)in my app so i integrated version 2.0 in App API. I implemented the Coding part and its working fine. I have a doubt that where will we get the call back in the second time automatic recurring payment , means in the first

[android-developers] unable to connect host server pc

2013-02-06 Thread Ananda Krishna
Hi, I am running a server which sends data to the client i.e android device with the help of sockets via wifi .On client side i am getting the following exception. *Exception: java.net.unknownhostexception unable to resolve host .* *Code:* * * clientSocket = new

[android-developers] Mechanoid - open source productivity plugin for Android

2013-02-06 Thread Ian Warwick
Hi All, I have just released some overview docs for an Eclipse Plugin called Mechanoid here http://robotoworks.github.com/mechanoid/ If you are developing content providers, writing JSON over REST clients, or looking at Virgin Dobjanschi's REST pattern, then this plugin might help you

Re: [android-developers] ydpi != xdpi

2013-02-06 Thread bob
Can you please rephrase what you are saying here? I can't understand it. Part of the issue is that a lot of code relies on the density being a single number as shown here: https://lh6.googleusercontent.com/-49wC0ys4m0U/URJ4Qj4RRNI/AMQ/-CaNWHHwQ9o/s1600/dpibad3.png Also, can

Re: [android-developers] unable to connect host server pc

2013-02-06 Thread Robert Greenwalt
You indicate a literal string MY_PC_IP(SERVER_IP) for the host name. Is that accurate, or do you mean you have an ip addr there? UnknownHostException means a failed dns lookup. If you're using an ip addr string, dns shouldn't be involved, but if you're using a host name it probably means that

Re: [android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2013-02-06 Thread Nobu Games
And on top of that: 1. You're going to have a small nightmare if you want to roll out updates to your customers. You certainly wouldn't want to do that by email. A customer's email box quota could have been reached, the attached APK could be too big for the email provider... and it's just a

[android-developers] Re: SIP Demo and Android 2.3 problem

2013-02-06 Thread Labeeb p
This issue are there with some Samsung giger bread device. I'm using Galaxy ace 2.3.6 On Wednesday, 6 February 2013 01:55:08 UTC+5:30, bob wrote: Is this on a device or an emulator? Thanks. On Tuesday, February 5, 2013 7:48:17 AM UTC-6, Labeeb p wrote: I'm also facing the same issue.

[android-developers] Re: SIP Demo and Android 2.3 problem

2013-02-06 Thread Labeeb p
This issue is there with some Samsung Gingerbread device. I'm using Galaxy ace 2.3.6 On Wednesday, 6 February 2013 01:55:08 UTC+5:30, bob wrote: Is this on a device or an emulator? Thanks. On Tuesday, February 5, 2013 7:48:17 AM UTC-6, Labeeb p wrote: I'm also facing the same issue.

[android-developers] Re: Nfc reader application

2013-02-06 Thread mikedrmfs
Do you have a specific question or problem? On Tuesday, 5 February 2013 17:22:36 UTC-5, jitesh adnani wrote: I want to develop an app that could read any nfc tag or card and display all the details in that nfc tag or card. -- -- You received this message because you are subscribed to

Re: [android-developers] ydpi != xdpi

2013-02-06 Thread Streets Of Boston
Just look here: http://developer.android.com/reference/android/util/DisplayMetrics.html#density On Wednesday, February 6, 2013 10:35:52 AM UTC-5, bob wrote: Can you please rephrase what you are saying here? I can't understand it. Part of the issue is that a lot of code relies on the

[android-developers] Re: SIP Demo and Android 2.3 problem

2013-02-06 Thread Nobu Games
What you're observing is expected behavior and not a bug. Reading the API documentation helps: From http://developer.android.com/reference/android/net/sip/SipManager.html *Note:* Not all Android-powered devices support VOIP calls using SIP. You should always call

[android-developers] market? issue

2013-02-06 Thread Greg Donald
Yesterday I shipped a bug fix update. The update is a workaround for http://code.google.com/p/android/issues/detail?id=7189 +import android.view.MotionEvent; [...] +add_phone.requestFocus( View.FOCUS_DOWN ); +add_phone.setOnTouchListener( new View.OnTouchListener() +{ +

[android-developers] re:Camera picture how to convert bitmap

2013-02-06 Thread jagadeeshbabu
Iam capturing image and saving to sd card,after capturing image app get crashes can any one guide me. public class ButtonClickHandler implements View.OnClickListener { public void onClick(View view) { Log.i(MakeMachine, ButtonClickHandler.onClick());

[android-developers] Re: unable to connect host server pc

2013-02-06 Thread Lew
Ananda Krishna wrote: I am running a server which sends data to the client i.e android device with the help of sockets via wifi .On client side i am getting the following exception. *Exception: java.net.unknownhostexception unable to resolve host .* Spelling counts with Java identifiers.

[android-developers] Spinner does not apply dropDownSelector attribute

2013-02-06 Thread Vladimir Svydenko
Hi there, I'm using spinner and want to add spinner - to change behavior depends of states(focused, pressed) My code: *activity_main.xml* Spinner android:id=@+id/spinner android:layout_width=wrap_content android:layout_height=wrap_content

[android-developers] Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread Nathan
I hope my app didn't it. I've spent time debugging my app on it - it is my most intensive use of it. A month ago, it started displaying the charging symbol when it was not charging. Once in a while, it will freeze hard and the battery must be pulled to reset it. Thinking this was a

[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread Nobu Games
My Nexus 7 also froze a few times in really harsh ways I haven't seen before with other Android devices. Sometimes it displayed weird patterns on screen. Most of the time it simply did not respond at all. At one point I also believed it was bricked because the screen was black and I kept on

[android-developers] Strange directory duplication behaviour

2013-02-06 Thread Rob H
Hi all, My app stores files on external storage under a folder I create with the following code: new File(Environment.getExternalStorageDirectory(), /trc_prl/bundle); One of my testers has noticed that sometimes when he goes to clean up external storage to begin testing from a clean device he

Re: [android-developers] Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread Kostya Vasilyev
Mine would reboot launching Google Maps -- this was a almost a year ago, but still, official firmware, flagship device, a Google app... http://www.youtube.com/watch?v=mC4EegjeWZA A software reset fixed the issue back then, but my point is, weird things happen. Are you able to boot into the

[android-developers] Re: Camera picture how to convert bitmap

2013-02-06 Thread bob
Sounds like _image is null. On Wednesday, February 6, 2013 1:42:00 PM UTC-6, jagadeesh babu wrote: Iam capturing image and saving to sd card,after capturing image app get crashes can any one guide me. *public* *class* ButtonClickHandler *implements* View.OnClickListener {

Re: [android-developers] Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread Nathan
On Wednesday, February 6, 2013 2:10:11 PM UTC-8, Kostya Vasilyev wrote: Mine would reboot launching Google Maps -- this was a almost a year ago, but still, official firmware, flagship device, a Google app... http://www.youtube.com/watch?v=mC4EegjeWZA A software reset fixed the issue back

[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread bob
Do you ever bring your phone into a sauna? This can be bad for it. On Wednesday, February 6, 2013 2:59:30 PM UTC-6, Nathan wrote: I hope my app didn't it. I've spent time debugging my app on it - it is my most intensive use of it. A month ago, it started displaying the charging

[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread Nathan
On Wednesday, February 6, 2013 2:47:38 PM UTC-8, bob wrote: Do you ever bring your phone into a sauna? This can be bad for it. No. It's been pretty sheltered. It's been in a dry bag when snowshoeing. I found an obscure trick on the internet: remove batter and SIM card and push power button

[android-developers] Re: Strange directory duplication behaviour

2013-02-06 Thread bob
Maybe he did a Move to SD card? Why don't you at least change the dir from trc_prl to something else so you can tell if it's using your package name or a variant of your dir name? On Wednesday, February 6, 2013 3:18:39 PM UTC-6, Rob H wrote: Hi all, My app stores files on external

[android-developers] Daemon Threads in Android

2013-02-06 Thread Nathan
I'm just looking at the definition of Thread.isDaemon. It seems like a nice feature. The deamon Thread won't stop the process from exiting. But wait a second. Do non daemon thread stop a process from exiting in Android? I wasn't aware that any thread could stop Android from killing a

[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread lbendlin
Stock ROM on it? Want to try Cyanogenmod instead? On Wednesday, February 6, 2013 6:07:38 PM UTC-5, Nathan wrote: On Wednesday, February 6, 2013 2:47:38 PM UTC-8, bob wrote: Do you ever bring your phone into a sauna? This can be bad for it. No. It's been pretty sheltered. It's been in a dry

[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread Nathan
On Wednesday, February 6, 2013 4:20:26 PM UTC-8, lbendlin wrote: Stock ROM on it? Yes. Want to try Cyanogenmod instead? No. I want to remain eligible for warranty, if possible, since this seems a likely hardware problem. Nathan -- -- You received this message because you are

[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread lbendlin
you could try to reflash the stock ROM. On Wednesday, February 6, 2013 7:33:24 PM UTC-5, Nathan wrote: On Wednesday, February 6, 2013 4:20:26 PM UTC-8, lbendlin wrote: Stock ROM on it? Yes. Want to try Cyanogenmod instead? No. I want to remain eligible for warranty, if possible,

[android-developers] Re: Daemon Threads in Android

2013-02-06 Thread Streets Of Boston
It's mostly just 'ported' from regular Java, where a process could not do a normal 'exit' when non-daemon thread were still running. But you're right. It would seem that if android decides to 'kill' your app, it doesn't much matter whether there are some daemon threads still running or not.

[android-developers] Re: Daemon Threads in Android

2013-02-06 Thread Nathan
On Wednesday, February 6, 2013 4:52:00 PM UTC-8, Streets Of Boston wrote: It's mostly just 'ported' from regular Java, where a process could not do a normal 'exit' when non-daemon thread were still running. But you're right. It would seem that if android decides to 'kill' your app, it

[android-developers] Re: Mechanoid - open source productivity plugin for Android

2013-02-06 Thread Lew
Ian Warwick wrote: I have just released some overview docs for an Eclipse Plugin called Mechanoid here http://robotoworks.github.com/mechanoid/ If you are developing content providers, writing JSON over REST clients, or looking at Virgin Dobjanschi's REST pattern, then this plugin might

[android-developers] Re: unable to connect host server pc

2013-02-06 Thread Ananda Krishna
hi Robert Greenwalt, *I have given the ip address of the my pc which is the server for testing the code.* *Regards,* *AnandaKrishna S* On Wednesday, February 6, 2013 7:22:16 PM UTC+5:30, Ananda Krishna wrote: Hi, I am running a server which sends data to the client i.e android device with

[android-developers] know with the browser if a specific application is installed in device

2013-02-06 Thread David Toledo
Hi All Is possible know with the browser if a specific application is installed in device and if was installed make some action in the page ?? Regards David -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Get sorted list android applications on basis of rarely used

2013-02-06 Thread TreKing
On Wed, Feb 6, 2013 at 12:00 AM, Bajrang Asthana asthana.bajr...@gmail.comwrote: Is anyone have any idea about how to get last run and flushing mechanism of logcat file. An app only has access to its own logs in the latest version of Android, so you can't do these types of hacks anymore.

Re: [android-developers] Re: Mechanoid - open source productivity plugin for Android

2013-02-06 Thread Ian Warwick
It is an open-source tool for rapidly developing Android compoments. On 7 Feb 2013 02:10, Lew lewbl...@gmail.com wrote: Ian Warwick wrote: I have just released some overview docs for an Eclipse Plugin called Mechanoid here

Re: [android-developers] Re: Mechanoid - open source productivity plugin for Android

2013-02-06 Thread Ian Warwick
It is an open-source tool for rapidly developing Android compoments. On 7 Feb 2013 02:10, Lew lewbl...@gmail.com wrote: Ian Warwick wrote: I have just released some overview docs for an Eclipse Plugin called Mechanoid here

Re: [android-developers] Re: Mechanoid - open source productivity plugin for Android

2013-02-06 Thread Kristopher Micinski
I disagree: this looks like a helpful tool for many Android projects. You'll likely be writing a web service along with an app, and this plugin allows you to scrap your boilerplate. It makes sense to announce this here because this is a forum aimed at Android development, and it's open source so

[android-developers] Re: Galaxy Nexus has died - did my app kill it?

2013-02-06 Thread Grzegorz Patynek
If You want to know the problem, use strace. Install adb on your pc connect device through cable, even if it is only charging, you should see device by running adb devices command. Run adb shell in shell use /bin/strace, or copy strace from internet into device, if it couldn't been find. run