[android-developers] Apk published in alpha channel not found in playstore

2016-05-01 Thread senthil sen
Hi,

I have published the sample app for in app purchase in the alpha channel 
mode. 
I linked few test accounts in the developer account in closed alpha group. 
Logged in with those test accounts in playstore after 2 to 3 hrs, I tried 
to access the url link where we can get the published app but I get the app 
not found in playstore.

May I know why the app published in alpha channel is not reflecting in the 
playstore link.

Below is the link where the sample app is published.

https://play.google.com/apps/testing/com.hexaware.inapp.trivialdrivesample.

Thanks,
Senthil M

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/0d56bf9c-3c1b-4f42-974e-1dc841a9738d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: image issue while view it as base64 in android mobile2.3

2013-03-18 Thread senthil kumar
Store the image as base64 in sqlite browser but we are not able to see the 
5 or 6 image.
In samasung galaxy y we only see  2 image which we store.In Lemon mobile we 
only see 2 or 4 images.
In micromax only to see 5 or 6 image after that all image we took is seen 
as black screen we don't know why it happening..

On Thursday, March 14, 2013 9:47:24 AM UTC+5:30, senthil kumar wrote:
>
> Hi,
>Using phone and javascript in our application. we want to see the image 
> as base64 from the sqlite db.
> In some mobile all the image(i.e 4 or 5) are viewed but in some mobile 
> some of the image(even 1 is not displayed) are not viewed we do not know 
> why it happening...
> is it due to memory? Please explain , if any know about this issue...
>

-- 
-- 
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/groups/opt_out.




[android-developers] image issue while view it as base64 in android mobile2.3

2013-03-13 Thread senthil kumar
Hi,
   Using phone and javascript in our application. we want to see the image 
as base64 from the sqlite db.
In some mobile all the image(i.e 4 or 5) are viewed but in some mobile some 
of the image(even 1 is not displayed) are not viewed we do not know why it 
happening...
is it due to memory? Please explain , if any know about this issue...

-- 
-- 
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/groups/opt_out.




[android-developers] using phonegap plugin in android want to reduce the screen size of camera

2012-08-07 Thread senthil kumar
I am using phonegap plugin in android
want to reduce the screen size of camera.
i have attached the capture.xml file with this mail.
please find the attachment...

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

capture.xml
Description: XML document


[android-developers] LG Optimus PRO phone runs out of memory.

2012-03-09 Thread senthil kumar
When i ran an application in the LG Optimus PRO phone. It shows some
of the service running on the back of it.
When i stop some of the service and RAM get the free space and then
only able to run the application.
Will it possible to stop the service which are running at background..

Note:
  Using Webview in android to run the application.

-- 
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] Google map is not displaying well in the Samsung galaxy s551 and LG Optimus ME.

2012-03-09 Thread senthil kumar
Google map is not displaying well in the Samsung galaxy s551 and LG
Optimus ME but the same application is run in LG Optimus PRO well
Able to find the root between the two latitudes and longitudes
values.The above said 2 phones the google map is not displaying
well.It is half  loaded google map

Note:
  Using Webview in android with jquery mobile for the UI Design.

-- 
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: Starting Android

2012-02-08 Thread Senthil kumar
Check with vogella,its really a great site to learn android development..Am
also learning from that site

On Wed, Feb 8, 2012 at 2:25 PM, T.M.S.VIJAYKUMARR
wrote:

> check this http://iamvijayakumar.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
>



-- 
 REGARDS,

 Senthilkumar Ramasamy
 Mobile   +91 9686331353
 Office  080 41068475
  "BE A HERO AND ALWAYS SAY,I HAVE NO FEAR"

-- 
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] Convert AMR to MP3

2011-11-22 Thread senthil raja
On Sat, Nov 19, 2011 at 8:57 PM, Giuseppe Porcelli- FINM <
porcelli.giuse...@gmail.com> wrote:

> Dear All,
>
> someone can help me to convert AMR file to MP3 on the device? No
> experience with NDK only JAVA.
>
> ** **
>
> Thank’s
>
> Giuseppe
>
> ** **
>
> --
> 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

[android-developers] using android in phonegap.js and jquery mobile

2011-09-30 Thread senthil kumar
Hi,
  I am developing an application in android make use of phonegap.js
