[android-developers] Receiving RF signal in an android application

2014-03-09 Thread Ajmer Singh
Hi All,

I am working on a Help alert android application for which I need to detect
the RF signal from my android application, I had googled but not find
anything concrete, Please can anybody help in this case about the Receive
RF signal in android.

-- 
Thanks and Regards
Ajmer Singh

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: In App Billing Error

2012-12-21 Thread Ajmer Singh
Hi All

I get this resolved, Mistake that i had done is:


   1. That i entered an test account under the setting in Google Developer
   Console.This is ok.
   2. Then change the selection of Drop down named the Licensed Test
   Response to Licensed test response.
   3. Please have a look at the attached images.


On Fri, Dec 21, 2012 at 5:04 PM, Lev Stipakov lstipa...@gmail.com wrote:

 Thanks, but I am using billing V3 and my code is based on trivialdriving
 example.

 perjantai, 21. joulukuuta 2012 11.52.15 UTC+2 Grzegorz Patynek kirjoitti:

 there is an error in dungeons application from google.
 you may find answer somewhere in stackoverflow.

 W dniu piątek, 21 grudnia 2012 09:30:50 UTC+1 użytkownik Lev Stipakov
 napisał:

 Well, 12 hrs ago uploaded a new app, added products and got the same
 problem.

 Would be nice to get some comments from Google.

 perjantai, 21. joulukuuta 2012 6.12.02 UTC+2 sandy M kirjoitti:

 Please let me know if get of it!! I too facing the same buddy

  --
 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
Ajmer Singh

-- 
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=enattachment: Safari.png

[android-developers] In App Billing Error

2012-12-14 Thread Ajmer Singh
Hi All

I am implementing In app billing(Version 3) in android app.

   1. I had put the Signed apk on the Play Store.
   2. Also had a managed Product Activated.
   3. Using a Signed apk for testing on phone.
   4. Managed Product is also showing up in my Query for the inventory.
   5. Also created and using a Google account for Testing In app Billing.


Still getting the Item Unavailable and User is not eligible for this
purchase , Please refer to attached Screen shot for more details ,Please
anybody here who has got this type of error please help.

-- 
Thanks and Regards
Ajmer Singh

-- 
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: In App Billing Error

2012-12-14 Thread Ajmer Singh
Here is the attached Screen Shot.

On Sat, Dec 15, 2012 at 11:24 AM, Ajmer Singh ajmersing...@gmail.comwrote:

 Hi All

 I am implementing In app billing(Version 3) in android app.

1. I had put the Signed apk on the Play Store.
2. Also had a managed Product Activated.
3. Using a Signed apk for testing on phone.
4. Managed Product is also showing up in my Query for the inventory.
5. Also created and using a Google account for Testing In app Billing.


 Still getting the Item Unavailable and User is not eligible for this
 purchase , Please refer to attached Screen shot for more details ,Please
 anybody here who has got this type of error please help.

 --
 Thanks and Regards
 Ajmer Singh




-- 
Thanks and Regards
Ajmer Singh

-- 
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=enattachment: SC20121215-111437.png

Re: [android-developers] Android C2DM(PHONE_REGISTRATION_ERROR) Error on ICS(4.0)

2012-08-23 Thread Ajmer Singh
C2DM is replaced by GCM,

On Wed, Aug 22, 2012 at 1:03 PM, Bici bici0...@gmail.com wrote:

 hi.

 it happend on LG Prada 3.0(LG-SU540).

 it's successful that registration of C2DM on GB(2.3).

 but PHONE_REGISTRATION_ERROR occurred after I had upgraded to ICS.

 I tested many same model. whole LG-SU540 devices didn't occurred. but
 better-most device did.


 I tried Playstore update, re-sign Google account, enable background data
 settings.

 but It's not working.

 How can I register C2DM this device?

 plz help.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thanks and Regards
Ajmer Singh

-- 
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] Irregular Polygon Area Calculation in Android MapView

2012-08-09 Thread Ajmer Singh
Hi All

I am working on an Map based android application where i want to calculate
the area of Polygon created by the Goepoint on the MapView, Please if any
body can provide any lead on how can i achieve the area calculation using
GPS coordinates.

