[android-developers] Message Bubble 9 patch Image

2012-05-02 Thread Ankit Kasliwal
Hello,
 Is any Have Message ( patch Image Please send me.

Thanks!!!

-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Chat Application In android

2012-05-02 Thread Ankit Kasliwal
Thanks but i try this code it's not help me out.

On Wed, May 2, 2012 at 1:04 AM, deb-account  wrote:

> On 02/05/12 09:19, Ankit Kasliwal wrote:
> > Hello Everyone,
> > Is any Help me to create A chat application in
> > android,
> Did you read this ?
> http://developer.android.com/resources/browser.html?tag=sample
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Chat Application In android

2012-05-02 Thread Ankit Kasliwal
Hello Everyone,
Is any Help me to create A chat application in
android,
i want to create a one to one Chat application with server base.

Eg.
  one user send message to other user
and other user reply that message

so what logic i put here and for that what server code i need.


-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Sending GPS coordinates to a server

2012-03-28 Thread Ankit Kasliwal
ok,
First your create your Tracking Application with the use of Location
Manager (Try to search over Google) many application there. in that
application you found onchage method
there you call your webservice or handler file using "CustomHttpClient"

On Thu, Mar 29, 2012 at 11:20 AM, I-Sheng Lin  wrote:

> I like this topic...
>
>
> On Thu, Mar 29, 2012 at 1:43 PM, Bhuvan Chandra  > wrote:
>
>> Actually i come from a science background and iam not an android
>> developer , i was trying to develop an application for the sake of my
>> project - Vehicle tracking using a mobile, I would be very thankful to u if
>> u could explain to me in simple terms how to do it, I couldnt understand
>> what u have mentioned earlier
>>
>>
>> On Wed, Mar 28, 2012 at 10:39 PM, Ankit Kasliwal <
>> kasliwalankit2...@gmail.com> wrote:
>>
>>> Hello,
>>> First you create Handler file or Web service which store
>>> data over server and then
>>> call that file through your Android application on Location onchange
>>> function to pass all the values to file.
>>>
>>>
>>> On Thu, Mar 29, 2012 at 11:04 AM, Bhuvan Chandra <
>>> bhuvanchandr...@gmail.com> wrote:
>>>
>>>> By sending the coordinates to a server I mean once u recieve the
>>>> position coordinates of the location they have to be transmitted to a
>>>> server(By server i mean our college server , The server which is used in
>>>> our college and which iam working on) so that the coordinates can be
>>>> accessed from the server and overlayed on a map from tracking the vehicle.
>>>> Can anybody give me an idea about how to code a program so that i could
>>>> recieve the coordinates of the location and directly transmit them to the
>>>> server i mentioned above
>>>>
>>>> On Mon, Mar 26, 2012 at 12:41 AM, Ali Chousein 
>>>> wrote:
>>>>
>>>>> > recieve the Location coordiantes
>>>>>
>>>>> http://stackoverflow.com/questions/1513485/how-do-i-get-the-current-gps-location-programmatically-in-android
>>>>> (The guidance provided by CommonsWare is simply excellent)
>>>>>
>>>>> > send them directly to a server
>>>>> This depends what type of interface you have at the server side.
>>>>> Without knowing the server side interface, no one can tell you how to
>>>>> communicate with it from an Android platform. First you need to
>>>>> clarify your server side architecture, a question which is not
>>>>> directly related to Android SDK. If the server you should send data is
>>>>> already there, contact the responsible people to find out its
>>>>> interface. If you should develop the server also, I guess you need to
>>>>> research the best practices for server side architectures to decide
>>>>> which one fits best your scenario.
>>>>>
>>>>> -
>>>>> Ali Chousein
>>>>> http://socialnav.blogspot.com | http://twitter.com/socialnav1
>>>>> http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
>>>>> http://www.codeproject.com/KB/android/PayGol-Android.aspx
>>>>> http://geo-filtered-assistant.blogspot.com
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Android Developers" group.
>>>>> To post to this group, send email to
>>>>> android-developers@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> android-developers+unsubscr...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>>
>>>>
>>>>  --
>>>> 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 options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Thanks and Regards,
>>>
>>&g

Re: [android-developers] Re: Sending GPS coordinates to a server

2012-03-28 Thread Ankit Kasliwal
Hello,
First you create Handler file or Web service which store data
over server and then
call that file through your Android application on Location onchange
function to pass all the values to file.

On Thu, Mar 29, 2012 at 11:04 AM, Bhuvan Chandra
wrote:

> By sending the coordinates to a server I mean once u recieve the position
> coordinates of the location they have to be transmitted to a server(By
> server i mean our college server , The server which is used in our college
> and which iam working on) so that the coordinates can be accessed from the
> server and overlayed on a map from tracking the vehicle. Can anybody give
> me an idea about how to code a program so that i could recieve the
> coordinates of the location and directly transmit them to the server i
> mentioned above
>
> On Mon, Mar 26, 2012 at 12:41 AM, Ali Chousein wrote:
>
>> > recieve the Location coordiantes
>>
>> http://stackoverflow.com/questions/1513485/how-do-i-get-the-current-gps-location-programmatically-in-android
>> (The guidance provided by CommonsWare is simply excellent)
>>
>> > send them directly to a server
>> This depends what type of interface you have at the server side.
>> Without knowing the server side interface, no one can tell you how to
>> communicate with it from an Android platform. First you need to
>> clarify your server side architecture, a question which is not
>> directly related to Android SDK. If the server you should send data is
>> already there, contact the responsible people to find out its
>> interface. If you should develop the server also, I guess you need to
>> research the best practices for server side architectures to decide
>> which one fits best your scenario.
>>
>> -
>> Ali Chousein
>> http://socialnav.blogspot.com | http://twitter.com/socialnav1
>> http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
>> http://www.codeproject.com/KB/android/PayGol-Android.aspx
>> http://geo-filtered-assistant.blogspot.com
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How I disable GPS when i exit Application

2012-03-28 Thread Ankit Kasliwal
so can you tell me the process

On Wed, Mar 28, 2012 at 2:25 PM, Johan Appelgren
wrote:

> It is still the wrong thing to do. Just because the API allows you to do
> something wrong doesn't mean you have to do it.
>
>
> On Wednesday, March 28, 2012 10:41:04 AM UTC+2, Ankit Kasliwal wrote:
>
>> Johan i use that command the it's working properly.
>>
>> On Wed, Mar 28, 2012 at 12:39 PM, Johan Appelgren wrote:
>>
>>> Afaik you should never use android.os.Process.**killPro**cess or
>>> ActivityManager.**killBackgroundProcesses.
>>>
>>>
>>> On Wednesday, March 28, 2012 7:50:40 AM UTC+2, Ankit Kasliwal wrote:
>>>>
>>>> Hello,
>>>>  I have problem in my application when i press exit i try to
>>>> close all my activity but GPS running so how i disable GPS status and close
>>>> my application (because when i go to Application manager it's show mw my
>>>> application running and force close button enable)
>>>>
>>>> my code to close all activity are..
>>>>
>>>>
>>>> android.os.Process.**killProcess**(android.os.**Process.myPid());
>>>> System.exit(0);
>>>>
>>>> killThisPackageIfRunning(**HomeP**age.this,getApplication()**.**
>>>> getPackageName());
>>>> finish();
>>>>
>>>> public static void killThisPackageIfRunning(final Context context,
>>>> String packageName){
>>>> ActivityManager activityManager = (ActivityManager)context.**
>>>> getSy**stemService(Context.**ACTIVITY_**SERVICE);
>>>> activityManager.**killBackground**Processes(**packageName);
>>>> }
>>>>
>>>>  --
>>> 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 options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>
>>
>>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How I disable GPS when i exit Application

2012-03-28 Thread Ankit Kasliwal
Johan i use that command the it's working properly.

On Wed, Mar 28, 2012 at 12:39 PM, Johan Appelgren  wrote:

> Afaik you should never use android.os.Process.**killProcess or
> ActivityManager.killBackgroundProcesses.
>
>
> On Wednesday, March 28, 2012 7:50:40 AM UTC+2, Ankit Kasliwal wrote:
>>
>> Hello,
>>  I have problem in my application when i press exit i try to
>> close all my activity but GPS running so how i disable GPS status and close
>> my application (because when i go to Application manager it's show mw my
>> application running and force close button enable)
>>
>> my code to close all activity are..
>>
>>
>> android.os.Process.**killProcess(android.os.**Process.myPid());
>> System.exit(0);
>>
>> killThisPackageIfRunning(**HomePage.this,getApplication()**
>> .getPackageName());
>> finish();
>>
>> public static void killThisPackageIfRunning(final Context context, String
>> packageName){
>> ActivityManager activityManager = (ActivityManager)context.**
>> getSystemService(Context.**ACTIVITY_SERVICE);
>> activityManager.**killBackgroundProcesses(**packageName);
>> }
>>
>>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How I disable GPS when i exit Application

2012-03-28 Thread Ankit Kasliwal
thanks!!

On Wed, Mar 28, 2012 at 11:31 AM, Farhan Tariq  wrote:

> If you are calling location updates from gps in your activity, you can
> stop listening to location updates on onPause() method. In onResume(), you
> can start listening to it back again.
>
> If you are requesting location updates from a service, you should stop the
> service in the onPause() method of the activity, and handle it accordingly
> in onResume.
>
> On Wed, Mar 28, 2012 at 10:50 AM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> Hello,
>>  I have problem in my application when i press exit i try to
>> close all my activity but GPS running so how i disable GPS status and close
>> my application (because when i go to Application manager it's show mw my
>> application running and force close button enable)
>>
>> my code to close all activity are..
>>
>>
>> android.os.Process.killProcess(android.os.Process.myPid());
>> System.exit(0);
>>
>> killThisPackageIfRunning(HomePage.this,getApplication().getPackageName());
>> finish();
>>
>> public static void killThisPackageIfRunning(final Context context, String
>> packageName){
>> ActivityManager activityManager =
>> (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE);
>> activityManager.killBackgroundProcesses(packageName);
>> }
>>
>>
>>
>>
>>
>> --
>>
>> Thanks and Regards,
>>
>> Ankit Kasliwal
>> kasliwalankit2...@gmail.com
>> +91-9300-940-136
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How I disable GPS when i exit Application

2012-03-27 Thread Ankit Kasliwal
Hello,
 I have problem in my application when i press exit i try to close
all my activity but GPS running so how i disable GPS status and close my
application (because when i go to Application manager it's show mw my
application running and force close button enable)

my code to close all activity are..


android.os.Process.killProcess(android.os.Process.myPid());
System.exit(0);

killThisPackageIfRunning(HomePage.this,getApplication().getPackageName());
finish();

public static void killThisPackageIfRunning(final Context context, String
packageName){
ActivityManager activityManager =
(ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE);
activityManager.killBackgroundProcesses(packageName);
}





-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How i Use Google Map in Offline Mode

2012-03-13 Thread Ankit Kasliwal
Thanks Mark,
  If we use OSM map for offline map it give us map file but it's show only
main points not showing all location. so any other option

On Tue, Mar 13, 2012 at 5:26 AM, Mark Murphy wrote:

> The Google Maps add-on for Android does not support offline use.
>
> On Tue, Mar 13, 2012 at 8:46 AM, Ankit Kasliwal
>  wrote:
> > No one know about Offline Map Use.
> >
> > On Mon, Mar 12, 2012 at 10:46 PM, Ankit Kasliwal
> >  wrote:
> >>
> >> Hello Everyone,
> >> I am trying to use Google map in offline mode,
> >>  i am try OSM map for this but it's only show main area names on map i
> >> need some detail Map file.so please any  any one suggest me how i get
> detail
> >> map file for my android application.
> >>
> >> Thanks in Advance.
> >>
> >> --
> >>
> >> Thanks and Regards,
> >>
> >> Ankit Kasliwal
> >> kasliwalankit2...@gmail.com
> >> +91-9300-940-136
> >
> >
> >
> >
> > --
> >
> > Thanks and Regards,
> >
> > Ankit Kasliwal
> > kasliwalankit2...@gmail.com
> > +91-9300-940-136
> >
> > --
> > 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 options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training...At Your Office: http://commonsware.com/training
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How i Use Google Map in Offline Mode

2012-03-13 Thread Ankit Kasliwal
No one know about Offline Map Use.

On Mon, Mar 12, 2012 at 10:46 PM, Ankit Kasliwal <
kasliwalankit2...@gmail.com> wrote:

> Hello Everyone,
> I am trying to use Google map in offline mode,
>  i am try OSM map for this but it's only show main area names on map i
> need some detail Map file.so please any  any one suggest me how i get
> detail map file for my android application.
>
> Thanks in Advance.
>
> --
>
> Thanks and Regards,
>
> Ankit Kasliwal
> kasliwalankit2...@gmail.com
> +91-9300-940-136
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How i Use Google Map in Offline Mode

2012-03-12 Thread Ankit Kasliwal
Hello Everyone,
I am trying to use Google map in offline mode,
 i am try OSM map for this but it's only show main area names on map i need
some detail Map file.so please any  any one suggest me how i get detail map
file for my android application.

Thanks in Advance.

-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] plz help close application