and jquery mobile.
In the application through HTTP Connection get some data from the
server.
Just want to know whether to use Phonegap.js or not..
Please help me...

-- 
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] application is slow and xml file updated values is not getting correctly..

2011-07-19 Thread senthil kumar
Hi,
  I am using jQuery mobile,javascript,HMTL,CSS and Phonegap.
When i run the application in the android mobile (sony ericsson
xperia)
the application is too slow to load.I connected the mobile through the
WIFI.

And i am facing another problem in the Mobile device.
some xml files is placed on the server particular values is updated
frequently.
and should be reflect in the application.
In the desktop the application running correctly but in the mobile it
is not showing the
updated values in the xml. i have used the same code for both the
applications.

please help me to resolve these issues.

-- 
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: Radio button in list adapter

2011-05-26 Thread Senthil ACS
Have a layout that contains a radio button. Inflate the layout for the
list in your "getView()" or "bindView" method.

On May 26, 7:13 am, TreKing  wrote:
> On Wed, May 25, 2011 at 8:42 PM, Jay SB  wrote:
> > Could  any throw some light for implementing the Radio button click in the
> > list adapter?
>
> Your question is extremely vague - especially since a Radio Button has
> nothing to do with a List Adapter.
>
> --- 
> --
> 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


[android-developers] Re: security exception while reading call logs?

2011-05-26 Thread Senthil ACS
We delete call logs for one of our use cases and it works. We use
these two permissions. And it must work for query as well.



Senthil

On May 26, 9:43 am, Hitendrasinh Gohil 
wrote:
> hi,
>
> i have already set READ_CONTACT in 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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ListView Issue

2011-05-26 Thread Senthil ACS
Agree with Treking..

Hint: Use layoutinflater

On May 26, 2:28 am, TreKing  wrote:
> On Tue, May 24, 2011 at 1:18 PM, bhima santosh wrote:
>
> > I want to have a listview with each row having a button,textview and image.
> > Can anyone tell how to go abt it
>
> Step 1 would be "Read the documentation."
>
> --- 
> --
> 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


[android-developers] Re: SQLite, Cursors, CursorIndexOutOfBoundsException

2011-05-26 Thread Senthil ACS

Hi,

After you get a cursor object from a query, check the count before
doing "moveToFirst()".

if(cursor.getCount() > 0)
{
   cursor.moveToFirst();
   ... processing ...
}