Please help thanks in advance.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] Taking Screen Shot without Rooting

2012-04-10 Thread Ajmer Singh
Hi All,

I need to develop an application that takes Screen shot of the phone
without Rooting, I am googled a lot got some apps in the Android market
like Screenshot it ,so i am here to this group to have your expertise on
this.

*Please let me know if any got experience with this or any leads how to get
started with. *

-- 
Thanks and Regards
Ajmer Singh

-- 
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: Android Project development cost

2012-03-22 Thread Ajmer Singh
Hi

I charge $8 per/hour.

On Fri, Mar 23, 2012 at 10:21 AM, Kristopher Micinski 
krismicin...@gmail.com wrote:

 On Fri, Mar 23, 2012 at 12:43 AM, Anirudh Loya loya.anir...@gmail.com
 wrote:
  If this group is not for those purpose then why did the Admin allowed
 Post
  it?
 
  He should have barred it before posting only.
 

 Because the group is not policed by administrators for content like
 this, it's mostly policed for downright spam, and only first time
 posters are screened.

 The fact that it made it through is not a good indicator that it
 should be considered on topic: it's not...

 kris

 --
 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
Ajmer Singh

-- 
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: database connectivity on real device

2011-12-01 Thread Ajmer Singh
Hi

Your database file need to be less then 1 MB(as assets folder support file
less then 1 MB), You can split your database using hjsplit and then in
runtime combined the split files and put it in your package folder.

On Fri, Dec 2, 2011 at 11:35 AM, Narendra Singh Rathore 
nsr.curi...@gmail.com wrote:



 Create you database in code, when app is first run. Load data from
 assets. If there is a lot of data load it from internet.

 Regards


 So, isn't it possible to use already made database from assets.
 There should be some way to do 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 this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thanks and Regards
Ajmer Singh

-- 
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] Catching Button Click on the Flash File loaded in WebView

2011-09-20 Thread Ajmer Singh
Hi All,

Currently i am working on an application which loads up the a local Flash
File from Assets folder. I am using the WebView to show the Flash file, it
shows up correctly.

However i am not able to catch the any events when a button on that flash
file is clicked.

Please if anybody let me know that how can i catch the Button click on the
flash file, i am showing the Flash file on the WebView . here is my code
block

public class FullScreenActivity extends Activity implements OnClickListener
{
WebView webView;
@Override
public void onCreate(Bundle SaveBundle)
{
super.onCreate(SaveBundle);
requestWindowFeature(Window.FEATURE_NO_TITLE);
this.setContentView(R.layout.full_screen);
webView=(WebView)this.findViewById(R.id.webView1);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setPluginsEnabled(true);
webView.loadUrl(file:///android_asset/intro.swf);
webView.setWebViewClient(new CustomWebViewClient());
webView.requestFocus(View.FOCUS_DOWN);
}
@Override
public void onStop()
{
super.onStop();
webView.destroy();
}
@Override
public void onClick(View v)
{

}
class CustomWebViewClient extends WebViewClient
{
public boolean shouldOverrideUrlLoading(WebView view, String url)
{
System.out.println(url+url);
return true;
}
}
}
-- 
Thanks and Regards
Ajmer Singh

-- 
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] Receiver for SMS SENT, EMAIL SENT and Calender EVENT

2011-08-17 Thread Ajmer Singh
Hi All,

I am working on a Android app, which will allow users to better manage his
time, he spent with his contacts ie how much time he spent in call with a
particular person or email or sms.

Basically I need a kind to automatically generated callback for SMS SENT and
EMAIL SENT and Calender event.Please could any body let me know how can i do
this?.

Is there any Receiver for SMS Sent and EMAIL SENT??.
Thanks in advance.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] Speech based Search

2011-08-05 Thread Ajmer Singh
This will help you out
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html

On Fri, Aug 5, 2011 at 11:55 PM, TreKing treking...@gmail.com wrote:

 On Fri, Aug 5, 2011 at 12:57 AM, Ganesh ganesh.som...@gmail.com wrote:

 What could be the possible way for it?
 Is there any plug-in for same?
 Is there anything free for speech to text conversion?


 http://developer.android.com/index.html

 In the search box, type speech.


 -
 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