2012-01-10 Thread Ankit Kasliwal
just put
android.os.Process.killProcess(android.os.Process.myPid());
to close all activity related with your appliction

On Tue, Jan 10, 2012 at 4:19 AM, Mark Murphy wrote:

> On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia 
> wrote:
> > how can we close app/activity?
>
> Your activity can "close" itself by calling finish().
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Reading Text Written on Image

2011-12-14 Thread Ankit Kasliwal
Ok, Thanks for reply

On Wed, Dec 14, 2011 at 3:41 PM, Droid  wrote:

> I don't think this is easy at present. Its not just a library needed
> but rather a neural network character recogniser.
> AFAIK one is being developed but not ready for java Android at this
> time (Dec 2011). But its not so trivial as including
> a library and may need JNI.
>
> Just my take - maybe there IS such a library....
>
> On Dec 14, 9:50 am, Ankit Kasliwal 
> wrote:
> > Hello Friends,
> > i am trying to read text which written on image so
> can
> > any one tell me
> > what is the best open source Java library that I can
> > use to extract text
> > from an image (JPEG, PNG) files?
> >
> > --
> >
> > Thanks and Regards,
> >
> > Ankit Kasliwal
> > kasliwalankit2...@gmail.com
> > +91-9300-940-136
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Reading Text Written on Image

2011-12-14 Thread Ankit Kasliwal
Hello Friends,
i am trying to read text which written on image so can
any one tell me
what is the best open source Java library that I can
use to extract text
from an image (JPEG, PNG) files?

-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] excel file in android

2011-09-27 Thread Ankit Kasliwal
yes it's possible to create CSV file you just do google and find many demo
codes.

On Tue, Sep 27, 2011 at 5:08 PM, leigh8347  wrote:

> Is it possible to create a last view form an excel file?
> Or any ideas how it is done
>
> many thanks
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to create Excel/Spread Sheet Programmatically in Android

2011-09-06 Thread Ankit Kasliwal
hi srihari babu

just use this code with some changes

private void ExportCSV()
 {
 String columnString = "",dataString = "",combinedString = "";
 columnString =   "\"Name \",\"Age\",\"Date\",\"Class\"";
 combinedString = columnString;

 try
 {
 out.write(combinedString.getBytes());
 }
 catch (IOException e)
 {
e.printStackTrace();
 }

 for (int i = 0; i < nodes.getLength(); i++)
{

  Element element = (Element)nodes.item(i);
  dataString   =   "\"" + XMLfunctions.getValue(element, "Name")
+"\",\"" + XMLfunctions.getValue(element, "Age") + "\",\"" +
XMLfunctions.getValue(element, "Date") + "\",\"" +
XMLfunctions.getValue(element, "Class")  + "\"";
  combinedString =  "\n" + dataString;
  try
 {
out.write(combinedString.getBytes());
 }
  catch (IOException e)
 {
e.printStackTrace();
 }
}
 try
 {
out.close();
 }
 catch (IOException e)
 {
e.printStackTrace();
 }
}

and try to search on google you find lots of demo source code

On Tue, Sep 6, 2011 at 8:04 PM, srihari babu wrote:

> Hi pranay,
> xls docs means nothing but a comma separated file.
> just write some thing in to text file with some commas.
> that will give u an excel file.
> bye
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Live video streaming over website

2011-08-23 Thread Ankit Kasliwal
Hello Everyone,
Can any one tell me it's possible to do live video streaming from android
phone to over web (For ex. i have web site where i put some link like link1,
link2 and other on click of any link it open my live cam if i open my phone
camera for video receding )

In short I want to show my phone camera video over my web site.

Thanks in advance!!!


-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
ok mark thanks!!!

On Thu, Jul 21, 2011 at 5:38 PM, Mark Murphy wrote:

> On Thu, Jul 21, 2011 at 8:05 AM, Ankit Kasliwal
>  wrote:
> > Sorry Mark i mean to say that i don't have user name and password
> > of client FTP so is any way to upload file over FTP without asking
> > user name and password.
>
> Usually, you need an FTP username and password to perform an FTP
> upload. If the user is the only one who knows the username and
> password, you have to ask the user for the username and password, by
> definition.
>
> I repeat, this has nothing to do with Android.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
Sorry Mark i mean to say that i don't have user name and password
of client FTP so is any way to upload file over FTP without asking
user name and password.


