Re: [android-developers] Blocking Outgoing SMS

2012-05-01 Thread uttam agarwal
Hi Asheesh, We are asking for blocking the outgoing sms not reading the sms details. We can read the details. Anyways you can block incoming sms not outgoing sms . I thought you knew to block outgoing sms when you said yes when i mailed. Anyways Thanks Regards, Uttam Agarwal On Wed, May 2, 2012

[android-developers] Not Getting the Exact value of x and y cordinates

2012-05-01 Thread shihab shiha
Hi All, I tried to get the x and y coordinates of one view. why..getx and gety co-ordinates are not matching the view which is touched -- 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: [android-developers] Blocking Outgoing SMS

2012-05-01 Thread asheesh arya
I don't know how you can block an sms message before it is received. However, reading a SMS via Android can be done after it is received can be done using a query on the SMS inbox. The SMSPopUp application for Android does this and more. The sourcecode of this application can be found here http://

Re: [android-developers] Blocking Outgoing SMS

2012-05-01 Thread uttam agarwal
Same question . Expert please suggest. Regards Uttam Agarwal On Wed, May 2, 2012 at 11:36 AM, surabhi jain wrote: > from which intent or notification, > we can block outgoing SMS in android. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers

[android-developers] Reinstall of the app fails after disable the launcher activity

2012-05-01 Thread png
Hi , I have a requirement where i want to hid the app from list of other apps . It should be given as an option to the user so that user can choose to hide / unhide. So i am able to do this by making the launcher activity component disabled. Then i defined a broadcast receiver that will launch t

Re: [android-developers] Blocking Outgoing SMS

2012-05-01 Thread surabhi jain
from which intent or notification, we can block outgoing SMS in android. -- 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] Reinstall of the app fails after disable the launcher activity

2012-05-01 Thread png
Hi , I have a requirement where i want to hid the app from list of other apps . It should be given as an option to the user so that user can choose to hide / unhide. So i am able to do this by making the launcher activity component disabled. Then i defined a broadcast receiver that will launch t

[android-developers] how to get the wifi connection speed?

2012-05-01 Thread Hiko
hi, I have one question concerning the way to get the wifi connection speed. I could find out the way to get the connection speed over the air(3G) by using inherited TrafficState class. However, i do not know how to get the connection speed in case of connecting Wifi. Please let me know if you

Re: [android-developers] algorithm data synchronization (SQLite to Online Database)

2012-05-01 Thread mateen sysfore
Try using pentahoo tool On Mon, Apr 30, 2012 at 7:33 PM, Diogo Ribeiro wrote: > I think that WebService would be the best way > > > 2012/4/28 Thiago Ventura > >> I am making a app that need synchronize data with a online server. What >> do the best way to make? >> >> I thought at create a databa

Re: [android-developers] how to read contact details

2012-05-01 Thread asheesh arya
http://eagle.phys.utk.edu/guidry/android/readContacts.html juzz go through this link might be it helpful for you -- 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 uns

Re: [android-developers] Blocking Outgoing SMS

2012-05-01 Thread asheesh arya
yes -- 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.com For more options, vis

Re: [android-developers] code for read n write