Ajmer Singh

-- 
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] Virtual Keypad in Hindi

2011-03-29 Thread Ajmer singh
Hi All

I am working on a android app for which i need to have a Virtual in Hindi,
Could anyone please let me know how we can have a Virtual keypad in Hindi.Is
there any Component for this?.

The Android phone Virtual keypad did support lots of other language but not
Hindi. How can we make it to Hindi.
-- 
Thanks and Regards
Ajmer Singh

-- 
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] Publishing App to Android Market

2011-03-10 Thread Ajmer singh
Hi All

I need to publish my android app to android market,Could anyone please let
me know the procedure?, Is there any specific guidelines from android market
to do publish the app,Like UI guideline or Does the Android market guys
check the app before putting it in Android market.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] Image Editing app for Android How to get started for this.

2011-01-31 Thread Ajmer Singh
Hi All,

I am working on the app which require me to add effects to an image taken
from camera.Please any body let me know how can to get started for this
particular requirement.Is there any library to do so.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] Facebook Wall posting using Android SDK without using the Pop up.

2011-01-14 Thread Ajmer singh
Hi All,

I need to post text and link to the user face book wall,That's without using
an pop up.Currently the example included in the facebook Android SDK does
post to the wall using an WebView pop up.I need to post the same without a
popup.

Please anyone let me know how this can i done this.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] Pinch Zoom on Image

2010-12-17 Thread Ajmer Singh
Hi All

I need to implement the pinch zoom on an image,could anybody please let me
know how one can implement this,Is there any tutorials etc ?.


-- 
Thanks and Regards
Ajmer Singh

-- 
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] Image zooming functionality in Android just like the iphone

2010-12-09 Thread Ajmer Singh
Hi All

I am working on an android app where i need to implement an image zooming
functionality(zoom will work by moving fingers apart and bringing them
together will zoom out the image).This is just like the way iphone does.

Could anyone please let me know is this possible?,Does Android provide any
inbuilt support in SDK for doing this?.Is there any kind of tutorial for
doing this?.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] App rotation problem

2010-11-30 Thread Ajmer singh
You need to remove *android:screenOrientation=nosensor* from activity.

On Tue, Nov 30, 2010 at 2:28 PM, umakantpatil umakantpat...@gmail.comwrote:

 Hi,

 I have developed app but its not rotating at all when i rotate my HTC
 Wildfire. My other apps roatate but not only app developed by me.

 Is there anything I need to manifest.xml for allowing this. My current
 manifest.xml is as follows:



 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
  package=org.dummy.android
  android:versionCode=1
  android:versionName=1.0
application android:icon=@drawable/app_icon
 android:label=@string/app_name
activity android:name=jp.dummu.AndroidSDK
android:label=X Mobile
android:screenOrientation=nosensor
intent-filter
action android:name=android.intent.action.MAIN /
category
 android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
activity android:name=.Search
android:label=Search
android:theme=@android:style/Theme.NoTitleBar

intent-filter
action android:name=android.intent.action.VIEW/
category
 android:name=android.intent.action.SEND/
category
 android:name=android.intent.category.BROWSABLE/
data android:scheme=myapp android:host=oauth/
/intent-filter
/activity
activity android:name=.Articles
android:label=Articles
android:theme=@android:style/Theme.NoTitleBar

intent-filter
action android:name=android.intent.action.VIEW/
category
 android:name=android.intent.action.SEND/
category
 android:name=android.intent.category.DEFAULT/
category
 android:name=android.intent.category.BROWSABLE/
data android:scheme=myapp android:host=oauth/
/intent-filter
/activity
activity android:name=.xmobile
android:label=@string/app_name
android:theme=@android:style/Theme.NoTitleBar

intent-filter
action android:name=android.intent.action.MAIN /
/intent-filter
/activity
/application
uses-sdk android:minSdkVersion=3 /
 /manifest



 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Twitter Integration with Android app

2010-11-30 Thread Ajmer Singh
Hi All

I need to integrate the Twitter in my application,Could any body please let
me know what are the best way to achieve this.