On May 26, 3:12 am, adek  wrote:
> Hello,
>
> As a beginner in android java world I need your help. I've got problem
> with famous "CursorIndexOutOfBoundsException".
>
> I'm using SQLite db, and I have two cursors, I'm getting some rows
> from database.
> I need to get some previous values with some conditions with second
> cursor (c2) and put these values on ListView.
>
> Code works with one exception:
> "android.database.CursorIndexOutOfBoundsException: Index 0 requested,
> with a size of 0".
>
> ListView looks OK if I just ignore this exception but I want to fix
> it.
>
> I know it is connected to with Cursor. I tried to check some
> conditions - it didn't help. Maybe if you could take a look at my code
> you find where is the cause.
>
> Code:
>
> public void LoadLogGrid()
>     {
>         dbHelper=new DatabaseHelper(this);
>         try
>         {
>
>         int LogName = (int) spinLog.getSelectedItemId();
>                 Cursor c=dbHelper.getLogByLogID(LogName);
>                 if (c != null) c.moveToFirst();
>                 int count = c.getCount();
>
>         if (c.moveToFirst()){
>                 ArrayList mArrayList = new ArrayList();
>
>         int i=0;
>         do {
>
>                 int sVar1 = c.getInt(c.getColumnIndex("Var1"));
>                 Long sId = (long) c.getInt(c.getColumnIndex("_id"));
>
>                 Cursor c2=dbHelper.getPrevLogByLogID(LogName,sVar1);
>                 c2.moveToFirst();
>
>                 if (c2!=null) {
>                         String sPrevOdo = 
> c2.getString(c2.getColumnIndex("Odo"));
>                         mArrayList.add(sPrevOdo);
>                        c2.close();
>                 } else {
>                           //stopManagingCursor(c2);
>                           //c2.close();
>                         Log.d("A:", "Something");
>                 }
>
>                 String [] from=new String []{"Date","Col1","Col2","Col3"};
>                         int [] to=new int []
> {R.id.logDate,R.id.logCol1,R.id.logCol2,R.id.logCol3,R.id.rowOpt2};
>                         SimpleCursorAdapter sca=new
> LogCursorAdapter(this,R.layout.loggridrow,c,from,to,mArrayList);
>                         grid.setAdapter(sca);
>                         registerForContextMenu(grid);
>                         i++;
>
>             } while (c.moveToNext());
>
>                         c.close();
>
>         dbHelper.close();
>         }
>
>         }
>         catch(Exception ex)
>         {
>                 AlertDialog.Builder b=new AlertDialog.Builder(this);
>                 b.setMessage(ex.toString());
>                 b.show();
>         }
>
>     }
>
> Query in second cursor:
>
> public Cursor getPrevLogByLogID(long LogID, long Var1)
>          {
>                  SQLiteDatabase db=this.getReadableDatabase();
>                 String[] params=new String[]
> {String.valueOf(LogID),String.valueOf(Var1)};
>
>                  Cursor c2=db.rawQuery("SELECT LogID as _id, Col1 from Log 
> WHERE
> Col2=? AND Col3                  if (c2 != null) { c2.moveToFirst();}
>                  return c2;
>          }

-- 
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: Convert tamil unicode character to tamil text

2011-05-02 Thread Senthil ACS
Madam,

U need to have UTF16 font (Latha or Aksharamala) installed on the
device. The font typically tells how to draw on the screen. And every
character is associated with a unicode character. Hence, try to find
if u can place the font in the phone. If u have your android phone
rooted, u can play with the file system.

Regards
acs

On May 2, 11:54 am, subhashini alaguchokku
 wrote:
> Hi!
>
> Thanks Zsolt Vasvari , Now i do live web application(android). I want to
> disply tamil news. so i now get response(unicode characters) from
> server(using Json).
>
> like this unicode characters get from server,
>
> சென்னை
> பேஷன் ஷோ
>
> I need to convert this code to tamil font. this is  possible?
>
> Thanks and Regards,
> suba
>
>
>
> On Mon, May 2, 2011 at 12:06 PM, Zsolt Vasvari  wrote:
> > What have you tried?
>
> > I know, you cannot e-mail me privately.
>
> > On May 2, 2:26 pm, subhashini alaguchokku
> >  wrote:
> > > Hi!
>
> > > How to convert the tamil unicode character into tamil text in android,
> > this
> > > is possible in android? if anyone know give me ideas.
>
> > > Thanks and Regards,
> > > suba
>
> > --
> > 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


[android-developers] Re: OutOfMemory exception in OnCreate

2010-10-03 Thread Senthil ACS
onCreate gets called when u turn change the orientation if you are not
handling orientation changes in the manifest.
I have seen so many ppl complaining of this. The perfect solution is
given in this link

http://android-developers.blogspot.com/2009/01/avoiding-memory-leaks.html

If its failing to load on the first run, reduce your picture size.

acs

On Oct 3, 3:14 am, Yahel  wrote:
> Hi all,
>
> I'm having a hard time resolving a crash report.
> It's an OutOfMemory exception that occurs during the setContentView in
> the onCreate of my main activity.
>
> I just want to be sure I understood Android LifeCycle well :
>
> 1) The onCreate of my main activity is called once and only once
> during the life time of my application ? Is that correct ?
>
> 2) Just like for the big bang, before the oncreate of my activity,
> nothing exists for that activity, so memory consumption is zero, no
> objects exists right ?
>
> So what can cause that sometimes, with random framework and devices, I
> get an OOM exception ?
> I mean if say my background image  is causing this, it should blow up
> everytime, on every device, shouldn't it ? I mean the result should be
> reliable.
>
> The background image is a standard jpg : 360*480 weighing 37kb,
> nothing fancy really :s
>
> The crash report below :
>
> java.lang.RuntimeException: Unable to start activity
> ComponentInfo{com.kayenko.awof/com.kayenko.awof.Main}:
> android.view.InflateException: Binary XML file line #10: Error
> inflating class 
>         at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2663)
>         at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> 2679)
>         at android.app.ActivityThread.access$2300(ActivityThread.java:125)
>         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
> 2033)
>         at android.os.Handler.dispatchMessage(Handler.java:99)
>         at android.os.Looper.loop(Looper.java:123)
>         at android.app.ActivityThread.main(ActivityThread.java:4627)
>         at java.lang.reflect.Method.invokeNative(Native Method)
>         at java.lang.reflect.Method.invoke(Method.java:521)
>         at com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:868)
>         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
>         at dalvik.system.NativeStart.main(Native Method)
> Caused by: android.view.InflateException: Binary XML file line #10:
> Error inflating class 
>         at android.view.LayoutInflater.createView(LayoutInflater.java:513)
>         at
> com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayo 
> utInflater.java:
> 56)
>         at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:
> 563)
>         at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
>         at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
>         at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
>         at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
>         at
> com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.jav a:
> 198)
>         at android.app.Activity.setContentView(Activity.java:1647)
> 
>         at com.kayenko.awof.Main.onCreate(Main.java:174)
> 
>         at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
> 1047)
>         at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2627)
>         ... 11 more
> Caused by: java.lang.reflect.InvocationTargetException
>         at android.widget.FrameLayout.(FrameLayout.java:79)
>         at java.lang.reflect.Constructor.constructNative(Native Method)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
>         at android.view.LayoutInflater.createView(LayoutInflater.java:500)
>         ... 22 more
> Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
>         at android.graphics.Bitmap.nativeCreate(Native Method)
>         at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
>         at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
>         at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
>         at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:
> 488)
>         at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:
> 462)
>         at
> android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:
> 323)
>         at
> android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:
> 697)
>         at android.content.res.Resources.loadDrawable(Resources.java:1709)
>         at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
>         at android.view.View.(View.java:1885)
>         at android.view.ViewGroup.(ViewGroup.java:291)
>         at android.widget.FrameLayout.(FrameLayout.java:83)
>         ... 26 more
>
> Thanks for any hint.
>
> 

