Re: [android-developers] App Updation from playstore

2015-02-10 Thread Mukesh Srivastav
You will have to create the new package and new key and upload as new and secondly this time save your key in your mailbox or a secure place where you can remember it back. On Tue, Feb 10, 2015 at 4:16 PM, Rahul Kaushik rahulkaushi...@gmail.com wrote: Hi, Due to my lost key store i was unable

Re: [android-developers] GCM extras Bundle from value

2015-02-05 Thread Mukesh Srivastav
a different story. So everything works as intended. cheers Marten Am Mittwoch, 4. Februar 2015 09:31:46 UTC+1 schrieb Mukesh Srivastav: Hello Marten, Not sure why do you want to change the SENDER ID, the sender id would remain same/constant unless you create the new SENDERID through

Re: [android-developers] GCM extras Bundle from value

2015-02-04 Thread Mukesh Srivastav
Hello Marten, Not sure why do you want to change the SENDER ID, the sender id would remain same/constant unless you create the new SENDERID through the google developer console and secondly the most RegistrationID which gets change that you can always update from the APK code to the DB (locally).

Re: [android-developers] Get log/console output without root access

2015-01-28 Thread Mukesh Srivastav
Hi Stefan, Here it is , if you are talking about Crash/FC that needs to be capture at the class level/function level and the which line it fails,then you need to handle it UncaughtExceptionHandler exception. here is the code for you which needs to be included in the Application class. private

Re: [android-developers] Re: FusedLocation Provider fail