I only need to Login and post a tweet in twitter from android app.Is there
any sort of SDK for Twitter?.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] Rounded RelativeLayout

2010-10-27 Thread Ajmer Singh
Hi All

I want a RelativeLayout to have a rounded corner just like we have it in the
Iphone.Please let me know how can we do this in Android.

-- 
Thanks and Regards
Ajmer Singh

-- 
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: Bluetooth Service registration in Android

2010-10-09 Thread Ajmer Singh
Hi All

Anybody please respond to my question about the bluetooth service
registration and connection with the Bluegiga access server.

On Fri, Oct 8, 2010 at 12:10 PM, Ajmer singh ajmer.si...@evontech.comwrote:

 Hi

 I am working on a Android app that require a Bluetooth Access Server that
 try to Discover the Application on Android phone and once connected send the
 Ads back to the phone.

 However the access server is not able to discover the Service that i have
 registered using the BluetoothAdapter
 listenUsingRfcommWithServiceRecord(BlueToothFriendFinder,MY_UUID ),

 Please let me know either i have sucessfully register the Bluetooth service
 or not,Please let me know if anyone has work on this before.

 Below is the Code packet that i am using :
 private class AcceptThread extends Thread
 {
 private final BluetoothServerSocket mmServerSocket;
 public AcceptThread()
 {
BluetoothServerSocket tmp = null;
 try
 {
  UUID MY_UUID =
 UUID.fromString(fa87c0d0-afac-11de-8a39-0800200c9a66);

 tmp =
 mBluetoothAdapter.listenUsingRfcommWithServiceRecord(BlueToothFriendFinder,MY_UUID
 );

 }
 catch (IOException e)
 {

 }

 mmServerSocket = tmp;

 }
 public void run()
 {
 BluetoothSocket socket = null;
 while (true)
 {
 try
 {
 Log.v(Working ,Server Register...);
 socket = mmServerSocket.accept();

 bluetoothFinder.runOnUiThread(new Runnable()
 {
 public void run()
 {
 Toast.makeText(bluetoothFinder, Connected
 Connected Conect, Toast.LENGTH_SHORT).show();
 }
 });
 }
 catch (IOException e)
 {
 break;
 }
 if (socket != null)
 {
manageConnectedSocket(socket);
 try
 {
 mmServerSocket.close();
 }
 catch (IOException e)
 {
 e.printStackTrace();
 }
 break;
 }
 }
 }

 --
 *Thanks and Regards
 Ajmer Singh*





-- 
Thanks and Regards
Ajmer Singh

-- 
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] Bluetooth Service registration in Android

2010-10-08 Thread Ajmer singh
Hi

I am working on a Android app that require a Bluetooth Access Server that
try to Discover the Application on Android phone and once connected send the
Ads back to the phone.

However the access server is not able to discover the Service that i have
registered using the BluetoothAdapter
listenUsingRfcommWithServiceRecord(BlueToothFriendFinder,MY_UUID ),

Please let me know either i have sucessfully register the Bluetooth service
or not,Please let me know if anyone has work on this before.

Below is the Code packet that i am using :
private class AcceptThread extends Thread
{
private final BluetoothServerSocket mmServerSocket;
public AcceptThread()
{
   BluetoothServerSocket tmp = null;
try
{
 UUID MY_UUID =
UUID.fromString(fa87c0d0-afac-11de-8a39-0800200c9a66);

tmp =
mBluetoothAdapter.listenUsingRfcommWithServiceRecord(BlueToothFriendFinder,MY_UUID
);

}
catch (IOException e)
{

}

mmServerSocket = tmp;

}
public void run()
{
BluetoothSocket socket = null;
while (true)
{
try
{
Log.v(Working ,Server Register...);
socket = mmServerSocket.accept();

bluetoothFinder.runOnUiThread(new Runnable()
{
public void run()
{
Toast.makeText(bluetoothFinder, Connected
Connected Conect, Toast.LENGTH_SHORT).show();
}
});
}
catch (IOException e)
{
break;
}
if (socket != null)
{
   manageConnectedSocket(socket);
try
{
mmServerSocket.close();
}
catch (IOException e)
{
e.printStackTrace();
}
break;
}
}
}

-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Samsung Galaxy Android 2.1(Eclair) For Testing

2010-09-29 Thread Ajmer singh
Hi

Please suggest me some Android based phone in india for testing purpose,Is
Samsung Galaxy Series Android2.1(Eclair) suitable for testing the Android
applications.

Please respond Have anyone used Samsung Galaxy Android 2.1(Eclair) for
testing.I need to buy a android phone for testing purpose.

-- 
*Thanks and Regards
Ajmer Singh*

-- 
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: Image Zomming using finger touch.

2010-09-24 Thread Ajmer singh
Hi

Thanks for your reply it did help a lot.


On Fri, Sep 24, 2010 at 5:53 PM, Spiral123 cumis...@gmail.com wrote:

 The Sony Ericsson guys did a tutorial on this:

 http://blogs.sonyericsson.com/developerworld/2010/05/18/android-one-finger-zoom-tutorial-part-1/

 On Sep 23, 3:31 pm, Ajmer Singh ajmersing...@gmail.com wrote:
  Hi All
 
  I need to implement the Image zoom in and zoom out functionality using
 the
  finger touch,like we have it in Android  phone Image gallery,
  Please let me know how can i do this in my app.Does any had done this
  before.
 
  Please help.
 
  --
  Thanks and Regards
  Ajmer Singh

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Image Zomming using finger touch.

2010-09-23 Thread Ajmer Singh
Hi All

I need to implement the Image zoom in and zoom out functionality using the
finger touch,like we have it in Android  phone Image gallery,
Please let me know how can i do this in my app.Does any had done this
before.

Please help.

-- 
Thanks and Regards
Ajmer Singh

-- 
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] Video Streaming in Android Emulator Possible ?.

2010-09-21 Thread Ajmer Singh
Hi All

I am new to android, I have a simple question *Is Video Streaming possible
in Android Emulator*,I am using the example in Android SDK but it give me
message *Sorry Can't play this Video*.I am using Youtube Video to stream
in android Emulator.


Pls respond.
-- 
Thanks and Regards
Ajmer Singh

-- 
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] Video Streaming in Android Emulator Possible ?.

2010-09-21 Thread Ajmer singh
I want to stream a video from Network Like From youtube.com. Is that
possible in android emulator?.

On Tue, Sep 21, 2010 at 1:34 PM, Ramaraju naga v.nagaramar...@gmail.comwrote:

 It is possible...using Mediaplayer classs.

 see this code

 MediaPlayer video;

 setContentView(R.layout.main);
 VideoView video = (VideoView) findViewById(R.id.video);
 // Load and start the movie
 video.setVideoPath(/data/samplevideo.3gp );
 video.start();



 main layout file

 ?xml version=1.0 encoding=utf-8?
 FrameLayout
 xmlns:android=http://schemas.android.com/apk/res/android;
 android:layout_width=fill_parent
 android:layout_height=fill_parent 
 VideoView
 android:id=@+id/video
 android:layout_height=wrap_content
 android:layout_width=wrap_content
 android:layout_gravity=center /
 /FrameLayout


 On Tue, Sep 21, 2010 at 1:07 PM, Ajmer Singh ajmersing...@gmail.comwrote:

 Hi All

 I am new to android, I have a simple question *Is Video Streaming
 possible in Android Emulator*,I am using the example in Android SDK but
 it give me message *Sorry Can't play this Video*.I am using Youtube
 Video to stream in android Emulator.


 Pls respond.
 --
 Thanks and Regards
 Ajmer Singh


  --
 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.comandroid-developers%2bunsubscr...@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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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 SIM Card ID and Phone number from SIM Card

2010-09-13 Thread Ajmer singh
Hi

I require to read the SIM Cards data from my android phone.Could any body
please let me know how i can do this in Android phone.

-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Killing all the activities that was started by my application.

2010-09-08 Thread Ajmer Singh
Hi

I need to have a Exit menu items in my application,My question here is how
can i just exit the app,Please throw some light on this is that possible in
android if yes then how.

Please help,Thanks in advance

