[android-developers] Help with App crackers

2012-06-15 Thread Giuseppe
Dear guys, We work about two months, six people to make possible VOICE PROhttps://play.google.com/store/apps/details?id=com.voiceprofeature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLnZvaWNlcHJvIl0.born. We use PROGUARD and LICENSING together, but the day after the publication, we found

[android-developers] Re: Using TableLayout to perform like expandable listview.

2012-06-15 Thread Raneez
Okay, I have customized BaseExpandableListAdapter class and in getChildView() method i have created layouts for different groups : public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) { if(groupPosition==0) { // Return

Re: [android-developers] AIDL callbacks leak memory?

2012-06-15 Thread Dianne Hackborn
The underlying binder mechanisms keeps track of references across objects. Native IBinder objects are reference counted; the framework holds a reference on them as long as remote processes hold references. The JNI wrapper holds a reference on the Java object as long as the native binder object

[android-developers] Re: Help with App crackers

2012-06-15 Thread imran ali
Hi, Really, it is very shameful. I think best option to apply in-app billing to sell android application. Regards Imran Ali On Friday, June 15, 2012 11:30:37 AM UTC+5:30, Giuseppe wrote: Dear guys, We work about two months, six people to make possible VOICE

[android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
Hello all, I want to trace the mobile location using phone number. What should be my approach for that. Please suggest me what to do for that. Or direct me the way, from where I should start proceeding. Thanks Regards, NSR -- You received this message because you are subscribed to the Google

[android-developers]

2012-06-15 Thread Vijay Krishnan
Hi all, How to call another activity when i press the back button. Thanks, vijay.k -- 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

Re: [android-developers]

2012-06-15 Thread yogendra G
@Override public boolean onKeyDown(int keyCode, KeyEvent event) { // TODO Auto-generated method stub if(KeyEvent.ACTION_DOWN==KeyEvent.KEYCODE_BACK) { startActivity(intent.setClass(getApplicationContext(), Anotheractivty.class )); } return false; } Try this Yogi On Fri, Jun

Re: [android-developers] SeekBars in ListView with crosslink/interlock

2012-06-15 Thread superpsycho
Thx a lot, but what about the number of seekbars... I need more informationinput... All my created SeekBaars have the same ID so its easy to write the values in an array an get the arry but what about change the other SeekBars again? Am Donnerstag, 14. Juni 2012 16:45:52 UTC+2 schrieb

Re: [android-developers] about HTTP Auth in DownloadManager

2012-06-15 Thread Nikolay Elenkov
On Fri, Jun 15, 2012 at 4:17 PM, nicefuture nicefut...@126.com wrote: Then, I tried to implement the http authentication in my application, BUT I failed, I found the behavior is very strange, below is the step: 1.   I already know the website’s userid and password, I tested using the

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Parthi K
use gps code dude.. On Fri, Jun 15, 2012 at 12:11 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hello all, I want to trace the mobile location using phone number. What should be my approach for that. Please suggest me what to do for that. Or direct me the way, from where I

Re: [android-developers]

2012-06-15 Thread dEEPESH PPM
Create two animation xmls in res/anim folder to start an activity. Then use this code.. @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { startActivity(new Intent(CurrentActivity.this,NextActivity.class));

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 1:03 PM, Parthi K parthisof...@gmail.com wrote: use gps code dude.. Great suggestion buddy...I know using GPS code. But, I guess, I have to remind my question to you. My problem is to get the location of phone no. So, how to use GPS code for finding particular phone

Re: [android-developers]

2012-06-15 Thread Parthi K
use intent to call one page to another On Fri, Jun 15, 2012 at 1:07 PM, dEEPESH PPM deepesh...@gmail.com wrote: Create two animation xmls in res/anim folder to start an activity. Then use this code.. @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode ==

Re: [android-developers]

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 12:21 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, How to call another activity when i press the back button. It seems somewhat improperbut here is solution to your requirement. public void onBackPressed() { Log.d(CDA,

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-15 Thread Jeremy Dagorn
You got many snippets of code. Have you tried it ou? Also, check on the Android documentation, there is a part called FingerPaint. Here is the link : http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html By modifying a few this snippet

Re: [android-developers]

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 1:16 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Fri, Jun 15, 2012 at 12:21 PM, Vijay Krishnan vijay.vijay...@gmail.com wrote: Hi all, How to call another activity when i press the back button. It seems somewhat improperbut here is

Re: Re: [android-developers] about HTTP Auth in DownloadManager

2012-06-15 Thread nicefuture
You probably need to add the proper (basic) authentication header using the addRequestHeader() for this to work: does it only affect the next download session, will it affect all the download session? btw, is basic scheme api available in android? nicefuture From: Nikolay Elenkov Date:

Re: Re: [android-developers] about HTTP Auth in DownloadManager

2012-06-15 Thread Nikolay Elenkov
On Fri, Jun 15, 2012 at 5:01 PM, nicefuture nicefut...@126.com wrote: You probably need to add the proper (basic) authentication header using the addRequestHeader() for this to work: does it only affect the next download session, will it affect all the download session? I haven't check the

[android-developers] Re: Repeat background

2012-06-15 Thread Kristoffer
Hello. I have verifyed that the problem is on several phones as well, not only the emulator. Is there a better way to repeat background images? that will work on all phones? Den måndagen den 28:e maj 2012 kl. 11:38:01 UTC+2 skrev Kristoffer: Hello. Iam using a small image and repeats it

[android-developers] Compil assembly code for ARM and X86

2012-06-15 Thread WebShaker
Hi. I've just bought an Intel Android smartphone ! I've change My Application.mk to add a plateforme APP_ABI := armeabi armeabi-v7a x86 And that works for Java a C code source. But I have a assembly file too. For ARM I used to compile it whit some options Here is my Android.mk LOCAL_MODULE

[android-developers] Re: How to enable Bluetooth programmatically

2012-06-15 Thread Sérgio Faria
You were doing some thing like thi and doesn't work? BluetoothAdapter.getDefaultAdapter().enable(); Remeber that you need the android.Manifest.permission.BLUETOOTH_ADMIN permission. Sometimes Bluez fails to start it the first time, you can try to enable after some delay, it should end up

Re: [android-developers] Re: Using TableLayout to perform like expandable listview.

2012-06-15 Thread TreKing
On Fri, Jun 15, 2012 at 1:14 AM, Raneez rane...@gmail.com wrote: am i going the right way so far? If you want different TableLayout for each group, sure, that's one way to do it. - TreKing

[android-developers] Re: Controlling a SAXParser using buttons

2012-06-15 Thread Sérgio Faria
I think a FileChannelhttps://developer.android.com/reference/java/nio/channels/FileChannel.htmlis quite close to what you need. Get the FileChannel from a RandomAccessFilehttps://developer.android.com/reference/java/io/RandomAccessFile.htmlthen you can use the

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Raghav Sood
This has nothing to do with the Android SDK. You'll need to find an online website with an API that allows you to do this. This isn't the list to find that website. Raghav Sood Sent from my Nexus S On Jun 15, 2012 1:12 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Fri, Jun 15,

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
I guess, what I want is not directly possible, as suggested here on the following link. http://stackoverflow.com/questions/7173769/finding-a-phones-location-from-its-number-using-gps -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] trace mobile location through phone number

2012-06-15 Thread Narendra Singh Rathore
On Fri, Jun 15, 2012 at 4:59 PM, Raghav Sood raghavs...@gmail.com wrote: This has nothing to do with the Android SDK. You'll need to find an online website with an API that allows you to do this. This isn't the list to find that website. Ok, thanks for the suggestion. I realized what I

[android-developers] Alert Dialog present but unable to look(Looks as a layer of dim color is present on screen). On Back Press it disappears.

2012-06-15 Thread Muhammad Rashid
Hi all, I would like to say that i am using a alarm service and a broad cast receiver. OnRecieve method i perform an operation that shows a progressbar and an alert dialog. Alertdialog appears normally when application running foreground. But when i press HOME button and application is now in

[android-developers] Alert Dialog present but unable to look(Looks as a layer of dim color is present on screen). On Back Press it disappears.

2012-06-15 Thread Muhammad Rashid
Hi all, I would like to say that i am using a alarm service and a broad cast receiver. OnRecieve method i perform an operation that shows a progressbar and an alert dialog. Alertdialog appears normally when application running foreground. But when i press HOME button and application is now in

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Lars
I did as you wrote, and it seems to work. But, when I press the button, the app closes unexpectedly. I have declared the next activity in the android manifest. I can't show you the code till I get home. Thanks for the help:-) -- You received this message because you are subscribed to the

Re: [android-developers] AIDL callbacks leak memory?

2012-06-15 Thread G. Blake Meike
Got it. Thanks Dianne. G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do -- 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] Android music player intent in jquery

2012-06-15 Thread surya phani
Hi, I have a doubt about open android in-built music player using jquery.What is the code to open android music player in jquery.!! Any help will be appreciated. -- PHANI SURYA -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Using HttpClient in Desktop and HttpURLConnection in Android

2012-06-15 Thread yccheok
Hi, in desktop development environment (Java SE), we are encouraged to use Apache HttpClient over HttpURLConnection, as it offers - Higher level API. Hence, easier to use - Richer features Please refer to http://stackoverflow.com/questions/643730/httpclient-vs-httpurlconnection?rq=1 However,

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Justin Anderson
When the app closes unexpectedly the best thing to do to figure out the cause of the problem is to look at the logcat output... It will usually tell you the file and the line where the crash happened, along with what the problem is (e.g. NullPointerException, etc...) Thanks, Justin Anderson

[android-developers] Re: AIDL callbacks leak memory?

2012-06-15 Thread G. Blake Meike
... actually, on more thing. I'd expect the remote reference to be released if I unbind the service. Is that so? -blake -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: does NFC in gingerbread support card simulate?

2012-06-15 Thread Jorn Cruijsen
Only by putting the device in emulation mode would it be possible to (contactlessly) read and write to the emulated mifare card, which will be persisted to the SE. While sending NDEF data over P2P is perfectly possible, it would not be persisted to the SE and would instead (ultimately) be handled

Re: [android-developers] Re: AIDL callbacks leak memory?

2012-06-15 Thread Dianne Hackborn
It will be, eventually (once garbage across processes is released) and assuming no references are being held through other paths. On Fri, Jun 15, 2012 at 9:13 AM, G. Blake Meike blake.me...@gmail.comwrote: ... actually, on more thing. I'd expect the remote reference to be released if I unbind

[android-developers] Debug using ADB with a rooted Samsung nexus S device!

2012-06-15 Thread mike digioia
Debug using ADB with a rooted Samsung nexus S device! I have been debugging my Native code changes to allow Bluetooth to function as the transport inside the CCNX ccnd daemon. However, I am not able to get any of my command line CCNX tools (like ccncat, etc) to execute. My process includes

Re: [android-developers] SeekBars in ListView with crosslink/interlock

2012-06-15 Thread Justin Anderson
but what about the number of seekbars... What about the number of them? I need more informationinput... So do I... All my created SeekBaars have the same ID so its easy to write the values in an array an get the arry but But they all have a unique position in your adapter what about

Re: [android-developers] Re: Help with App crackers

2012-06-15 Thread Justin Anderson
I've heard that app crackers taste really good with cheese... :-) Seriously though, the licensing system hasn't failed... Nothing is crack-proof. The only thing you can do is try to make it as difficult as possible. Did you just use the default LVL code that Google gave you or did you add

Re: [android-developers] Re: Help with App crackers

2012-06-15 Thread Giuseppe
Hi Justin, nice to meet you. Yeah I have used the code Google show on the site, probably this is my biggest mistake. Do you want to help me to improve my LVL code? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: Help with App crackers

2012-06-15 Thread Justin Anderson
I wouldn't be much help... I'm not an expert on preventing hackers from cracking security mechanisms. I just know that Google says using the LVL code is a good starting point but that you should make custom changes to it to help prevent hackers from figuring out how to crack your app. But, like

Re: [android-developers] Re: Help with App crackers

2012-06-15 Thread Kristopher Micinski
On Fri, Jun 15, 2012 at 1:14 PM, Giuseppe porcelli.giuse...@gmail.com wrote: Hi Justin, nice to meet you. Yeah I have used the code Google show on the site, probably this is my biggest mistake. Do you want to help me to improve my LVL code? Your app will probably be cracked eventually, no

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Lars
I tried that. The logcat output shows me 14 red error lines. I don't understand very little of what it tell. Here is the errors: (do you need to see my androidManifest.xml?) 06-15 19:21:53.139: E/AndroidRuntime(28730): FATAL EXCEPTION: main 06-15 19:21:53.139: E/AndroidRuntime(28730):

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Raghav Sood
You haven't declared one of your Activities in your manifest, or it has been declared incorrectly. So yeah, we would need to see your manifest. On Fri, Jun 15, 2012 at 10:58 PM, Lars lars.breum...@gmail.com wrote: I tried that. The logcat output shows me 14 red error lines. I don't understand

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Lars
Were you able to see that from the error log? I can't find any errors, when i look in my book it seems i wrote the same(with the modifications of the names). But i am probably not writing the same =) Here's my entire androidManifest.xml: ?xml version=1.0 encoding=utf-8? manifest

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread Raghav Sood
You've put an activity tag inside another activity tag. You aren't supposed to do that. Try using: manifest xmlns:android=http://schemas.android.com/apk/res/android; package=lars.browser android:versionCode=1 android:versionName=1.0 xmlns:tools=http://schemas.android.com/tools;

[android-developers] Re: onConfigurationChanged() is not called when flipping between landscape and reverse landscape?

2012-06-15 Thread Farmer
I am using a rotation listener as work around for this, but that means my code has to be synced with framework in terms of orientation change (I mean landscape vs reverse landscape). In theory, that's an issue, isn't it. Hi Dianne, thanks for your reply! Actually I have a camera preview running

[android-developers] Re: Using HttpClient in Desktop and HttpURLConnection in Android

2012-06-15 Thread b0b
If you are happy and familiar with HttpClient, use it. But the Android HttpClient client version is old and buggy and unmaintained and I wouldn't use it as is. Hopefully you can use the latest jars from the Apache HttpComponents site, but you will have to repackage them in another package root

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-15 Thread Kaiduan Xie
Where is the implementation of HttpsURLConnection? From javax\net\ssl\HttpsURLConnection.java, it is an abstract class. public abstract class HttpsURLConnection extends HttpURLConnection { I would like to dig into the implementation to see how it adds SNI support. For non-HTTPS connection I

[android-developers] Re: XmlPullParser error parsing on hardware but not on virtual

2012-06-15 Thread Baggtrixx
So Im still having this problem, here's the full stack trace: 06-16 00:06:22.192: W/dalvikvm(6989): threadid=1: thread exiting with uncaught exception (group=0x2aac8578) 06-16 00:06:22.272: E/AndroidRuntime(6989): FATAL EXCEPTION: main 06-16 00:06:22.272: E/AndroidRuntime(6989):

Re: [android-developers] In App Billing

2012-06-15 Thread John
I have tried the checkout API and that's working for my in app billing purchase. -- 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] Re: XmlPullParser error parsing on hardware but not on virtual

2012-06-15 Thread Baggtrixx
---SOLVED--- Had a try catch when i was parsing the document and it went fine on the emulator, but on device it throwed an exception, removed the code in the catch and it worked. On Monday, June 4, 2012 10:14:06 PM UTC+2, Baggtrixx wrote: Trying to parse rss feed, it works on the avd but

[android-developers] Bluetooth error on socket call

2012-06-15 Thread mike digioia
Bluetooth error on socket call- Anyone know what the issues are with my Samsung Nexus S device when I get this error in my native code call to the socket LIB -- code starts here: btface = -1; btDevice = NULL; btsock = socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM); if (

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-15 Thread Nikolay Elenkov
On Sat, Jun 16, 2012 at 5:16 AM, Kaiduan Xie kaidu...@gmail.com wrote: Where is the implementation of HttpsURLConnection? From javax\net\ssl\HttpsURLConnection.java, it is an abstract class. public abstract class HttpsURLConnection extends HttpURLConnection { I would like to dig into the

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-15 Thread Kaiduan Xie
Thank you very much Nikolay. I also found the code from the following link, http://source-android.frandroid.com/libcore/luni/src/main/java/libcore/net/http/HttpsURLConnectionImpl.java

[android-developers] A free article on Android custom attributes

2012-06-15 Thread Satya Komatineni
It turns out there is a little bit of depth to android custom attributes. These are the XML attributes that you can use for your own custom views in layout files. I have collected my research notes into a proper article and posted it at http://satyakomatineni.com/item/4169 This article will

Re: [android-developers] Leaking Window on orientation change

2012-06-15 Thread TreKing
On Fri, Jun 15, 2012 at 7:54 PM, Vance Turnewitsch betweenthehi...@gmail.com wrote: I cannot access the on* methods of the activity to properly dismiss this Dialog. Why not ... ? - TreKing

[android-developers] Re: trace mobile location through phone number

2012-06-15 Thread gjs
Hi, That capability is usually reserved for telco's government agencies with warrants using cell phone tower triangulation. Regards On Jun 15, 10:34 pm, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Fri, Jun 15, 2012 at 4:59 PM, Raghav Sood raghavs...@gmail.com wrote: This has

[android-developers] Re: Eclipse Image Bug

2012-06-15 Thread Sam
Anyone? On Tuesday, June 5, 2012 5:38:02 PM UTC-7, Sam wrote: Hello everyone. I had a serious problem with Eclipse and it pretty much renders my app useless if it isn't fixed. When i'm in the XML editor of one of my XML files, and i place an image, all of the code below the image cannot

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-15 Thread asheesh arya
your activity declaration is missing !!! try to include activity in your manifest file -- 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,

[android-developers] In App Billing V2: Item not found, but purchase OK

2012-06-15 Thread John
Have In App Billing V2 incorporated into my code and be able to buy one-time purchase item and yearly subscription item. But when purchasing one-time purchase item, always get the message Item not found. Is this a Google bug? Any help? Thanks in advance. -John -- You received this message

Re: [android-developers] Eclipse Image Bug

2012-06-15 Thread Todd Grigsby
How are you editing the page? On Jun 12, 2012 12:07 AM, Sam scoutamis...@gmail.com wrote: Hello everyone. I had a serious problem with Eclipse and it pretty much renders my app useless if it isn't fixed. When i'm in the XML editor of one of my XML files, and i -- You received this message

Re: [android-developers] Eclipse Image Bug

2012-06-15 Thread Todd Grigsby
Let me rephrase that: are you using the visual editor or are you editing the XML directly? The reason I ask is because the visual editor is, IMHO, a bit frustrating. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Fwd: فراخوان جهیزیه ای برای نوعروسی دیگر با مدد حضرت موسی بن جعفر علیه السلام* لطفا اطلاع رسانی کنید به دوستان

2012-06-15 Thread asheesh arya
what the language ? -- 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