[android-developers] Re: need source code

2011-08-04 Thread Abhishek Akhani
app is free does not mean that you can get its source code but you can get the source code of some open source project from guthub -- 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: Google Maps API Key no map shown in app

2011-08-04 Thread Abhishek Akhani
if you are using the map key generated with your release key store then you have to sign the apk before running it... -- 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

[android-developers] Re: How to get selected contact from address book of phone

2011-08-04 Thread Abhishek Akhani
Cursor cphon=getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, ContactsContract.CommonDataKinds.Phone.CONTACT_ID+=+id, null, null); while(cphon.moveToNext()) {

[android-developers] Re: Refreshing ListView After Home Key is Pressed and Returning to App

2011-08-03 Thread Abhishek Akhani
override onResume() method of your activity and write your code to refresh the listview in onResume()... it will be called when you reopen the application after pressing home button... -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: How to get selected contact from address book of phone

2011-08-03 Thread Abhishek Akhani
http://developer.android.com/resources/articles/contacts.html -- 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: Share sqlite database

2011-08-03 Thread Abhishek Akhani
you can set the following attribute in your manifest file's manifest tag... android:sharedUserIdThe name of a Linux user ID that will be shared with other applications. By default, Android assigns each application its own unique user ID. However, if this attribute is set to the same value for

[android-developers] Re: XML attributes about childViews

2011-08-03 Thread Abhishek Akhani
please explain what exactly you wanna do with your image view... -- 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: An apps that will make a call

2011-08-03 Thread Abhishek Akhani
Intent callIntent = new Intent(Intent.ACTION_CALL); callIntent.setData(Uri.parse(tel:123456789)); startActivity(callIntent); and you have to set following permission in your menifest uses-permission android:name=android.permission.CALL_PHONE/uses- permission -- You

[android-developers] Re: Java Color Coding Issue

2011-08-03 Thread Abhishek Akhani
set this code in your buttons onTouch() method (while action down) Random rand = new Random(); button.setBackgroundColor(Color.rgb(rand.nextInt(255),rand.nextInt(255),rand.nextInt(255)); -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: custom events in android

2011-08-03 Thread Abhishek Akhani
use handler. -- 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

[android-developers] Re: android dynamic text size

2011-08-03 Thread Abhishek Akhani
you should prefer the sp (scale-independent pixel) to define text sizes. The sp scale factor depends on a user setting and the system scales the size the same as it does for dp. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: Can I use google weather api in commercial app?

2011-08-03 Thread Abhishek Akhani
Hi TreKing, If you know then reply don't be over-smart everywhere. Why do you reply like this to every post?? You have some psychological problem or what? better you hire a psychiatrist -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: autocompleteTextView

2011-08-01 Thread Abhishek Akhani
you can show your list onLongClick() of the auto complete textview... -- 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: How to create android app running on top of another app

2011-07-27 Thread Abhishek Akhani
i think you can't do it on application level... you have to do these changes in OS.. -- 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,

Re: [android-developers] How to provide updates on sqlite database

2011-07-26 Thread Abhishek Akhani
You can do it in Database Halper class' onUpgrade() method override it and delete the old database and create new with new data -- 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: Byte array to ImageView

2011-07-26 Thread Abhishek Akhani
Man you are recycling the bitmap before using it -- 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: Listview with image, text and checkbox

2011-07-26 Thread Abhishek Akhani
Hi Viral, I think i know you... You are from Gujarat... Right? Any way place following line as a first line of your getView() method and it will work fine... :):) converView = null; -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Capture Screen Programmatically?

2011-07-26 Thread Abhishek Akhani
Suppose your activity rootview is view. Bitmap bm = view.getDrawingCache(); will give you your screen bitmap. and save the bitmap in sd card. -- 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: Capture Screen Programmatically?

2011-07-26 Thread Abhishek Akhani
You can do it without being rooted. -- 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: changing listview content in separate thread issue

2011-07-26 Thread Abhishek Akhani
Your handler object should be created in main UI thread... So write this line in Main UI thread Handler handler = new Handler(getMainLooper()); and post the message from another thread -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: information about android softare

2011-07-26 Thread Abhishek Akhani
You can install it on Android OS only -- 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: invisible button

2011-07-25 Thread Abhishek Akhani
set Background color of your view to # -- 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: Date Query

2011-07-25 Thread Abhishek Akhani
store your date in database as a string formate... and you can use DateFormate class to convert it back to Date object and vice versa. -- 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: Spinner box

2011-07-24 Thread Abhishek Akhani
Its possible n for this you have to make a custom adapter (extending BaseAdapter) and an xml file for this view. and set this custom adapter as your spinner's adapter. On Jul 24, 12:11 pm, Goutom goutom.sust@gmail.com wrote: Hi Please open the image.In the image  Font Size is header and

[android-developers] Re: Application doesn't close with back button

2011-07-24 Thread Abhishek Akhani
you can also do it by changing android:noHistory = true in menifest file for your first two screens... On Jul 23, 6:22 pm, Zwiebel hunzwie...@gmail.com wrote: I made an application, with two logo activity at the start, first is my logo, and the second is the application's logo, they are stay