-- 
Thanks and Regards
Ajmer Singh

-- 
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: Killing all the activities that was started by my application.

2010-09-08 Thread Ajmer singh
Thanks for your reply

I have another question regarding that, How can i put the already running
activity in the background to the foreground,
For example : if i have started Activity A then i started other Activity B
Then Activity A should be sent to background Then how can i bring back
Activity A to foreground(With using the Back button).


On Wed, Sep 8, 2010 at 8:08 PM, viktor victor.scherb...@gmail.com wrote:

 Yahel is right, it is very dangerous.

 But you can try doing it with broadcast, and listen it in activities
 which you want to close.

 If you did, look at device CPU status. Maybe your devise is down!!!

 Or another way is saving your own activity stack, and consequentially
 finish.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Tiles not showing up in android MapView

2010-09-06 Thread Ajmer Singh
Hi

I want to use Mapview in my android app,problem is that i am not getting any
map data(No Map tiles),it only shows grey lines. Plese let me know what i am
doing wrong here,

I am copying my Logcat Details here:

09-04 11:36:21.519: INFO/ActivityManager(60): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x1020 cmp=HelloMapView.com/.HelloMapView }
09-04 11:36:21.989: ERROR/ActivityThread(254): Failed to find provider info
for com.google.settings
09-04 11:36:22.028: ERROR/ActivityThread(254): Failed to find provider info
for com.google.settings
09-04 11:36:22.469: WARN/MapActivity(254): Recycling dispatcher
com.google.googlenav.datarequest.datarequestdispatc...@43d0dce0
09-04 11:36:22.589: VERBOSE/MapActivity(254): Recycling map object.
09-04 11:36:23.818: INFO/MapActivity(254): Handling network change
notification:CONNECTED
09-04 11:36:23.879: ERROR/MapActivity(254): Couldn't get connection factory
client
09-04 11:36:24.729: INFO/ActivityManager(60): Displayed activity
HelloMapView.com/.HelloMapView: 3035 ms (total 3035 ms)

Please help!
-- 
Thanks and Regards
Ajmer Singh

-- 
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: Problem Installing app

2010-08-25 Thread Ajmer singh
Hi

I think this might be the possible reason for the error.

In the Android manifest file i am using android:minSdkVersion attributes of
the uses-sdk to 1, Though i have selected the Build Target version 2.1 at
the project creation time.Please confirm whether i am doing it wrong and
also let me know what should be the value of android:minSdkversion for Build
Target 2.2

Is this might be the reason why My Client is getting the error that *There
is problem parsing the package* when he try to open the apk file.My Client
is using Motorola Droid 2.2 for testing.

Please correct me.

2010/8/25 Kostya Vasilyev kmans...@gmail.com

 There are apps in Market that can read and email logcat.

 --
 Kostya Vasilyev -- http://kmansoft.wordpress.com

 25.08.2010 9:35 пользователь Ajmer singh ajmer.si...@evontech.com
 написал:


 Hi

 Problem is at My client end.Client is opening the .apk file from the email
 sent by me.

 Somebody please let me know that do i need to use some app installer
 utility.Is that works for me.



 On Wed, Aug 25, 2010 at 7:24 AM, laminina jennys.jen...@gmail.com wrote:
 
  It could be the sig...

 --
 Thanks and Regards
 Ajmer Singh


 --

 You received this message because you are subscribed to the Google
 Groups Android Developers group...

  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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: Problem Installing app

2010-08-25 Thread Ajmer singh
Please respond About the possible cause of problem during installation.