On Thu, Jul 21, 2011 at 5:13 PM, Mark Murphy wrote:

> On Thu, Jul 21, 2011 at 7:40 AM, Ankit Kasliwal
>  wrote:
> > i have no username and password so how i upload fiile.
>
> Get an account on the FTP server.
>
> This has nothing to do with Android.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
i have no username and password so how i upload fiile.

On Thu, Jul 21, 2011 at 4:59 PM, Raghav Sood  wrote:

> Maybe you should visit http://www.google.com and type your query once in a
> while:
>
> http://hoang17.com/posts/android/android-how-to-upload-a-file-via-ftp
>
>
>
> On Thu, Jul 21, 2011 at 4:40 PM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> Hello Everyone is any way to upload Audio file which i record through
>> Application
>> uploaded over My FTP server Folder.
>>
>> --
>>
>> Thanks and Regards,
>>
>> Ankit Kasliwal
>> kasliwalankit2...@gmail.com
>> +91-9300-940-136
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Raghav Sood
> http://www.raghavsood.com/
> http://wiki.androidappcheck.com/
> http://www.telstop.tel/
> https://market.android.com/developer?pub=Raghav+Sood
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Upload Audio File over Server

2011-07-21 Thread Ankit Kasliwal
Hello Everyone is any way to upload Audio file which i record through
Application
uploaded over My FTP server Folder.

-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Camera Issue

2011-07-20 Thread Ankit Kasliwal
Hi

i got two error

Error :-  *native_jpeg_encode: jpeg_encoder_encode failed.*
2. *jpeg encoding failed

though i face this error because i m not give proper picture size if you
look my code i set **picture  **size (100,100)


*
On Wed, Jul 20, 2011 at 3:56 PM, gjs  wrote:

> Hi,
>
> Provide console log of errors.
>
> Regards
>
> On Jul 20, 3:32 pm, Ankit Kasliwal 
> wrote:
> > No Solution?
> >
> > On Wed, Jul 20, 2011 at 10:15 AM, Ankit Kasliwal <
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > kasliwalankit2...@gmail.com> wrote:
> > > Hello Everyone,
> > >I have two problem in my camera Application
> please
> > > anyone help me to solve this issue.
> >
> > >  Error :-  *native_jpeg_encode: jpeg_encoder_encode failed.*
> > > 2. *jpeg encoding failed*
> > > Please any one help me
> > > Thanks !!!
> >
> > > *My Code is here:- *
> >
> > > package com.info.police;
> >
> > > import java.text.SimpleDateFormat;
> > > import java.util.Calendar;
> >
> > > import android.app.Activity;
> > > import android.content.Context;
> > > import android.content.Intent;
> > > import android.graphics.ColorMatrix;
> > > import android.graphics.
> > > ColorMatrixColorFilter;
> > > import android.graphics.Paint;
> > > import android.graphics.PixelFormat;
> > > import android.hardware.Camera;
> > > import android.location.Location;
> > > import android.location.LocationListener;
> > > import android.location.LocationManager;
> > > import android.os.Bundle;
> > > import android.util.Log;
> > > import android.view.MotionEvent;
> > > import android.view.SurfaceHolder;
> > > import android.view.SurfaceView;
> > > import android.view.View;
> > > import android.view.Window;
> > > import android.view.WindowManager;
> > > import android.widget.Button;
> >
> > > public class TakePic extends Activity implements LocationListener {
> >
> > > private static final String TAG = "Camera";
> > > Camera camera;
> > > private SurfaceHolder previewHolder=null;
> > > private Camera mCamera=null;
> > > private SurfaceView preview=null;
> > > Button buttonClick , btnNew;
> > > LocationManager locationManager;
> > > double lat , lag;
> > > String dateNow,extStorageDirectory,ImgName,Path;
> > > public static final int LARGEST_WIDTH = 200;
> > > public static final int LARGEST_HEIGHT= 200;
> > > String PImgString ;
> >
> > > @Override
> > > protected void onCreate(Bundle savedInstanceState) {
> >
> > > super.onCreate(savedInstanceState);
> > > // Hide the window title.
> > > requestWindowFeature(Window.FEATURE_NO_TITLE);
> > >
> getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
> > > setContentView(R.layout.cameralayout);
> > > preview=(SurfaceView)findViewById(R.id.preview);
> > > previewHolder=preview.getHolder();
> > > previewHolder.addCallback(surfaceCallback);
> > > previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
> > > Initialise();
> > > btnNew.setEnabled(false);
> > > buttonClick.setOnClickListener(new BtnClickListener());
> > > btnNew.setOnClickListener(new BtnNewClick());
> > > Log.d(TAG, "onCreate'd");
> > > setTitle("Tack Image");
> > > }
> >
> > > @Override
> > > public boolean dispatchTouchEvent(MotionEvent ev) {
> > > //-- When we touch the screen, it will auto-focus again
> > > if(mCamera != null)
> > > {
> > > mCamera.autoFocus(new Camera.AutoFocusCallback(){
> > > public void onAutoFocus(boolean success, Cameracamera)
> > > {
> >
> > > }
> > > } );
> > > }
> > > return super.dispatchTouchEvent(ev);
> > > }
> >
> > > private void Initialise()
> > > {
> > > buttonClick = (Button) findViewById(R.id.buttonClick);
> > > btnNew  = (Button) findViewById(R.id.btnNew);
> > > locationManager = (LocationM

[android-developers] Re: Camera Issue

2011-07-19 Thread Ankit Kasliwal
No Solution?

On Wed, Jul 20, 2011 at 10:15 AM, Ankit Kasliwal <
kasliwalankit2...@gmail.com> wrote:

> Hello Everyone,
>I have two problem in my camera Application please
> anyone help me to solve this issue.
>
>  Error :-  *native_jpeg_encode: jpeg_encoder_encode failed.*
> 2. *jpeg encoding failed*
> Please any one help me
> Thanks !!!
>
> *My Code is here:- *
>
> package com.info.police;
>
> import java.text.SimpleDateFormat;
> import java.util.Calendar;
>
> import android.app.Activity;
> import android.content.Context;
> import android.content.Intent;
> import android.graphics.ColorMatrix;
> import android.graphics.
> ColorMatrixColorFilter;
> import android.graphics.Paint;
> import android.graphics.PixelFormat;
> import android.hardware.Camera;
> import android.location.Location;
> import android.location.LocationListener;
> import android.location.LocationManager;
> import android.os.Bundle;
> import android.util.Log;
> import android.view.MotionEvent;
> import android.view.SurfaceHolder;
> import android.view.SurfaceView;
> import android.view.View;
> import android.view.Window;
> import android.view.WindowManager;
> import android.widget.Button;
>
> public class TakePic extends Activity implements LocationListener {
>
> private static final String TAG = "Camera";
> Camera camera;
> private SurfaceHolder previewHolder=null;
> private Camera mCamera=null;
> private SurfaceView preview=null;
> Button buttonClick , btnNew;
> LocationManager locationManager;
> double lat , lag;
> String dateNow,extStorageDirectory,ImgName,Path;
> public static final int LARGEST_WIDTH = 200;
> public static final int LARGEST_HEIGHT= 200;
> String PImgString ;
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
>
> super.onCreate(savedInstanceState);
> // Hide the window title.
> requestWindowFeature(Window.FEATURE_NO_TITLE);
> getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
> setContentView(R.layout.cameralayout);
> preview=(SurfaceView)findViewById(R.id.preview);
> previewHolder=preview.getHolder();
> previewHolder.addCallback(surfaceCallback);
> previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
> Initialise();
> btnNew.setEnabled(false);
> buttonClick.setOnClickListener(new BtnClickListener());
> btnNew.setOnClickListener(new BtnNewClick());
> Log.d(TAG, "onCreate'd");
> setTitle("Tack Image");
> }
>
>
> @Override
> public boolean dispatchTouchEvent(MotionEvent ev) {
> //-- When we touch the screen, it will auto-focus again
> if(mCamera != null)
> {
> mCamera.autoFocus(new Camera.AutoFocusCallback(){
> public void onAutoFocus(boolean success, Cameracamera)
> {
>
> }
> } );
> }
> return super.dispatchTouchEvent(ev);
> }
>
> private void Initialise()
> {
> buttonClick = (Button) findViewById(R.id.buttonClick);
> btnNew  = (Button) findViewById(R.id.btnNew);
> locationManager = (LocationManager)
> getSystemService(Context.LOCATION_SERVICE);
> }
>
> class BtnClickListener implements View.OnClickListener{
>
> public void onClick(View v) {
> try {
> takePicture();
> } catch (InterruptedException e) {
> // TODO Auto-generated catch block
> e.printStackTrace();
> }
> buttonClick.setEnabled(false);
> btnNew.setEnabled(true);
> }
> }
>
> private void takePicture() throws InterruptedException {
> mCamera.takePicture(null, null, photoCallback);
> Thread.sleep(3000);
>
> }
>
> SurfaceHolder.Callback surfaceCallback=new SurfaceHolder.Callback() {
>
>
> public void surfaceCreated(SurfaceHolder holder)
> {
> mCamera=Camera.open();
> try
> {
> mCamera.setPreviewDisplay(previewHolder);
> mCamera.setOneShotPreviewCallback(null);
> ColorMatrix cm = new ColorMatrix();
> cm.setSaturation(.5f);
> //paint.setColorFilter(new ColorMatrixColorFilter(cm));
>
> }
> catch (Throwable t)
> {
> //Log.e("PictureDemo-surfaceCallback","Exception
> 

[android-developers] Camera Issue

2011-07-19 Thread Ankit Kasliwal
.startPreview();



//-- Must add the following callback to allow the camera
toautofocus.
mCamera.autoFocus(new Camera.AutoFocusCallback(){
public void onAutoFocus(boolean success, Camera camera)
{
}

} );
}

public void surfaceDestroyed(SurfaceHolder holder) {
if(mCamera != null){
mCamera.stopPreview();
mCamera.release();
mCamera=null;
}
}
};

Camera.PictureCallback photoCallback=new Camera.PictureCallback() {
public void onPictureTaken(byte[] data, Camera camera) {


ImgName = String.format("%d.jpg", System.currentTimeMillis());
//FileOutputStream outStream = null;
try {
byte[] imgBtye = data;
ColorMatrix cm = new ColorMatrix();
float contrast = 2;
float brightness = 0;
cm.set(new float[] { contrast, 0, 0, 0, brightness,0,
contrast, 0, 0, brightness,0, 0, contrast, 0, brightness,0, 0, 0,
contrast, 0 });
Paint paint = new Paint();
cm.setSaturation(2f);
paint.setColorFilter(new ColorMatrixColorFilter(cm));

//Log.d(TAG, "onPictureTaken - wrote bytes: " +
imgBtye.toString());

GetLocationService();

Intent i = new Intent(TakePic.this, AddDetail.class);
PImgString = new String(imgBtye);
i.putExtra("ImgString", PImgString);
   i.putExtra("Pimg", imgBtye);
   i.putExtra("lat", lat);
   i.putExtra("lag", lag);
   i.putExtra("IName", ImgName);
   startActivity(i);
}
finally
{

}
}
};


class BtnNewClick implements View.OnClickListener
{

public void onClick(View v) {

mCamera.startPreview();
buttonClick.setEnabled(true);
btnNew.setEnabled(false);
}

}

public void convertDateToString()
{
Calendar currentDate = Calendar.getInstance();
SimpleDateFormat formatter= new SimpleDateFormat("/MM/dd");
dateNow = formatter.format(currentDate.getTime());
Log.d("Cueernt Date", "Current System Date" + dateNow);
}


private void GetLocationService()
{
locationManager = (LocationManager)
getSystemService(Context.LOCATION_SERVICE);
Location location =
locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
if( location != null ) {

 lat = location.getLatitude();
 lag = location.getLongitude();
 Log.d("Current Location", "Current System Location" + lat + " :
Lag " + lag);
}
else
{
Log.d("Current Location", "No Location Found");
}
}


public void onLocationChanged(Location arg0) {


}


public void onProviderDisabled(String arg0) {


}


public void onProviderEnabled(String provider) {


}


public void onStatusChanged(String provider, int status, Bundle extras)
{


}
}



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Camera Problem in clicking Img

2011-07-19 Thread Ankit Kasliwal
usMode(Camera.Parameters.FOCUS_MODE_AUTO);
/*Not in 1.6*/
//parameters.setJpegQuality(100); /*Not in 1.6*/
mCamera.setParameters(parameters);
mCamera.startPreview();



//-- Must add the following callback to allow the camera
toautofocus.
mCamera.autoFocus(new Camera.AutoFocusCallback(){
public void onAutoFocus(boolean success, Camera camera)
{
}

} );
}

public void surfaceDestroyed(SurfaceHolder holder) {
if(mCamera != null){
mCamera.stopPreview();
mCamera.release();
mCamera=null;
}
}
};

Camera.PictureCallback photoCallback=new Camera.PictureCallback() {
public void onPictureTaken(byte[] data, Camera camera) {


ImgName = String.format("%d.jpg", System.currentTimeMillis());
//FileOutputStream outStream = null;
try {
byte[] imgBtye = data;
ColorMatrix cm = new ColorMatrix();
float contrast = 2;
float brightness = 0;
cm.set(new float[] { contrast, 0, 0, 0, brightness,0,
contrast, 0, 0, brightness,0, 0, contrast, 0, brightness,0, 0, 0,
contrast, 0 });
Paint paint = new Paint();
cm.setSaturation(2f);
paint.setColorFilter(new ColorMatrixColorFilter(cm));

//Log.d(TAG, "onPictureTaken - wrote bytes: " +
imgBtye.toString());

GetLocationService();

Intent i = new Intent(TakePic.this, AddDetail.class);
PImgString = new String(imgBtye);
i.putExtra("ImgString", PImgString);
   i.putExtra("Pimg", imgBtye);
   i.putExtra("lat", lat);
   i.putExtra("lag", lag);
   i.putExtra("IName", ImgName);
   startActivity(i);
}
finally
{

}
}
};


