[android-developers] Re: Android Sim Card Needed?

2009-10-15 Thread powerbyte
yes, you can. First, insert SIM with GPRS support. Login to Google account. ( Incase problem connecting to internet, change APN Settings). Second, take out the SIM used to connect internet, use any SIM. Setup Wifi to connect internet On Oct 15, 7:44 pm, pro wrote: > Could you explain a bit mo

[android-developers] Re: Problem in simple Code SQLite

2009-09-02 Thread powerbyte
To delete all rows of the table db.delete("DATABASE_TABLE", null,null); or you can drop the table ( which removes the table from db ) db.execSQL("DROP TABLE IF EXISTS DATABASE_TABLE"); On Sep 2, 12:25 pm, "Bharath B.G." wrote: > yup, its working, thank

[android-developers] Re: Help in the "HelloMapView " tuto

2009-09-01 Thread powerbyte
Set project build target to "Google API" and try. Select your project in PackageExplorer and right mouse click, select properties. Select "Android" in left pane and now "Google APIs" to Verify Open default.properties and you see last line as target=Google Inc.:Google APIs:3 On Sep 1, 6:29 pm,

[android-developers] Re: Problem in simple Code SQLite

2009-09-01 Thread powerbyte
add moveToFirst() after Cursor c=db.query(DATABASE_TABLE, new String[] { COL_ID,COL_NAME}, null, null, null, null, null); c.moveToFirst(); and before closing db.close() also close Cursor c.close(); On Sep 2, 9:17 am, "Bharath B.G." wrote: > *Here is the logcat, i got this when i changed the

[android-developers] Re: reduce list view font size

2009-08-30 Thread powerbyte
Check the sample code in ..\android-1.5\samples\ApiDemos\src\com\example\android\apis\view \List14.java -Somu On Aug 31, 8:58 am, Sasi Kumar wrote: > thanks for your reply. > Please give one example briefly/ > > On Aug 29, 8:59 pm, "Balwinder Kaur (T-Mobile USA)" > > > mobile.com> wrote: > >

[android-developers] Re: Sharing data between activities

2009-08-14 Thread powerbyte
Hello Olli, what is the size of byte[] data? may be problem with the heap size. In logcat output, is something like grow heap? if yes, try with increasing heap size. pb On Aug 14, 2:22 pm, Elias wrote: > I have tried to share betweeb two simpleactivities: > > On "parent" activity, I'll start I

[android-developers] Re: ADC2

2009-08-04 Thread powerbyte
Karthik, Just release 30 or 60 day trail version. piracy cannot be avoided. once your app is released your idea is out. so, patent your idea before release. -pb On Aug 4, 11:41 pm, karthikr wrote: > Hi Guys, > > Can someone help me out with requested info? > > Regards, > R.Karthik > > On Aug

[android-developers] Re: Sharing data between activities

2009-08-04 Thread powerbyte
Hello >>To summarize: Activities don't have constructors! How do I send data >>to them from their parent activity??? we can send data from parent activity to childs, using Intent for example: In parent activity, Intent intent = new Intent(this,com.sample.aaa.class); //aaa is child activity

[android-developers] Re: How to use CheckBox as children in ExpandableList?

2009-08-03 Thread powerbyte
Hello Kostmo use the following code to toggle check box @Override public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { CheckedTextView tempView = (CheckedTextView)v.findViewById (android.R.id.text1); tempView.setChecked

[android-developers] Re: How to use CheckBox as children in ExpandableList?

2009-08-03 Thread powerbyte
Hello kostmo, use the following code to toggle checkbox @Override public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { CheckedTextView tempView = (CheckedTextView)v.findViewById (android.R.id.text1); tempView.setChecked(!t