[android-developers] Re: An unexpected error occurred. Please try again later. (4800000)
Hello , I facing this issue for almost 4 weeks... I also contacted google and still got no solution.. If there's no solution to this , then I'm forced to use PayPal for my mobile payments... > >> -- 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/d70202a2-bb50-4f31-84b1-d74e2afa999b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Access to USB Device
Hello Frank, thanks for your reply! The GPS receiver plays the role of the USB device and the tab is the host. They are connected by an OTG cable which seems to work. I have tried an active USB hub now, but the result is the same. When I connect a mouse to the tab or the hub, a cursor appears and I can use the mouse. But the mouse doesn't exist in the UsbManager's DeviceList either. May it be that the API is not fully implemented on my tab?! Regards Nico On 16 Jan., 09:20, FrankG wrote: > Hello Nico, > > you didn't said which device type your GPS receiver plays. > > But from the dmesg output it seems that their might be a problem > with the power supply for your external device ?? > > <6>[ 2786.151489] msm_otg_suspend: usb in low power mode > <6>[ 2786.842376] cpufreq: cpu 1 is not active. > <6>[ 2789.192687] msm_otg_resume: usb exited from low power mode > > Did you provide explicit power for your device ? > > Good luck ! Frank > > On 13 Jan., 08:58, Nico Guth wrote: > > > > > > > > > Hi! > > > I have a USB device (GPS receiver) which I want to connect to my > > Android 3.2 tablet. > > The device is somehow recognized by the system and a ttyACM0 node is > > created in /dev. But here my problem starts: how can I get access to / > > dev/ttyACM0 without root access rights? I also tried to use the > > UsbManager etc. from the API, but here the device is not listed. > > Another program from the market (USB Device Info) also couldn't find > > the device via API but only by parsing /sys/bus/usb/devices/. > > > Is there a way to send/receive data to/from the device without rooting > > the tab? > > The tab is a Huawei MediaPad. > > > Here is an excerpt from dmesg: > > <6>[ 2781.888427] msm_hsusb_host msm_hsusb_host.0: Qualcomm On-Chip > > EHCI Host Controller > > <6>[ 2781.897521] msm_hsusb_host msm_hsusb_host.0: new USB bus > > registered, assigned bus number 1 > > <6>[ 2781.905059] msm_hsusb_host msm_hsusb_host.0: irq 132, io base > > 0x1250 > > <6>[ 2781.911712] usb usb1: New USB device found, idVendor=1d6b, > > idProduct=0002 > > <6>[ 2781.918243] usb usb1: New USB device strings: Mfr=3, Product=2, > > SerialNumber=1 > > <6>[ 2781.928039] usb usb1: Product: Qualcomm On-Chip EHCI Host > > Controller > > <6>[ 2781.933380] usb usb1: Manufacturer: Linux 2.6.35.11 ehci_hcd > > <6>[ 2781.938995] usb usb1: SerialNumber: msm_hsusb_host.0 > > <6>[ 2781.946319] hub 1-0:1.0: USB hub found > > <6>[ 2781.949035] hub 1-0:1.0: 1 port detected > > <6>[ 2786.151489] msm_otg_suspend: usb in low power mode > > <6>[ 2786.842376] cpufreq: cpu 1 is not active. > > <6>[ 2789.192687] msm_otg_resume: usb exited from low power mode > > <6>[ 2789.349945] usb 1-1: new full speed USB device using > > msm_hsusb_host and address 2 > > <6>[ 2789.507843] usb 1-1: New USB device found, idVendor=152a, > > idProduct=8230 > > <6>[ 2789.513580] usb 1-1: New USB device strings: Mfr=1, Product=2, > > SerialNumber=0 > > <6>[ 2789.530883] usb 1-1: Product: Septentrio USB Device > > <6>[ 2789.534729] usb 1-1: Manufacturer: Septentrio > > <6>[ 2789.543395] cdc_acm 1-1:1.0: ttyACM0: USB ACM device > > > I hope you can help me > > So long, > > Nico -- 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] Access to USB Device
Hi! I have a USB device (GPS receiver) which I want to connect to my Android 3.2 tablet. The device is somehow recognized by the system and a ttyACM0 node is created in /dev. But here my problem starts: how can I get access to / dev/ttyACM0 without root access rights? I also tried to use the UsbManager etc. from the API, but here the device is not listed. Another program from the market (USB Device Info) also couldn't find the device via API but only by parsing /sys/bus/usb/devices/. Is there a way to send/receive data to/from the device without rooting the tab? The tab is a Huawei MediaPad. Here is an excerpt from dmesg: <6>[ 2781.888427] msm_hsusb_host msm_hsusb_host.0: Qualcomm On-Chip EHCI Host Controller <6>[ 2781.897521] msm_hsusb_host msm_hsusb_host.0: new USB bus registered, assigned bus number 1 <6>[ 2781.905059] msm_hsusb_host msm_hsusb_host.0: irq 132, io base 0x1250 <6>[ 2781.911712] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 <6>[ 2781.918243] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 <6>[ 2781.928039] usb usb1: Product: Qualcomm On-Chip EHCI Host Controller <6>[ 2781.933380] usb usb1: Manufacturer: Linux 2.6.35.11 ehci_hcd <6>[ 2781.938995] usb usb1: SerialNumber: msm_hsusb_host.0 <6>[ 2781.946319] hub 1-0:1.0: USB hub found <6>[ 2781.949035] hub 1-0:1.0: 1 port detected <6>[ 2786.151489] msm_otg_suspend: usb in low power mode <6>[ 2786.842376] cpufreq: cpu 1 is not active. <6>[ 2789.192687] msm_otg_resume: usb exited from low power mode <6>[ 2789.349945] usb 1-1: new full speed USB device using msm_hsusb_host and address 2 <6>[ 2789.507843] usb 1-1: New USB device found, idVendor=152a, idProduct=8230 <6>[ 2789.513580] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 <6>[ 2789.530883] usb 1-1: Product: Septentrio USB Device <6>[ 2789.534729] usb 1-1: Manufacturer: Septentrio <6>[ 2789.543395] cdc_acm 1-1:1.0: ttyACM0: USB ACM device I hope you can help me So long, Nico -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android 4.0 Emulator crashing (emulator-arm.exe)
Same here.. still haven't managed to run the emulator :'( 2011/10/20 Emanuel Moecklin <1gravity...@gmail.com> > Hi there > > I updated to the lastest SDK (including SDK Tools r14) and tried to > start an Android 4.0 emulator. > The emulator doesn't start and the Windows event log shows the > following error: > > Faulting application name: emulator-arm.exe, version: 0.0.0.0, time > stamp: 0x4e9c7fa8 > Faulting module name: emulator-arm.exe, version: 0.0.0.0, time stamp: > 0x4e9c7fa8 > Exception code: 0x4015 > Fault offset: 0x0010f10e > Faulting process id: 0xf90 > Faulting application start time: 0x01cc8ed70a55c24b > Faulting application path: C:\Development\android-sdk-windows\tools > \emulator-arm.exe > Faulting module path: C:\Development\android-sdk-windows\tools > \emulator-arm.exe > Report Id: 49d59d0b-faca-11e0-9aa4-7071bcc13e13 > > I tried to google the exception code but the results didn't explain > the crash. > > Any ideas? > > Emanuel Moecklin > > -- > 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
Re: [android-developers] SDK 4, if I select WXGA resolution, emulator doesn't start.
Same here!! 2011/10/19 sblantipodi > Am I the only one experiencing this problem? > The only way to launch a simulator is using another resolution or a > manual 720x1280, why? > > -- > 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
Re: [android-developers] Re: Need 2D game engine
Errata corriege: Libgdx ANDengine :) 2011/10/19 Nico Balestra > Libgdx > Appengine > > > 2011/10/19 Oli Wright > >> Eryl, >> >> First step, have a read of this: >> http://www.catb.org/~esr/faqs/smart-questions.html#before >> >> It's worth reading the whole page, but I think that particular section >> applies heavily here. >> >> To give you some guidance for your searches, I'd suggest you look at >> either libgdx or AndEngine. If you're starting from the position of a >> complete beginner, it may be helpful to read up on the subject. For that >> I'd recommend getting a copy of Beginning Android Games. >> >> Cheers, >> Oli >> >> -- >> 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
Re: [android-developers] Re: Need 2D game engine
Libgdx Appengine 2011/10/19 Oli Wright > Eryl, > > First step, have a read of this: > http://www.catb.org/~esr/faqs/smart-questions.html#before > > It's worth reading the whole page, but I think that particular section > applies heavily here. > > To give you some guidance for your searches, I'd suggest you look at either > libgdx or AndEngine. If you're starting from the position of a complete > beginner, it may be helpful to read up on the subject. For that I'd > recommend getting a copy of Beginning Android Games. > > Cheers, > Oli > > -- > 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
Re: [android-developers] New Game Developer, need help starting
I'm currently reading Beginning Android Games Development (Mario Zechner) but only after reading the official Android developer website. 2011/9/12 Appaholics > Starting with a game to learn Android is not a very good idea. I would > recommend grabbing a few good books like the ones by Mark Murphy ( > http://commonsware.com). You should also check out the online tutorials on > various site. Going through the documentation at > http://developer.android.com should help with most of your questions. > > Thanks > > > On Sun, Sep 11, 2011 at 12:46 AM, Aneem Talukder > wrote: > >> Dear Community, >> >> I have a good amount of experience with java and was hoping to start >> writing some simple games on the android platform. I have just >> downloaded the sdk for eclipse, but I am already a little confused as >> to where to begin. >> >> Upon creating a new android project, eclipse auto-generates an >> Activity class. How should I proceed in writing my classes and how >> will they relate to this initial Activity class. So, I want to start >> out with something simple like the game, Snake. How must I alter the >> Snake class for android from a regular java program? >> >> Also, must I create a main method? Or is that provided by the Activity >> frameworks? >> >> Thanks in advance, >> Aneem >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > > > -- > -- > Raghav Sood > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles > required to have complete control) > http://www.raghavsood.com/ > https://market.android.com/developer?pub=Appaholics > http://www.appaholics.in/ > > -- > 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
Re: [android-developers] Re: SQLite: Tables not created onCreate without any error
Yuan", 1, i++, false, (new Date()).getTime(), (new Date()).getTime(), false, false); insertDefaultCurrency(database, "CHF", "Swiss Franc", 1, i++, false, (new Date()).getTime(), (new Date()).getTime(), false, true); } /** * Insert a new currency value which will be shown on the user main activity. */ private void insertDefaultCurrency(SQLiteDatabase database, String currencyCode, String currencyFullName, double value, int position, boolean isTargetCurrency, long lastModifiedDate, long lastDownloadedDate, boolean startTransaction, boolean endTransaction){ ContentValues vals = new ContentValues(); vals.put(COL_CURRENCY_CODE, currencyCode); vals.put(COL_CURRENCY_VALUE, value); vals.put(COL_LAST_DOWNLOADED, lastDownloadedDate); vals.put(COL_LAST_UPDATE, lastModifiedDate); vals.put(COL_IS_TARGET_CURRENCY, (isTargetCurrency? 1 : 0)); vals.put(COL_CURRENCY_POSITION, position); if (startTransaction){ database.beginTransaction(); } Log.d(TAG, "Adding default currency..." + currencyCode); database.insertOrThrow(TABLE_DEFAULT_CURRENCIES, null, vals); if (endTransaction){ database.endTransaction(); } } No exception gets thrown so it looks like the record have been inserted, but when I try to run this query: private Cursor queryCurrentCurrencies(enumQueryCurrentCurrencies rule){ String SQL = "SELECT v." + CurrencyStorageHelper.COL_ID + ", v." + CurrencyStorageHelper.COL_CURRENCY_CODE + ", d." + CurrencyStorageHelper.COL_DEFINITION_FULL_NAME + ", v." + CurrencyStorageHelper.COL_CURRENCY_VALUE + " FROM " + CurrencyStorageHelper.TABLE_DEFAULT_CURRENCIES + " v " + " JOIN " + CurrencyStorageHelper.TABLE_CURRENCY_DEFINITION + " d " + " ON v." + CurrencyStorageHelper.COL_CURRENCY_CODE + " = d." + CurrencyStorageHelper.COL_DEFINITION_CODE; if (rule.compareTo(enumQueryCurrentCurrencies.TARGET) == 0){ SQL += " WHERE v." + CurrencyStorageHelper.COL_IS_TARGET_CURRENCY + " = 1"; } else if (rule.compareTo(enumQueryCurrentCurrencies.CONVERTED) == 0){ SQL += " WHERE v." + CurrencyStorageHelper.COL_IS_TARGET_CURRENCY + " = 0"; } SQL += ";"; return this.db.rawQuery(SQL, new String[] {}); } obviously I get an exception and indeed, opening the DB using a DB management tool, the db is completely empty (with the exception of the default android_metadata table. I'm sure I'm doing something silly somewhere... I hope you will spot the missing stone :) Thanks a log for your precious time!! Nico 2011/8/22 Drezden > If possible post a complete class file for your database helper, it's > really hard to know what's happening when you show random parts from > all of your classes. > > On Aug 22, 4:07 pm, Nico Balestra wrote: > > Ok guys.. I've tried and tried in the hope not to be forced to bother > you. > > but I have to :) > > I'm trying to do a simple thing.. creating a DB when my activity first > > starts: > > @Override > > public void onCreate(Bundle savedInstanceState) { > > > > currenciesDB = new CurrenciesDB(this); > > currenciesDB.open(); > > > > } > > > > then in my CurrenciesDB constructor/open: > > > > public CurrenciesDB(Context mCtx) { > > this.ctx = mCtx;} > > > > public CurrenciesDB open() throws SQLException { > > this.dbHelper = new CurrencyStorageHelper(this.ctx); > > this.db = dbHelper.getWritableDatabase(); > > return this; > > > > } > > > > and, as you might reckon, my CurrencyStorageHelper class extends the > > SQLOpenHelper class and specifically: > > public CurrencyStorageHelper(Context context) { > > super(context, DATABASE_NAME, null, DATABASE_VERSION); > > > > } > > > > @Override > > public void onOpen(SQLiteDatabase db) { > > super.onOpen(db); > > Log.d(TAG, "Opening the database... " + db.getPath() + " version " + > > db.getVersion()); > > db.setLockingEnabled(true);} > > > > @Override > > public void onCreate(SQLiteDatabase database) { > > database.execSQL(DATABASE_CREATE_1); > > Log.d(TAG, "Creating table..." + DATABASE_CREATE_2); > > database.execSQL(DATABASE_CREATE_2); > > Log.d(TAG, "Creating table..." + DATABASE_CREATE_3); > > database.execSQL(DATABASE_CREATE_3); > > insertDefinitions(database); > > insertInitialCurrencies(database); > > > > } > > > > What is happening here is that despite launcing the "CREATE TABLE" > > statements, nothing gets created on the database. After those statements > I > > even insert records using SQLiteDatabase.insert. But nothing happens.. no >
[android-developers] SQLite: Tables not created onCreate without any error
Ok guys.. I've tried and tried in the hope not to be forced to bother you. but I have to :) I'm trying to do a simple thing.. creating a DB when my activity first starts: @Override public void onCreate(Bundle savedInstanceState) { currenciesDB = new CurrenciesDB(this); currenciesDB.open(); } then in my CurrenciesDB constructor/open: public CurrenciesDB(Context mCtx) { this.ctx = mCtx; } public CurrenciesDB open() throws SQLException { this.dbHelper = new CurrencyStorageHelper(this.ctx); this.db = dbHelper.getWritableDatabase(); return this; } and, as you might reckon, my CurrencyStorageHelper class extends the SQLOpenHelper class and specifically: public CurrencyStorageHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } @Override public void onOpen(SQLiteDatabase db) { super.onOpen(db); Log.d(TAG, "Opening the database... " + db.getPath() + " version " + db.getVersion()); db.setLockingEnabled(true); } @Override public void onCreate(SQLiteDatabase database) { database.execSQL(DATABASE_CREATE_1); Log.d(TAG, "Creating table..." + DATABASE_CREATE_2); database.execSQL(DATABASE_CREATE_2); Log.d(TAG, "Creating table..." + DATABASE_CREATE_3); database.execSQL(DATABASE_CREATE_3); insertDefinitions(database); insertInitialCurrencies(database); } What is happening here is that despite launcing the "CREATE TABLE" statements, nothing gets created on the database. After those statements I even insert records using SQLiteDatabase.insert. But nothing happens.. no expections and no records get created. Afterward, when I try to query the DB, I get an option saying that the table I'm trying to query doesn't (obviously) exists. I'm not a newbie developer and I've tried to debug my app as much as I can/know but I have only these clues: 1. During the debug process, the instance of SQLiteDatabase has a mStrackTrace private attribute set to DatabaseObjectNotClosedException, but obviously no cursor has been opened.. yet. 2. The db version gets set to zero :( 3. Same behaviour using the Emulator and my Samsunga Galaxy S2 2.3.3 (hence no wrong configuration of the emulator). If you had patient to go through the entire email I hope you have even one single clue on why this is happening (maybe you experienced the same problem?? ) !! Log.d("Nico", "THANK YOU"); Nico -- 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]
Sent from your iPhone?? 2011/8/19 Ashita > > > > > > > Sent from my iPhone > -- > 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
Re: [android-developers] Re: How to read *.CHM File ?
Google translator says: I am a new member of this group. can I get information before? I hope I gave a useful service to this mailing list :) ... 2011/8/16 Setiaji Kurniawan > saya anggota baru group ini. >> dapatkah saya mendapatkan informasi sebelumnya? > > -- 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: Phone Gap
iOS? Ah... blasfemy :) 2011/8/16 Mlifty > Hi, > > I am a web developer and like yourself have just started my mobile > adventure. I decided to use Phong Gap to convert my web apps to native > apps and JQuery Mobile to handle the UI. Yes you can compile your > 'Hello World' app to the various platforms, though you would need to > setup a dev enviroment for each platform. Having said that PhoneGap > Build is currently in Beta and allows you to build from the cloud ;-) > > I suggest start with android as the setup with eclipse is pretty sweet > (note: I have not tried other environments though IOS is next) > > Re > > On Aug 16, 9:11 pm, "pramod.deore" wrote: > > Hi all, Today I read about phone gap. But I didn't got it clearly. > > Docs says "Write a PhoneGap app once with HTML and Javascript and > > deploy it to any mobile device without losing features of a native > > app". > > > > Is that means PhoneGap developed certain API's and we can use them in > > all above plalforms? Or is it like suppose I developed one application > > say Hello world application in Android platform and using PhoneGap I > > can translate .apk file into other device file say BlackBerry .cod > > file? > > > > Any help/suggestion highly appreciated. > > > > Thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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: Google Development phones
Just to double check.. does swappa dispatch to UK or is US only? Cheers, Nico 2011/8/16 Jake Wharton > You should also look at swappa.com for inexpensive, used phones. Any of > them should suffice for development. > > -- > 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
Re: [android-developers] logic
...or.. if you really hate Google.. :) http://www.lmsify.com/3A599 2011/8/16 Nico Balestra > http://www.lmsify.com/38E2C > > > 2011/8/16 Nick Risaro > >> >> On Tue, Aug 16, 2011 at 9:14 AM, TreKing wrote: >> >>> Put your device on a stove, then turn it on. You will have awesome smoke >>> effect. >> >> >> logically ;) >> >> -- >> 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
Re: [android-developers] logic
http://www.lmsify.com/38E2C 2011/8/16 Nick Risaro > > On Tue, Aug 16, 2011 at 9:14 AM, TreKing wrote: > >> Put your device on a stove, then turn it on. You will have awesome smoke >> effect. > > > logically ;) > > -- > 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
Re: [android-developers] custom view in a row of listview
Read this.. it's a valuable resource: http://www.vogella.de/articles/AndroidListView/article.html 2011/8/16 vani reddy > Hi friends, > How to create a custom view for a particular row in listview in android. > > -- > Regards, > Vani Reddy > > -- > 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
Re: [android-developers] display data in database
You've lost your last chance to get any more help here mate!! :) 2011/8/15 H > Lovin' it! :-) > > -- > 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
Re: [android-developers] display data in database
You're forgetting the Magic Word: PLEASE 2011/8/15 abhijit chakra > just tell me the codes. > > On Mon, Aug 15, 2011 at 8:52 PM, Appaholics wrote: > >> Read is from the database with an SQL statement and display it. >> >> On Mon, Aug 15, 2011 at 8:48 PM, abhijit chakra wrote: >> >>> how to display data's that are stored in database..please tell me the >>> procedure. >>> 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 >> >> >> >> >> -- >> >> Raghav Sood >> CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles >> required to have complete control) >> http://www.raghavsood.com/ >> https://market.android.com/developer?pub=Appaholics >> http://www.appaholics.in/ >> >> -- >> 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 > -- 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: Known reasons for rebooting?
As I told you.. I switched on a Samsung Galaxy S2 :) I thought about keeping the HTC just for testing my apps on a different device but eventually it was useless. As soon as I connected the device on the USB port... puff.. function reboot() { reboot(); }:))) 2011/8/12 Per > Update: > > I had my app running for hours yesterday while charging, with the > Desire kept cool by sitting on top of a small CPU-cooler-like fan. > Noisy, but cool. > When I switched off the fan, the Desire rebooted within 3 minutes. > > Also, no reboots in flight mode. > > Bugger. > > > On Aug 11, 1:55 pm, Per wrote: > > Oh dear. > > > > Though I'm sort of happy that I'm not to blame this time, this is > > horrible. > > > > I tried a few experiments not involving my app, and sure enough, > > loading the poor device a bit (music, youtube, navigation at the same > > time) works fine off the charger, but inserting the charger invariably > > reboots the thing within minutes. Sometimes it even reboots while > > recovering... > > > > Turning off WiFi/Data has no effect. > > Flight mode seems to help, but that's not really a good option :) > > > > I'll try cooling the device by a fan or something, just to confirm > > that temperature really is the cause. > > > > The thread you pointed to also discussed Froyo as a possible (partial) > > cause. > > I tend to suspect the 2.1->2.2 update to worsen the problem, I don't > > remember seeing this a year ago (when I was making a similar app). > > > > thanks, > > Per > > > > On Aug 11, 10:54 am, Nico Balestra wrote: > > > > > I think this is related to a known problem affecting the HTC Desire. > > > > > Apparently it happens when the CPU gets hot, which is very likely for > > > intensive operations. > > > See this: > http://androidforums.com/desire-support-troubleshooting/78992-htc-des... > > > > > I had an HTC Desire and it was rebooting all the time as soon as I > attached > > > the phone to my USB cable and starting an application via Eclipse. The > same > > > was happening when I was browsing the web or playing Angry Birds :) > > > > > Eventually.. I've got a Samsung Galaxy S2!! > > > > > Hope this help, > > > Nico > > > > > 2011/8/11 Per > > > > > > Does anyone know of (reproducible) reasons for device reboot? > > > > > > My app-under-development will run for hours if the device is not > > > > charging, but with USB connected it will reboot, usually within > > > > minutes. No exceptions shown, just a reboot. > > > > > > The app has one activity, which (via a WakefulIntentService [from > > > > CommonsWare]) sets up alarms that will trigger at different intervals > > > > (4mins to half a day). The alarms are cancelled when the activity is > > > > destroyed. > > > > When an alarm goes off, a BroadcastReceiver starts a > > > > WakefulIntentService, which pulls some data from a server and saves > it > > > > in a file. That service starts another service, which provides a > cache > > > > of the data in the file to the activity. The start of the cache > > > > service is afaik the simplest way of providing a simple notification. > > > > It is most likely already running, as it is bound by the activity. > > > > > > This could most likely be done smarter, but it seemed like a fair > > > > compromise when I want the app to work offline, too. > > > > > > Does anyone know of an interaction between USB/charging and > > > > wakelocks / alarms / services ? > > > > Logcat does not provide much help. Seems that the log is cleared at > > > > reboot. > > > > Any hints for debugging this apart from logcat (will adb bugreport > > > > provide more history than logcat?) > > > > > > Just for the record, I have seen the device (HTC Desire running 2.2) > > > > reboot when it gets hot (hot environment, lots of voice/data traffic > > > > while or just after charging), but it's running pretty cool in this > > > > scenario. > > > > > > -- > > > > 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-dev
Re: [android-developers] Query
Ahaahah 2011/8/11 Mark Murphy > On Thu, Aug 11, 2011 at 1:17 PM, Kostya Vasilyev > wrote: > > About those gnomes - are they data storage workers, or the media on which > > the data is stored? > > Both. They tattoo each other with very tiny QR codes. Rather ingenious, > really. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android Training in Oslo: http://bit.ly/fjBo24 > > -- > 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
Re: [android-developers] Query...
Probably bits 2011/8/11 Daniel Drozdzewski > On 11 August 2011 11:43, Ishan wrote: > > Hello Friends, > > > > Can any one tell me how information is stored in android phone? > > robustly > > -- > 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
Re: [android-developers] Known reasons for rebooting?
I think this is related to a known problem affecting the HTC Desire. Apparently it happens when the CPU gets hot, which is very likely for intensive operations. See this: http://androidforums.com/desire-support-troubleshooting/78992-htc-desire-crashes-restarts-randomly.html I had an HTC Desire and it was rebooting all the time as soon as I attached the phone to my USB cable and starting an application via Eclipse. The same was happening when I was browsing the web or playing Angry Birds :) Eventually.. I've got a Samsung Galaxy S2!! Hope this help, Nico 2011/8/11 Per > Does anyone know of (reproducible) reasons for device reboot? > > My app-under-development will run for hours if the device is not > charging, but with USB connected it will reboot, usually within > minutes. No exceptions shown, just a reboot. > > The app has one activity, which (via a WakefulIntentService [from > CommonsWare]) sets up alarms that will trigger at different intervals > (4mins to half a day). The alarms are cancelled when the activity is > destroyed. > When an alarm goes off, a BroadcastReceiver starts a > WakefulIntentService, which pulls some data from a server and saves it > in a file. That service starts another service, which provides a cache > of the data in the file to the activity. The start of the cache > service is afaik the simplest way of providing a simple notification. > It is most likely already running, as it is bound by the activity. > > This could most likely be done smarter, but it seemed like a fair > compromise when I want the app to work offline, too. > > > Does anyone know of an interaction between USB/charging and > wakelocks / alarms / services ? > Logcat does not provide much help. Seems that the log is cleared at > reboot. > Any hints for debugging this apart from logcat (will adb bugreport > provide more history than logcat?) > > > Just for the record, I have seen the device (HTC Desire running 2.2) > reboot when it gets hot (hot environment, lots of voice/data traffic > while or just after charging), but it's running pretty cool in this > scenario. > > -- > 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] I LOVE ANDROID
Sorry.. just wanted to let you know :) -- 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: Jphfgyofjfjhghkloljgjkhilgxbcbghghghy
I thought it was a rotten Apple :) 2011/8/8 Nikolay Elenkov > On Mon, Aug 8, 2011 at 10:58 PM, Nico Balestra > wrote: > > What's iPod? :) > > > > It's like an Android tablet, only cheaper :) > > -- > 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
Re: [android-developers] Re: Jphfgyofjfjhghkloljgjkhilgxbcbghghghy
What's iPod? :) 2011/8/8 Ali Chousein > @Kumar: Brilliant! :-D > > -- > 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
Re: [android-developers] Audio Recorder
Hi, you should do String name = Environment.getExternalStorageDirectory().getAbsolutePath() + "/Logger"; to get the right mount point for your sd card. Hope this helps. Nico 2011/8/4 Ab Caballero > I'm trying to provide an audio recorder within an application for the > user to dictate notes. I keep getting an error that there is no valid > output file and that the external storage is not available (I know it > is because i am using it in a separate activity). Any thoughts would > be appreciated. > > private void recordAudio(){ >MediaRecorder recorder = new MediaRecorder(); >recorder.setAudioSource(MediaRecorder.AudioSource.MIC); > > recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); >recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); >checkStorage(); >recorder.setOutputFile("/sdcard/Logger"); >try { >recorder.prepare(); >} >catch (IllegalStateException e) { >// TODO Auto-generated catch block >e.printStackTrace(); >} >catch (IOException e) { >// TODO Auto-generated catch block >e.printStackTrace(); >} >recorder.start(); // Recording is now started >} > > -- > 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: Feedback Experiment active in the developer console
Hello, It's equally removed from my account :( Thanks for info on your project Kevin, I'll take a look on. Nico On 1 mai, 09:32, Kevin Gaudin wrote: > Hello, > > It disappeared on my account too. > > While they're fixing all the details of official crash reporting, you > might have a look at this project:http://acra.googlecode.com > > It sends crash reports to a Google Doc form so you don't need any > server on your side and get notified of new crashes by mail. Data in > the report is a bit more detailed (you can even include some of your > varaibales content). > > (it's free and opensource, apache license) > > Your comments are welcome... even if I fear that this project will > become useless soon. > > Kevin > > On 1 mai, 08:46, Zsolt Vasvari wrote: > > > > > I still have the spinning "Loading" image in its place I've had for > > the last couple of days. > > > On May 1, 2:34 pm, Kumar Bibek wrote: > > > > removed now... > > > > On May 1, 10:16 am, Dan Sherman wrote: > > > > > * waves hand * > > > > > You saw nothing > > > > > On Sat, May 1, 2010 at 1:04 AM, Maps.Huge.Info (Maps API Guru) < > > > > > cor...@gmail.com> wrote: > > > > >Feedbackexperimenthas been removed from the developer console, at > > > > > least for me... > > > > > > -John Coryat > > > > > > -- > > > > > 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 > > > > cr...@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 > > > > 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 > > > athttp://groups.google.com/group/android-developers?hl=en-Hidequoted text > > > - > > > > - Show quoted text - > > > -- > > 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 > 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] Http streaming
Hi haXe list, I need to implement a kind of http streaming on my haxe project. It is something where the browser is always keeping a connection open to the server, so the server can push data to the client. Is there anybody here than have any experiences or advices on how to implement that ? thanks Nico Le 4 févr. 2010, 6:53 PM, > a écrit : Today's Topic Summary Group: http://groups.google.com/group/android-developers/topics - How to use a Live Wallpaper in an Activity?<#1269a1de8b07b324_group_thread_0>[2 Updates] - How to show a message during incoming call?<#1269a1de8b07b324_group_thread_1>[1 Update] - Textview with graphic (dynamically changing) inside.<#1269a1de8b07b324_group_thread_2>[1 Update] - Preventing WakeLock Under-Locked exception<#1269a1de8b07b324_group_thread_3>[2 Updates] - Add languages to arm-eabi-gcc <#1269a1de8b07b324_group_thread_4> [1 Update] - drawing word-wrapped text at arbitrary position on a canvas<#1269a1de8b07b324_group_thread_5>[1 Update] - how to stop accelerometer sensor running in background?<#1269a1de8b07b324_group_thread_6>[4 Updates] - How to show a loading image or an animation?<#1269a1de8b07b324_group_thread_7>[1 Update] - Bug report for 2.0.1. Click on EditText.<#1269a1de8b07b324_group_thread_8>[1 Update] - try to see hprof dump from ddms <#1269a1de8b07b324_group_thread_9> [1 Update] - ListView scrolling behavior and performance<#1269a1de8b07b324_group_thread_10>[1 Update] - Draw clock like minute hand <#1269a1de8b07b324_group_thread_11> [1 Update] - android and google docs <#1269a1de8b07b324_group_thread_12> [2 Updates] - Emma Code Coverage <#1269a1de8b07b324_group_thread_13> [1 Update] - how to load XML files dynamically <#1269a1de8b07b324_group_thread_14>[1 Update] - Basic Emma code coverage tutorial needed<#1269a1de8b07b324_group_thread_15>[1 Update] - ContentProvider's DB file access right problem when its android:multiprocess=true <#1269a1de8b07b324_group_thread_16> [1 Update] - howto extend LinearLayout? <#1269a1de8b07b324_group_thread_17> [1 Update] - removing item from ListView <#1269a1de8b07b324_group_thread_18> [1 Update] Topic: How to use a Live Wallpaper in an Activity?<http://groups.google.com/group/android-developers/t/61e2f65edc0c39ee> Romain Guy Feb 04 09:14AM -0800 ^<#1269a1de8b07b324_digest_top> All you need to do is use the them Theme.Wallpaper and the wallpaper will show behind your Activity. -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them Jon Taylor Feb 04 09:51AM -0800 ^<#1269a1de8b07b324_digest_top> I assume that means that there is one master live wallpaper, and you cannot have multiple wallpapers on a per-application basis? Is there any way to do that? Topic: How to show a message during incoming call?<http://groups.google.com/group/android-developers/t/52c5cc8dc060d12c> Nymann Feb 04 09:51AM -0800 ^<#1269a1de8b07b324_digest_top> Hi I can just use the toast, just set the duraration to something else, like 1000 (1 sec) Hope this helps Topic: Textview with graphic (dynamically changing) inside.<http://groups.google.com/group/android-developers/t/53db1cdc47cdd92e> skink Feb 04 09:43AM -0800 ^<#1269a1de8b07b324_digest_top> > TextView tv=(TextView)this.findViewById(R.id.TextView01); > BitmapDrawable bmd=new BitmapDrawable(bm); bmd.setBounds(0, 0, 48, 48) Topic: Preventing WakeLock Under-Locked exception<http://groups.google.com/group/android-developers/t/6583cd6c4e594ba6> nikhil Feb 04 09:16AM -0800 ^<#1269a1de8b07b324_digest_top> If you want to keep the screen on you can use the setKeepScreenOn(true) method as well... lipinski Feb 04 09:42AM -0800 ^<#1269a1de8b07b324_digest_top> Thanks, but my intent is to prevent the system from dimming/locking the screen for a configurable amount of time - since there will likely be no user activity. setKeepScreenOn doesn't seem to indicate preventing screen lock. If I am wrong and there is a way to do this with setKeepScreenOn, please let me know. Topic: Add languages to arm-eabi-gcc<http://groups.google.com/group/android-developers/t/2ffda06aa06906f1> David Turner Feb 04 09:39AM -0800 ^<#1269a1de8b07b324_digest_top> You can download the latest NDK release package, and look at the build/tools/build-toolchain.sh script there. It can be modified to rebuild a different toolchain if you want. Topic: drawing word-wrapped text at
[android-developers] I can't write a file in a subdirectory of data/data/packages/files/
hello, I have some problems to write in a file from a subdirectory. I can create subdirectories. I can create a file in files/ directory and write directly . But i can't do the two operations in the same time. It seems that i don't have the writable right to do it. Could you help me? Thanks 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 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 switch from Activity to ListActivity ?
Hi, I have a main class derived from Activity, I need a ListActivity (displayed when the "menu" button is clicked). How can I proceed. I don't understand how I can switch from one to the other ? Thx --~--~-~--~~~---~--~~ 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: Replace the current view by an other view
Thx a lot for help. On 21 jan, 16:02, Mark Murphy wrote: > Nico wrote: > > I did it : > > > // Create a thread to change the view > > final Grid f_grid = grid; > > Runnable mainThreadRunnable = new Runnable() { > > public void run() { > > m_activity.setContentView(f_grid); > > } > > }; > > // Run the thread > > m_activity.runOnUiThread(mainThreadRunnable); > > That should work fine, AFAIK. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android Training in Sweden --http://www.sotrium.com/training.php --~--~-~--~~~---~--~~ 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: Replace the current view by an other view
I did it : // Create a thread to change the view final Grid f_grid = grid; Runnable mainThreadRunnable = new Runnable() { public void run() { m_activity.setContentView(f_grid); } }; // Run the thread m_activity.runOnUiThread(mainThreadRunnable); It works great, is it a correct way ? On 21 jan, 15:23, for android wrote: > you are probably calling from a seperate thread..after thread has done its > wrk...use the handler and change the view.. > > On Wed, Jan 21, 2009 at 7:49 PM, Nico wrote: > > > Hi, > > I need to replace the current View (set by the activity.setContentView > > method) by an other. > > When I call activity.setContentView two times, I get this exception : > > 01-21 14:13:54.747: WARN/System.err(1156): android.view.ViewRoot > > $CalledFromWrongThreadException: Only the original thread that created > > a view hierarchy can touch its views. > > 01-21 14:13:54.757: WARN/System.err(1156): at > > android.view.ViewRoot.checkThread(ViewRoot.java:1849) > > 01-21 14:13:54.757: WARN/System.err(1156): at > > android.view.ViewRoot.requestLayout(ViewRoot.java:455) > > 01-21 14:13:54.767: WARN/System.err(1156): at > > android.view.View.requestLayout(View.java:6575) > > 01-21 14:13:54.767: WARN/System.err(1156): at > > android.view.View.requestLayout(View.java:6575) > > 01-21 14:13:54.777: WARN/System.err(1156): at > > android.view.View.requestLayout(View.java:6575) > > 01-21 14:13:54.777: WARN/System.err(1156): at > > android.view.ViewGroup.removeAllViews(ViewGroup.java:2033) > > What is problem ? > > Thx --~--~-~--~~~---~--~~ 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] Replace the current view by an other view
Hi, I need to replace the current View (set by the activity.setContentView method) by an other. When I call activity.setContentView two times, I get this exception : 01-21 14:13:54.747: WARN/System.err(1156): android.view.ViewRoot $CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. 01-21 14:13:54.757: WARN/System.err(1156): at android.view.ViewRoot.checkThread(ViewRoot.java:1849) 01-21 14:13:54.757: WARN/System.err(1156): at android.view.ViewRoot.requestLayout(ViewRoot.java:455) 01-21 14:13:54.767: WARN/System.err(1156): at android.view.View.requestLayout(View.java:6575) 01-21 14:13:54.767: WARN/System.err(1156): at android.view.View.requestLayout(View.java:6575) 01-21 14:13:54.777: WARN/System.err(1156): at android.view.View.requestLayout(View.java:6575) 01-21 14:13:54.777: WARN/System.err(1156): at android.view.ViewGroup.removeAllViews(ViewGroup.java:2033) What is problem ? Thx --~--~-~--~~~---~--~~ 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: Emit a signal
Actually, I have a onClickedListener on a button. I need to simulate a click on this button from another object. On 21 jan, 09:35, Gavin Aiken wrote: > Hey Nico, > Can you clarify the question, you want an action to be performed after a > button is clicked? As in with a button listener? Or is your request more > complex than this? > > Cheers, > > Gav > > On Wed, Jan 21, 2009 at 8:31 AM, Nico wrote: > > > Hi, > > I need to emit a signal "clicked" to a button. How can I do it ? > > Thx. --~--~-~--~~~---~--~~ 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] Emit a signal
Hi, I need to emit a signal "clicked" to a button. How can I do it ? Thx. --~--~-~--~~~---~--~~ 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: Xml validation
So, how can I validate a XML file with a DTD. Wich class should I use ? On 6 jan, 11:51, "Jonathan Parker" wrote: > The feature name is any fully-qualified URI. It is possible for an XMLReader > to recognize a feature name but to be unable to set its value; this is > especially true in the case of an adapter for a > SAX1Parser<http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/Parser.html>, > which has no way of affecting whether the underlying parser is validating, > for example. > > This is > from:http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/XMLReader.html#se..., > boolean) > > On Tue, Jan 6, 2009 at 8:20 PM, Nico wrote: > > > Hi, > > I need to validate XML files with DTD. I use this code : > > > SAXParserFactory spf = SAXParserFactory.newInstance(); > > SAXParser sp = spf.newSAXParser(); > > XMLReader analyser = sp.getXMLReader(); > > analyser.setFeature("http://xml.org/sax/features/validation";, true); > > analyser.setErrorHandler(handler); > > analyser.parse(path); > > > I have this error message : > > Cannot enablehttp://xml.org/sax/features/validation > > > How can I fix it ? > > > Thx. --~--~-~--~~~---~--~~ 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: Xml validation
Hi, the code is running fine in Java. It's just i can't do the same under android. How can I validate a XML file with a DTD with android without using the feature "http://xml.org/sax/features/validation";? Wich class should I use ? On 6 jan, 11:51, "Jonathan Parker" wrote: > The feature name is any fully-qualified URI. It is possible for an XMLReader > to recognize a feature name but to be unable to set its value; this is > especially true in the case of an adapter for a > SAX1Parser<http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/Parser.html>, > which has no way of affecting whether the underlying parser is validating, > for example. > > This is > from:http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/XMLReader.html#se..., > boolean) > > On Tue, Jan 6, 2009 at 8:20 PM, Nico wrote: > > > Hi, > > I need to validate XML files with DTD. I use this code : > > > SAXParserFactory spf = SAXParserFactory.newInstance(); > > SAXParser sp = spf.newSAXParser(); > > XMLReader analyser = sp.getXMLReader(); > > analyser.setFeature("http://xml.org/sax/features/validation";, true); > > analyser.setErrorHandler(handler); > > analyser.parse(path); > > > I have this error message : > > Cannot enablehttp://xml.org/sax/features/validation > > > How can I fix it ? > > > Thx. --~--~-~--~~~---~--~~ 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] Xml validation
Hi, I need to validate XML files with DTD. I use this code : SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader analyser = sp.getXMLReader(); analyser.setFeature("http://xml.org/sax/features/validation";, true); analyser.setErrorHandler(handler); analyser.parse(path); I have this error message : Cannot enable http://xml.org/sax/features/validation How can I fix it ? Thx. --~--~-~--~~~---~--~~ 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] Get the screen resolution
Hi, I need to get the screen resolution, how can I get it ? Thx. --~--~-~--~~~---~--~~ 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] Name of a widget
Hello, I am looking for the name of the widget which can "slide up". There is one on the desktop, it can be shown be clicking on a button on the bottom. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ThumbKeyboard.com / Alternative Input for Android
Congrats wich method Android support ? On Sep 26, 4:29 pm, James Burrell <[EMAIL PROTECTED]> wrote: > Google, I have invented the fastest methods of text messaging in the history > of world.A few of them are demonstrated > onwww.phonekeyboard.com.ThePhoneKeyboard.com invention is faster than Tegic's > T9 multi-tap method, Motorola's iTAP multi-tap method and ZI Corp's eZiText > multi-tap method.Look at thewww.phonekeyboard.com/Statistics.htmlpage to see > the statistics.Tegic's T9, Motorola's iTAP and ZI Corp's eZiText all use only > one method of text messaging. The PhoneKeyboard.com invention has 13 methods > of text messaging:Press [*] key to enter Upper-Case Alphabet Mode:1) > Sequential Key Presses2) Sequential Middle-Mode Key Presses3) Sequential > Most-Use-Mode Key Presses4) Simultaneous Key Presses5) Simultaneous > Middle-Mode Key Presses6) Simultaneous Most-Use-Mode Key PressesPress [*] key > 2 times to enter Shiftable Alphabet Mode:7) Sequential Key Presses8) > Sequential Middle-Mode Key Presses9) Sequential Most-Use-Mode Key Presses10) > Simultaneous Key Presses11) Simultaneous Middle-Mode Key Presses12) > Simultaneous Most-Use-Mode Key PressesPress [*] key 3 times to enter > Multi-Tap Mode:13) Sequential Key PressesI have also invented the smallest > keyboards in the history of world.They are > onwww.thumbkeyboard.com.TheThumbKeyboard.com invention can be used on a cell > phone menu key, a camera menu key or an iPod / MP3 menu key, making it the > world's smallest data entry keyboard. I am now the inventor of the smallest > keyboards in the history of world for producing alphabetic characters, a > space, numbers, punctuation or symbols.Inventors Digest is planning on doing > an January 2009 article on me for being the inventor of the smallest > keyboards in the history of world.Text messaging while driving is > dangerous.Most people who use the Navigator service have to text while > driving.On Sep 15, 2008, at 4:22 p.m., in Los Angeles, California, Metrolink > train engineer Robert Sanchez died while text messaging, killing 25 people > and 135 people were injured.The ThumbKeyboard.com invention can be used on a > cell phone menu key and the blind community, the deaf-blind community and any > individual needing to enter data into a device without looking at the phone > keyboard entry device can use it.This technology would have saved the lives > of 26 people on Sep 15, 2008 and countless numbers of other people.I am > approaching your company to have you recommend to at least one of your cell > phone manufacturers to license the ThumbKeyboard.com invention technology > from me for the production of future cell phone devices.For the Intellectual > Property departments I have placed both patents are on > the:www.thumbkeyboard.com/Nine_Sensor_Data_Entry_Keyboard_and_Control_Mea...andwww.thumbkeyboard.com/Worlds_Smallest_Keyboard_and_Control_Means.html...pages.The > World's Smallest Keyboard and Control Means patent was written to cover a > method of text messaging using the cursor control track ball pointing device > on all BlackBerry devices.If your company can produce a prototype or be ready > to go into production with a new product using my ThumbKeyboard.com invention > by the time Inventors Digest does an article on me, your company will be able > to have free advertising from thewww.InventorsDigest.commagazine and all the > future publicity I will receive for inventing the smallest keyboards in the > history of world.James Burrell> Date: Thu, 25 Sep 2008 11:54:47 -0700> > Subject: [android-developers] MediaPlayer.getFrameAt() is gone in V1.0. > Alternatives in the meantime?> From: [EMAIL PROTECTED]> To: > android-developers@googlegroups.com> > > > android.media.MediaPlayer.getFrameAt() is gone on 1.0.> > The release notes > for 1.0 reads:> "Method android.media.MediaPlayer.getFrameAt() is not > supported in> this release."> > But one thing is not supported and one thing > is totally removing it> from the API i.e. making previous build breaks. I > guess that is an> explicit way to let developers note that it just doesn't > work.> > What are the plans on bringing back that API? and in the meantime, > was> is the alternative? Is View.getDrawingCache() an alternative? the doc> > says that only works if caching is enabled, but can my app force> caching to > the current view used by the MediaPlayer?> > ceo> > > _ > See how Windows connects the people, information, and fun that are part of > your life.http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/ --~--~-~--~~~---~--~~ 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] For more options, visit this