class BtnNewClick implements View.OnClickListener
{

public void onClick(View v) {

mCamera.startPreview();
buttonClick.setEnabled(true);
btnNew.setEnabled(false);
}

}

public void convertDateToString()
{
Calendar currentDate = Calendar.getInstance();
SimpleDateFormat formatter= new SimpleDateFormat("/MM/dd");
dateNow = formatter.format(currentDate.getTime());
Log.d("Cueernt Date", "Current System Date" + dateNow);
}


private void GetLocationService()
{
locationManager = (LocationManager)
getSystemService(Context.LOCATION_SERVICE);
Location location =
locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
if( location != null ) {

 lat = location.getLatitude();
 lag = location.getLongitude();
 Log.d("Current Location", "Current System Location" + lat + " :
Lag " + lag);
}
else
{
Log.d("Current Location", "No Location Found");
}
}


public void onLocationChanged(Location arg0) {


}


public void onProviderDisabled(String arg0) {


}


public void onProviderEnabled(String provider) {


}


public void onStatusChanged(String provider, int status, Bundle extras)
{


}
}

-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How i call Localhost file in application

2011-07-17 Thread Ankit Kasliwal
Hello Everyone,
   I put my Handler file in local server desktop machine
i want to access in application
on the place of  "*response = CustomHttpClient.executeHttpPost("
http://abc.com/hendler/abc.ashx"; , postParameters); *"
to test the application locally and solve issue.


Please any one help me.

Thanks in Advance.

-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] latitude and longitude Problem

2011-07-17 Thread Ankit Kasliwal
Ok Thanks

On Sun, Jul 17, 2011 at 9:57 PM, TreKing  wrote:

> On Sun, Jul 17, 2011 at 7:34 AM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> I just simply wants my current location.in real time like i press some
>> login button and fetch my location
>>
>
> Then wait for an update instead of getting and immediately using the last
> known location.
>
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] latitude and longitude Problem

2011-07-17 Thread Ankit Kasliwal
I just simply wants my current location.in real time like i press some login
button and fetch my location


On Sun, Jul 17, 2011 at 10:49 AM, TreKing  wrote:

> On Sat, Jul 16, 2011 at 2:39 AM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>>  i try the below code but it always  return me same old Address like
>> right now me in city A but it always return me old City B
>>
>
> You're specifically asking for last known location. If that's not what you
> want, don't ask for it.
>
> Also, you're duplicating a ton of code. They're called "functions" ;-)
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Image Issue Please help me

2011-07-16 Thread Ankit Kasliwal
is there is no one which help me in camera issue.

On Fri, Jul 15, 2011 at 4:40 PM, Ankit Kasliwal  wrote:

> Hello Everyone,
>
> Is there anyway to reduce the resolution of picture taken using
> camera? It takes long time to upload the image to server Coz i m converting
> the image in bytes and
> send to server and may be the size of image may be 3 MB.
> Here is my code which i use.
>
>
> SurfaceHolder.Callback surfaceCallback=new SurfaceHolder.Callback() {
>
>
> public void surfaceCreated(SurfaceHolder holder)
> {
> mCamera=Camera.open();
> try
> {
> mCamera.setPreviewDisplay(previewHolder);
> mCamera.setOneShotPreviewCallback(null);
> ColorMatrix cm = new ColorMatrix();
> cm.setSaturation(.5f);
>
>
> //paint.setColorFilter(new ColorMatrixColorFilter(cm));
>
> }
> catch (Throwable t)
> {
> Log.e("PictureDemo-surfaceCallback","Exception
> insetPreviewDisplay()", t);
> Toast.makeText(TakePic.this,t.getMessage(),
> Toast.LENGTH_LONG).show();
> }
> }
>
> public void surfaceChanged(SurfaceHolder holder,int format, int
> width, int height) {
> Camera.Parameters parameters=mCamera.getParameters();
>
> /*int bestWidth = 0;
>   int bestHeight = 0;
>
> //Customise width/height here - otherwise defaults to screen
> width/height
> List previewSizes =
> parameters.getSupportedPreviewSizes();
> if (previewSizes.size() > 1)
> {
> Iterator cei = previewSizes.iterator();
> while (cei.hasNext())
> {
> Camera.Size aSize = cei.next();
> Log.v("SNAPSHOT","Checking " + aSize.width + " x " +
> aSize.height);
> if (aSize.width > bestWidth && aSize.width <=
> LARGEST_WIDTH
> && aSize.height > bestHeight && aSize.height <=
> LARGEST_HEIGHT)
> {
> // So far it is the biggest without going over the
> screen dimensions
> bestWidth = aSize.width;
> bestHeight = aSize.height;
> }
> }
> }
> if (bestHeight != 0 && bestWidth != 0)
> {
> Log.v("SNAPSHOT", "Using " + bestWidth + " x " +
> bestHeight);
> parameters.setPreviewSize(bestWidth, bestHeight);
> View cameView = null;
> //cameraView.setLayoutParams(new LinearLayout.LayoutParams(
> bestWidth,bestHeight));
> }*/  /*Not in 1.6*/
>
>  /*Not in 1.6*/
> try
> {
> parameters.setPreviewSize(100, 100);
> parameters.setPictureFormat(PixelFormat.JPEG);
> parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO);
> parameters.setJpegQuality(75);
> mCamera.setParameters(parameters);
> mCamera.startPreview();
> }
> catch (Exception e) {
> parameters.setPreviewSize(100, 100);
> parameters.setPictureSize(20, 20);//parameters.setZoom(1);
> /*Not in 1.6*/
> //parameters.setZoom(0); /*Not in 1.6*/
> parameters.setPictureFormat(PixelFormat.JPEG);
>
> //parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO); /*Not in 1.6*/
> //parameters.setJpegQuality(100); /*Not in 1.6*/
> mCamera.setParameters(parameters);
> mCamera.startPreview();
> }
>
>
> //-- Must add the following callback to allow the camera
> toautofocus.
> mCamera.autoFocus(new Camera.AutoFocusCallback(){
> public void onAutoFocus(boolean success, Camera camera)
> {
> }
>
> } );
> }
>
> public void surfaceDestroyed(SurfaceHolder holder) {
> if(mCamera != null){
> mCamera.stopPreview();
> mCamera.release();
> mCamera=null;
> }
> }
> };
>
> Camera.PictureCallback photoCallback=new Camera.PictureCallback() {
> public void onPictureTaken(byte[] data, Camera camera) {
>
>
> ImgName = String.fo

[android-developers] latitude and longitude Problem

2011-07-16 Thread Ankit Kasliwal
Hello Everyone,
  Can any one help me for getting current Location
(latitude and longitude)
with Address i try the below code but it always  return me same old Address
like
right now me in city A but it always return me old City B address here is
the code which i use:

package com.lbsdemo;

import java.io.IOException;
import java.util.List;
import java.util.Locale;

import android.app.Activity;
import android.content.Context;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

public class LBSDemo extends Activity {

LocationManager locationManager;
Geocoder geocoder;
StringBuilder strReturnedAddress = new StringBuilder();

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

locationManager =
(LocationManager)getSystemService(Context.LOCATION_SERVICE);

locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,0,0,
locationListener);
Location location =
locationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
if(location != null)
{
double latitude = location.getLatitude();
double longitude = location.getLongitude();
geocoder = new Geocoder(this, Locale.ENGLISH);
try {
List addresses = geocoder.getFromLocation(latitude,
longitude, 1);
if(addresses != null)
{
for (int j=0; j<1; j++)
{
Address returnedAddress = addresses.get(j);
for(int i=0;
i addresses = geocoder.getFromLocation(lat, lng,
1);
if(addresses != null)
{
for (int j=0; j<1; j++)
{
Address returnedAddress = addresses.get(j);
for(int i=0;
ihttp://groups.google.com/group/android-developers?hl=en

[android-developers] Image Issue Please help me

2011-07-15 Thread Ankit Kasliwal
 GetLocationService();

Intent i = new Intent(TakePic.this, AddDetail.class);
   i.putExtra("Pimg", imgBtye);
   i.putExtra("lat", lat);
   i.putExtra("lag", lag);
   startActivity(i);

}
finally
{

}
}
};



*And the other code which i use for convert and upload the image in Bytes
*
if(PImg != null)
{
try
{
PImgString = Base64.encodeToString(PImg, 1);
Log.d("PImgString", PImgString);
}
    catch (Exception e) {
PImgString = new String(PImgString);
Log.d("PImgString catch", PImgString);
}
}
-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Take low Resolution Image

2011-07-15 Thread Ankit Kasliwal
Hello Every One,
 I am trying to click  image in my application and
send it to over server
in Bytes so please help coz i need Low resolution image and send it to
server in small bytes. but my current code click image and convert it in
bytes but the image size may be big.

I use this code

try
{
parameters.setPreviewSize(100, 100);
parameters.setPictureFormat(PixelFormat.JPEG);
parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO);
parameters.setJpegQuality(75);
mCamera.setParameters(parameters);
mCamera.startPreview();
}
catch (Exception e) {
parameters.setPreviewSize(100, 100);
parameters.setPictureSize(20, 20);//parameters.setZoom(1);
/*Not in 1.6*/
//parameters.setZoom(0); /*Not in 1.6*/
parameters.setPictureFormat(PixelFormat.JPEG);

//parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO); /*Not in 1.6*/
//parameters.setJpegQuality(100); /*Not in 1.6*/
mCamera.setParameters(parameters);
mCamera.startPreview();
}

and for send Bytes use this code

try
{
PImgString = Base64.encodeToString(PImg, 1);
Log.d("PImgString", PImgString);
}
catch (Exception e) {
PImgString = new String(PImgString);
Log.d("PImgString catch", PImgString);
}

For Send Query String over my handler file which i create in .Net

postParameters.add(new BasicNameValuePair("PImg", PImgString ));




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Camera Problem

2011-07-01 Thread Ankit Kasliwal
the second one error (Layout Problem)

On Fri, Jul 1, 2011 at 11:06 PM, TreKing  wrote:

> On Fri, Jul 1, 2011 at 12:20 PM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> i m not able to trace the error coz the 2.1 device at my frnd place i send
>> him APK file.
>
>
> So what exactly to you expect us to do for you  ?
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Camera Problem

2011-07-01 Thread Ankit Kasliwal
Hello Everyone Can any one explain me what was the problem in my camera
activity code
i run that application on my 1.6 android device it run proper but when i run
that application on my new Android 2.1 device
it give me some error and my page layout also disturb not proper showing
spinner and edit box so any  one help me
what should i do.. i m not able to trace the error coz the 2.1 device at my
frnd place i send him APK file.


-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Camera not open

2011-06-28 Thread Ankit Kasliwal
Raghav  my application run successfully on my laptop but when i install this
application on my mobile device it give me that msg
"application force close" when i click a cam button which i provide in my
application. so how i saw LogCat.

On Tue, Jun 28, 2011 at 7:44 PM, Raghav Sood  wrote:

> You just need to select it from the list that comes. Again, What does the
> LogCat say? And could you stop starting a new thread for each reply?
>
> On Tue, Jun 28, 2011 at 7:36 PM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>>
>> only says application not open camera activity force close application
>>
>> i set  
>>  in my manifest file is it right or in Capital is right
>> 
>>
>> --
>>
>> Thanks and Regards,
>>
>> Ankit Kasliwal
>> kasliwalankit2...@gmail.com
>> +91-9300-940-136
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Raghav Sood
> http://www.raghavsood.com/
> http://www.androidappcheck.com/
> http://www.telstop.tel/
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Camera not open

2011-06-28 Thread Ankit Kasliwal
only says application not open camera activity force close application

i set  
 in my manifest file is it right or in Capital is right


-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Cam not open on click of button

2011-06-28 Thread Ankit Kasliwal
Hi Raghav i am try to use camera over my HTC wildfire device not emulator.
so how i read logcat.

On Tue, Jun 28, 2011 at 7:20 PM, Raghav Sood  wrote:

> Logcat output?
>
> On 6/28/11, Ankit Kasliwal  wrote:
> > Hey hi i am able to install application on device directly to device but
> now
> > one more problem occur
> > when i click open cam button over my HTC Wildfire it give me error
> message
> > to force close application
> > any one help me.
> > --
> >
> > Thanks and Regards,
> >
> > Ankit Kasliwal
> > kasliwalankit2...@gmail.com
> > +91-9300-940-136
> >
> > --
> > 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 options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
> --
> Raghav Sood
> http://www.raghavsood.com/
> http://www.androidappcheck.com/
> http://www.telstop.tel/
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Cam not open on click of button

2011-06-28 Thread Ankit Kasliwal
Hey hi i am able to install application on device directly to device but now
one more problem occur
when i click open cam button over my HTC Wildfire it give me error message
to force close application
any one help me.
-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Fail to install Apk on device

2011-06-28 Thread Ankit Kasliwal
Hey hi i am able to install application on device directly to device but now
one more problem occur
when i click open cam button over my HTC Wildfire it give me error message
to force close application
any one help me.

On Tue, Jun 28, 2011 at 6:26 PM, Ankit Kasliwal  wrote:

> Shashidhar i m try to install apk on device on emulator.
>
> On Tue, Jun 28, 2011 at 6:20 PM, Shashidhar wrote:
>
>> What does the logcat say
>>
>> On Tue, Jun 28, 2011 at 6:07 PM, Ankit Kasliwal <
>> kasliwalankit2...@gmail.com> wrote:
>>
>>> Hello Everyone please any one tell how i install apk file on my device.
>>> when i install apk file it should show me a message "Application not
>>> install" .
>>>
>>> please any one help me or how i install application directly on my device
>>> connecting with USB.
>>>
>>> Thanks in advance
>>>
>>> --
>>>
>>> Thanks and Regards,
>>>
>>> Ankit Kasliwal
>>> kasliwalankit2...@gmail.com
>>> +91-9300-940-136
>>>
>>> --
>>> 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 options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>  --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
>
> Thanks and Regards,
>
> Ankit Kasliwal
> kasliwalankit2...@gmail.com
> +91-9300-940-136
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Fail to install Apk on device

2011-06-28 Thread Ankit Kasliwal
Shashidhar i m try to install apk on device on emulator.

On Tue, Jun 28, 2011 at 6:20 PM, Shashidhar  wrote:

> What does the logcat say
>
> On Tue, Jun 28, 2011 at 6:07 PM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> Hello Everyone please any one tell how i install apk file on my device.
>> when i install apk file it should show me a message "Application not
>> install" .
>>
>> please any one help me or how i install application directly on my device
>> connecting with USB.
>>
>> Thanks in advance
>>
>> --
>>
>> Thanks and Regards,
>>
>> Ankit Kasliwal
>> kasliwalankit2...@gmail.com
>> +91-9300-940-136
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Fail to install Apk on device

2011-06-28 Thread Ankit Kasliwal
Hello Everyone please any one tell how i install apk file on my device.
when i install apk file it should show me a message "Application not
install" .

please any one help me or how i install application directly on my device
connecting with USB.

Thanks in advance

-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Svar: how to create a apk file

2011-06-24 Thread Ankit Kasliwal
Thanks Mark.

On Fri, Jun 24, 2011 at 6:26 PM, Mark S.  wrote:

> Ankit,
>
> Please check http://geosoft.no/development/android.html.
>
> Item #8 for creating a keystore, #14 for creating an unsigned .apk, and #15
> for signing the .apk file.
>
> Regards,
>
> Mark
>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] how to create a apk file

2011-06-24 Thread Ankit Kasliwal
Thanks Jorge Luis i though it's free

On Fri, Jun 24, 2011 at 6:15 PM, Jorge Luis  wrote:

> To create a keystore you must register as a developer at Android Market,
> pay the $25 fee and then you'll be able to create the keystore ;D
>
>
> 2011/6/24 Ankit Kasliwal 
>
>> i saw there but how i create keystore coz i m not able to create keystore
>>
>> On Fri, Jun 24, 2011 at 6:13 PM, Ankit Kasliwal <
>> kasliwalankit2...@gmail.com> wrote:
>>
>>> Sorry what you say i am not able to understand.
>>>
>>> On Fri, Jun 24, 2011 at 5:59 PM, Mohammed Hossain Doula <
>>> hossaindo...@gmail.com> wrote:
>>>
>>>> Comment over there...
>>>>
>>>>
>>>> On Fri, Jun 24, 2011 at 6:27 PM, Ankit Kasliwal <
>>>> kasliwalankit2...@gmail.com> wrote:
>>>>
>>>>> Hi hey is *Unsigned APK but i need signed APK.*
>>>>>
>>>>>
>>>>> On Fri, Jun 24, 2011 at 5:46 PM, Mohammed Hossain Doula <
>>>>> hossaindo...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> http://hossaindoula.blogspot.com/2011/06/create-apk-android-package-file.html
>>>>>>
>>>>>> On Fri, Jun 24, 2011 at 6:11 PM, Ankit Kasliwal <
>>>>>> kasliwalankit2...@gmail.com> wrote:
>>>>>>
>>>>>>> Dear All,
>>>>>>> Hi everyone please any one tell me the process of
>>>>>>> creating apk file with full step.
>>>>>>> Thanks in advance.
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Thanks and Regards,
>>>>>>>
>>>>>>> Ankit Kasliwal
>>>>>>> kasliwalankit2...@gmail.com
>>>>>>> +91-9300-940-136
>>>>>>>
>>>>>>> --
>>>>>>> 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 options, visit this group at
>>>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *--
>>>>>> Mohammed Hossain Doula
>>>>>> Software Engineer
>>>>>> desme INC.*
>>>>>> *www: http://www.hossaindoula.com
>>>>>> @: ron...@desme.com*
>>>>>> *facebook: http://www.facebook.com/ROnyWorld*
>>>>>> *twitter: http://www.twitter.com/hossaindoula*
>>>>>> *blogspot: hossaindoula.blogspot.com
>>>>>> GSM: 00880-167-4347101*
>>>>>>
>>>>>>  --
>>>>>> 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 options, visit this group at
>>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Thanks and Regards,
>>>>>
>>>>> Ankit Kasliwal
>>>>> kasliwalankit2...@gmail.com
>>>>> +91-9300-940-136
>>>>>
>>>>> --
>>>>> 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 options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en
>>

Re: [android-developers] how to create a apk file

2011-06-24 Thread Ankit Kasliwal
Dear i understand English but at that time i ask u keystore and u not
mention in ur mail that comment over there and i ll reply u.
u just say comment over there

so just do one thing use your words carefully.

Thanks!


On Fri, Jun 24, 2011 at 6:15 PM, Mohammed Hossain Doula <
hossaindo...@gmail.com> wrote:

> Don't you understand English... I told you just put your comment in the
> blog regarding what you are asking... I will give you reply there...
>
>
> On Fri, Jun 24, 2011 at 6:43 PM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> Sorry what you say i am not able to understand.
>>
>> On Fri, Jun 24, 2011 at 5:59 PM, Mohammed Hossain Doula <
>> hossaindo...@gmail.com> wrote:
>>
>>> Comment over there...
>>>
>>>
>>> On Fri, Jun 24, 2011 at 6:27 PM, Ankit Kasliwal <
>>> kasliwalankit2...@gmail.com> wrote:
>>>
>>>> Hi hey is *Unsigned APK but i need signed APK.*
>>>>
>>>>
>>>> On Fri, Jun 24, 2011 at 5:46 PM, Mohammed Hossain Doula <
>>>> hossaindo...@gmail.com> wrote:
>>>>
>>>>>
>>>>> http://hossaindoula.blogspot.com/2011/06/create-apk-android-package-file.html
>>>>>
>>>>> On Fri, Jun 24, 2011 at 6:11 PM, Ankit Kasliwal <
>>>>> kasliwalankit2...@gmail.com> wrote:
>>>>>
>>>>>> Dear All,
>>>>>> Hi everyone please any one tell me the process of creating
>>>>>> apk file with full step.
>>>>>> Thanks in advance.
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Thanks and Regards,
>>>>>>
>>>>>> Ankit Kasliwal
>>>>>> kasliwalankit2...@gmail.com
>>>>>> +91-9300-940-136
>>>>>>
>>>>>> --
>>>>>> 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 options, visit this group at
>>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *--
>>>>> Mohammed Hossain Doula
>>>>> Software Engineer
>>>>> desme INC.*
>>>>> *www: http://www.hossaindoula.com
>>>>> @: ron...@desme.com*
>>>>> *facebook: http://www.facebook.com/ROnyWorld*
>>>>> *twitter: http://www.twitter.com/hossaindoula*
>>>>> *blogspot: hossaindoula.blogspot.com
>>>>> GSM: 00880-167-4347101*
>>>>>
>>>>>  --
>>>>> 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 options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks and Regards,
>>>>
>>>> Ankit Kasliwal
>>>> kasliwalankit2...@gmail.com
>>>> +91-9300-940-136
>>>>
>>>> --
>>>> 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 options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>
>>>
>>>
>>> --
>>> *--
>>> Mohammed Hossain Doula
>>> Software Engineer
>>> desme INC.*
>>> *www: http://www.hossaindoula.com
>>> @: ron...@desm

Re: [android-developers] how to create a apk file

2011-06-24 Thread Ankit Kasliwal
i saw there but how i create keystore coz i m not able to create keystore

On Fri, Jun 24, 2011 at 6:13 PM, Ankit Kasliwal  wrote:

> Sorry what you say i am not able to understand.
>
> On Fri, Jun 24, 2011 at 5:59 PM, Mohammed Hossain Doula <
> hossaindo...@gmail.com> wrote:
>
>> Comment over there...
>>
>>
>> On Fri, Jun 24, 2011 at 6:27 PM, Ankit Kasliwal <
>> kasliwalankit2...@gmail.com> wrote:
>>
>>> Hi hey is *Unsigned APK but i need signed APK.*
>>>
>>>
>>> On Fri, Jun 24, 2011 at 5:46 PM, Mohammed Hossain Doula <
>>> hossaindo...@gmail.com> wrote:
>>>
>>>>
>>>> http://hossaindoula.blogspot.com/2011/06/create-apk-android-package-file.html
>>>>
>>>> On Fri, Jun 24, 2011 at 6:11 PM, Ankit Kasliwal <
>>>> kasliwalankit2...@gmail.com> wrote:
>>>>
>>>>> Dear All,
>>>>> Hi everyone please any one tell me the process of creating
>>>>> apk file with full step.
>>>>> Thanks in advance.
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Thanks and Regards,
>>>>>
>>>>> Ankit Kasliwal
>>>>> kasliwalankit2...@gmail.com
>>>>> +91-9300-940-136
>>>>>
>>>>> --
>>>>> 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 options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *--
>>>> Mohammed Hossain Doula
>>>> Software Engineer
>>>> desme INC.*
>>>> *www: http://www.hossaindoula.com
>>>> @: ron...@desme.com*
>>>> *facebook: http://www.facebook.com/ROnyWorld*
>>>> *twitter: http://www.twitter.com/hossaindoula*
>>>> *blogspot: hossaindoula.blogspot.com
>>>> GSM: 00880-167-4347101*
>>>>
>>>>  --
>>>> 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 options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Thanks and Regards,
>>>
>>> Ankit Kasliwal
>>> kasliwalankit2...@gmail.com
>>> +91-9300-940-136
>>>
>>> --
>>> 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 options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>>
>> --
>> *--
>> Mohammed Hossain Doula
>> Software Engineer
>> desme INC.*
>> *www: http://www.hossaindoula.com
>> @: ron...@desme.com*
>> *facebook: http://www.facebook.com/ROnyWorld*
>> *twitter: http://www.twitter.com/hossaindoula*
>> *blogspot: hossaindoula.blogspot.com
>> GSM: 00880-167-4347101*
>>
>>  --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
>
> Thanks and Regards,
>
> Ankit Kasliwal
> kasliwalankit2...@gmail.com
> +91-9300-940-136
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] how to create a apk file

2011-06-24 Thread Ankit Kasliwal
Sorry what you say i am not able to understand.

On Fri, Jun 24, 2011 at 5:59 PM, Mohammed Hossain Doula <
hossaindo...@gmail.com> wrote:

> Comment over there...
>
>
> On Fri, Jun 24, 2011 at 6:27 PM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> Hi hey is *Unsigned APK but i need signed APK.*
>>
>>
>> On Fri, Jun 24, 2011 at 5:46 PM, Mohammed Hossain Doula <
>> hossaindo...@gmail.com> wrote:
>>
>>>
>>> http://hossaindoula.blogspot.com/2011/06/create-apk-android-package-file.html
>>>
>>> On Fri, Jun 24, 2011 at 6:11 PM, Ankit Kasliwal <
>>> kasliwalankit2...@gmail.com> wrote:
>>>
>>>> Dear All,
>>>> Hi everyone please any one tell me the process of creating
>>>> apk file with full step.
>>>> Thanks in advance.
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks and Regards,
>>>>
>>>> Ankit Kasliwal
>>>> kasliwalankit2...@gmail.com
>>>> +91-9300-940-136
>>>>
>>>> --
>>>> 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 options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>>
>>>
>>> --
>>> *--
>>> Mohammed Hossain Doula
>>> Software Engineer
>>> desme INC.*
>>> *www: http://www.hossaindoula.com
>>> @: ron...@desme.com*
>>> *facebook: http://www.facebook.com/ROnyWorld*
>>> *twitter: http://www.twitter.com/hossaindoula*
>>> *blogspot: hossaindoula.blogspot.com
>>> GSM: 00880-167-4347101*
>>>
>>>  --
>>> 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 options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> --
>>
>> Thanks and Regards,
>>
>> Ankit Kasliwal
>> kasliwalankit2...@gmail.com
>> +91-9300-940-136
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> *--
> Mohammed Hossain Doula
> Software Engineer
> desme INC.*
> *www: http://www.hossaindoula.com
> @: ron...@desme.com*
> *facebook: http://www.facebook.com/ROnyWorld*
> *twitter: http://www.twitter.com/hossaindoula*
> *blogspot: hossaindoula.blogspot.com
> GSM: 00880-167-4347101*
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] how to create a apk file

2011-06-24 Thread Ankit Kasliwal
Hi hey is *Unsigned APK but i need signed APK.*

On Fri, Jun 24, 2011 at 5:46 PM, Mohammed Hossain Doula <
hossaindo...@gmail.com> wrote:

>
> http://hossaindoula.blogspot.com/2011/06/create-apk-android-package-file.html
>
> On Fri, Jun 24, 2011 at 6:11 PM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> Dear All,
>> Hi everyone please any one tell me the process of creating apk
>> file with full step.
>> Thanks in advance.
>>
>>
>> --
>>
>> Thanks and Regards,
>>
>> Ankit Kasliwal
>> kasliwalankit2...@gmail.com
>> +91-9300-940-136
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> *--
> Mohammed Hossain Doula
> Software Engineer
> desme INC.*
> *www: http://www.hossaindoula.com
> @: ron...@desme.com*
> *facebook: http://www.facebook.com/ROnyWorld*
> *twitter: http://www.twitter.com/hossaindoula*
> *blogspot: hossaindoula.blogspot.com
> GSM: 00880-167-4347101*
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] how to create a apk file

2011-06-24 Thread Ankit Kasliwal
Dear All,
Hi everyone please any one tell me the process of creating apk
file with full step.
Thanks in advance.


-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android sqlite database file

2011-06-17 Thread Ankit Kasliwal
Hi,
   Ok.

On Fri, Jun 17, 2011 at 3:00 PM, nageswara rao rajana  wrote:

> Hi Ankit,
>
>  Thanks for  the links. I will work on it and i will get back
> to you, if i get any issues.
>
>   Thanking you,
>   Nagu.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Android sqlite database file

2011-06-17 Thread Ankit Kasliwal
Hi,
   i think you find you ans on this site

 http://pa.rezendi.com/2010/04/sqlite-on-android.html


http://stackoverflow.com/questions/1209469/storing-android-application-data-on-sd-card



On Fri, Jun 17, 2011 at 2:50 PM, nageswara rao rajana  wrote:

> Hi,
>>>
>>
> I want to extract db file from device.
>
>  Thanking you,
>   Nagu.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: WebView and Linear Layout

2011-02-23 Thread Ankit Kasliwal
Hi graeth,


http://schemas.android.com/apk/res/android";
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">

  


this code work in my application you just debug your code you mis something
to code.

and you can use also for full screen

 requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

On Wed, Feb 23, 2011 at 8:13 AM, Craigbtx  wrote:

> This works for me at its simplest.
>
> 
> http://schemas.android.com/apk/res/
> android"
>android:orientation="vertical"
>android:layout_width="fill_parent"
>android:layout_height="fill_parent">
>
>
> android:id="@+id/webview"
>android:layout_width="fill_parent"
> android:layout_height="0dip"
>android:layout_weight="1"/>
>
>
> 
>
>
> On Feb 19, 12:07 pm, Gareth  wrote:
> > Hi all
> >
> > I am developing a web app for a tablet.
> >
> > If I just place a WebView in the layout file it works fine except the
> > WebView doesn't fill the whole screen on the tablet.
> >
> > If I then put the WebView in a Linear Layout on its own - the
> > application crashes on start up saying it was forced to close!
> >
> > Any ideas on how to get a WebView to fill the whole screen?
> >
> > Thanks
> > Gareth
> >
> > PS - crashing layout file as follows
> >
> > 
> > http://schemas.android.com/apk/res/
> > android"
> > android:orientation="vertical"
> > android:layout_width="fill_parent"
> > android:layout_height="fill_parent">
> > http://schemas.android.com/apk/res/android";
> > android:id="@+id/webview"
> > android:layout_width="fill_parent"
> > android:layout_height="fill_parent"
> > />
> > 
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Connect WEB SQL SERVER 2005 Using WEB SERVICE

2011-02-23 Thread Ankit Kasliwal
ya i done my work

thanks

On Wed, Feb 23, 2011 at 7:03 AM, TreKing  wrote:

> On Sat, Feb 19, 2011 at 11:30 AM, Ankit Kasliwal <
> kasliwalankit2...@gmail.com> wrote:
>
>> Please help me in connecting web SQL server database using web service.
>>
>
> This has nothing to do with Android specifically.
>
>
>>  if any one have a sample code please send me
>>
>
> No.
>
>
>> or guide me how i check user name and password over web server database
>> and
>> how i insert and get data from it
>
>
> This is something you'll have to learn, which again has nothing to do with
> Android specifically.
>
>
>> please send me sample code for all this ...
>>
>
> Please do your own work ...
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Camera takePicture: onPictureTaken() never called?

2011-02-22 Thread Ankit Kasliwal
Use this code

private void takePicture() {
mCamera.takePicture(null, null, photoCallback);
}

SurfaceHolder.Callback surfaceCallback=new SurfaceHolder.Callback() {


public void surfaceCreated(SurfaceHolder holder)
{
mCamera=Camera.open();
try
{
mCamera.setPreviewDisplay(previewHolder);
}
catch (Throwable t)
{
Log.e("PictureDemo-surfaceCallback","Exception
insetPreviewDisplay()", t);
Toast.makeText(TakePic.this,t.getMessage(),
Toast.LENGTH_LONG).show();
}
}

public void surfaceChanged(SurfaceHolder holder,int format, int
width, int height) {
Camera.Parameters parameters=mCamera.getParameters();
//Customise width/height here - otherwise defaults to screen
width/height
parameters.setPreviewSize(width, height);
parameters.setPictureFormat(PixelFormat.JPEG);
parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO);
parameters.setJpegQuality(100);
mCamera.setParameters(parameters);
mCamera.startPreview();

//-- Must add the following callback to allow the camera
toautofocus.
mCamera.autoFocus(new Camera.AutoFocusCallback(){
@Override
public void onAutoFocus(boolean success, Camera camera) {
Log.d("HOME", "isAutofoucs " +
Boolean.toString(success));
}
} );
}

public void surfaceDestroyed(SurfaceHolder holder) {
if(mCamera != null){
mCamera.stopPreview();
mCamera.release();
mCamera=null;
}
}
};

Camera.PictureCallback photoCallback=new Camera.PictureCallback() {
public void onPictureTaken(byte[] data, Camera camera) {

FileOutputStream outStream = null;
try {

ImgName = String.format("%d.jpg",
System.currentTimeMillis());
Log.d(TAG, "onPictureTaken - raw" + ImgName);
Toast.makeText(TakePic.this, ImgName,
Toast.LENGTH_LONG).show();
extStorageDirectory = TakePic.this.getFilesDir().toString();
Toast.makeText(TakePic.this, extStorageDirectory,
Toast.LENGTH_LONG).show();
Path = (extStorageDirectory + "/" +ImgName );
Log.d(TAG, "onPictureTaken - raw" + Path);
Toast.makeText(TakePic.this, Path,
Toast.LENGTH_LONG).show();
outStream = new FileOutputStream(Path);
outStream.write(data);
outStream.close();
Log.d(TAG, "onPictureTaken - wrote bytes: " + data.length);
GetLocationService();
//startLocationUpdates();
convertDateToString();
SaveData("First Title", dateNow, "Shopping",
String.valueOf(lat),String.valueOf(lag), ImgName);


} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
}
Log.d(TAG, "onPictureTaken - jpeg");
//-- This segment moved from surfaceDestroyed - otherwisethe
Camera is not properly released
//finish();
}
};


On Fri, Feb 18, 2011 at 6:12 PM, Peter  wrote:

> Hello all,
> creating very basic camera code I got stuck at this: in followin code
> method onPictureTaken() is never being called:
>
>
>
> private PictureCallback pcb = new PictureCallback() {
>@Override
>public void onPictureTaken(byte[] data, Camera
> camera) {
>// Do something here - this place is never
> reached
>}
>};
>
>
>
>Camera c = Camera.open();
>Parameters cp = c.getParameters();
>int JPEG = 0x100;
>cp.setPictureFormat(JPEG);
>c.setParameters(cp);
>c.takePicture(null, null, pcb);
>c.release();
>
>
>
>
> Have you met this behavior before? If so, how to overcome this?
> Behavior is consistent in emulator and in real hardware, versino is
> 2.1.
> Thanks for reading this.
>
> --
> 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 options, visit

Re: [android-developers] List View with multiple columns

2011-02-22 Thread Ankit Kasliwal
Using Compound  view. for  showing multiple column in listview

On Wed, Feb 23, 2011 at 12:29 AM, TreKing  wrote:

> On Thu, Feb 17, 2011 at 1:47 PM, Ganesh VK  wrote:
>
>> i am  trying  to  add  multiple  columns ... will  please help me  out
>>  for  the  code..
>
>
> http://developer.android.com/reference/android/widget/TableLayout.html
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Google Map Error

2011-02-22 Thread Ankit Kasliwal
der.loadClass(ClassLoader.java:532)
> 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): ... 15 more
>
> What is the problem? Thanks in advance ;)
>
> --
> Nesim TUNÇ
> Senior Software Developer of Distributed 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@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Saving layout file is very slow with Eclipse / ADT

