Re: [android-developers] How can I solve com.google.zxing.NotFoundException exception?

2012-01-09 Thread Mukesh Srivastav
Venu, The Zingbarcode is uninstalled in your device. so install it again. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Jan 10, 2012 at 11:50 AM, venu gopal reddy venu.andr...@gmail.comwrote: Hi guys, Am is using zxing for barcode reading, previous

Re: [android-developers] Accessing IMSI number

2012-01-09 Thread Mukesh Srivastav
No issues, we should use it, api is provided. It is a telephonic manager api we can use it. telephonyManager.getDeviceId(); // returns Device imei number. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Jan 10, 2012 at 12:32 PM, Siva Prakash

Re: [android-developers] SSL Client Authentication Broken in Android 4.0

2012-01-08 Thread Mukesh Srivastav
Hi Carl, This issue is Redirecting with the server. you need to redirect it again. below is the code snippet try this and u will surely get the response. DefaultHttpClient dc = new DefaultHttpClient(ccm, params); dc.setRedirectHandler(new RedirectHandler() { @Override public URI

Re: [android-developers] Question about AccountManager and OAuth authentication with Google App Engine

2012-01-08 Thread Mukesh Srivastav
Hi Rishi, I had tried the above concept but i couldn't succeeded. I then held up using OAuth 2.0 authentication from the application level. I am waiting if some one answer this query. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Sat, Jan 7, 2012 at 2:27

Re: [android-developers] AdMob not showing up on my tablet

2012-01-08 Thread Mukesh Srivastav
It just worked for me with the activity android:name=com.google.ads.AdActivity android:windowSoftInputMode=stateAlwaysVisible / Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Jan 9, 2012 at 1:10 PM, bhaskar bommala bhaskar...@gmail.comwrote: Hi , i

Re: [android-developers] password authentication before application installation

2012-01-06 Thread Mukesh Srivastav
I am saying, it could be done at Device Manufacturer level. i don't see any scope of Application level. if it possible, i wish to know that. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Jan 6, 2012 at 1:32 PM, suganya lakshmanan

Re: [android-developers] why standart android gallery working well?

2012-01-06 Thread Mukesh Srivastav
Dear what do you mean by switches ? and what are you trying to achieve ? and did you try using GridView ? Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Jan 6, 2012 at 1:44 PM, satahippy satahi...@gmail.com wrote: i wrote my own gallery app, but it

Re: [android-developers] How to stop navigating to previous screen when mobile orientation changes

2012-01-06 Thread Mukesh Srivastav
just over the onConfigurationchange method in your acitivty. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad On Fri, Jan 6, 2012 at 5:15 PM, yogendra G yogi2...@gmail.com wrote: Hi, May be you need to put that same xml file of portrait screen of tht *b *screen

Re: [android-developers] Re: Android development and PhoneGap

2012-01-05 Thread Mukesh Srivastav
I have been using Phonegap for Android and other platforms since long time. Though i hate Phonegap, but i still i am working on it. Let me know the issue you have it. Regards, Mukesh On Fri, Jan 6, 2012 at 11:58 AM, Zsolt Vasvari zvasv...@gmail.com wrote: No, since I don't know a single

Re: [android-developers] Need help in twitter integration

2012-01-05 Thread Mukesh Srivastav
Naveen, The solution is very simple, you create a Twitterutil class and use it for sending Tweets and also getting the Tweets. Below is my example to do it. public class TwitterUtils { public static boolean isAuthenticated(SharedPreferences prefs) { String token =

Re: [android-developers] password authentication before application installation

2012-01-05 Thread Mukesh Srivastav
It was the old question, i would suggest you check the old forums. Mark Murphy and others already replied for this, This should be done at the Kernal level, it cant be done at the Application level. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Jan 6,

Re: [android-developers] nexus phone force close while croping image second time

2012-01-04 Thread Mukesh Srivastav
you must be using onActivityResult to read the intent data, correct me if i am wrong ? On Wed, Jan 4, 2012 at 3:35 PM, venugopal peparthi venugopal.myfri...@gmail.com wrote: hi friends, iam new to android , after took photo second time from camera force closing and showing bitmap exceeds vm

Re: [android-developers] Stretched image

2012-01-04 Thread Mukesh Srivastav
Try the below image parameter and u will surely get the correct view. ImageView android:id=@+id/iv_photo android:layout_below=@+id/llyt_home android:layout_marginLeft=2dp android:layout_marginRight=2dp android:layout_gravity=center_horizontal

Re: [android-developers] checkbox checked in listview

2012-01-04 Thread Mukesh Srivastav
Hello Vani, You need to do the check and ucheck operation in onListItemClick. Check the below code which helps. @Override protected void onListItemClick(ListView l, View v, int position, long id) { // File newFile = (File) l.getItemAtPosition(position); CheckedTextView check =

Re: [android-developers] Application#onCreate() called more than once?

2012-01-03 Thread Mukesh Srivastav
You need to instance of your Application Class (ACRA) where ever you are using. //some thing like this. ACRA acraapplication; //class variable, could be in dbhandler,broadcastreceiver where ever u want. //your method. could be onReceive, or anymethod u wanted to use it. acraapplication =

Re: [android-developers] Application#onCreate() called more than once?

2012-01-03 Thread Mukesh Srivastav
I am sorry for that. On Wed, Jan 4, 2012 at 12:59 PM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Wed, Jan 4, 2012 at 4:16 PM, Mukesh Srivastav mukicha...@gmail.com wrote: You need to instance of your Application Class (ACRA) where ever you are using. No offence, but do try

Re: [android-developers] view.getId() does not match R.id.myView

2012-01-02 Thread Mukesh Srivastav
Try this, in your our create method of the Activity, Give the reference of your button listener. findViewById(R.id.horizontallistview).setOnClickListener(this); findViewById(R.id.search).setOnClickListener(this); findViewById(R.id.facebook).setOnClickListener(this);

Re: [android-developers] Need help on referncing response from WCF REST service.

2012-01-02 Thread Mukesh Srivastav
Design issue Mate :(, Let's say you are receiving some around 20 records and you might wanted to bind in the Listview, you need to do the following things. 1. Write a class which actually parses your data and bind it to the Model Class. 2. Create a Class with setters and getters of the

Re: [android-developers] Re: Using image from gallery in application

2012-01-02 Thread Mukesh Srivastav
Hi Mates, I have done a Image cropping applicaton and below is the flow i had used it. App Launch- Goes to -- Camera--- Takes Pictures---Goes to Gallery--- Select Image--- Goes to Cropped Intent--- FTP Module. In order to cropped the image, please find the below link.

Re: [android-developers] Exception libcairo-2.dll Not Found (Mono.Cairo Error) in MonoAndroid

2012-01-02 Thread Mukesh Srivastav
I am sure, you are missing .so files which is a part of your library. you need the .so files Add to build path and things will work. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Sat, Dec 31, 2011 at 12:57 PM, Pritish pritishdeshm...@gmail.com wrote: Now

Re: [android-developers] ftp problem

2012-01-02 Thread Mukesh Srivastav
Hey Tom, Try my modified code, you will get succeeded. boolean isImgUploaded = false; FTPClient imgUploadClient = new FTPClient(); imgUploadClient.setDefaultTimeout(1000*180); int reply = 0; try { imgUploadClient.connect(AppHelper.FTP_SERVER_HOST, AppHelper.FTP_SERVER_PORT); if

Re: [android-developers] Stop service before the work completes

2012-01-02 Thread Mukesh Srivastav
Hey, Are you talking about AsyncTask with a progress Dialog on a Cancel button ? or ? A Service Class ? Please clarify Secondly, Service runs in the background without user interface, so not sure, which Asynchronous you are taking about. Warm Regards, *Mukesh Kumar*, Android

Re: [android-developers] LogCat not displaying TAG “SMS”

2012-01-02 Thread Mukesh Srivastav
Hey Mate, You surprised me, I starting reading more into Log class but couldn't find any thing related with the TAG information. http://developer.android.com/reference/android/util/Log.html Might be SMS is the reserved or Keyword or a Bug in Android as usual .Thanks for the info sharing, glad

Re: [android-developers] Re: Stop service before the work completes

2012-01-02 Thread Mukesh Srivastav
understand what is happening . On Jan 2, 5:11 pm, Mukesh Srivastav mukicha...@gmail.com wrote: Hey, Are you talking about AsyncTask with a progress Dialog on a Cancel button ? or ? A Service Class ? Please clarify Secondly, Service runs in the background without user interface, so

Re: [android-developers] Re: LogCat not displaying TAG “SMS”

2012-01-02 Thread Mukesh Srivastav
Where did u got that information, i have read the whole Log class and couldnt find it any where. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad On Tue, Jan 3, 2012 at 11:49 AM, srihari babu hisriharib...@gmail.comwrote: Hi All, There are actually 4 ring buffers

Re: [android-developers] Null Pointer Exception

2012-01-01 Thread Mukesh Srivastav
OMG. Chander you need to read and understand the basics of Android ! There is a way to call or navigate from one activity to other is using Intent. secondly, not sure,why are you using AbsoulteLayout ? Please start reading the Android documentation, to start with below is the link for your

Re: [android-developers] Re: Native SIP Supported on all ICS Devices?

2011-12-30 Thread Mukesh Srivastav
, CSipSimple has an API as well so that might make things easy, but I would much rather use the native SIP stack Google built in, I think this is all a carrier issue. On Dec 29, 6:06 am, Mukesh Srivastav mukicha...@gmail.com wrote: Hi Shaun, I would like to share my experience with SIP Based

Re: [android-developers] A question regarding AsyncTask

2011-12-30 Thread Mukesh Srivastav
What are you trying to really achieve with that ? secondly, onpostExecute() is the one which actually executed lastly, i mean after doInbackground(), it means that it executes after your firstAsyncTask is finished and i dont see any problem as long your close all the created objects in preExecute

Re: [android-developers] How to get picture path from camera capture, the known method is not working for all devices???

2011-12-29 Thread Mukesh Srivastav
I had a bad experience with the camera application, though i have successfully do it. The problem here most of the device htc returns the uri where as in samsung and nextil it was returning the intent data. it all about adding conditions and all. Warm Regards, *Mukesh Kumar*, Android

Re: [android-developers] Native SIP Supported on all ICS Devices?

2011-12-29 Thread Mukesh Srivastav
Hi Shaun, I would like to share my experience with SIP Based application on Android. I never used the build in api's out of it. I had successfully integrated pjsip of CSipsimple open source and it is working great for me. http://www.pjsip.org/apps.htm Warm Regards, *Mukesh Kumar*, Android

Re: [android-developers] [android-developer] I want to go on my activity class from broadcastreceiver

2011-12-28 Thread Mukesh Srivastav
When u say SMS Receiver, u must have a SMSReceiver class as well which extends the BroadcastReceiver. In public void onReceive(final Context context, Intent intent) method u can call your intent as simple as that. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad.

Re: [android-developers] Map Not working

2011-12-28 Thread Mukesh Srivastav
can u please also show the cod snippet of the activity that will help us to understand. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Dec 28, 2011 at 4:37 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Hey All , I have generated my google

Re: [android-developers] Map Not working

2011-12-28 Thread Mukesh Srivastav
); } } Thanks, KIRANKUMARKENDOLE On Wed, Dec 28, 2011 at 6:10 AM, Mukesh Srivastav mukicha...@gmail.comwrote: can u please also show the cod snippet of the activity that will help us to understand. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad

Re: [android-developers] Duplicate contacts are read.

2011-12-28 Thread Mukesh Srivastav
Dear Nikilesh, let the cursor retursn the duplicate value. you need to sort out to remove the duplicate. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Dec 29, 2011 at 12:38 AM, nikki nikhileshsingh...@gmail.com wrote: Hi Group, Please help me, I am

Re: [android-developers] Regarding Twitter Integration.

2011-12-28 Thread Mukesh Srivastav
Dear yogi, Instead of asking here first, you could have googled it. any ways, please follow the below link which helps. http://twitter4j.org/en/index.html Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad On Thu, Dec 29, 2011 at 10:10 AM, yogendra G

Re: [android-developers] Duplicate contacts are read.

2011-12-28 Thread Mukesh Srivastav
wrote: @ mukesh thanks for the replay... But what will be the criteria to remove the duplicate entires from the cursor. On Thu, Dec 29, 2011 at 10:42 AM, Mukesh Srivastav mukicha...@gmail.comwrote: Dear Nikilesh, let the cursor retursn the duplicate value. you need to sort out

Re: [android-developers] Control number of items in split action bar?

2011-12-28 Thread Mukesh Srivastav
Why not using a Horizontal scroll view ? -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Dec 29, 2011 at 12:41 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: Is there any way (API) to control how many items are displayed in the split action

Re: [android-developers] Re: Password app

2011-12-27 Thread Mukesh Srivastav
I have achieved this functionality. I was able to capture the wrong password entered by user and was able to send the sms succesfully. It had tested it the same with Pattern lock and pin lock as well. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad On Tue, Dec 27,

Re: [android-developers] simulating mouse on gingerbread 2.3.3

2011-12-27 Thread Mukesh Srivastav
Vlad, Very nice thought of having an pointer image. I lked it a lot. Let me give a try to that. Atleast writing a widget would solve it as far i know. Thanks, Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Dec 27, 2011 at 4:24 PM, Sander Theetaert

Re: [android-developers] Re: Password app

2011-12-27 Thread Mukesh Srivastav
rajesh luvme...@gmail.com wrote: Hi Can you share the logic here?? On Tue, Dec 27, 2011 at 5:09 PM, Mukesh Srivastav mukicha...@gmail.comwrote: I have achieved this functionality. I was able to capture the wrong password entered by user and was able to send the sms succesfully. It had tested

Re: [android-developers] Button lick problem

2011-12-26 Thread Mukesh Srivastav
Arun, I am not sure what is the purpose of going to sleep mode, and secondly you put a logs on the other abstract methods of your activity class. I would suggest read the Android life cycle as well. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Dec 26,

Re: [android-developers] duplicate and rename package

2011-12-08 Thread Mukesh Srivastav
Pretty simple, if you use Eclipse as Development Enviorment. You just have to select the project root in the Eclipse and Rename it,Eclipse will automatically update the reference of the package. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Dec 8, 2011

Re: [android-developers] duplicate and rename package

2011-12-08 Thread Mukesh Srivastav
...@gmail.com wrote: What is all this renaming nonsense? Real programmers just type their code in again, with the new package names, from memory, with their eyes closed! :) 08.12.2011 13:57, Mukesh Srivastav пишет: Pretty simple, if you use Eclipse as Development Enviorment. You just

[android-developers] Gallery Select Pic

2011-12-07 Thread Mukesh Srivastav
Hi All, I have a question on Gallery Intent. After taking a pic, I am calling the*Gallery Intent * which shows all the pics. I am able to select the pic from the Galleryview and taking it to a next activity everything works fine.But the real problem is, if i change the Gallery Intent to

[android-developers] Re: Gallery Select Pic

2011-12-07 Thread Mukesh Srivastav
Issue Solved by myself.. On Wed, Dec 7, 2011 at 4:56 PM, Mukesh Srivastav mukicha...@gmail.comwrote: Hi All, I have a question on Gallery Intent. After taking a pic, I am calling the*Gallery Intent * which shows all the pics. I am able to select the pic from the Galleryview and taking

Re: [android-developers] Want to join this group

2011-12-07 Thread Mukesh Srivastav
You are Welcome Mr.Rathore. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad On Thu, Dec 8, 2011 at 11:35 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi, I am Chethan, a software engineer currently working on android. Would you please allow

Re: [android-developers] Application Versioning from the code

2011-12-06 Thread Mukesh Srivastav
hehehehhehehe... Thank you. The solution is irrelevant. I found a another way to do it. On Tue, Dec 6, 2011 at 6:13 PM, TreKing treking...@gmail.com wrote: On Tue, Dec 6, 2011 at 1:38 AM, Mukesh Srivastav mukicha...@gmail.comwrote: is there any workaround there Keep a file on your own

Re: [android-developers] Re: My Newbie problem with compiling the HelloAndroid App

2011-12-05 Thread Mukesh Srivastav
Dude, Very simple problem u have it. Please look at my below statment that would help in resolving. 1. open the Activity ( I mean Java source code) 2. in your Java File, you might added the following import statment import android.R; 3. Remove that import statment and add your package

Re: [android-developers] Re: Not able to get full App logs

2011-12-05 Thread Mukesh Srivastav
1. Close the emulator. 2. Got to ADB, Delete the existing emulator 3.Create a New Emulator. 4.Restart the Eclipse... (Please try this step first, if you still not able to see the logs, then do the above four steps). -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer,

Re: [android-developers] Re: problem parsing the package

2011-12-05 Thread Mukesh Srivastav
Rachna, Please call the unlock method immediate after preview display,that helps. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Dec 5, 2011 at 5:38 PM, rachana govilkar rachana.govil...@gmail.com wrote: hello... y anybody is not replying on

Re: [android-developers] Re: please give me solution

2011-12-05 Thread Mukesh Srivastav
solution of what +1, What does it mean ? Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Dec 5, 2011 at 6:32 PM, Oli Wright oli.wri...@gmail.com wrote: +1 -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] emulator for motorola droid x

2011-12-05 Thread Mukesh Srivastav
OMG, Not Again this PhoneGAP... :(. On Mon, Dec 5, 2011 at 7:32 PM, TreKing treking...@gmail.com wrote: On Wed, Nov 30, 2011 at 11:51 PM, mohana priya gpriyara...@gmail.comwrote: Hello android developers.can u please tell me How and where to download the motorola droid x emulator

[android-developers] Application Versioning from the code

2011-12-05 Thread Mukesh Srivastav
Hi Folks, I wanted to check,is it possible to get the Latest version of the application from the Android Market ? , I am not looking for a any notifications and all. The moment i launch the application i wanted to check whether is there any latest version of the application is avaialbe, if it is

[android-developers] About Phone GAP

2011-12-01 Thread Mukesh Srivastav
Guys, I am not posting any questions on PhoneGAP here. I just wanted to check how many Android/iPhone Developers would really likes it work on PhoneGAP which is like Developing Web-programming using HTML/Javascript and CSS. My personal options is i dint like to work on HTML/CSS or Java Script,

Re: [android-developers] Re: About Phone GAP

2011-12-01 Thread Mukesh Srivastav
, 01 Dec 2011 14:59:16 +0530, Mukesh Srivastav ha scritto: I just wanted to check how many Android/iPhone Developers would really likes it work on PhoneGAP which is like Developing Web-programming usinge HTML/Javascript and CSS. The primary field I work in is HTML+CSS+JS (+PHP). I do it 8-12

Re: [android-developers] Droid-fu BetterAsyncTask

2011-12-01 Thread Mukesh Srivastav
I am Good at Async Task, but surely, i have never heard about BetterAsyncTask. any ways,below is my article on AsyncTask, might be helpful to you. One of My blog on Android using one Generic ASYNCTask for all the Activities. http://www.androidsnippets.com/asyntask-in-android Warm Regards,

Re: [android-developers] minSdkVersion and update app on market

2011-12-01 Thread Mukesh Srivastav
Hi Simone, The Best Way to receive the update of our application is, While installing the application from the Android market at the end, it provides you a check which says that , 'Allow automatic update', if user clicks there the application will get notify and it get update automatically.

Re: [android-developers] HTTP connection with remote database from android

2011-12-01 Thread Mukesh Srivastav
Please put your exception log here. it might due the local, you need to have a valid url, the application will not work on local host. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov 30, 2011 at 12:59 PM, sahil shlli...@gmail.com wrote: public

Re: [android-developers] Re: About Phone GAP

2011-12-01 Thread Mukesh Srivastav
important part of apps, I'm very like PhoneGap. I'm PHP developer too. At present, I can hide my code by some native code, but by the way, PhoneGap become Un Write once run any where :D On 1 Tháng Mười Hai, 11:30, Mukesh Srivastav mukicha...@gmail.com wrote: JQuery,PhoneGAP

Re: [android-developers] Re: Is it possible to add rows to the listview from the top?

2011-11-30 Thread Mukesh Srivastav
Doesn't matter, what adapter he is using. you can always add the individual items before calling the SetAdapter. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov 30, 2011 at 2:32 PM, skink psk...@gmail.com wrote: B.Arunkumar wrote: Hi, I

Re: [android-developers] Hardware requirement for 3.0 on Windows

2011-11-30 Thread Mukesh Srivastav
Dont know, My experience is, it works much faster on Laptop with 2GB of RAM. Desktop very slow irrespective the RAM Size. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov 30, 2011 at 3:27 PM, Manish Garg mannishga...@gmail.com wrote: Hi All, I am

Re: [android-developers] Tabactiviy

2011-11-30 Thread Mukesh Srivastav
Intent intent = new Intent(splash.this,TabBarActivity.class) startActivity(intent); finish(); Try the above code, Assuming, Splash is your splash screen class and TABBarActivtiy class is your which extends the TABActivity. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer,

Re: [android-developers] My Calendar time zone issue

2011-11-30 Thread Mukesh Srivastav
Rajesh, It is not a code issue, that is device/OS issue. nothing to do with the code. Probably you need to check the Motorola device Time Settings and check whether it has GMT by default or what it is. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov

Re: [android-developers] Customized TextView for customized Typeface

2011-11-30 Thread Mukesh Srivastav
Your class might needs to extend View not the TextView, that helps. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov 30, 2011 at 4:56 PM, Danny S. danny.schi...@googlemail.comwrote: Hi, I want to create a custom TextView that uses custom Typeface. I

Re: [android-developers] How to call/create a Customview from Custom view?

2011-11-30 Thread Mukesh Srivastav
Did u try calling setContentView(new CustomviewB(this)); Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov 30, 2011 at 5:02 PM, Build Account newandroi...@gmail.comwrote: Hello. I have a CustomView class which work well. And I want to use the Custom

Re: [android-developers] Re: Android activity lifecycle bug/problem. Android team please help.

2011-11-30 Thread Mukesh Srivastav
Absolutely correct. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Dec 1, 2011 at 10:53 AM, dnkoutso dnkou...@gmail.com wrote: If the user presses Force Stop from Settings then the service, and overall the app process, is never restarted. I am assuming

Re: [android-developers] How to insert record in database

2011-11-30 Thread Mukesh Srivastav
Firstly, create a xml of all your scripts/data(country,city) and dump it into assets folder. from the use xml parsing and then Insert it. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Dec 1, 2011 at 12:56 PM, dhaval dhavalkva...@gmeail.com wrote: Hi, I

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
h.. Poor architecture of the application.Please follow the MVC Pattern thats helps, just dont write the code blindly. Have a util package of the application and put all your common methods there. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29,

Re: [android-developers] confusion about activity?

2011-11-29 Thread Mukesh Srivastav
The Design is good. Please remove the onPause,onResume,onDestroy from the ChildActivities and keep it in only parentActivity.Things will work. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29, 2011 at 4:59 PM, Hitendrasinh Gohil

Re: [android-developers] confusion about activity?

2011-11-29 Thread Mukesh Srivastav
, 2011 at 5:03 PM, Mukesh Srivastav mukicha...@gmail.comwrote: The Design is good. Please remove the onPause,onResume,onDestroy from the ChildActivities and keep it in only parentActivity.Things will work. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue

Re: [android-developers] confusion about activity?

2011-11-29 Thread Mukesh Srivastav
. On Tue, Nov 29, 2011 at 5:23 PM, Mukesh Srivastav mukicha...@gmail.comwrote: why do u want to extend it from the parentactivity, you have your own extendable activity. Things will work. On Tue, Nov 29, 2011 at 5:10 PM, Hitendrasinh Gohil hitendrasin...@gmail.com wrote: I have some

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
Why not go with TAB Activity, that helps. On Tue, Nov 29, 2011 at 6:22 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: Hey Siva and Mukhesh, Thanks for the response. The problem which I am forcing to use this unfair architecture is.. I have hard time to show different options

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
these methods in dirived Activity A and B. No copy past is needed. Best regards, Yahor On Tue, Nov 29, 2011 at 3:01 PM, Mukesh Srivastav mukicha...@gmail.com wrote: Why not go with TAB Activity, that helps. On Tue, Nov 29, 2011 at 6:22 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
WHETHER IT MAY BE 2.1 , 2.2 or 2.3. Thanks, KIRANKUMARKENDOLE On Tue, Nov 29, 2011 at 12:15 PM, Mukesh Srivastav mukicha...@gmail.comwrote: you need to do the clean build or Delete the bin directory, recompiled it and deploy it, that will help. Warm Regards, *Mukesh Kumar

Re: [android-developers] Twitter Connection Failed when I am using New Credentilas

2011-11-29 Thread Mukesh Srivastav
Paste the Complete log Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov 30, 2011 at 11:30 AM, Hunny Jain hunny.j...@ariosesoftware.comwrote: Hi, When I am using Consumer key and consumer secret in my App then I am getting Twitter connection failed

Re: [android-developers] LIstView not working

2011-11-28 Thread Mukesh Srivastav
. But when we click on the checkboxes.. its not happening check/un check. Do we need to add any code for this? Thanks, KIRANKUMARKENDOLE On Mon, Nov 28, 2011 at 12:41 AM, Mukesh Srivastav mukicha...@gmail.comwrote: For CheckBox, Replace the simple_list_item_1.xml with the below one

Re: [android-developers] Re: It is impossible to load videos from assets folder?

2011-11-28 Thread Mukesh Srivastav
Why dont you try using GetAssets() method which retursn and AssetManager and then try using FileDescriptor to read a video file and play it. AssetManager assetManager = getAssets(); though i havent tried it, but it is just a clue which might helps you. Warm Regards, *Mukesh Kumar*, Android

Re: [android-developers] LIstView not working

2011-11-28 Thread Mukesh Srivastav
=fill_parent android:layout_height=0dip android:layout_weight=1.0 / /LinearLayout Can you tell me how to resolve this problem. Thanks, KIRANKUMARKENDOLE On Mon, Nov 28, 2011 at 3:25 AM, Mukesh Srivastav mukicha...@gmail.comwrote: check this out. http://www.androidpeople.com/android-listview

Re: [android-developers] Re: getting this error The apk must be signed with the same certificates as the previous version.

2011-11-28 Thread Mukesh Srivastav
Hi Mariux, I would suggest take the back up of the Android keystore that helps. Last time, when i was uploading it, accidental i deleted the keystores file, i had to change the package name again and generated the New keystore, It was a bad experience i had it. Warm Regards, *Mukesh Kumar*,

Re: [android-developers] Re: Barcode reader app in android

2011-11-28 Thread Mukesh Srivastav
Further to add to the discussion, Let's say user doesn't have the zxing application, you can always have an alert box that infact takes to the Android market where user can download it. I had used Zxing in one of my application where i captured the QRCode and Barcode. Warm Regards, *Mukesh

Re: [android-developers] LIstView not working

2011-11-27 Thread Mukesh Srivastav
Change this line in the adapter. Replace your code Adapet line with the below one. lv1.setAdapter(new ArrayAdapterString( android.R.layout.simple_list_item_1 , lv_arr)); Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Mon, Nov 28, 2011 at 9:53 AM, Kiran

Re: [android-developers] LIstView not working

2011-11-27 Thread Mukesh Srivastav
know how to edit this XML file.. simple_list_item_1.xml file? Thanks, KIRANKUMARKENDOLE On Sun, Nov 27, 2011 at 11:59 PM, Mukesh Srivastav mukicha...@gmail.comwrote: Change this line in the adapter. Replace your code Adapet line with the below one. lv1.setAdapter(new

Re: [android-developers] Running the Android Application accessing /dev/node

2011-11-27 Thread Mukesh Srivastav
Hi Saurab, You can run your script in the root directory of the device. you can acheive this by setting the Enviorment.getStoreage() method point to root. below is the example: new File(Environment.getExternalStorageDirectory(), , That is where i have dumped all my pic which were taken by the

Re: [android-developers] Re: Developing a WhatsApp(Android)

2011-11-25 Thread Mukesh Srivastav
Guys, Let me tell you the Real Architecture of Whatsapps before you land up in different views. 1. It uses xmpp protocol for messaging. 2. It uses Jabber Server and it's services for maintaining the sessions. Regards, -Mukesh Kumar, Android Consultant/Freelancer, India,Hyderabad. On Fri, Nov

Re: [android-developers] Disable Home button code not working in another application

2011-11-25 Thread Mukesh Srivastav
Dear Naveen, In order to achieve this, The Architecture of the application should be like this. 1. Create an ParentActivity which extends the Activity 2. And all other activities should extend the parent acitivity. Add the below code to the parent activity , rest it take cares in any part of

Re: [android-developers] Disable Home button code not working in another application

2011-11-25 Thread Mukesh Srivastav
PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: I am using *public class VideoPlayer extends Activity implements OnCompletionListener* this class interface here in this class i am also using the back button . On Fri, Nov 25, 2011 at 2:55 PM, Mukesh Srivastav mukicha

Re: [android-developers] vedio editing software

2011-11-25 Thread Mukesh Srivastav
You are landed up in the Wrong forum. Mukesh Kumar. On Fri, Nov 25, 2011 at 4:17 PM, deepak gusain deepakgusai...@gmail.comwrote: Dear All Friends, I need a video editor software which edit dvd file also .. -- RegardsW Deepak Gusain RHCSA, MCITP, CCNA M.no:-

Re: [android-developers] Http Live Streaming

2011-11-25 Thread Mukesh Srivastav
Check this out. They have the Streaming Server and also Android Version of the client. http://blog.justin.tv/justintv-android/ Regards, Mukesh Kumar, Android Consultant/Freelancer, India,Hyderabad. On Fri, Nov 25, 2011 at 4:23 PM, bhaskar bommala bhaskar...@gmail.comwrote: Hi , Can anyone

Re: [android-developers] How to show PopupWindow in an Activity on some click event

2011-11-25 Thread Mukesh Srivastav
Code looks fine but the problem would be with context. do the following. 1.create a context class variable. some thing like this. Context parentcontext; 2.Assign this in the onCreate Method. parentcontext = this; 3. then pass the parentcontext to the popupwindow or The another

Re: [android-developers] Re: How to show PopupWindow in an Activity on some click event

2011-11-25 Thread Mukesh Srivastav
Let use know, if it works. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Nov 25, 2011 at 4:43 PM, Shajahan lovesa...@gmail.com wrote: Hi Mukesh, Thanks for the reply. am doing the same Context context = this; On Nov 25, 4:04 pm, Mukesh Srivastav

Re: [android-developers] Re: How to show PopupWindow in an Activity on some click event

2011-11-25 Thread Mukesh Srivastav
Context context = this; On Nov 25, 4:04 pm, Mukesh Srivastav mukicha...@gmail.com wrote: Code looks fine but the problem would be with context. do the following. 1.create a context class variable. some thing like this. Context parentcontext; 2.Assign this in the onCreate

Re: [android-developers] ListView text goes black when scrolling the content

2011-11-25 Thread Mukesh Srivastav
Hi KK, Please add the following line to your listview, The problem get solves. android:cacheColorHint=# Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Nov 25, 2011 at 4:59 PM, KK dioxide.softw...@gmail.com wrote: Hi All, I'm trying to show a

Re: [android-developers] ListView text goes black when scrolling the content

2011-11-25 Thread Mukesh Srivastav
:05 PM, Mukesh Srivastav mukicha...@gmail.comwrote: Hi KK, Please add the following line to your listview, The problem get solves. android:cacheColorHint=# Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Nov 25, 2011 at 4:59 PM, KK

Re: [android-developers] screenshot in android

2011-11-24 Thread Mukesh Srivastav
Let me give u an Example: Let's say you have a layout and it has a parent layout could be (Relative,Absoulte or LinerLayout). Take the id out of it. Below are the steps to do this. Step 1: Declare a Variable View screen; Step 2: in public void onCreate(Bundle savedInstanceState) Method

Re: [android-developers] How to connect to Facebook and publish in the wall

2011-11-23 Thread Mukesh Srivastav
Why not use the Android facebook sdk, It is very simple to use. infact, it shows a Dialog for facebook authentication. I had used it many time. Please let us know, where exactly you are facing the issues. Mukesh Kumar, Android Consultant. On Thu, Nov 24, 2011 at 11:52 AM, TreKing

[android-developers] Crop issuing,

2011-11-21 Thread Mukesh Srivastav
When i trying for Crop using Camera Crop intent, It shows a Rectangle ,when i select an object from the pic, the whole Rectangle box is getting re-sized. please help me in is regards, Mukesh -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Android Image Cropping

2011-11-17 Thread Mukesh Srivastav
Hi Guys, I have a strange problem with respect to Image cropping. I am calling a PICK_FROM_CAMERA intend to make use of Cropping. I had tried with 2 approaches. Approach 1: After taking a pick, it launches the cropping activity with a Rectangle box. When i try to crop at particular area, The

<    1   2