[android-developers] Re: mapview on the top part of the screen ?

2010-05-08 Thread Senthil ACS
503 by 480 is huge.
Try setting width as "fill_parent" and height as say 100dip.

On May 7, 5:14 am, jgan  wrote:
> Hi
>
> Does anyone know how to put mapview on the top part of the screen?
>
> The map always occupies the whole screen and squeezes out the views
> below.
>
> The explicitly specified height and width does not help either.
>
> com.google.android.maps.MapView
>                                         android:id="@+id/myMapView"
>                          android:layout_width="480dip"
>                          android:layout_height="503dip"
>
> It works if the other views are on the top part of the screen and the
> mapview is at the bottom part.
>
> Thanks.
>
> Jim
>
> --
> 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 
> athttp://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


[android-developers] Re: Button in ListView Event

2010-05-08 Thread Senthil ACS
Dude..

In intent.setClass(), pass the first parameter as the activity context
that, in this case, can be obtained by declaring a final variable
outside the onClick() method so that it can be accessed inside.

Second paramter must be the target classname dot class.
(TargetClass.class)

Modifying hte code..


final Context ctx = this; // i hope this code is
within the main activity
holder.btviewdetail.setOnClickListener(new
OnClickListener() {
public void onClick(View v){
Log.e("TEXTValue",
mList.get(position).get(mIndex[3]).toString());
//productlistitem a = new
productlistitem();
//
a.test(mList.get(position).get(mIndex[1]).toString());

Intent intent = new Intent();
intent.setClass(ctx,
productdetail.class); // productdetail doesnt seem to be the class
name. Rename this as the class name
startActivity(intent);
}

});



On May 6, 9:50 am, Siow  wrote:
> I have one custom Listview with a button, now i want to click the
> button and open another class. below is my code, but have error, any
> one can help one it??
>
> this one is a custom adapter.
>
>                 holder.btviewdetail.setOnClickListener(new OnClickListener() {
>                         public void onClick(View v){
>                                 Log.e("TEXTValue", 
> mList.get(position).get(mIndex[3]).toString());
>                                 //productlistitem a = new productlistitem();
>                                 
> //a.test(mList.get(position).get(mIndex[1]).toString());
>
>                                 Intent intent = new Intent();
>                                 intent.setClass(productlistitem.this, 
> productdetail.class);
>                                 startActivity(intent);
>                         }
>
>                 });
>
> error in the intent setclass.
>
> --
> 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 
> athttp://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


[android-developers] Re: SQLite & concurrent access best practices

2010-05-08 Thread Senthil ACS
For insert() and update(), have it under synchronized blocks.