2015-01-18 Thread Mukesh Srivastav
Hi Nathan, I am in the same situation, I have my app where in there are 3000 drivers are using and in 20% of cases are getting failed (No locations,location was getting very far(200 miles... :( Here is the approach. I was using google play store location which is not at all reliable solution to

Re: [android-developers] Aam Aadmi Party #IFundHonestParty Challenge

2015-01-16 Thread Mukesh Srivastav
Dear Sandeep, Here is the problem with the politics and with the people like you who poke their nose every where. This is a group/platform where the techies talk about the android platform/issues related with the android but not the politics. Please keep away the politics sir Thank You.

[android-developers] Query related with the barcode

2015-01-16 Thread Mukesh Srivastav
Hi There, I need to make use of the USB Barcode scanner which also has the bluetooth with that. so we i need to make use of the bluetooth api's to read the scanned data. Please advise. Thanks, Mukesh -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Question on the Action bar

2015-01-16 Thread Mukesh Srivastav
Hi All, I have a question on using action bar libraries. is it not increasing the size of the application ? Please advise -- 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] connect android app to remote web services

2014-12-08 Thread Mukesh Srivastav
I have helped here already... she was not having the internet connection on her device and therefor thei application was throwing the exception hostnotfound and also she did not returned the statment on exception but instead trying to do the json parsing. On Mon, Dec 8, 2014 at 7:36 PM, TreKing

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-25 Thread Mukesh Srivastav
. On Monday, November 24, 2014 7:58:36 AM UTC-7, Mukesh Srivastav wrote: As my understanding here, the service was stopped some where in the code and hence it is behaving like that. On Mon, Nov 24, 2014 at 7:38 PM, Mark Phillips ma...@phillipsmarketing.biz wrote: On my Samsung Galaxy 4 phone from

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread Mukesh Srivastav
As my understanding here, the service was stopped some where in the code and hence it is behaving like that. On Mon, Nov 24, 2014 at 7:38 PM, Mark Phillips m...@phillipsmarketing.biz wrote: On my Samsung Galaxy 4 phone from T-Mobile, I can hold down the home button and get a list of running

Re: [android-developers] Experienced Android developer needed

2014-11-06 Thread Mukesh Srivastav
Thanks for sharing your experience ... On Thu, Nov 6, 2014 at 4:39 PM, Vo Trung Liem lie...@gmail.com wrote: Hi Guys, I have worked for this guys in last year. I completed the projects for him but he didn't pay for me. It is a worst guy that I work. Regards, On Wed, Oct 1, 2014 at

Re: [android-developers] GCM pernision how impact our application.

2014-11-02 Thread Mukesh Srivastav
What do you mean by how it works ? here are the steps on this. 1. create a GCM server componenent which push the message to the APK(your application) https://developer.android.com/google/gcm/server.html the GCM server uses REGISTRATIONID (Which apk gets it when register it to the server) in

Re: [android-developers] Google Maps API on Android 4.4 taking wrong location

2014-10-16 Thread Mukesh Srivastav
It is not only your's or 4.3 issue, even i am having it and i have no clue to do that On Thu, Oct 16, 2014 at 5:07 AM, SAndy sandy.go...@gmail.com wrote: I am using the Google Play Location API to locate my destination from my current location. My current location is picked up correctly by

Re: [android-developers] J2ME custom font

2014-10-13 Thread Mukesh Srivastav
you would need to include J2ME-Polish to do that, by default, J2ME/Midp api doesnt gives you the flexiblity to change the font or color, so go for J2ME-Polish. Regards, Mukesh, Hyderabad,India. Freelancer/consultant on Mobile platform (J2ME,Android and Blackberry) On Mon, Oct 13, 2014 at 6:10

Re: [android-developers] J2ME custom font

2014-10-13 Thread Mukesh Srivastav
to support verdana font . Thanks Thanks and Regards:- Ankur Goel 09019040351 S/W Engg. On Mon, Oct 13, 2014 at 7:10 PM, Mukesh Srivastav mukicha...@gmail.com wrote: you would need to include J2ME-Polish to do that, by default, J2ME/Midp api doesnt gives you the flexiblity to change

Re: [android-developers] Regarding location based app.

2014-10-09 Thread Mukesh Srivastav
Dear Yogesh, Please add the following user defined permission in the AndroidManifest.xml file uses-permission android:name=android.permission.ACCESS_MOCK_LOCATION / uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / uses-permission

Re: [android-developers] Experienced Android developer needed

2014-09-30 Thread Mukesh Srivastav
I am available. I am having 11 Years of mobile application and product development experience. I started with J2ME,Blackberry and since last 4+ years into Android development. On Wed, Oct 1, 2014 at 12:14 AM, Josphat Muchiri jmuchir...@gmail.com wrote: Hey, I am in need of several android

Re: [android-developers] Opensource messaging.

2014-09-18 Thread Mukesh Srivastav
I have been using gcm for one of my product since last one year which has 1800 users and everyday the GCM server sends min 200 and max 2000 messages to the all users and i dont see any issues in using it. yeah, at times i found that due to the updateregistratioid, the message dont deliver , so

Re: [android-developers] Opensource messaging.

2014-09-18 Thread Mukesh Srivastav
hmmm' GCM server will pull all the registrationid of all the users from my db and send the message... no matter which db you use On Thu, Sep 18, 2014 at 12:39 PM, Dallas Singletary devdal...@gmail.com wrote: You host your own SQL server for GCM? On Sep 18, 2014 3:01 AM, Mukesh Srivastav

Re: [android-developers] Android app installation

2014-09-16 Thread Mukesh Srivastav
if i am not wrong, you are looking to install only those which are available in the Playstore or in other words, stop installing the Unsource app On Tue, Sep 16, 2014 at 5:33 PM, Paulo Morandi psmora...@gmail.com wrote: Hello, unfortunately you can't. At my company we developed a custom

Re: [android-developers] App Backgrounded check, onTrimMemory Activity finish(), behaviour

2014-09-02 Thread Mukesh Srivastav
by google in android OS L for provacy purposes. so can not use any ActivityManager method to get current PID/Running task. onTrimMemory seems reliable way to get if app is hidden or not, but only have problem descibed above. On Monday, September 1, 2014 5:59:44 PM UTC+10, Mukesh Srivastav wrote

Re: [android-developers] App Backgrounded check, onTrimMemory Activity finish(), behaviour

2014-09-01 Thread Mukesh Srivastav
why not just check the current pid state of the app rather than doing all those things.. On Fri, Aug 29, 2014 at 11:25 AM, Omkar omk...@gmail.com wrote: Hi All, I am working on a App where functionality is when ever User goes out of the app and comes back it should ask him login

Re: [android-developers] Re: Play a Youtube video

2014-08-26 Thread Mukesh Srivastav
Le lundi 25 août 2014 14:01:40 UTC+2, Mukesh Srivastav a écrit : Hello Patrick, There are two ways to acheive this. first using the google Android Youtube Api. https://developers.google.com/youtube/android/player/ or if you are good in rtsp protocol then you can stream the videos

Re: [android-developers] Re: Play a Youtube video

2014-08-25 Thread Mukesh Srivastav
Hello Patrick, There are two ways to acheive this. first using the google Android Youtube Api. https://developers.google.com/youtube/android/player/ or if you are good in rtsp protocol then you can stream the videos of the youtube. On Mon, Aug 25, 2014 at 3:52 PM, Patrick

Re: [android-developers] It is legal to delete and upload again an application to google play?

2014-08-08 Thread Mukesh Srivastav
Currently there is no provision of deleting the app. but you can upload the new one with the diffrent package name. On Fri, Aug 8, 2014 at 9:04 PM, saex elpablos...@gmail.com wrote: i have an app that in the begining has some errors and a lot of users rate it with 1 star and now it have very

Re: [android-developers] saving GeoCoder location address legality

2014-08-08 Thread Mukesh Srivastav
What is illegal in this ? Geocoder returns the Address based on the lat long you have. you need to check the legal things with the user since capturing data with out user notification is illegal. On Wed, Aug 6, 2014 at 2:24 AM, Goutom goutom.sust@gmail.com wrote: Hi I can parse

Re: [android-developers] I always get a crash when reading an InputStream on Android

2014-07-17 Thread Mukesh Srivastav
Please print the stack trace so that we can check what went wrong. On Thu, Jul 17, 2014 at 11:25 PM, Fabrizio Bartolomucci fbarto...@gmail.com wrote: I am trying to receive the result of an url request and transform it into a string to analyze if everything works fine. Yet whenever I call:

Re: [android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-09 Thread Mukesh Srivastav
@Haris.. You would need to store the GCM- Registration Id in the Database(Server side) so that the Server API/Webservice api/ should able to pick the Registration Id from the DB and send me message to the correct device (Based on the registration id). here is the way i used it. I have an

Re: [android-developers] Android GCM without a 3rd party server (Device to Device push notification without 3rd party server via GCM)

2014-07-09 Thread Mukesh Srivastav
in the DB. On Wed, Jul 9, 2014 at 12:55 PM, Mukesh Srivastav mukicha...@gmail.com wrote: @Haris.. You would need to store the GCM- Registration Id in the Database(Server side) so that the Server API/Webservice api/ should able to pick the Registration Id from the DB and send me message

Re: [android-developers] Re: Promoting a Game

2014-02-05 Thread Mukesh Srivastav
You are trying to be over smart and promoting your game in android developer forum. On Wed, Feb 5, 2014 at 9:17 PM, JackN j...@jacknorth.com wrote: Looks like you've done well. Unless you are willing to pay for advertising, why not just give similar games bad reviews and mention your game in

Re: [android-developers] Best Chart Library

2014-01-09 Thread Mukesh Srivastav
I have used achartengine and found very useful https://code.google.com/p/achartengine/ On Thu, Jan 9, 2014 at 1:21 PM, sourabh sahu souruit...@gmail.com wrote: Dear All, Which is the best open source library for drawing Chart on Android. Regards, Sourabh -- You received this message

Re: [android-developers] Android xml2class tool

2014-01-02 Thread Mukesh Srivastav
I have tried it, it is nice On Tue, Dec 31, 2013 at 3:40 PM, Göksel Güren goksel7...@gmail.com wrote: Hi everybody, We released a tool for generating Activity Class with only pasting your xml source code to tool. Maybe somebody can use it http://lab.mobillium.com/

Re: [android-developers] how to optimize reliability of gcm messages on 2G network?

2013-12-09 Thread Mukesh Srivastav
I had the similar situation where in the GCM was not able to receive on 2G and most of the time it failed. I have drawn a work around, since my application deals with the Webservices, I have created a new webservice called Getgcmfromthedb, I am calling the same service before calling any other

Re: [android-developers] Re: With Updated APK, Can't Purge Previous Data

2013-12-03 Thread Mukesh Srivastav
Basically on upgrade move the data to the same DB and let say,if you add new filed in your sqlite, just update the version of the DB that helps in retaining the old data. On Wed, Dec 4, 2013 at 3:45 AM, Streets Of Boston flyingdutc...@gmail.comwrote: If your updated APK has its own SQLite

Re: [android-developers] With Updated APK, Can't Purge Previous Data

2013-12-02 Thread Mukesh Srivastav
I have done this in one of my product and but i am dealing with my sqlite data, not sure, if you are using the same. On Mon, Dec 2, 2013 at 5:33 PM, Cayce ca...@cayceweb.com wrote: This is making me crazy. I'm having an app built that is initially downloaded as an empty carrier for

Re: [android-developers] Avoid app force closed issue.

2013-12-02 Thread Mukesh Srivastav
For force close, there could be two reasons. 1. Your application logic might depends on the data you get from the webserver, there you might be doing a parsing with the Null or incorrect data which is causing the force close. 2. While handling the HTTP Connections, make sure you also handle the

Re: [android-developers] If the application force closes, will the registered intent filters also removed or deregistered?

2013-11-19 Thread Mukesh Srivastav
First you avoid the force close by doing the following. Register the broadcast on Resume Unregister the same onPause and seconldy, let's say, if you get a force close, your app will try to register in the onResume method and that will solve your problem. On Sat, Nov 16, 2013 at 4:27 PM,

Re: [android-developers] Re: AndroidPushNotification

2013-11-12 Thread Mukesh Srivastav
PM UTC+5:30, Mukesh Srivastav wrote: Here are the things to check. APK: 1. Have a message id for new messages and check if the same message is coming through from the server. 2. Always make sure you Unregister the device (GCM.unregister) 3. You need to handle the error message

Re: [android-developers] Re: AndroidPushNotification

2013-11-10 Thread Mukesh Srivastav
Here are the things to check. APK: 1. Have a message id for new messages and check if the same message is coming through from the server. 2. Always make sure you Unregister the device (GCM.unregister) 3. You need to handle the error message On Mon, Nov 11, 2013 at 10:56 AM, janvi

Re: [android-developers] parsing responce of a web url

2013-11-06 Thread Mukesh Srivastav
You could use any stringtokenizer or just any string parsing and it should be any challenge to do that. let us know if you any specific tag or any specific string to parse On Wed, Nov 6, 2013 at 8:43 PM, shiva pendem pendem.shiv...@gmail.comwrote: Hi, i am new using web serviced in the

Re: [android-developers] Re: memory issue with Google Maps API v2

2013-11-05 Thread Mukesh Srivastav
Not sure about your actual requirement of placing thousand's of marker, as far i implemented, I have considered a radius based marker, like searching for Hotel,fuel stations in a radius of 10 miles or 5 miles. On Tue, Nov 5, 2013 at 6:07 PM, lbendlin l...@bendlin.us wrote: Have a look at how

Re: [android-developers] Simulating tens of thousands of android devices

2013-10-31 Thread Mukesh Srivastav
you could easily go with the load and stress test and it need not be on only from Mobile devices... :( any ways, to test the client and server, you could go with the following link. http://jmeter.apache.org/usermanual/jmeter_distributed_testing_step_by_step.pdf On Thu, Oct 31, 2013 at 12:24

Re: [android-developers] java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

2013-10-30 Thread Mukesh Srivastav
you could one thing, Delete the bin and Gen directory and do a clean build again and try running. On Wed, Oct 30, 2013 at 12:32 PM, Dilip Kumar Chaudhary androiddili...@gmail.com wrote: Hi Developers, I'm getting this abnormal errors in XOLO/T1000 phone only.This is app is working fine on

Re: [android-developers] Re: how to add G729 codec in Android application?

2013-10-30 Thread Mukesh Srivastav
As far as SIP application, I have a good experience in using CSIPSimple which is universal accepted and it has all the respective libraries(.so) file where you can enable as the default option. On Tue, Oct 29, 2013 at 7:57 PM, Juned Khan jkhan6...@gmail.com wrote:

Re: [android-developers] Not Licensed for this country when paid app used in another country?

2013-10-24 Thread Mukesh Srivastav
can we have detail about the app, like type of app at-least to know ? On Thu, Oct 24, 2013 at 5:22 AM, Julian Bunn jjb...@gmail.com wrote: One of my paid app users, who bought the app in Australia, travelled to the USA and tried to use the app there. When the app was started he received the

Re: [android-developers] New Android Development Tool..

2013-10-18 Thread Mukesh Srivastav
I do mine using ANT. On Fri, Oct 18, 2013 at 5:17 AM, Kristopher Micinski krismicin...@gmail.com wrote: I do all my development via command line, using the ant build scripts and emacs JDEE works well enough. What joe131 wrote is just a thin wrapper around all of that anyway, Kris On

Re: [android-developers] Re: How to make a Service That will periodically send the Users Location on a server

2013-10-04 Thread Mukesh Srivastav
The problem could be , Himanshu is missing the Location setting to be enabled :) Please check the device setting and test your code. On Fri, Oct 4, 2013 at 7:06 PM, Kristopher Micinski krismicin...@gmail.comwrote: I guess the problem is, if your location is unavailable, how are you

Re: [android-developers] Re: How to make a Service That will periodically send the Users Location on a server

2013-10-04 Thread Mukesh Srivastav
Look, you are only checking for the best location but, I would suggest to check all the possibilities. Please try the below code public Location getLocation() { try { locationManager = (LocationManager) this .getSystemService(LOCATION_SERVICE); // getting GPS status isGPSEnabled =

Re: [android-developers] Re: How to make a Service That will periodically send the Users Location on a server

2013-10-04 Thread Mukesh Srivastav
!!! On Fri, Oct 4, 2013 at 7:28 PM, Mukesh Srivastav mukicha...@gmail.comwrote: The problem could be , Himanshu is missing the Location setting to be enabled :) Please check the device setting and test your code. On Fri, Oct 4, 2013 at 7:06 PM, Kristopher Micinski krismicin...@gmail.com

Re: [android-developers] Re: How to make a Service That will periodically send the Users Location on a server

2013-10-04 Thread Mukesh Srivastav
!!! On Fri, Oct 4, 2013 at 7:43 PM, Mukesh Srivastav mukicha...@gmail.comwrote: Look, you are only checking for the best location but, I would suggest to check all the possibilities. Please try the below code public Location getLocation() { try { locationManager = (LocationManager

Re: [android-developers] Re: How to make a Service That will periodically send the Users Location on a server

2013-10-04 Thread Mukesh Srivastav
in my code. And that's why confused, IF you tell me that , I would test it right away and tell the update!! On Fri, Oct 4, 2013 at 7:52 PM, Mukesh Srivastav mukicha...@gmail.comwrote: I think, you have missed the code which i had sent you... check that On Fri, Oct 4, 2013 at 7:40 PM

Re: [android-developers] Re: Random IllegalStateException on some phone

2013-10-03 Thread Mukesh Srivastav
Why not check for the OS version in run time and change your code accordingly. String androidOS = Build.VERSION.RELEASE; It is just a thought On Thu, Oct 3, 2013 at 5:19 PM, Davide Moriello davidem...@gmail.comwrote: Hi, I have found the bug, the code that make crahs on android 2.3 is this

Re: [android-developers] debugging break pint not hittting

2013-09-27 Thread Mukesh Srivastav
Did you check the break point, was it placed in the correct line and also, check restart your adp and eclipse that helps. On Fri, Sep 27, 2013 at 5:30 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi guys, m trying to debug my codebut it is not hitting any line ,but in other

Re: [android-developers] Any body knows how t ocreate popup Window class

2013-09-12 Thread Mukesh Srivastav
All you have to do is create a poplayout and in the mainfest file you will have to add the android:theme=@android:style/Theme.Dialog params and in your acitivity just call as normal intent. It opens as pop up window. On Thu, Sep 12, 2013 at 3:41 PM, Amit Mangal

Re: [android-developers] Data from Tablet to PC

2013-09-03 Thread Mukesh Srivastav
Here is an approach. 1. From your app, try to copy the .sql (your application db file) to a SDCard directory. 2. Create/build a Desktop application using Java which checks for the following. 2.1 checks for any USB storage is connected. 2.2 if connected, read the respective

Re: [android-developers] Fwd: Google map is not showing

2013-08-19 Thread Mukesh Srivastav
There get two reasons why the Map is not showing. 1. check the API key. 2. while creating the key make sure you have copied the SHA1 key only and also put down the right package name. On Sat, Aug 17, 2013 at 10:17 AM, nemi chhimpa ern...@gmail.com wrote: -- Forwarded message

Re: [android-developers] GCM based sample app link

2013-08-19 Thread Mukesh Srivastav
There are many tutorials which can helps you in understanding and setting up the GCM, basically it is a two way, first create the Server ID And the API Key and also create a server app which actually sends the notification to the GCM using the Project key. with the help of the Google

Re: [android-developers] Re: Can not debug Galaxy s4 mini

2013-08-19 Thread Mukesh Srivastav
I had the same problem, the first thing is , restart your device and enable the USB Debugging setting uncheck and check. On Mon, Aug 19, 2013 at 6:07 PM, MobileVisuals eyv...@astralvisuals.comwrote: It says target unknown and state offline. I currently don't have a SIM card or a internet

Re: [android-developers] Generate Barcode

2013-05-17 Thread Mukesh Srivastav
, May 16, 2013 at 5:49 PM, Mukesh Srivastav mukicha...@gmail.comwrote: use the below link that will help you to create the barcode in Android. http://www.mysamplecode.com/2011/09/android-barcode-scanner-using-zxing.html On Thu, May 16, 2013 at 5:43 PM, sree android android.sreeni

Re: [android-developers] Android Studio for IntelliJ - Plugin

2013-05-16 Thread Mukesh Srivastav
I did not the plugin, so I have downloaded the android stduio exe and started using it... On Thu, May 16, 2013 at 2:31 PM, Andrew Weir and...@andyweir.co.uk wrote: Morning, Does anybody know (or is it reasonable to expect) Android Studio to be available as a plugin for existing license

Re: [android-developers] Re: Create a SIP application

2013-05-16 Thread Mukesh Srivastav
Hi, I would suggest, you use CSIPSimple from Pjsip.Below is the link for your reference. https://code.google.com/p/csipsimple/ On Thu, May 16, 2013 at 2:58 AM, Piren gpi...@gmail.com wrote: dude... hijacking every possible SIP related thread, would not get you help faster. On Wednesday,

Re: [android-developers] Generate Barcode

2013-05-16 Thread Mukesh Srivastav
use the below link that will help you to create the barcode in Android. http://www.mysamplecode.com/2011/09/android-barcode-scanner-using-zxing.html On Thu, May 16, 2013 at 5:43 PM, sree android android.sreeni...@gmail.comwrote: Hi, How can i create a simple bar code create example in

Re: [android-developers] ClassNotFoundException after upgrading to latest SDK tools v 22 and ADT v 22

2013-05-16 Thread Mukesh Srivastav
Hi. Please follow the below instructions. 1.Please delete the bin and gen folder 2.Clean the build and refresh On Thu, May 16, 2013 at 5:45 PM, DennisG denn.gub...@gmail.com wrote: I just updated SDK tools and ADT to the latest v22 and now I can't run any of my applications. The

Re: [android-developers] Re: Session management in android application

2013-04-24 Thread Mukesh Srivastav
Did i say that Android is a webserver , i talked about the session managment can be implmented on Android and the server side(Webserver) On Wed, Apr 24, 2013 at 12:44 PM, Piren gpi...@gmail.com wrote: Android isnt a web server, it doesn't have the concept of Session not its memory/cache

Re: [android-developers] Re: Session management in android application

2013-04-23 Thread Mukesh Srivastav
Sessions can be implemented on Server and client side. let' say,everytime you login into the application, The client can create a session in the sharedpreference and also the server can delete the existing session and create a new one on every login. Hope it helps. -- Warm Regards, *Mukesh

Re: [android-developers] screen_resolution for multiple device

2012-11-27 Thread Mukesh Srivastav
Hi Sandhna, It depends what type of UI are you creating, however, Android provides different resolution folder called, MDP,HDPI,LDPI based on that, you need to create different stylesheets or sometimes different layouts. Hope you understand,what i mean. Mukesh On Tue, Nov 27, 2012 at 9:40 PM,

Re: [android-developers] AsyncTask design question

2012-11-14 Thread Mukesh Srivastav
Hi All, Have a separate Async task class which serves the HTTP Request to all of your Activities and let your Activities implments a listener which helps the AsycnTask class to get the data from onpostexecutes method. here is an example which i have written in a blog.

Re: [android-developers] How long has to be a string array not to cause troubles?

2012-11-14 Thread Mukesh Srivastav
Hi There, Instead of created a big string of Array, you create a xml file and put it in the assests directory and read the content in the Haspmap. secondly, you could also create ArrayListString() and insert the values. hope the above solutions works. Regards, Mukesh. On Wed, Nov 14, 2012 at

Re: [android-developers] inefficient garbage with large heap = true

2012-11-14 Thread Mukesh Srivastav
is that your application deals with any Images , if yes, try to use the method, Bitmap.recycle(). Mukesh On Sat, Nov 10, 2012 at 11:28 PM, elihan elisabeth.han...@tykomz.comwrote: I have an app with large heap set, running on a galaxy S3 GT-I9300, with android version 4.1.1 The app needs to

Re: [android-developers] Need Advice in Syncing Data From Android Device to SQL-Server Database

2012-11-14 Thread Mukesh Srivastav
Hi There, Are you taking about the Sync with Between Android Device to the Local DB which sits on your computer through the USB ? if yes, did you write any windows Services which check that Android device is connected and then read the applicaton localdb and upload the same in the Local machine

Re: [android-developers] Re: Re : onclick button

2012-01-24 Thread Mukesh Srivastav
Please Paste your Logs here so that it will be easy to understand your issue. secondly check the activity is declared in the AndroidManifest file. Third, instead of calling the activity directly , have a console message see whether it appears on the loglist. -- Warm Regards, *Mukesh Kumar*,

Re: [android-developers] Re: Another free lunch tomorrow for SF devs, from Flurry

2012-01-24 Thread Mukesh Srivastav
Out of Android Development topic. Mate, find a different forum. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Jan 25, 2012 at 9:05 AM, John Coryat cor...@gmail.com wrote: There's no such thing as a free lunch! -- You received this message because

Re: [android-developers] help on uploading image to server

2012-01-24 Thread Mukesh Srivastav
Why not use a direct apache FTP Client. I am able to upload the files with the FTPClient. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderaba On Wed, Jan 25, 2012 at 12:15 PM, Ratheesh Valamchuzhy android...@gmail.com wrote: In multiaprt http pst you need to pass the

Re: [android-developers] Unable to open my own apk

2012-01-23 Thread Mukesh Srivastav
Hi There, Please follow the below steps to find out the version of your phone. 1.Go to Settings 2. Scroll down till the end of the Settings, there you will find 'About phone'-- TAP That 'About Phone' There you will find the Android Version. check it and build the apk according to that

Re: [android-developers] Re: How can use node.js in android

2012-01-23 Thread Mukesh Srivastav
Instead of using Android native SDK, you need to switch to PhoneGap for Android that helps. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Jan 24, 2012 at 8:15 AM, Kristopher Micinski krismicin...@gmail.com wrote: Right, which is why I point out that,

Re: [android-developers] Re: getApplicationContext() returns null?

2012-01-23 Thread Mukesh Srivastav
Why not create a parentcontext and use this context for calling getApplicationcontext(). like Context parentcontext; parentcontext = this; //must be the contrustor, pass the calling context here. and try using parentcontext.getApplicationcontext(); -- Warm Regards, *Mukesh Kumar*, Android

Re: [android-developers] Re: DevicePolicyManager LockNow problem

2012-01-20 Thread Mukesh Srivastav
Excatly Mr.Ashiq, I did that, i am able to have the complete control like a. lock the screen. b. password change event c. wrong pass-- i am doing it for trace the mobile. d.password success, a customize screen with widget into that. Regards, Mukesh On Fri, Jan 20, 2012 at 12:05 PM, ashiq

Re: [android-developers] Problem in listview with images in it

2012-01-20 Thread Mukesh Srivastav
Pleae check with the lazyload apps. secondly you need to store or cache the downloaded images so that next time it should read it from the cache not again from the server. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Jan 17, 2012 at 3:56 PM, ravi

Re: [android-developers] Voip issue

2012-01-20 Thread Mukesh Srivastav
I had succefully done the voip app on sip protocol. I had make use of PJSIP open source and i had tested on g729 codec as well. here is the link. http://code.google.com/p/csipsimple/ -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Jan 19, 2012 at

Re: [android-developers] Re: DevicePolicyManager LockNow problem

2012-01-20 Thread Mukesh Srivastav
@Albnok, I had tried decompiling the required library and had spend lots of time, but not succeeded. I Love to hear if some one is doing this. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Jan 20, 2012 at 2:10 PM, albnok alb...@gmail.com wrote: Well

Re: [android-developers] Android Screen lock

2012-01-18 Thread Mukesh Srivastav
I have done this app. if user enters the wrong password, I am able to send an SMS without user notification. You will have to make use of DeviceAdminReceiver api/class. Regards, Mukesh On Thu, Jan 19, 2012 at 10:26 AM, chander mohan.c...@gmail.com wrote: hi all, I am making an application

Re: [android-developers] Android Screen lock

2012-01-18 Thread Mukesh Srivastav
Great. -Mukesh On Thu, Jan 19, 2012 at 12:39 PM, Chander mourya mohan.c...@gmail.comwrote: Thanks a lot mukesh, i will try this for my app too. On 1/19/12, Mukesh Srivastav mukicha...@gmail.com wrote: I have done this app. if user enters the wrong password, I am able to send an SMS

Re: [android-developers] Suggestion for best practice-pattern

2012-01-16 Thread Mukesh Srivastav
How are you planning to get, if it is html you will need to render the html page in Webview to show the details. 2. you can also go with a simple webservice method which send you the data, you parse it and show it in a customize way. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer,

Re: [android-developers] How to put one or more layouts on same position

2012-01-16 Thread Mukesh Srivastav
why this approach, secondly if you go with approach, i am sure you might wants to hid the layout in run time and display which is required. can you elborate in more details. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Sun, Jan 15, 2012 at 10:49 AM, vivek

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

2012-01-10 Thread Mukesh Srivastav
...@gmail.com wrote: Mukesh , Pls give me the answer .. its bit urgent On Tue, Jan 10, 2012 at 12:18 PM, venu reddy venu.andr...@gmail.comwrote: Ok oK how can I ,,, Previous it was working right How can i install can u tel me please On Tue, Jan 10, 2012 at 11:52 AM, Mukesh

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

2012-01-10 Thread Mukesh Srivastav
Instead of starting the service on onCreate(), you need to do the following things. 1. start the service onPause. 2. check if service is not started. -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Jan 10, 2012 at 2:03 PM, srihari babu

Re: [android-developers] Lack of clarity in image

2012-01-10 Thread Mukesh Srivastav
Make sure, you pass all the required parameters, below is the Imageview which i have used it after selecting an image from the album. ImageView android:id=@+id/iv_photo android:layout_marginTop=5dp android:layout_marginBottom=5dp android:layout_marginLeft=2dp android:layout_marginRight=2dp

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

2012-01-10 Thread Mukesh Srivastav
, Jan 10, 2012 at 3:07 PM, venu reddy venu.andr...@gmail.comwrote: OK I understood mukesh... But I developed my own customized barcode applciation using ZXING api... No need to install the ZXING Barcode application in my device... On Tue, Jan 10, 2012 at 1:30 PM, Mukesh Srivastav mukicha

Re: [android-developers] Re: webservice response parsed data

2012-01-10 Thread Mukesh Srivastav
OMG, Arun, where are you setting the last parameter of the list.do you see the below example which i have shown in bold letters. ListAdapter adapter = new ArrayAdapterString(this, android.R.layout.simple_list_item_multiple_choice,*list*); The above list should be filled by your xml parser. hope

Re: [android-developers] Android File transfer / sharing APIs

2012-01-10 Thread Mukesh Srivastav
Hi San, Can you answer below of the questions. 1. What type of file transfer you are looking for , i mean client server or Direct Android client, if it is Direct Android client, you can use FTPClient class. 2.File sharing: Facebook and Twitter api's are already there you can make use of it. 3.

Re: [android-developers] Re: webservice response parsed data

2012-01-10 Thread Mukesh Srivastav
error... The constructor ArrayAdapterString(Year, int, int, ArrayListItemStructure) is undefined On Tue, Jan 10, 2012 at 3:38 PM, Mukesh Srivastav mukicha...@gmail.comwrote: OMG, Arun, where are you setting the last parameter of the list.do you see the below example which i have shown

Re: [android-developers] Re: Looking for a helping hand

2012-01-10 Thread Mukesh Srivastav
Do the following. 1. open the AndroidManifest.xml, 2. Application Tab of AndroidManifest.xml 3. in the Application nodes , you see the .ElectronicSafelocks 4.Select that file, and Next to that or right hand side you will see Name* with a Browse button. 5. click the Browse button of Name*

Re: [android-developers] List View with Check box multiselection

2012-01-10 Thread Mukesh Srivastav
Hi Chander, I wish if i could help with the whole source. The problem is the design. let me tell you the real approach. 1. create a model class which holds the data that is name and checkbox with setters and getters. below is the example /** Holds Music data. */ private static class Music {

Re: [android-developers] Getting com.google.zxing.NotFoundException problem?

2012-01-10 Thread Mukesh Srivastav
Venu, why do you want to re-invent the things which are already there. too much of time and resource consuming.. When use clicks on Barcode button, see whether the barcode is installed or not, if it not, guide the user to the Android market to download and use it. as simple as that. you can

Re: [android-developers] Store XML file into the Resource folder

2012-01-09 Thread Mukesh Srivastav
OMG, you guys need to use AssetManager class, that might help. On Mon, Jan 9, 2012 at 2:53 PM, skink psk...@gmail.com wrote: venu reddy wrote: Thankq for your quick response..but Not working, AM using below code in android applciation... FileOutputStream fOut =

Re: [android-developers] Store XML file into the Resource folder

2012-01-09 Thread Mukesh Srivastav
@PSKink: if you planned to use the ExternalStorage or InternalStorage would returns the url path of the SDCard or the phone internal space respectively. but as per my understanding, The user (who posted Venu), wants to save the xml with in Application, like we the way we create the customize

Re: [android-developers] how to read dynamically generated XML file?

2012-01-09 Thread Mukesh Srivastav
Venu are you saying that, you do know the 'Node list' or XML Tags and you wanted to read it dynamically, isnt ? Secondly, how do you design your application class or Data object for model ? On Mon, Jan 9, 2012 at 7:08 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jan 9, 2012 at

Re: [android-developers] how to read dynamically generated XML file?

2012-01-09 Thread Mukesh Srivastav
); but that xml file in file format ... how Can i this file i dont know ..pls help this... On Mon, Jan 9, 2012 at 7:15 PM, Mukesh Srivastav mukicha...@gmail.comwrote: Venu are you saying that, you do know the 'Node list' or XML Tags and you wanted to read it dynamically, isnt ? Secondly, how do

Re: [android-developers] List View multiselection problem

2012-01-09 Thread Mukesh Srivastav
Mohan, I have done this before, where i am reading all the music files in SDCard and able to show it in Listview with checkbox. Please follow the below points which will help you in resolving. 1. Create a class which extends the ArrayAdapter 2.In the getView method of the Adapterclass have the

  1   2   >