2010/8/25 Ajmer singh ajmer.si...@evontech.com

 Hi

 I think this might be the possible reason for the error.

 In the Android manifest file i am using android:minSdkVersion attributes
 of the uses-sdk to 1, Though i have selected the Build Target version 2.1
 at the project creation time.Please confirm whether i am doing it wrong and
 also let me know what should be the value of android:minSdkversion for
 Build Target 2.2

 Is this might be the reason why My Client is getting the error that *There
 is problem parsing the package* when he try to open the apk file.My
 Client is using Motorola Droid 2.2 for testing.

 Please correct me.

 2010/8/25 Kostya Vasilyev kmans...@gmail.com

 There are apps in Market that can read and email logcat.

 --
 Kostya Vasilyev -- http://kmansoft.wordpress.com

 25.08.2010 9:35 пользователь Ajmer singh ajmer.si...@evontech.com
 написал:


 Hi

 Problem is at My client end.Client is opening the .apk file from the email
 sent by me.

 Somebody please let me know that do i need to use some app installer
 utility.Is that works for me.



 On Wed, Aug 25, 2010 at 7:24 AM, laminina jennys.jen...@gmail.com
 wrote:
 
  It could be the sig...

 --
 Thanks and Regards
 Ajmer Singh


 --

 You received this message because you are subscribed to the Google
  Groups Android Developers group...

  --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 *Thanks and Regards
 Ajmer Singh*





-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Problem Installing app

2010-08-24 Thread Ajmer singh
Hi

I am working on a Android application , When i tried to download the My App
to My Motorola Droid 2.2 ,It gives an error that Problem in parsing,I am
using Ecllipse and Api 2.1 for development, Please let me know what could be
the issue.

Please help.


-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Problem Installing app

2010-08-24 Thread Ajmer singh
Hi

Thanks for replying.

I am downloading Android app from email attachment ie .apk file.When i try
to open the .apk files its gives me the Error that *There is problem in
parsing the package*.

Basically i get this error message as soon as i try to open the .apk file.

I have attached the Screen shots of the My Motorola Droid phone.I am new to
the android please let me know how could i get it install and working on My
Motorola Droid phone.

Please let me know how can i install My app on the Droid phone.

On Tue, Aug 24, 2010 at 6:50 PM, TreKing treking...@gmail.com wrote:

 On Tue, Aug 24, 2010 at 1:51 AM, Ajmer singh ajmer.si...@evontech.comwrote:

 I am working on a Android application ,


 OK!


 When i tried to download the My App to My Motorola Droid 2.2


 Download from where?


  ,It gives an error that Problem in parsing,


 What's It? Where are you seeing this error?


 I am using Ecllipse and Api 2.1 for development,


 OK!


 Please let me know what could be the issue.


 You're not providing enough information.


 -
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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=enattachment: Picture 23.jpg

Re: [android-developers] Problem Installing app

2010-08-24 Thread Ajmer singh
Hi

I am the developer of the app. I have send .apk file to my client via email
,Basically the problem is at my client end,

My Client is downloading app from email sent by me.
I have signed the app using the Ecillpse plug-in.

On Wed, Aug 25, 2010 at 12:50 AM, TreKing treking...@gmail.com wrote:

 On Tue, Aug 24, 2010 at 2:16 PM, Ajmer singh ajmer.si...@evontech.comwrote:

 I am downloading Android app from email attachment ie .apk file.


 I would email the person that sent you it back and ask for a copy that
 works ...



 -
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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: Problem Installing app

2010-08-24 Thread Ajmer singh
Hi

Problem is at My client end.Client is opening the .apk file from the email
sent by me.

Somebody please let me know that do i need to use some app installer
utility.Is that works for me.

On Wed, Aug 25, 2010 at 7:24 AM, laminina jennys.jen...@gmail.com wrote:

 It could be the signing certificates or the level SDK specified in the
 Android Manifest.

 If you try to install the apk with logcat enabled (connected to your
 USB cable), you will see the exact error that the package manager will
 send.

 :D hope this works

 On Aug 24, 1:40 pm, TreKing treking...@gmail.com wrote:
  On Tue, Aug 24, 2010 at 2:37 PM, Ajmer singh ajmer.si...@evontech.com
 wrote:
 
   My Client is downloading app from email sent by me.
   I have signed the app using the Ecillpse plug-in.
 
  Try again, maybe with your release key. I've done that and it works.
 
 
 ---
 --
  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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Problem in parsing the package.

2010-08-23 Thread Ajmer Singh
Hi

When I tried to download the My App  to my droid it says there is a problem
parsing the package.I am using ecllipse and api level 2.1 for development.

Please help its very urgent.


-- 
Thanks and Regards
Ajmer Singh