On May 8, 5:40 pm, Thierry Legras  wrote:
> Hi,
>
> I have an application with several tables, each being updated by AsyncTask
> fired by different Activities and used by UI with SimpleCursorAdapter.
> Though i am not developping a game, I would like to avoid to interrupt the
> user as mush as possible.
> Has SQLite is not multiaccess proof, what is the best way of handling such
> situation?
>
> - I consider adding lock from each DB open and to each close sequence but
> this seems quite subject to bugs
> - The solution i am using now is that each DB access (read/write) is done in
> UI thread (when AsyncTask completes, DB write is done typically in
> onPostExecute), but that means user is blocked for several seconds during
> the DB write.
>
> Is there any better solution for that? Should i use a ContentProvider? when
> i read "Content providers store and retrieve data and make it accessible to
> all applications", this does not seems to be what i need. Any idea?
>
> --
> Thierry.
>
> --
> 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 
> athttp://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


[android-developers] Re: Best practice for sharing a SQLiteCursor from one Activity to another?

2010-05-08 Thread Senthil ACS
I remember there is an interface named CrossProcessCursor that
implements Cursor.
Specify this interface in your aidl interface method.

On May 8, 7:21 pm, westmeadboy  wrote:
> In one activity I build a cursor which is used to populate a ListView.
>
> I want a secondary activity to be able to step through the cursor
> entries. What's the best way to do this (bearing in mind cursor
> lifecycle).
>
> I don't care if the the system kills and restarts the secondary
> activity since in that case the stepping through entries functionality
> could be temporarily automatically disabled.
>
> --
> 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 
> athttp://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


[android-developers] Type to Search with Multiple Content Providers

2010-02-27 Thread Senthil ACS
Hi All,

I am implementing a Type To Search functionality using Quick Search
Bar. Here, i have a requirement where from the MainActivity, i must be
able to search for Media (Songs, Images, Videos) + a list of new
movies from the server. I have separated both of them in two different
ContentProviders.

Here, it does not query for the second content provider. Only Media
gets searched.

Is there any way by which we can specify two CotentProviders and have
both of them searched for Type to Search?

Senthil

-- 
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: Retrieving Shoutcast Meta-Data from MediaPlayer not possible. Any alternative ?

2009-12-10 Thread senthil sen

Can you please share me the source code of how u are getting the meta
data of shoutcast stream. I am also trying to play a radio station.
But i am getting a small gap in between while playing.

thanks,
Sondy

On Nov 26, 8:23 pm, Ole  wrote:
> I've solved the issue.
>
> The solution is to simply get the meta-data separately from the
> MediaPlayer-stuff by connecting to the stream from time to time with
> HttpURLConnection and extracting the meta-data.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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: UnknownHostException on 1.5 emulator

2009-07-13 Thread senthil sen

Hi friends,

I am also facing the same issue.. When i run my application for
sometime, suddenly the network is getting disconnected and i am
getting the unknownhostexception in my application. In that case if i
check the browser, the same exception occurs.I don't know why internet
is getting disconnected suddenly. It works fine only if i re start the
emulator again.  If any one knows and provides the solution, it will
be very much helpful for everyone.


thanks in advance,
Senthil.M

On Jun 8, 9:41 pm, Dimitris  wrote:
> I too get the same problem on emulator 1.5. After multiple test
> sessions suddenly the connection to the emulator hangs. I cannot use
> view my apps heap, threads or access any URI from the emulator. I have
> to restart the emulator to fix this.
>
> Hopefully this does not happen on my ADP1 coming here tomorrow.
>
> On Jun 8, 5:14 am, Peter Jeffe  wrote:
>
> > David, this is happening several times a day to me, forcing me to
> > restart my emulator.  I can't say I've seen it on the phone, and I'd
> > imagine we'd know about it if it was pervasive on the device, but it's
> > still worrisome.  Any update?
>
> > Also, any comment on the following?
>
> > > An unrelated concern: it seems like it's querying the server every
> > > time an application tries to resolve an address--doesn't the resolver
> > > cache at all?  I'm looking at records that have 2-hour TTLs but it's
> > > querying them every few minutes.  Seems to me this wastes battery and
> > > bandwidth and greatly increases application-level latency.
>
> > Thanks.
>
> > -- Peter
>
>