2011-02-22 Thread Ankit Kasliwal
Dear All,
   Is any one have a Sample code for connecting Sql server 2005
Data Base over web server and
how i check the log in name and insert and fetch the data and show data in
grid view .
Through Webservice and any other way. please help me..

Thanks!!!
Ankit Kasliwal


On Sun, Feb 20, 2011 at 7:38 PM, b_t  wrote:

> I have the same problem too, but only in Windows. In Linux it is fast
> enought, but in Windows it us extremly slow. When I change resources I
> have to wait long minutes to continue the work.
>
> Same computer, same eclipse/sdk version, same project. The difference
> is only in OS and waiting time.
>
> On Feb 20, 2:11 pm, Kostya Vasilyev  wrote:
> > Something is wrong with your build environment.
> >
> > Saving one file (after a sufficient delay) does kick off an automatic
> > build - but as there shouldn't be a ongoing build at that time yet, you
> > should not get the dialog you're describing.
> >
> > Now, if you save two layout / resource files quickly one after another,
> > then yes, the second one will wait for the automatic build triggered by
> > the first one to complete, and you will get the dialog.
> >
> > Try to disable automatic builds, clean the project, including deleting
> > everything in your project's "bin" folder, then re-enable it back, see
> > if that fixes things.
> >
> > -- Kostya
> >
> > 20.02.2011 2:08, Tom пишет:
> >
> > > No it happen even with one single layout file.
> >
> > > --Tom
> > > --
> > > 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 options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > Kostya Vasilyev --http://kmansoft.wordpress.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 

Thanks and Regards,

Ankit Kasliwal
kasliwalankit2...@gmail.com
+91-9300-940-136

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Connect WEB SQL SERVER 2005 Using WEB SERVICE

2011-02-22 Thread Ankit Kasliwal
Hello Everyone,
   Please help me in connecting web SQL server
database using web service.
if any one have a sample code please send me or guide me how i check
user name and password over web server database and how i insert and
get data from it please send me sample code for all this ...


Thanks!!!

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en