[android-developers] Re: Menu guidelines

2011-07-24 Thread Abhishek Akhani
make one class BaseActivity extending Activity class and then override the OnCreateOptionMenu() method and write your common menu code there... then extend all your activities with this BaseActivity class I think this will work for you... -- You received this message because you are

[android-developers] Android Unit Testing

2011-07-22 Thread Abhishek Akhani
Hi I am not satisfied with the guidance of unit testing in developers.android.com... Can anyone provide me the link of any test project (for a whole android application) which covers all the aspects of android unit testing, so that i can learn from it how to write unit test cases for android

[android-developers] Re: [HELP]SQLite + Android

2011-07-22 Thread Abhishek Akhani
you can put your database in assets folder and import it... See http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ -- 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 Image Error

2011-07-22 Thread Abhishek Akhani
You may be using capital/special/space characters in name -- 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: google map marker

2011-07-22 Thread Abhishek Akhani
Hi Arun I am giving you two code snippets from my application in which i used three different colored markers. One is myOverlay Class Which will be the inner class of your Map Screen Activity and another code is a function in your activity which creates itemized overlay objects according to

[android-developers] Re: Listview oddity with imageview

2011-07-22 Thread Abhishek Akhani
invalidate the view after rotating... hope this may help... -- 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: Sorting Sqlite data while display

2011-07-22 Thread Abhishek Akhani
Hi You can get the data in ascending order by querying db by ascending order of date... refer -- http://www.w3schools.com/sql/sql_orderby.asp OR You can use comparator interface to compare and sort dates -- refer -- http://www.javadeveloper.co.in/java-example/java-comparator-example.html

[android-developers] Re: popupwindow

2011-07-22 Thread Abhishek Akhani
You can start an activity as a dialog (it will look like a pop up window) by setting its theame to Theme.Dialog in menifest. So Here you can make an activity with list view and open it with startActivityWithResult() and set the selected value on text view in onActivityResult() method

[android-developers] Re: Getting Developer Account

2011-07-22 Thread Abhishek Akhani
Yes you can have dev acc but you cant sell paid apps Check out your problem with your bank or android market support... -- 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: application not lauching on simulator when using google map api Installation error: INSTALL_FAILED_MISSING_FEATURE

2011-07-22 Thread Abhishek Akhani
post your xml for more info.. -- 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: Parameters passed to a .NET webservice are always null when using ksoap2 jar

2011-07-22 Thread Abhishek Akhani
I don't know whats the problem here in your code but i can give you a code snippet which is slightly different but it works for me... public boolean userLogin(String userName,String password,Activity activity){ boolean isLogin = false; SoapObject soapObject;

[android-developers] Re: Layout problem with TextView on RelativeLayout

2011-07-22 Thread Abhishek Akhani
I have also encountered this problem i think 9 patch images take some space on all four sides which makes the inner content to squeeze you have to readjust your text view or just use png... :-) this is what i did -- You received this message because you are subscribed to the

[android-developers] Re: set spinner item

2011-07-22 Thread Abhishek Akhani
post your xml for more info -- 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] i want to load my images after each 2second..Please help me

2011-07-22 Thread Abhishek Akhani
lol.. :-) -- 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

[android-developers] Re: auto update android apk

2011-07-22 Thread Abhishek Akhani
On update button click you can open android market page (Directly your application page) and user can update from there -- 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] ADT 11.0.0

2011-06-08 Thread abhishek akhani
Hi Today i downloaded ADT 11.0.0 and now when i am adding any view to Relative layout i am having problem adding it. Like i can not find any id to reference as a align bottom or Layout Right of property.. when i try to set these properties it shows me Drawables,Arrays,Strings,Layout - ids but i

[android-developers] Re: ADT 11.0.0

2011-06-08 Thread Abhishek Akhani
not prevent you from setting them though, just manually type @id/foo If you're doing something else, then please give us more info. thanks Xav On Wed, Jun 8, 2011 at 10:16 AM, abhishek akhani abhishek.akh...@gmail.com wrote: Hi Today i downloaded ADT 11.0.0 and now when i am adding

[android-developers] Mp3 player Forward functionality

2011-06-08 Thread Abhishek Akhani
Hi, I am trying to make an MP3 player in android. Can anyone please suggest me how to forward a media file on forward button click??? i mean is there any way to set progress of that running media file :( -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Using Google's Ajax local search API with Android

2010-10-07 Thread abhishek akhani
Solved... On Oct 6, 3:51 pm, abhishek akhani abhishek.akh...@gmail.com wrote: HI, i want to use Google's ajax local search API in my android application. but i am getting following error: 10-06 15:21:04.386: WARN/System.err(662): java.net.SocketException: Permission denied 10-06 15:21

[android-developers] Using Google's Ajax local search API with Android

2010-10-06 Thread abhishek akhani
HI, i want to use Google's ajax local search API in my android application. but i am getting following error: 10-06 15:21:04.386: WARN/System.err(662): java.net.SocketException: Permission denied 10-06 15:21:04.396: WARN/System.err(662): at