-- 
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] Direction information in android MapView

2010-08-16 Thread Ajmer singh
Hi

I want to show the direction information in my app.Direction from one
address to the another using Google maps and also wanted to set overlays at
the starting address and the destination address.Is there any classes in
android too do that.

please let me know how can i do this

-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Direction information in android MapView

2010-08-16 Thread Ajmer singh
Hi

Can you please let me know how to do that in android.

On Tue, Aug 17, 2010 at 12:08 AM, TreKing treking...@gmail.com wrote:

 On Mon, Aug 16, 2010 at 1:21 PM, Ajmer singh ajmer.si...@evontech.comwrote:

 Is there any classes in android too do that.


 Nope, though are probably ways to invoke the Google Maps app to do this.


 -
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Location from cell site or from Triangulation

2010-08-10 Thread Ajmer Singh
Hi All,

I am working on the location based android app. I need to implement code
that find the location of the user, using cell site or triangulation.please
let me know how this can be done in android.

Please Help

-- 
Thanks and Regards
Ajmer Singh

-- 
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: Location from cell site or from Triangulation

2010-08-10 Thread Ajmer singh
Hi Coryat

Thanks for your reply.However can you please let me know how we can do that
in android i mean is there any code that you can send or a link to that code
packet.


On Wed, Aug 11, 2010 at 12:09 AM, Maps.Huge.Info (Maps API Guru) 
cor...@gmail.com wrote:

 Yes, it can.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Transferring control from Non UI thread to Ui Thread

2010-07-21 Thread Ajmer singh
Hi All

When i try start activity from inside a service onCreate() method,Its gives
me the Exception

*ERROR/AndroidRuntime(705): java.lang.RuntimeException: Unable to create
service morvee.com.util.StoreAds: android.util.AndroidRuntimeException:
Calling startActivity() from outside of an Activity  context requires the
FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?*

I am a new to the android development,Could you please let me know how i can
use *FLAG_ACTIVITY_NEW_TASK.*


Please help!
On Tue, Jul 20, 2010 at 10:51 PM, TreKing treking...@gmail.com wrote:

 On Mon, Jul 19, 2010 at 5:02 AM, Ajmer singh ajmer.si...@evontech.comwrote:

 Basically i want to start a new activity from a background service,Is that
 possible ?


 Of course it is. startActivity(). Done.


 -
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Transferring control from Non UI thread to Ui Thread

2010-07-19 Thread Ajmer singh
Hi Frank

I tried to use the PendingIntent but won't work for me may be i was doing it
wrong, Basically i need to start the simple background service that will get
the updates periodically from webserver and look for new coupons there.if he
found any new coupon then i simply need to present user a chioce either to
view the updated coupon or not,


Basically i want to start a new activity from a background service,Is that
possible ?,Please help.

On Sun, Jul 18, 2010 at 12:16 AM, Frank Weiss fewe...@gmail.com wrote:

 I think you should know that an Android service is not meant to
 interact with the user directly, as with a dialog.

 Aside from questioning why the user input is needed in the midst of
 the service and whether the entire background process needs to be
 performed in a service, here's what I'd recommend:

 Split the service into two or three parts. The first would be up to
 the point of requesting the user's choice, the other one or two would
 be the branches of the user choice. Use a notification (pending
 intent, handler) at the branch part (the Android way of having a
 service ask or provide information to the user). You can use a single
 service instead of several by using a state machine pattern (the
 service does different things depending on its state).

 hth

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks and Regards
Ajmer Singh*

-- 
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] Transferring control from Non UI thread to Ui Thread

2010-07-17 Thread Ajmer singh
Hi

I have started a service that works in background and i need to show a
dialog box containing Yes and No buttons.But when i try to show the
Dialog box from service it give me below exception and not even show dialog
box.
*Exception is here.java.lang.RuntimeException: Can't create handler inside
thread that has not called Looper.prepare()
*
Please help how can i do 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 this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Using back button in android.

2010-07-16 Thread Ajmer Singh
I am a new to android development
I want to override the default back button operation in android,please let
me know how i can do this in code.

-- 
Thanks and Regards
Ajmer Singh

-- 
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