[android-developers] Re: Button.getBackgroundDrawable() return value?

2012-09-13 Thread Calin Perebiceanu
Hello, If you are referring to Button.getBackground() than it returns Drawable http://developer.android.com/reference/android/graphics/drawable/Drawable.html , which is the base class for * BitmapDrawablehttp://developer.android.com/reference/android/graphics/drawable/BitmapDrawable.html *,

Re: [android-developers] Why can't I view the code of PackageManagerService class on Eclipse? (I put it in the right directory)

2012-09-13 Thread Calin Perebiceanu
Add External Class Folder adds an external *CLASS* folder and not an external *SOURCE *folder. If you want to add the sources you downloaded to the build path of your project you should go to JBP-Sources-Add Folder. If you want to attach the sources to an existing jar in your buildpath then

[android-developers] Re: HttpResponse throwing an unidentified error?

2012-09-13 Thread Calin Perebiceanu
Use Log.e or even e.printStackTrace() instead of putting it in the textview On Thursday, 13 September 2012 06:47:53 UTC+3, AttemptedSuccess wrote: Hello, I'm trying to connect to the internet and retrieve the xml of a website. At the moment I'm just trying to connect to the google main page,

[android-developers] Re: in-app billing is possible through Paypal A/c.

2012-09-13 Thread Calin Perebiceanu
Quote from http://developer.android.com/guide/google/play/billing/index.html *In-app Billing is a Google Play* service that lets .. I think this says it all. On Thursday, 13 September 2012 09:31:33 UTC+3, Rajan wrote: hi all, i want to use *in-app billing* as a paid service, but for

[android-developers] Re: Android Licensing LVL

2012-09-13 Thread Calin Perebiceanu
https://groups.google.com/forum/?fromgroups=#!topic/android-developers/p4YZANmd5Pg On Wednesday, 12 September 2012 17:39:52 UTC+3, Paolo Mancini wrote: Hi, I'm using the LVL ServerManagedPolicy but I've a couple of question. This is my case. A client buy my app and after try to open and use

Re: [android-developers] How to change the Blue Line below Title in AlertDialog.

2012-09-13 Thread Calin Perebiceanu
the blue line of the current alert dialog. If Android Platform does not provides this functionality and blue line is Hardcoded in the Alert dialog then they should change it. On Thursday, 6 September 2012 15:14:58 UTC+8, Calin Perebiceanu wrote: Have you tried http://developer.android.com

Re: [android-developers] University eVarsity App Help

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

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

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

[android-developers] Re: help require regarding address application

2012-09-07 Thread Calin Perebiceanu
Hello, Sqllite has no security , thus you have to encrypt your data. We can use GCM to send notifications to devices. On Friday, 7 September 2012 08:51:30 UTC+3, pankajdev wrote: Hi, want to build an application where i can store address of one of the office location , these location are

Re: [android-developers] Re: help require regarding address application

2012-09-07 Thread Calin Perebiceanu
Here you can find some great information http://developer.android.com/index.html On Friday, 7 September 2012 09:54:08 UTC+3, pankajdev wrote: Thanks Calin , but how to begin with this kind of application is also what i need help on. with regards On Fri, Sep 7, 2012 at 11:59 AM, Calin

[android-developers] Re: Live wallpaper. nullPointerException when detecting preview mode

2012-09-07 Thread Calin Perebiceanu
Can you also provide the stack for the crash ? On Friday, 7 September 2012 10:19:42 UTC+3, JPS wrote: Hi I am developing a live wallpaper and want the preview mode to display a bitmap as opposed to the regular animation in run mode. I know I should use the isPreview() call and all my

[android-developers] Re: Live wallpaper. nullPointerException when detecting preview mode

2012-09-07 Thread Calin Perebiceanu
I've looked at WallpaperService source code, and I pretty sure you can't use isPreview in onCreateEngine. On Friday, 7 September 2012 11:00:46 UTC+3, JPS wrote: On Friday, September 7, 2012 9:19:42 AM UTC+2, JPS wrote: Hi I am developing a live wallpaper and want the preview mode to

Re: [android-developers] How to change the Blue Line below Title in AlertDialog.

2012-09-06 Thread Calin Perebiceanu
Have you tried http://developer.android.com/reference/android/app/AlertDialog.html#setCustomTitle(android.view.View) On Thursday, 6 September 2012 05:01:15 UTC+3, Shan Ul Haq wrote: I want to change the color of the blue line, I can change the color of the title, color of the text, but i

