[android-developers] Re: Creating a dialog with progressbar

2012-08-18 Thread bob
ProgressDialog progressDialog = new ProgressDialog(this); progressDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL); progressDialog.setMax(PROGRESS_MAX); progressDialog.setMessage("Put your message here"); progressDialog.setCancelable(false); progressDialog.incrementProgressBy(PROGR

Re: [android-developers] Re: InApp billing - always getting RESULT_ITEM_UNAVAILABLE

2012-08-18 Thread Przemyslaw Wegrzyn
Just in case someone else is struggling with it - now it works for me. Redownloading new APKs, changing settings, etc didn't help. What helped was removing the application submission altogether (i.e. deactivating and deleting one and only APK version), and recreating everything from scratch. Sooo

Re: [android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread William Ferguson
Thanks! Exactly what i was l looking for On Sunday, August 19, 2012 1:19:12 AM UTC+10, Przemyslaw Wegrzyn wrote: > Take a look at Google Play licensing library, it is a good example > of AES-based obfuscation. > > > > Search for AESObfuscator here > > > http://d

[android-developers] Re: How the contact chosen by the user to place in a textview

2012-08-18 Thread Jegadeesan M
please check this example : http://android.grepsrc.com/xref/ics-mr1/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/QuickContactTestsActivity.java On Friday, 17 August 2012 05:28:30 UTC-7, Sergey Mitugov wrote: > > Begining > > Intent pickIntent = new Intent(Intent.ACTION_PICK,

[android-developers] Re: onCreateContextMenu not getting called for EditText view in the landscapemode with softkeypad visibile

2012-08-18 Thread Jegadeesan M
check this http://android.grepsrc.com/search?q=ContextMenu&project=ics-mr1 On Friday, 17 August 2012 06:15:52 UTC-7, Bunty syed wrote: > > > I have one edittext in the current view. I have registered context menu > for the edittext as below. > > et =(EditText) findViewById(R.id.editText11); >

[android-developers] Re: List of views to change in layout

2012-08-18 Thread Jegadeesan M
You can do like this , 1. Use the list view instead of FrameLayout 2. add one list item as Framelayout. 3. Change data set and notify the list adapter On Friday, 17 August 2012 13:50:28 UTC-7, Budd wrote: > > Hi, > > I got a question about how to change to view dymaical

[android-developers] Re: Create 2 groups in expandable listview

2012-08-18 Thread Jegadeesan M
try this String[] child =getResources().getStringArray(R.array.your_array); On Wednesday, 15 August 2012 21:33:32 UTC-7, Krishna Veni wrote: > > In the above example directly inserted children values.like this > *private* > String

[android-developers] Android Source Cross reference tools

2012-08-18 Thread Jegadeesan M
please check this link and update us : http://android.grepsrc.com -- 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 andr

[android-developers] Re: How to code for Wifi Direct on the android version 2.3

2012-08-18 Thread Jegadeesan M
check this link it may help http://android.grepsrc.com/xref/ics-mr1/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ On Thursday, 16 August 2012 22:28:53 UTC-7, Nirav wrote: > > I have noticed on the official Android blog that WiFi Direct APIs are > su

[android-developers] Re: Creating a dialog with progressbar

2012-08-18 Thread |-NK-|
On Friday, August 17, 2012 7:20:39 PM UTC+5:30, bob wrote: > > Maybe like this: > > ProgressDialog dialog = ProgressDialog.show(this, "Your Title", "Put your > message here", true); > > On Friday, August 17, 2012 4:02:51 AM UTC-5, |-NK-| wrote: >> >> Hi, >> I am developing an application in whic

Re: [android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread Przemyslaw Wegrzyn
Take a look at Google Play licensing library, it is a good example of AES-based obfuscation. Search for AESObfuscator here http://developer.android.com/guide/google/play/licensing/adding-licensing.html BR, Przemek On 08/18/2012 03:06 PM, William Ferguson wrote: > Thanks Nikolay, that makes sen

Re: [android-developers] How do others handle action bar tabs that go off screen?

2012-08-18 Thread Mark Murphy
e sample app that sets up an action bar to use tabs. > > I'm looking for a way to make it clear that there are more items > available, because when I start the app, it looks like this: > - https://img.skitch.com/20120818-gpd9xm1f9qpxpgp6sh3bn6f6pu.png > > Here's a screen

[android-developers] How do others handle action bar tabs that go off screen?

2012-08-18 Thread Larry Meadors
I have a simple sample app that sets up an action bar to use tabs. I'm looking for a way to make it clear that there are more items available, because when I start the app, it looks like this: - https://img.skitch.com/20120818-gpd9xm1f9qpxpgp6sh3bn6f6pu.png Here's a screen shot of t

[android-developers] Re: WHY can an app still not be changed from free to paid???

2012-08-18 Thread John Coryat
You can change a free app into a paid app using the in-app billing system. Offer a 5 or 10 day free trial, then present a payment dialog after the trial period runs out. It's the "Freemium" model and works well. It takes a bit of code to accomplish this but overall, it's a better model. You ca

Re: [android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread bob
Maybe use AES encryption on every field? On Saturday, August 18, 2012 8:06:52 AM UTC-5, William Ferguson wrote: > > Thanks Nikolay, that makes sense. > > Kostya, you mean obfuscate each field value independently (and yes I > prefer to use a DB that writing my own file format). I haven't found

[android-developers] Re: Memory Overflow issue in Activity Android ON ORIENTATION CHANGES

2012-08-18 Thread bob
Maybe because you are calling this: super.onConfigurationChanged(newConfig); ? On Saturday, August 18, 2012 1:42:12 AM UTC-5, nitin gupta wrote: > > i use in activity in manifest file. > and override method in activity TO PREVENT ACTIVITY RECREATE. > @Override > public void onConfigurationCh

Re: [android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread William Ferguson
Thanks Nikolay, that makes sense. Kostya, you mean obfuscate each field value independently (and yes I prefer to use a DB that writing my own file format). I haven't found any examples that do that. To which library are you referring? Have you got a URL to an example? William On Saturday, Aug

[android-developers] APK Multi-Tools Version 1.0.7 now released

2012-08-18 Thread Raziel23x
Version 1.0.7 Updated to next minor build number Updated Setup.bat Fixing Installing Framework-Res Fixed Issue With 'apktool' is not recognized as an internal or external command,operable program or batch file." Fixed Issue with Installing Framework-Res pointing to a incorrect folder that no

Re: [android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread Nikolay Elenkov
On Aug 18, 2012 8:21 PM, "Kostya Vasilyev" wrote: > > You obfuscate the values before storing them regular Android storage mechanisms (shared preferences or a database). I believe there is an example in the library. > > You can also use obfuscated names for the tables and column names like 'a', '

Re: [android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread Kostya Vasilyev
You obfuscate the values before storing them regular Android storage mechanisms (shared preferences or a database). I believe there is an example in the library. In other words, don't take this to mean as a lower level obfuscation of files used by these mechanisms, although you could certainly do

Re: [android-developers] LVL service binding fails on ALLVIEW PC ALLDRO SPEED tablet

2012-08-18 Thread b0b
On Tuesday, 14 August 2012 23:10:38 UTC+2, Acubeware wrote: > > Thank you for your suggestion. I'll try this out if the user is willing > and post my findings. > > > Any news on this ? I have a few users with the same issue on el-cheapo ICS tablets... -- You received this message because y

Re: [android-developers] Tabbed Menu with Gallery-like Menu in one of the tab

2012-08-18 Thread Jeff Huang
the example given in the tutorial seems to be broken. 08-18 09:55:14.808: E/AndroidRuntime(742): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.bitmapfun/com.example.android.bitmapfun.ui.ImageGridActivity}: java.lang.NullPointerException On Tuesday, Au

Re: [android-developers] My developer account has been canceled., Anybody knows the reason???

2012-08-18 Thread Fabien R
On 18/08/2012 07:33, julious raj wrote: > Hi the_edge123, > > Thanks for your reply., > Currently i am not getting any mails from google., > some of my friends also faced this kind of issue., > > Now i have only two ways > 1. try to register a new account > If you read carefully the message sen

[android-developers] dynamically create groups within another group in android expandable listview

2012-08-18 Thread Krishna Veni
i have to developed one expandablelistview is successfully..now i wish to need expandable listview with in another expandablelistview..how is creating groups within another groups in android expandable listview ...please help me..how is to do... this is my code for creating 2 groups(orderinfo

[android-developers] Re: LVL suddently stopped working - returns only timeouts

2012-08-18 Thread Pent
The official developer forum is supported by people who 'donate' their time to do it, despite Google making other-worldly profits and Android being one of their main projects. The people who are supposed to answer questions are on a different, unmentioned in any guide or documentation that I'm awa

Re: [android-developers] Tabbed Menu with Gallery-like Menu in one of the tab

2012-08-18 Thread Jeff Huang
the example given in the display-bitmaps seems to be broken. having a runtime exception. On Tuesday, August 14, 2012 3:30:24 PM UTC+8, Alexandros wrote: > > The problem is that you are doing network operations on the UI thread. > Most probable your application is not targeting the latest android

[android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread William Ferguson
The PurchaseDabatase class in the Android in-app Billing example states that: "You should use an obfuscator before storing any information to persistent storage." OK, I understand the need but I can't find any example of how this could/should be done. Can someone point me in the right directi

Re: [android-developers] List of views to change in layout

2012-08-18 Thread Narendra Singh Rathore
On Sat, Aug 18, 2012 at 2:20 AM, Budd wrote: > Hi, > > I got a question about how to change to view dymaically. > > I have a empty FrameLayout in my activity. > > I want to do is every 10 seconds > 1) Remove all the view in the layout > 2) create new videoview or webview (depend on what kind of c