--~--~-~--~~~---~--~~
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: UnknownHostException on 1.5 emulator

2009-07-13 Thread senthil sen


Hi friends,

I am also facing the same issue.. When i run my application for
sometime, suddenly the network is getting disconnected and i am
getting the unknownhostexception in my application. In that case if i
check the browser, the same exception occurs.I don't know why internet
is getting disconnected suddenly. It works fine only if i re start the
emulator again.  If any one knows and provides the solution, it will
be very much helpful for everyone.


thanks in advance,
Senthil.M

On Jun 8, 9:41 pm, Dimitris  wrote:
> I too get the same problem on emulator 1.5. After multiple test
> sessions suddenly the connection to the emulator hangs. I cannot use
> view my apps heap, threads or access any URI from the emulator. I have
> to restart the emulator to fix this.
>
> Hopefully this does not happen on my ADP1 coming here tomorrow.
>
> On Jun 8, 5:14 am, Peter Jeffe  wrote:
>
> > David, this is happening several times a day to me, forcing me to
> > restart my emulator.  I can't say I've seen it on the phone, and I'd
> > imagine we'd know about it if it was pervasive on the device, but it's
> > still worrisome.  Any update?
>
> > Also, any comment on the following?
>
> > > An unrelated concern: it seems like it's querying the server every
> > > time an application tries to resolve an address--doesn't the resolver
> > > cache at all?  I'm looking at records that have 2-hour TTLs but it's
> > > querying them every few minutes.  Seems to me this wastes battery and
> > > bandwidth and greatly increases application-level latency.
>
> > Thanks.
>
> > -- Peter
>
>

--~--~-~--~~~---~--~~
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: UnknownHostException on 1.5 emulator

2009-07-13 Thread senthil sen

Hi friends,

I am also facing the same issue.. When i run my application for
sometime, suddenly the network is getting disconnected and i am
getting the unknownhostexception in my application. In that case if i
check the browser, the same exception occurs.I don't know why internet
is getting disconnected suddenly. It works fine only if i re start the
emulator again.  If any one knows and provides the solution, it will
be very much helpful for everyone.


thanks in advance,
Senthil.M

On Jun 8, 9:41 pm, Dimitris  wrote:
> I too get the same problem on emulator 1.5. After multiple test
> sessions suddenly the connection to the emulator hangs. I cannot use
> view my apps heap, threads or access any URI from the emulator. I have
> to restart the emulator to fix this.
>
> Hopefully this does not happen on my ADP1 coming here tomorrow.
>
> On Jun 8, 5:14 am, Peter Jeffe  wrote:
>
> > David, this is happening several times a day to me, forcing me to
> > restart my emulator.  I can't say I've seen it on the phone, and I'd
> > imagine we'd know about it if it was pervasive on the device, but it's
> > still worrisome.  Any update?
>
> > Also, any comment on the following?
>
> > > An unrelated concern: it seems like it's querying the server every
> > > time an application tries to resolve an address--doesn't the resolver
> > > cache at all?  I'm looking at records that have 2-hour TTLs but it's
> > > querying them every few minutes.  Seems to me this wastes battery and
> > > bandwidth and greatly increases application-level latency.
>
> > Thanks.
>
> > -- Peter
>
>

--~--~-~--~~~---~--~~
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] UnKnownHostException

2009-07-13 Thread senthil sen

Hi friends,

I am also facing the same issue.. When i run my application for
sometime, suddenly the network is getting disconnected and i am
getting the unknownhostexception in my application. In that case if i
check the browser, the same exception occurs.I don't know why internet
is getting disconnected suddenly. It works fine only if i re start the
emulator again.  If any one knows and provides the solution, it will
be very much helpful for everyone.


thanks in advance,
Senthil.M

--~--~-~--~~~---~--~~
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 add SMS to inbox in android programmatically?

2009-03-13 Thread senthil

HI,
Iam sending the sms by using the below code,
SmsManager smsManager = SmsManager.getDefault();
smsManager.sendTextMessage(destAddr, null, mMessageText, il, null);

But, the same SMS message needs to be reflected in the Native sms
inbox,
Can anyone help me out in achieving this

Thanks in Advance !
--~--~-~--~~~---~--~~
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 can we restart an Activity properly?

2009-01-07 Thread Senthil kumar A