Re: [android-developers] How to set height of a custom developed AlertDialog ?

2012-09-06 Thread Calin Perebiceanu
01:13:55 UTC+5:30, Calin Perebiceanu wrote: Use layout_height=100dp in the layout xml -- 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] Re: ListView simple_list_item_activated_1 behaviour

2012-09-06 Thread Calin Perebiceanu
Did you tried handling the on list item click ? @Override protected void onListItemClick(ListView l, View v, int position, long id) { // Make the newly clicked item the currently selected one. getListView().setItemChecked(position, true); } On Thursday, 6 September 2012

[android-developers] Re: Toolbar

2012-09-06 Thread Calin Perebiceanu
I belive you're searching for http://developer.android.com/guide/topics/ui/actionbar.html and http://developer.android.com/reference/android/content/BroadcastReceiver.html On Thursday, 6 September 2012 12:54:57 UTC+3, Ehsan Sadeghi wrote: How can I create a toolbar that shows in every

[android-developers] Re: wife manager in android

2012-09-06 Thread Calin Perebiceanu
First, be careful, using WifeManger can affect class LifeQuality. :) Second, please search a little before asking help. On Wednesday, 5 September 2012 13:44:48 UTC+3, drey wrote: hi.. how can i open this class . i want to develop a software that is file transfer using wifi,, -- You

[android-developers] Re: Selecting Resolutions and Stores

2012-09-06 Thread Calin Perebiceanu
Hi, my opinion is that Android makes it pretty easy to support all screen sizes and pd. On the second subject Play and Amazon. On Wednesday, 5 September 2012 17:23:25 UTC+3, VocabSpellingCity Mayor wrote: We have developed in Apple Ios App using a multiplatform development tool and are now

[android-developers] WiFi Direct sample code issue

2012-09-06 Thread Calin Perebiceanu
I have no experience with that API so this is just a wild guess. Is the connection handled in the activity with the button that gets stopped because gallery activity starts ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] How to set height of a custom developed AlertDialog ?

2012-09-05 Thread Calin Perebiceanu
Hi , WRAP_CONTENT will make your height depend of the number of items you have in the list. You should use a hard coded layout_height On Wednesday, 5 September 2012 09:19:38 UTC+3, tvdalia wrote: Justin, I changed in xml layout_height of both LinearLayout ListView as wrap_content instead

Re: [android-developers] How to set height of a custom developed AlertDialog ?

2012-09-05 Thread Calin Perebiceanu
Use layout_height=100dp in the layout xml -- 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

Re: [android-developers] how to get value from database in android

2012-08-30 Thread Calin Perebiceanu
Here you go : http://developer.android.com/guide/topics/data/data-storage.html#db On Thursday, 30 August 2012 07:50:23 UTC+3, Sadhna Upadhyay wrote: how to make connectoin with data On Thu, Aug 30, 2012 at 9:32 AM, ravi saini ravisa...@gmail.comjavascript: wrote: first make the

[android-developers] Re: ExpandableListView and ListView click child event not working..

2011-10-06 Thread Calin Perebiceanu
Are the views you are using as rows clickable ? Make sure they are not. On 6 oct., 09:43, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Here :    @Override                 public boolean isChildSelectable(int arg0, int arg1) {                 System.out.println(Child

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread Calin Perebiceanu
You're missing a try catch for java.lang.ClassNotFoundException. On Aug 8, 9:05 pm, alexbruy alexander.b...@gmail.com wrote: Hi all, I'm new to Android development and Java. Now I'm work on application that should interact with PostgreSQL (to be exact PostGIS) database. I read Android

[android-developers] Re: Trying to make a todo-list with ListView

2011-03-30 Thread Calin Perebiceanu
Please read the api: public ArrayAdapter (Context context, int resource, int textViewResourceId, T[] objects) Since: API Level 1 Constructor Parameters context The current context. resourceThe resource ID for a layout file containing a layout to use when instantiating views.

[android-developers] Re: ask about Android with stock trading

2011-03-30 Thread Calin Perebiceanu
With new version is it Broadcast Receiver --- What new version ? support to communicate with application server same J2EE ? How to communicate with J2EE ? RPC or WebService or what ? On Mar 25, 6:28 am, quoc_thai changemylife...@yahoo.com wrote: I've been wrote stock trading with the