2012-05-01 Thread asheesh arya
import java.io.*; import android.app.Activity; import android.os.Bundle; import android.view.*; import android.view.View.OnClickListener; import android.widget.*; public class FileDemo2 extends Activity { // GUI controls EditText txtData; Button btnWriteSDFile; Butt

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread fan zhang
Thanks a lot for the information. Fan On Tue, May 1, 2012 at 8:07 PM, Irfan Sheriff wrote: > Wifi Direct can be enabled on the wingray by adding the following line to > device/moto/wingray/device_base.mk: > > frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/an

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread Irfan Sheriff
Wifi Direct can be enabled on the wingray by adding the following line to device/moto/wingray/device_base.mk: frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml But officially, Wifi Direct is not supported on BCM4329 because of fir

Re: [android-developers] Applications and databases

2012-05-01 Thread James Black
If you mean to write to any database then no. But, if you mean whether someone writes to your database, then just provide a content provider and you can be informed. On 1 May 2012, at 21:33, Meryeme Ayache wrote: > how can we know if an application has entered to the database. I mean is > ther

[android-developers] Applications and databases

2012-05-01 Thread Meryeme Ayache
how can we know if an application has entered to the database. I mean is there any possiblity to know if an application get or write information in Android Database. -- Meryeme Ayache.* **Third year Computer Science Student Engineer at **Ecole Nationale Supérieure d'Informatique et d'Analyse des

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread abe oppenheim
if this is the case, any idea why: 1. it isn't fixed by adding Thread.sleep(100) to the background thread? 2. it only occurs on the one device? On Tue, May 1, 2012 at 8:17 PM, Streets Of Boston wrote: > Yep, both threads are in Canvas.native_drawBitmap and clobbering each > other (or least the b

Re: [android-developers] Application linux permission problem -- context.getFilesDir() is null

2012-05-01 Thread maciej
No, we do not use sharedUserId. W dniu wtorek, 1 maja 2012 16:52:07 UTC-7 użytkownik Mark Murphy (a Commons Guy) napisał: > > Do you use android:sharedUserId? > > If so, did you ever change its value? > > On Tue, May 1, 2012 at 7:40 PM, maciej wrote: > > We've got many reports about our appl

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Streets Of Boston
Yep, both threads are in Canvas.native_drawBitmap and clobbering each other (or least the background thread is clobbering the UI one). This is a tough one to fix or to work-around. On Tuesday, May 1, 2012 7:27:00 PM UTC-4, Ab wrote: > > I hadn't, but I just did on your suggestion. > > The call

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread fan zhang
Robert: Do you know whom I should contact in Broadcom to discuss this issue? Thanks Fan On Tue, May 1, 2012 at 4:59 PM, Robert Greenwalt wrote: > You are welcome to discuss it with broadcom. I agree that the hardware is > capable. > > > On Tue, May 1, 2012 at 4:52 PM, fan zhang wrote: > >> R

[android-developers] open source kernel aoosciated with ICS 4.0.3 for Galaxy Nexus (maguro)

2012-05-01 Thread fan zhang
Hi: I compiled ICS 4.0.3 and flashed it to Galaxy Nexus (Maguro). However we could not get relevant kernel source to match with ICS 4.0.3 for Maguro. Did any one successfully compile open source kernel to match ICS 4.0.3 on Galaxy Nexus (Maguro)? Thanks Fan -- You received this message becaus

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread Robert Greenwalt
You are welcome to discuss it with broadcom. I agree that the hardware is capable. On Tue, May 1, 2012 at 4:52 PM, fan zhang wrote: > Robert: > > http://www.youtube.com/watch?v=H-BxARQZbbE > > Broadcom shows off WiFi Direct on a Motorola Xoom. So I believe that wifi > hardware in xoom already s

[android-developers]

2012-05-01 Thread Zy Z
-- 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.com For more options, visit

Re: [android-developers] Application linux permission problem -- context.getFilesDir() is null

2012-05-01 Thread Mark Murphy
Do you use android:sharedUserId? If so, did you ever change its value? On Tue, May 1, 2012 at 7:40 PM, maciej wrote: > We've got many reports about our application crashing - the top crash in > android developer console for us. > The problem is that method context.getFilesDir() returns null. > I

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread fan zhang
Robert: http://www.youtube.com/watch?v=H-BxARQZbbE Broadcom shows off WiFi Direct on a Motorola Xoom. So I believe that wifi hardware in xoom already supported wifi direct, right? Thanks Fan On Tue, May 1, 2012 at 4:23 PM, Robert Greenwalt wrote: > I don't think so. It's a driver limitation

[android-developers] Application linux permission problem -- context.getFilesDir() is null

2012-05-01 Thread maciej
We've got many reports about our application crashing - the top crash in android developer console for us. The problem is that method context.getFilesDir() returns null. It is hard to reproduce (never have been able to do it locally). After investigation I have noticed that /data/data/ directory h

[android-developers] Re: How insert in android a web service client created using eclipse wizard and WSDL.

2012-05-01 Thread Jxn
On 2 Maj, 01:11, Carlos A Aponte Roa wrote: > Sorry. My mistake. I created a web service client using eclipse wizard and a > wsdl and I need to add it to my android app. Ok. As Mark and I wrote, there are no support for WS for Android in Eclipse (only WS and standard Java EE), so you need some

Re: [android-developers] Re: How insert in android a web service client created using eclipse wizard and WSDL.

2012-05-01 Thread Carlos A Aponte Roa
Thanks Anders for the support. I have been trying all and did not work with eclipse WS generated code. Carlos A Aponte Roa http://ece.uprm.edu/~carlos.aponte https://market.android.com/details?id=com.caar.app.trackitsimple&feature=search_result&hl=en Original message Subject:

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
I hadn't, but I just did on your suggestion. The call chain I see in eclipse looks the same as one in the traces.txt file: http://pastebin.com/hummn87H It appears that the thread gets wedged while drawing one of the ImageButtons. On Tuesday, 1 May 2012 19:09:19 UTC-4, Kostya Vasilyev wrote

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread Robert Greenwalt
I don't think so. It's a driver limitation and that source is not available. On Tue, May 1, 2012 at 4:18 PM, fan zhang wrote: > Could we do any patch to make it work? > > Thanks > > Fan > > On Tue, May 1, 2012 at 4:11 PM, Robert Greenwalt wrote: > >> Sorry - wifi direct is not supported on xoom

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread fan zhang
Could we do any patch to make it work? Thanks Fan On Tue, May 1, 2012 at 4:11 PM, Robert Greenwalt wrote: > Sorry - wifi direct is not supported on xoom. > > On Tue, May 1, 2012 at 3:59 PM, fan zhang wrote: > >> Hi: >> >> I installed ICS 4.0.3 to Moto XOOM wifi-only (wingray). However, I could

Re: [android-developers] Re: How insert in android a web service client created using eclipse wizard and WSDL.

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 7:11 PM, Carlos A Aponte Roa wrote: > Sorry. My mistake. I created a web service client using eclipse wizard and a > wsdl and I need to add it to my android app. Android does not natively support Web service clients of that sort. You will need to figure out how to use a thi

Re: [android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread Robert Greenwalt
Sorry - wifi direct is not supported on xoom. On Tue, May 1, 2012 at 3:59 PM, fan zhang wrote: > Hi: > > I installed ICS 4.0.3 to Moto XOOM wifi-only (wingray). However, I could > not turn on wifi direct on XOOM. > > Did any one successfully turn on wifi direct on XOOM? > > Thanks > > Fan > > --

Re: [android-developers] Re: How insert in android a web service client created using eclipse wizard and WSDL.

2012-05-01 Thread Carlos A Aponte Roa
Sorry. My mistake. I created a web service client using eclipse wizard and a wsdl and I need to add it to my android app. Carlos A Aponte Roa http://ece.uprm.edu/~carlos.aponte https://market.android.com/details?id=com.caar.app.trackitsimple&feature=search_result&hl=en -- You received this me

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Kostya Vasilyev
Abe, Have you tried pausing the UI thread in the debugger once it's locked up, in order to inspect its call chain? 02.05.2012 2:55 пользователь "Mark Murphy" написал: > On Tue, May 1, 2012 at 6:47 PM, abe oppenheim > wrote: > > Thanks. Out of curiosity, did you try to reproduce on a Samsung N

[android-developers] Turn on wifi direct on XOOM

2012-05-01 Thread fan zhang
Hi: I installed ICS 4.0.3 to Moto XOOM wifi-only (wingray). However, I could not turn on wifi direct on XOOM. Did any one successfully turn on wifi direct on XOOM? Thanks Fan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 6:47 PM, abe oppenheim wrote: > Thanks.  Out of curiosity, did you try to reproduce on a Samsung Note? I don't own a Note, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsg

[android-developers] Re: How insert in android a web service client created using eclipse wizard and WSDL.

2012-05-01 Thread Jxn
Hello On 30 Apr, 21:24, ingaponteca wrote: > I am trying to create a web server client in my android application. Are you doing WS client (Web Service client) or some application that uses a web server, that are a web server? Web Server != Web Service > I created the web server client using ec

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Miguel Morales
Yeah that's really weird, good luck with your issue. You may want to start looking into work-arounds, but what a pain. Ugh, this just adds to the fuel of the fragmentation flames. Looking at this page: http://developer.android.com/guide/topics/graphics/2d-graphics.html you'll see what you're doin

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread abe oppenheim
Thanks. Out of curiosity, did you try to reproduce on a Samsung Note? On Tue, May 1, 2012 at 6:40 PM, Mark Murphy wrote: > On Tue, May 1, 2012 at 6:29 PM, Ab wrote: > > https://www.dropbox.com/s/5wg9src2n3ptv93/ANRTest.zip > > > > This includes the Thread.sleep(100); when included, it takes me

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
BTW, I think there are a few model #s of Note, so you might want to update your Samsung board post with the exact model number, firmware build number, etc. On Tue, May 1, 2012 at 6:40 PM, Mark Murphy wrote: > On Tue, May 1, 2012 at 6:29 PM, Ab wrote: >> https://www.dropbox.com/s/5wg9src2n3ptv93/

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 6:29 PM, Ab wrote: > https://www.dropbox.com/s/5wg9src2n3ptv93/ANRTest.zip > > This includes the Thread.sleep(100); when included, it takes me about 30 > seconds of button mashing to cause the ANR.  Usually occurs within 10 > seconds or so if I exclude this. Yeah, I can't r

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
https://www.dropbox.com/s/5wg9src2n3ptv93/ANRTest.zip This includes the Thread.sleep(100); when included, it takes me about 30 seconds of button mashing to cause the ANR. Usually occurs within 10 seconds or so if I exclude this. On Tuesday, 1 May 2012 18:05:16 UTC-4, Mark Murphy (a Commons Gu

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 5:41 PM, Ab wrote: > I added a log statement into the while loop.  Based on this statement, the > while loop continues after the UI has frozen. That's odder still. Can you package up the entire project and make it available somewhere? -- Mark Murphy (a Commons Guy) http:

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Justin Anderson
And that is why Mark suggested contacting the developer first... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 3:52 PM, Justin Anderson wrote: > Is it software piracy if the software is free on Google Play? >> > Well, since the def

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Justin Anderson
> > Is it software piracy if the software is free on Google Play? > Well, since the definition is "unauthorized copying of software" that would depend on each individual developer. I have a free app on Google Play and I personally wouldn't care (as long as you weren't trying to reverse engineer my

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Mark Lapasa
Is it software piracy if the software is free on Google Play? On Tuesday, May 1, 2012 3:57:49 PM UTC-4, MagouyaWare wrote: > > Software piracy is, simply put, the unauthorized copying of software... > So, if copying it to put it on the emulator is not authorized by the > developer, then that i

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
I added a log statement into the while loop. Based on this statement, the while loop continues after the UI has frozen. On Tuesday, 1 May 2012 17:36:25 UTC-4, Mark Murphy (a Commons Guy) wrote: > > On Tue, May 1, 2012 at 5:26 PM, abe oppenheim > wrote: > >> Well, try adding a sleep first and

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 5:26 PM, abe oppenheim wrote: >> Well, try adding a sleep first and then check your results again. > > Ok, I added Thread.sleep(100) (at the end of every iteration of the while > loop), and I still see the ANR.  Any ideas as to why drawing in a non-ui > thread would cause th

[android-developers] Re: How to call a WebService from an Android Application

2012-05-01 Thread ingaponteca
Adding the LogCat and more information with what I am trying to accomplish. I am trying to create a web server client in my android application. I created the web server client using eclipse wizard and I tested as java application and worked just fine. But When I do same process in my android pro

[android-developers] Re: How to use an AIDL across different package names?

2012-05-01 Thread Freddy
No applogies necessary. Without your insight I might have given up and coded a less robust solution. I really appreciate your very timely and helpful responses. Keep up the great work! On May 1, 2:02 pm, Mark Murphy wrote: > On Tue, May 1, 2012 at 4:58 PM, Freddy wrote: > > Resolved.  This wa

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread abe oppenheim
> I find that difficult to believe. I'm very certain of it. I tested this Activity on 7 devices. It consistently gives the ANR on the Galaxy Note, and runs fine on all the others. > Well, try adding a sleep first and then check your results again. Ok, I added Thread.sleep(100) (at the end of e

Re: [android-developers] HTML5 Geolocation doesn't work with Android default browser

2012-05-01 Thread James Black
You may want to ask this on stack overflow.com as this forum is for sdk questions, and your question is html5. On May 1, 2012 3:39 PM, "Aymeric Raguet" wrote: > Hi, > > I am having some difficulties with the Geolocation API in Javascript. It works > very well in the following cases: > - On a PC w

[android-developers] How to call a WebService from an Android Application

2012-05-01 Thread ingaponteca
Hi... I am trying to do same thing that you but without success. Could you did the import of a web service client in your android project? I got same java.lang.NoClassDefFoundError. I am stuck. Any help is welcome. I really need to use a client because my company already has services in a web ser

Re: [android-developers] Re: How to use an AIDL across different package names?

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 4:58 PM, Freddy wrote: > Resolved.  This was an issue with Eclipse and how it manages Java > packages. > > When adding the AIDL file to Eclipse you must right-click the "src" > folder and select New | Package and then add the AIDL file into that > package.  I ran into troubl

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Miguel Morales
Well, try adding a sleep first and then check your results again. You can then rule out the CPU consumption there and then. Otherwise, it indeed may be a bug. Perhaps that implementation creates a lock or something and lets the UI thread from continuing. That is the root of the issue, that the UI

[android-developers] Re: How to use an AIDL across different package names?

2012-05-01 Thread Freddy
Resolved. This was an issue with Eclipse and how it manages Java packages. When adding the AIDL file to Eclipse you must right-click the "src" folder and select New | Package and then add the AIDL file into that package. I ran into trouble by simply creating the folder structure manually (com\my

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
Redirecting this private reply back to the list, where it belongs: On Tue, May 1, 2012 at 4:46 PM, Ab wrote: > My application renders some in a non-ui thread while the user continues to > interact with the UI. That's fine, so long as it does so in such a way as to not hammer the CPU into oblivio

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
As suspicious as it may look, I think it is very unlikely that the ANR is due too the infinite loop, and far more likely due to some issue with drawing into a Canvas on the a non-ui thread on the Galaxy Note. I believe this because the ANR does not occur if I remove the line "canvas.scale(.36f

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Miguel Morales
Also, if you have a very tight infinite loop. The scheduler won't know that there's a break for the processor so that it can do other things. You may also want to add a Thread.sleep() call. On Tue, May 1, 2012 at 1:43 PM, Miguel Morales wrote: > You may want to try lowering the priority of the

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Miguel Morales
You may want to try lowering the priority of the thread and seeing what happens. On Tue, May 1, 2012 at 1:33 PM, Justin Anderson wrote: > Because it demonstrates the issue. >> > I highly doubt it... Your app creates a thread that runs forever and > doesn't do anything? Sounds like you have a

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
As state in my original post, this simplified Activity mimics some behavior in my application: a Bitmap is rendered in a non-ui thread, while the user interacts with the UI, producing an ANR on the Samsung Note, but not on any other device. The infinite loop helps to demonstrate this behavior.

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
> > Because it demonstrates the issue. > I highly doubt it... Your app creates a thread that runs forever and doesn't do anything? Sounds like you have a bug... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 2:27 PM, Ab wrote: >

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 4:27 PM, Ab wrote: > Because it demonstrates the issue. The issue being that you are chewing up the CPU and starving the main application thread? That issue? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

Re: [android-developers] compile decompiled .jar files back to .dex

2012-05-01 Thread Kristopher Micinski
The command line tool 'dx' does this. Type in 'dx --help' to find out how to use it. kris On Tue, May 1, 2012 at 4:37 AM, Prathwish Mestha wrote: > Hello everyone, >                               I decompiled a .dex file to .jar using > dex2jar and now I want compile it back to a .dex file but

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Ab
Because it demonstrates the issue. On Tuesday, 1 May 2012 16:17:46 UTC-4, MagouyaWare wrote: > > while (1!= 0) >> > And why in the world would you want an infinite loop? > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Tue, May 1, 2012 at

[android-developers] Re: Google I/O device in reboot loop.

2012-05-01 Thread Streets Of Boston
Enjoy your 'new' tablet. You were kind-of lucky. :) A factory reset didn't work for me. Only a fresh flash would do the trick (which had to be done by Samsung). On Tuesday, May 1, 2012 4:02:17 PM UTC-4, Nathan wrote: > > I managed to do a factory reset with the help of Samsung over the > phone

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
> > while (1!= 0) > And why in the world would you want an infinite loop? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 2:15 PM, Justin Anderson wrote: > I'm sorry if the code isn't clear. The new thread instantiates a Canvas >> a

Re: [android-developers] Re: Rendering off UI thread causes ANR on Samsung Note

2012-05-01 Thread Justin Anderson
> > I'm sorry if the code isn't clear. The new thread instantiates a Canvas > and paints into it with Canvas.drawBitmap(). Neither the instantiation nor > the method call effect the UI. > Ah, ok... I see that now. Um... maybe I'm missing something, but what is the point of doing this? What exa

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Mohamed ElSanousi
Okay I will try doing that. Thanks On Tue, May 1, 2012 at 11:59 PM, Justin Anderson wrote: > Oh okay. The other problem is that I need to take a picture sideways so >> that when I load it will be in an upright position. When I capture an image >> in an upright position, then load it sideways.. >>

Re: [android-developers] auto-rotate screen

2012-05-01 Thread Justin Anderson
A simple Google search would give you many results as well... http://lmgtfy.com/?q=android+lock+app+orientation Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 2:01 PM, Mark Murphy wrote: > Add android:screenOrientation="portrait" t

[android-developers] Re: Google I/O device in reboot loop.

2012-05-01 Thread Nathan
I managed to do a factory reset with the help of Samsung over the phone so I didn't have to mail it in. It is good as new - literally since my internal storage was wiped too. Nathan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] auto-rotate screen

2012-05-01 Thread Mark Murphy
Add android:screenOrientation="portrait" to the in the manifest: http://developer.android.com/guide/topics/manifest/activity-element.html#screen On Tue, May 1, 2012 at 4:00 PM, baturanija1 wrote: > people, is there an option to disable auto-rotation of screen?? i am > making app and whant only

[android-developers] auto-rotate screen

2012-05-01 Thread baturanija1
people, is there an option to disable auto-rotation of screen?? i am making app and whant only portal view...thanks -- 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

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Justin Anderson
> > Oh okay. The other problem is that I need to take a picture sideways so > that when I load it will be in an upright position. When I capture an image > in an upright position, then load it sideways.. > Why not just provide the ability for the user to rotate the image? This is becoming very hec

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Justin Anderson
Software piracy is, simply put, the unauthorized copying of software... So, if copying it to put it on the emulator is not authorized by the developer, then that is piracy. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 1, 2012 at 1:54 PM, Mark

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Mohamed ElSanousi
Oh okay. The other problem is that I need to take a picture sideways so that when I load it will be in an upright position. When I capture an image in an upright position, then load it sideways.. This is becoming very hectic, why is that hard to deal with pictures?? Thanks On Tue, May 1, 2012 at

Re: [android-developers] code for read n write

2012-05-01 Thread Justin Anderson
> > i am trying to develop an application for creating a new file in sd > card and then reading the content of the file in my application.. > but am gettin 'permission denied' message in my application > Gee, that sucks. Have you heard of this nifty little thing called Google? Try it sometime...

Re: [android-developers] Re: Regarding emulator

2012-05-01 Thread Mark Murphy
On Tue, May 1, 2012 at 2:26 PM, Samuel wrote: > That's not software piracy. > If you have paid for a copy of the software, it doesn't matter which > machine you choose to run it on. You are welcome to your opinion. The authors of the software in question (who are the ones determining the nature o

Re: [android-developers] Re: public variables

2012-05-01 Thread Justin Anderson
> > I think you're looking for the Application class: > http://developer.android.com/reference/android/app/Application.html > You have to write a class that extends Application, add a name field in the > manifest.xml file, then you can access an instance of your Application > sub-class from any act

[android-developers] compile decompiled .jar files back to .dex

2012-05-01 Thread Prathwish Mestha
Hello everyone, I decompiled a .dex file to .jar using dex2jar and now I want compile it back to a .dex file but I dont know how to do so can anyone please help me. -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: To write array data to serial port in ascii

2012-05-01 Thread Dan
In the first array you are using characters i.e. actual ascii. In the second you are using integer values which are not equivalent to ascii values so if you actually want to see "10" show up on your screen and not the ascii value for byte 10 then you would have to send it as {49, 48} On Wedne

Re: [android-developers] Fitting image to a screen

2012-05-01 Thread Justin Anderson
> > The returned pictured is stretched. > But it now fits the screen? If you want the image to take up the whole screen and the aspect ratio of the image doesn't exactly match the aspect ratio of the image then it is going to get stretched. There is no way around that if you are dead set on makin

[android-developers] Extracting XML file from Android mobile phone

2012-05-01 Thread jamow_o...@hotmail.co.uk
Hey there, im trying to create a windows application in C# that allows me to extract an XML file. Its for my level 3 project at university, im trying to demonstrate how basic information can be obtained from a computer forensics point of view. But, im struggling to read anything on this topic or fi

Re: [android-developers] R.java can not be found on NEW project with NO errors

2012-05-01 Thread Mark Murphy
Check the gen/ directory of your project. There are three possibilities: 1. There is nothing there. In that case, you have an error in a resource or in your manifest that is causing the problem. Sometimes, I find it easier to track these down by doing a command-line build with Ant, but that may ju

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis, Can you please describe what you have done because I have the very same problem. I tried to embbed source code but it didnt work. What did you do with annotations i.e. @ThredSafe ect. Can you post printscreen from your project showing where exacly you put source code? Thank you W

[android-developers] Need code to Upload photos to picasa from android

2012-05-01 Thread test
Hi I would like to develop simple android application it need to upload photos to picasa.i could not download full code from google.developer.com.please help -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] code for read n write

2012-05-01 Thread pats
i am trying to develop an application for creating a new file in sd card and then reading the content of the file in my application.. but am gettin 'permission denied' message in my application can anyone post the complete code for reading and writting the files in sd card? And i also want the code

[android-developers] Custom ListView with Checkbox

2012-05-01 Thread Bunty
I am creating a ListView using customized TextView, as shown below: list_item.xml file: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dp" android:textSize="16sp" android:background="#ff" android:textCol

[android-developers] Re: recognition and speech recognition

2012-05-01 Thread venkat v
Hello. 'm aslo trying similar thing. 've u succeeded in speech recognition? -- 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

[android-developers] Blocking Outgoing SMS

2012-05-01 Thread uttam agarwal
Hi All, Is it possible to block outgoing SMS in android? Regards, Uttam Agarwal -- 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

[android-developers] How to detect and connect Bluetooth headset using Android code

2012-05-01 Thread Uday Wad
I would like to identify Bluetooth headset and connect it via my android code can you help me out ? -- 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

Re: [android-developers] algorithm data synchronization (SQLite to Online Database)

2012-05-01 Thread Diogo Ribeiro
I think that WebService would be the best way 2012/4/28 Thiago Ventura > I am making a app that need synchronize data with a online server. What do > the best way to make? > > I thought at create a database local (SQLite) that will synchronize with a > online database server with structure equal

[android-developers] Re: Regarding emulator

2012-05-01 Thread Samuel
That's not software piracy. If you have paid for a copy of the software, it doesn't matter which machine you choose to run it on. On May 1, 10:40 am, Mark Murphy wrote: > On Tue, May 1, 2012 at 10:30 AM, blake wrote: > > I seldom argue w/Mark... but in this case I think there is a way to do > >

[android-developers] Application auto update problem

2012-05-01 Thread RyunixRyan
Dear expert, My android application update does not auto applied to most of our client applications. Can anyone shed some light to it ? Below are some details of my apps. 1. Built specially for 1 customer 2. Does not restrict device Please understand that I am aware of of the following 1. Change

Re: [android-developers] Re: Strange force close on Froyo phone, works fine on ICS tablet

2012-05-01 Thread Zy Z
30.44406N 86.59909W 在 2012-4-30 上午3:14,"Jim Graham" 写道: > On Sun, Apr 29, 2012 at 12:04:01PM -0700, Jonathan S wrote: > > java.lang.NoSuchFieldError: android.graphics.PorterDuff$Mode.ADD > > > > it is telling Mode.ADD is not exists in 2.2 > > Hm, according to the developers guide, it's existed

[android-developers] Re: In ICS Media Store DB whts the file URI to fetch the text document?

2012-05-01 Thread Shyam Murarka
Hi, I don't think I can post links here. My previous reply was automatically deleted. Anyways, search on StackOverflow for "mediastore-uri-to-query-all-types-of-files-media-and-non-media". This question has been answered there. Regards, Shyam On Monday, January 23, 2012 5:32:58 PM UTC+5:30, r

[android-developers] Re: Dalvikvm exception instantiating org.apache.http.entity.mime.content.FileBody

2012-05-01 Thread Slawomir Krupa
Hi Dennis , Can you please explain step by step how you have overcome that problem because I tried everything and it is not working. Can post printscreen of your project and show me how you have organized your photos, please W dniu wtorek, 10 kwietnia 2012 13:49:38 UTC+1 użytkownik DennisG napis

[android-developers] android C2DM send MismatchSenderId

2012-05-01 Thread Nicolas Lattuada
Hello I am running into an issue related to c2dm messaging, I just arrived in a company. They got an application registered with the personnal email address of a developper who left the company. The devices registration_id are saved into a database, relative to the application. The call to the

[android-developers] getHitRect differences in FroYo / Gingerbread / ICS?

2012-05-01 Thread William Sanville
Hello, My end result is to increase the clickable area of certain views that are small. It appears that this can be done with a TouchDelegate, but in my case, there will be scenarios where one container ha

  1   2   >