Hi Toothy Bunny,
  Please try this code in your restart. i think works fine

Intent  intent = this.getIntent();
startActivity(intent);
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.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Send SMS from Emulator

2008-06-22 Thread senthil arjunan
Hi Ramesh,
  Pls follow this link...hope to help u..

http://www.anddev.org/how_to_send_sms-t552.html
 \
Regardsn
Senthil Arjunan

On Mon, Jun 23, 2008 at 12:17 PM, Ramesh <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> In My Application, I have send sms from emulator with out
> network. at the time the sms could not send. it will show failed
> message.
> can you give me any idea..
>
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Working with files

2008-05-23 Thread senthil arjunan
Hi,
   Use DDMS perspective than use File Explorer..


On Fri, May 23, 2008 at 2:46 PM, imen <[EMAIL PROTECTED]> wrote:

>
> Hi,
> In my application, i want to use files that are in my computer. I want
> to open a file on the Emulator.
>
> Please, how can i do it ?
>
> Thank you.
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: using mysql

2008-05-09 Thread senthil arjunan
Hi Neo,
   Try this..

JAVA:

String exsistingFileName = "samplefile.txt";
 String lineEnd = "\r\n";
 String twoHyphens = "--";
 String boundary = "*";
 String urlString="path/db_conn.php";
 HttpURLConnection conn;
 DataOutputStream dos;

try{

FileInputStream fileInputStream  =
openFileInput(exsistingFileName);
InputStreamReader isr = new InputStreamReader(fileInputStream );
char[] inputBuffer = new char[fileInputStream .available()];
isr.read(inputBuffer);
String readString = new String(inputBuffer);
tv.setText("from file"+readString); // --> It is
reading text from file.

URL url = new URL(urlString);


 // Open a HTTP connection to the URL

 conn = (HttpURLConnection) url.openConnection();

 // Allow Inputs
 conn.setDoInput(true);

 // Allow Outputs
 conn.setDoOutput(true);

 // Don't use a cached copy.
 conn.setUseCaches(false);

 // Use a post method.
 conn.setRequestMethod("POST");

 conn.setRequestProperty("Connection", "Keep-Alive");

 conn.setRequestProperty("Content-Type",
"multipart/form-data;boundary="+boundary);

 dos = new DataOutputStream( conn.getOutputStream() );

 dos.writeBytes(twoHyphens + boundary + lineEnd);
 dos.writeBytes("Content-Disposition: form-data;
name=\"uploadedfile\";filename=\"" + exsistingFileName +"\"" + lineEnd);
 dos.writeBytes(lineEnd);

   //  Log.e(Tag,"Headers are written");

 // create a buffer of maximum size
int maxBufferSize=1024;
int bytesAvailable = fileInputStream.available();
int bufferSize = Math.min(bytesAvailable, maxBufferSize);
byte[] buffer = new byte[bufferSize];

 // read file and write it into form...

 int bytesRead = fileInputStream.read(buffer, 0, bufferSize);

 while (bytesRead > 0)
 {
 dos.write(buffer, 0, bufferSize);
 bytesAvailable = fileInputStream.available();
 bufferSize = Math.min(bytesAvailable, maxBufferSize);
 bytesRead = fileInputStream.read(buffer, 0, bufferSize);
 }

 // send multipart form data necesssary after file data...

 dos.writeBytes(lineEnd);
 dos.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);

 // close streams
  //   Log.e(Tag,"File is written");
 fileInputStream.close();
 dos.flush();
 dos.close();

}catch(Exception e){tv.setText("this is error"+e.toString());
}

PHP:

  0){
$target_path = "uploads/";
foreach($_FILES as $file){
$target_path = $target_path . basename($file['name']);

if(move_uploaded_file($file['tmp_name'], $target_path)) {
chmod($target_path, 0755);
 echo "The file ". basename($file['name'])." has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
}
}

echo "file name is :".$file['name']."\n";
echo "file completed";
die();
?>

On Thu, May 8, 2008 at 10:00 PM, Dan U. <[EMAIL PROTECTED]> wrote:

>
> Use a web service between your client and your database.
>
> On May 8, 6:59 am, neo beyond the matrix
> <[EMAIL PROTECTED]> wrote:
> > I want to access a mysql database from android –sending/receiving data
> >
> > great answers welcome :)
> > neo
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---