[android-developers] launcher screen like android market
Hi, I want to know if anyone hás a reference for how i make a launcher screen like the features in android marketif this screen use imagebutton ?!...what the type of this layout !? Thanks in advance Igor -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 to get a sqlite file into a XOOM 3.2.1
Hi, I had a situation...i'm create a app for tablets and I using a XOOM (3.2.1)to test ! My app uses a sqlite file and I saved him into a path /data/data/packagename/databases/file.sqlite when I go to this path to search and copy sqlite file into my computer I not found ..what are happened ?! My XOOM is not rooted.and I cant find it in any location..i'm try to used a Eclipse File Explorer to search but no success .. Well..sorry for my English !!! thanks in advance !! igor -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] UI design pattern
Hi, I'm looking for something article or any information about best way to implement UI design pattern for login screens on tablets(honeycomb) !! Thanks in advance ! Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] UI Design Pattern
Hi, I'm looking for something article or any information about best way to implement UI design pattern for login screens on tablets !! Thanks in advance ! Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] problem after generate a .apk file
Hi, I make a app on eclipse , win 7 after this I go on menu export and run iti export apk file and its seems to be ok for mei published it on the market...and finish( https://market.android.com/details?id=com.riosistemas.butecosfeature=search _result )But the problem goes after this process when I open my project again in eclipse to make some changesall my manifest file was change(my application information was disappear)...and I can debug on my phone too What I'm do wrong ? I have to create another project and rewrite all manifest file ? anybody help me !? Thanks in advance Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] problem in my project after export .apk file
Hi, I make a app on eclipse , win 7 after this I go on menu export and run iti export apk file and its seems to be ok for mei published it on the market...and finish( https://market.android.com/details?id=com.riosistemas.butecosfeature=search _result )But the problem goes after this process when I open my project again in eclipse to make some changesall my manifest file was change(my application information was disappear)...and I can debug on my phone too What I'm do wrong ? I have to create another project and rewrite all manifest file ? anybody help me !? Thanks in advance Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] problem after generate a .apk file
Hi Marcin, Sorry...my English… Well….my real problem is : only my application tag in manifest disappeared and i don’t know if when I change the app description in design view or when I export to apk file… That’s it… Thanks Igor From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Marcin Orlowski Sent: sábado, 30 de abril de 2011 10:05 To: android-developers@googlegroups.com Subject: Re: [android-developers] problem after generate a .apk file On 30 April 2011 13:47, Igor Nesralla Ribeiro nesra...@gmail.com wrote: Hi, I make a app on eclipse , win 7 after this I go on menu export and run iti export apk file and its seems to be ok for mei published it on the market...and finish( https://market.android.com/details?id=com.riosistemas.butecos https://market.android.com/details?id=com.riosistemas.butecosfeature=searc h feature=search _result )But the problem goes after this process when I open my project again in eclipse to make some changesall my manifest file was change(my application information was disappear)... Exporting APK does not change Manifest file. and I can debug on my phone too To debug on the phone you simply set debuggable to true and upload? What I'm do wrong ? I have to create another project and rewrite all manifest file ? anybody help me !? Unless others get better reading your post, you may rephrase your post. I am not fully understand what's really is really not working right. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Hide a keypad
Hi, I have a autcompletetextview and i want to hide a keypad when a select a item who appears.. Thanks Igor -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] trace a route in mapview
Hi I had a acitivity with mapview and autocomplete and a button... my question is: when the user type a address and click on that button how I get my location and trace a route to go that address and show in a mapview Its possible to do this ? anyone had a reference to this scenario !? Thanks in advance Igor -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] trace a route in mapview
Mark, Thanks for the answer I'm newbie on android develop...and I see that you a commonsguy on a commonsware...i bought a commons e-book to start develop...help me a lot !!! How to do this find a third party ?! I found a locate of destiny address but I didn't get the route of start location and the destiny Thanks Igor -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Mark Murphy Sent: sexta-feira, 15 de abril de 2011 11:33 To: android-developers@googlegroups.com Subject: Re: [android-developers] trace a route in mapview On Fri, Apr 15, 2011 at 10:31 AM, Igor Nesralla Ribeiro nesra...@gmail.com wrote: I had a acitivity with mapview and autocomplete and a button... my question is: when the user type a address and click on that button how I get my location and trace a route to go that address and show in a mapview Its possible to do this ? You would need to find a third-party data source for the route information. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] trace a route in mapview
Mark, Thanks again...but i'm searching on a google...and I found a Google Driving Directions...that API is exactly I'm looking for... Best regards ! Igor -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Mark Murphy Sent: sexta-feira, 15 de abril de 2011 12:00 To: android-developers@googlegroups.com Subject: Re: [android-developers] trace a route in mapview On Fri, Apr 15, 2011 at 10:55 AM, Igor Nesralla Ribeiro nesra...@gmail.com wrote: Thanks for the answer I'm newbie on android develop...and I see that you a commonsguy on a commonsware...i bought a commons e-book to start develop...help me a lot !!! Great! How to do this find a third party ?! If you are looking for something free/cheap, I'd start here: http://wiki.openstreetmap.org/wiki/Routing -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] open a new activity in tab
Hi, i have a tabhost with 3 tabs... in the first tab I have a listview, if I selected a row a new activity opens over the tabs...is possible to open this activity into the this tab like over the listview. Thanks Igor -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of harsh chandel Sent: quarta-feira, 6 de abril de 2011 15:09 To: Android Developers Subject: [android-developers] Re: Get data from EditText String s=(Edittext) findviewbyid(R.id.edittext01).getstring.tosring(); On Apr 4, 12:36 pm, rishabh agrawal android.rish...@gmail.com wrote: How to get data from EditText how to stored in Buffer i.e Integer.. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] open a new activity in tab
How i do this !?...how to replace?!? From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: quarta-feira, 6 de abril de 2011 17:41 To: android-developers@googlegroups.com Subject: Re: [android-developers] open a new activity in tab On Wed, Apr 6, 2011 at 2:10 PM, Igor Nesralla Ribeiro nesra...@gmail.com wrote: is possible to open this activity into the this tab like over the listview. Replace the listview with what you want. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] EditText to filter a listview
Hi, i have a edittext and a listview ... I want to do thiswhen the users type on a edittext this will filter a listview But...the problem is the listview returns nothing when I type someword that i have in the list. Can anyone help me ? or there any another simple way to do this Here is my code... public class Restaurants extends Activity { private ListView restaurantListView; private ArrayListRestaurantsInfo mRestaurants; private ListAdapter lstAdapter; EditText edt; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { setContentView(R.layout.restaurants); mRestaurants = getRestaurants(); restaurantListView = (ListView) findViewById(R.id.lvRestaurant); lstAdapter = new ListAdapter(this, R.id.lvRestaurant, mRestaurants); restaurantListView.setAdapter(lstAdapter); restaurantListView.setTextFilterEnabled(true); restaurantListView.setOnItemClickListener(new ListView.OnItemClickListener() { @Override public void onItemClick(AdapterView? arg0, View arg1, int arg2, long arg3) { // TODO Auto-generated method stub Intent its = new Intent(getBaseContext(),RestaurantsDetails.class); Bundle b = new Bundle(); b.putLong(key,arg3); its.putExtras(b); startActivity(its); } }); edt = (EditText)findViewById(R.id.editText); edt.addTextChangedListener(new TextWatcher(){ @Override public void onTextChanged( CharSequence arg0, int arg1, int arg2, int arg3) {// TODO Auto-generated method stub Restaurants.this.lstAdapter.getFilter().filter(arg0); } @Override public void afterTextChanged(Editable arg0) {// TODO Auto-generated method stub } @Override public void beforeTextChanged(CharSequence arg0, int arg1, int arg2, int arg3) { // TODO Auto-generated method stub } }); } catch (Exception e) { // TODO: handle exception Log.e(oncreate resta,e.getMessage()); } } public ArrayListRestaurantsInfo getRestaurants(){ DBAdapter dbAdapter=DBAdapter.getDBAdapterInstance(this); try { dbAdapter.createDataBase(); } catch (IOException e) { Log.i(*** select ,e.getMessage()); } dbAdapter.openDataBase(); String query=SELECT * FROM restaurants;; ArrayListArrayListString stringList = dbAdapter.selectRecordsFromDBList(query, null); dbAdapter.close(); ArrayListRestaurantsInfo restaurantsList = new ArrayListRestaurantsInfo(); for (int i = 0; i stringList.size(); i++) { ArrayListString list = stringList.get(i); RestaurantsInfo restaurant = new RestaurantsInfo(); try { restaurant.id = Integer.parseInt(list.get(0)); restaurant.res_name = list.get(1); restaurant.res_city = list.get(2); } catch (Exception e) { Log.i(*** + Restaurants.class.toString(), e.getMessage()); } restaurantsList.add(restaurant); } return restaurantsList; } private class ListAdapter extends
[android-developers] how to get a hardware phone information
Hi, How to get a hardware or system (like model.processor. information about cellphone ?its possible !? Thanks Igor -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] problem when passing value between activities !
Hi... I have a problem when i'm passing value between activitiesi'm using a activity to get information from a database and put into a listview after this I'm using a onListItemClick to call the another activity to show the a details of the item I selected...but when I put the key value of my item Id on Intent method putExtra I cant get then into another acitivity... what I'm doing wrong ?! Thanks Igor here my code: first activity class (Restaurant.java) public class Restaurants extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { setContentView(R.layout.restaurants); ListRestaurants(); } catch (Exception e) { // TODO: handle exception Log.e(oncreate resta,e.getMessage()); } } @Override protected void onListItemClick(ListView l, View v, int position, long id) { // TODO Auto-generated method stub //super.onListItemClick(l, v, position, id); String[] FROM = {_id,res_name, res_city}; Intent its = new Intent().setClass(getBaseContext(),RestaurantsDetails.class); DBAdapter dbAdapter = DBAdapter.getDBAdapterInstance(this); try { dbAdapter.createDataBase(); } catch (IOException e) { // TODO: handle exception Log.e(*** select ,e.getMessage()); } dbAdapter.openDataBase(); Cursor c = dbAdapter.selectRecordsFromDB(restaurants, FROM,null,null,null,null,null); c.moveToPosition(position); its.putExtra(Key,id); startActivity(its); } public void ListRestaurants(){ DBAdapter dbAdapter = DBAdapter.getDBAdapterInstance(this); String[] FROM = {_id,res_name, res_city}; int[] TO = {R.id._id,R.id.res_name,R.id.res_city}; try { dbAdapter.createDataBase(); } catch (IOException e) { // TODO: handle exception Log.e(*** select ,e.getMessage()); } dbAdapter.openDataBase(); Cursor c = dbAdapter.selectRecordsFromDB(restaurants, FROM,null,null,null,null,null); SimpleCursorAdapter sAdapter = new SimpleCursorAdapter(this,R.layout.restaurant_row,c,FROM,TO); setListAdapter(sAdapter); dbAdapter.close(); } } //Second Activity public class RestaurantsDetails extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { setContentView(R.layout.restaurants_details); Bundle extra = getIntent().getExtras(); if (extra != null) { String mRowId = extra.getString(Key); if (mRowId != null) { TextView txtResId = (TextView)findViewById(R.id.txtResId); txtResId.setText(mRowId); } } } catch (Exception e) { // TODO: handle exception Log.e(oncreate resta,e.getMessage()); } } } -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] best way to save images files
Hi, I have this scenario : I have 50 images files of restaurants , that restaurants(name,city,address,image name) i saved into a database..My question is..how and where I saved this images files.and how I display this images files into a imageview Thanks in advance.. Igor -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] best way to save images files
Kevin, Did you have any reference to send me ?!? Thanks Igor From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Kevin Anthony Sent: domingo, 27 de março de 2011 13:27 To: android-developers@googlegroups.com Subject: Re: [android-developers] best way to save images files I would think the best way to save them is cached on a server. This way they are always up to date and you don't use phone memory Sent from a phone On Mar 27, 2011 12:05 PM, Igor Nesralla Ribeiro nesra...@gmail.com wrote: Hi, I have this scenario : I have 50 images files of restaurants , that restaurants(name,city,address,image name) i saved into a database….My question is….how and where I saved this images files…and how I display this images files into a imageview Thanks in advance…. Igor -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.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] select a row in a listview
Hi, I'm newbie on android dev. Sorry for any problemI have a listview wich i display 3 columns (id,restaurant,city) from a sqlite...(using a simplecursoradapter to bind)how I select a row and open it to edit or view. Anyone has a reference to send me or example !? Thanks Igor -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of ehpaul Sent: sexta-feira, 25 de março de 2011 15:15 To: Android Developers Subject: [android-developers] Re: Any way to detect if the GPS data is real Thanks for your reply. Sorry that I didn't post my question clearly. As I am aware, it possible for my 3rd party app to manipulate the GPS location. My question is that if there is any way to detect the location is Real from the satellite instead of manipulated? On Mar 9, 8:16 pm, lbendlin l...@bendlin.us wrote: The closest you can get is to examine location.getAccuracy() . Network locations typically have an accuracy in the hundreds, GPS accuracy is below 15 On Mar 8, 12:57 am, ehpaul hansp...@gmail.com wrote: If there's any way to detect if the GPS location is sent directly from satellites instead of tampered by other applications? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] select a row in a listview
Justin, Well, i have a listview wich I list a restaurants informations like name and city…. how i select a row and open a acitivity with more detail about the restaurant I had opened ?! Can you help me ? Best Regards… Igor From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Justin Anderson Sent: sexta-feira, 25 de março de 2011 15:45 To: android-developers@googlegroups.com Subject: Re: [android-developers] select a row in a listview You're really going to have to provide more information here, otherwise we are only going to be guessing at what you really want to accomplish... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 25, 2011 at 12:41 PM, Igor Nesralla Ribeiro nesra...@gmail.com wrote: Hi, I'm newbie on android dev. Sorry for any problemI have a listview wich i display 3 columns (id,restaurant,city) from a sqlite...(using a simplecursoradapter to bind)how I select a row and open it to edit or view. Anyone has a reference to send me or example !? Thanks Igor -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of ehpaul Sent: sexta-feira, 25 de março de 2011 15:15 To: Android Developers Subject: [android-developers] Re: Any way to detect if the GPS data is real Thanks for your reply. Sorry that I didn't post my question clearly. As I am aware, it possible for my 3rd party app to manipulate the GPS location. My question is that if there is any way to detect the location is Real from the satellite instead of manipulated? On Mar 9, 8:16 pm, lbendlin l...@bendlin.us wrote: The closest you can get is to examine location.getAccuracy() . Network locations typically have an accuracy in the hundreds, GPS accuracy is below 15 On Mar 8, 12:57 am, ehpaul hansp...@gmail.com wrote: If there's any way to detect if the GPS location is sent directly from satellites instead of tampered by other applications? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.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] select a row in a listview
Ops sorry for my englishyes I’m waiting a users click on a item in the listview…I think this tutorial is good…but I have a question….i bind my listview using a simplecursosadapter has any diference for this tutorial !? Thanks in advance… Igor From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Justin Anderson Sent: sexta-feira, 25 de março de 2011 16:31 To: android-developers@googlegroups.com Subject: Re: [android-developers] select a row in a listview Well, that didn't really contain any more information... Are you wanting to programatically select a row to do that? Are you wanting to do that when the user clicks on an item in the listview? Take a look at this notepad tutorial. It has a list of notes. When you click a note it opens a new activity to edit the note. http://developer.android.com/resources/tutorials/notepad/index.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 25, 2011 at 1:20 PM, Igor Nesralla Ribeiro nesra...@gmail.com wrote: Justin, Well, i have a listview wich I list a restaurants informations like name and city…. how i select a row and open a acitivity with more detail about the restaurant I had opened ?! Can you help me ? Best Regards… Igor From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Justin Anderson Sent: sexta-feira, 25 de março de 2011 15:45 To: android-developers@googlegroups.com Subject: Re: [android-developers] select a row in a listview You're really going to have to provide more information here, otherwise we are only going to be guessing at what you really want to accomplish... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 25, 2011 at 12:41 PM, Igor Nesralla Ribeiro nesra...@gmail.com wrote: Hi, I'm newbie on android dev. Sorry for any problemI have a listview wich i display 3 columns (id,restaurant,city) from a sqlite...(using a simplecursoradapter to bind)how I select a row and open it to edit or view. Anyone has a reference to send me or example !? Thanks Igor -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of ehpaul Sent: sexta-feira, 25 de março de 2011 15:15 To: Android Developers Subject: [android-developers] Re: Any way to detect if the GPS data is real Thanks for your reply. Sorry that I didn't post my question clearly. As I am aware, it possible for my 3rd party app to manipulate the GPS location. My question is that if there is any way to detect the location is Real from the satellite instead of manipulated? On Mar 9, 8:16 pm, lbendlin l...@bendlin.us wrote: The closest you can get is to examine location.getAccuracy() . Network locations typically have an accuracy in the hundreds, GPS accuracy is below 15 On Mar 8, 12:57 am, ehpaul hansp...@gmail.com wrote: If there's any way to detect if the GPS location is sent directly from satellites instead of tampered by other applications? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.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 mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send
RE: [android-developers] select a row in a listview
Thanks Kostya… Any way to get a _id on a textview …because I bind the listview from a databse…. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Kostya Vasilyev Sent: sexta-feira, 25 de março de 2011 20:17 To: android-developers@googlegroups.com Subject: RE: [android-developers] select a row in a listview You can use listView.setOnItemClickListener. It will be passed the clicked item's position as well as its id. 26.03.2011 2:12 пользователь Igor Nesralla Ribeiro nesra...@gmail.com написал: -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] select a row in a listview
Can you send me a example !? From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Kostya Vasilyev Sent: sexta-feira, 25 de março de 2011 20:48 To: android-developers@googlegroups.com Subject: RE: [android-developers] select a row in a listview You shouldn't have to - get your data from the adapter. Note the click listener's parent parameter, that's your list view. Get the adapter from that, then call getItem in the adapter to get your data. 26.03.2011 2:27 пользователь Igor Nesralla Ribeiro nesra...@gmail.com написал: Thanks Kostya… Any way to get a _id on a textview …because I bind the listview from a databse…. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Kostya Vasilyev Sent: sexta-feira, 25 de março de 2011 20:17 To: android-developers@googlegroups.com Subject: RE: [android-developers] select a row in a listview You can use listView.setOnItemClickListener. It will be passed the clicked item's position as well as its id. 26.03.2011 2:12 пользователь Igor Nesralla Ribeiro nesra...@gmail.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 mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.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] display db columns into a listview
Hi, I'm newbie on android developi have a question about how i implement my db columns into a listview... I do this code below but I display wich column in one row..how I display one or more columns in one row.has anyone had an reference to send me. public class Restaurants extends ListActivity { private ArrayListRestaurantsInfo mListRestaurants; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { setContentView(R.layout.restaurants); mListRestaurants = getRestaurants(); ListString items = new ArrayListString(); for(RestaurantsInfo restaurant:mListRestaurants){ items.add(restaurant.res_name); items.add(restaurant.res_city); } //display into a restaurant_row.xml ArrayAdapterString adapter = new ArrayAdapterString(this, R.layout.restaurant_row,items); setListAdapter(adapter); } catch (Exception e) { // TODO: handle exception Log.e(oncreate resta,e.getMessage()); } } public ArrayListRestaurantsInfo getRestaurants(){ String query = Select * from restaurants; ArrayListRestaurantsInfo lstRestaurants = new ArrayListRestaurantsInfo(); DBAdapter dbAdapter = DBAdapter.getDBAdapterInstance(this); try { dbAdapter.createDataBase(); } catch (IOException e) { // TODO: handle exception Log.e(*** select ,e.getMessage()); } dbAdapter.openDataBase(); ArrayListArrayListString stringList = dbAdapter.selectRecordsFromDBList(query, null); dbAdapter.close(); for (int i = 0; i stringList.size(); i++) { ArrayListString list = stringList.get(i); RestaurantsInfo restaurant = new RestaurantsInfo(); try { restaurant.res_id = Integer.parseInt(list.get(0)); restaurant.res_name = list.get(1); restaurant.res_address = list.get(2); restaurant.res_number = list.get(3); restaurant.res_neiborhood = list.get(4); restaurant.res_image = list.get(5); restaurant.res_lat = list.get(6); restaurant.res_long = list.get(7); restaurant.res_city = list.get(8); } catch (Exception e) { Log.i(*** + Restaurants.class.toString(), e.getMessage()); } lstRestaurants.add(restaurant); } return lstRestaurants; } } // restaurant_row.xml ?xml version=1.0 encoding=utf-8? TextView android:id=@+id/text1 xmlns:android=http:// schemas.android.com/apk/res/android android:layout_width=wrap_content android:layout_height=wrap_content/ Thanks very much ! Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] display db columns into a listview
Hi, I'm newbie on android developi have a question about how i implement my db columns into a listview... I do this code below but I display wich column in one row..how I display one or more columns in one row.has anyone had an reference to send me. public class Restaurants extends ListActivity { private ArrayListRestaurantsInfo mListRestaurants; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); try { setContentView(R.layout.restaurants); mListRestaurants = getRestaurants(); ListString items = new ArrayListString(); for(RestaurantsInfo restaurant:mListRestaurants){ items.add(restaurant.res_name); items.add(restaurant.res_city); } //display into a restaurant_row.xml ArrayAdapterString adapter = new ArrayAdapterString(this, R.layout.restaurant_row,items); setListAdapter(adapter); } catch (Exception e) { // TODO: handle exception Log.e(oncreate resta,e.getMessage()); } } public ArrayListRestaurantsInfo getRestaurants(){ String query = Select * from restaurants; ArrayListRestaurantsInfo lstRestaurants = new ArrayListRestaurantsInfo(); DBAdapter dbAdapter = DBAdapter.getDBAdapterInstance(this); try { dbAdapter.createDataBase(); } catch (IOException e) { // TODO: handle exception Log.e(*** select ,e.getMessage()); } dbAdapter.openDataBase(); ArrayListArrayListString stringList = dbAdapter.selectRecordsFromDBList(query, null); dbAdapter.close(); for (int i = 0; i stringList.size(); i++) { ArrayListString list = stringList.get(i); RestaurantsInfo restaurant = new RestaurantsInfo(); try { restaurant.res_id = Integer.parseInt(list.get(0)); restaurant.res_name = list.get(1); restaurant.res_address = list.get(2); restaurant.res_number = list.get(3); restaurant.res_neiborhood = list.get(4); restaurant.res_image = list.get(5); restaurant.res_lat = list.get(6); restaurant.res_long = list.get(7); restaurant.res_city = list.get(8); } catch (Exception e) { Log.i(*** + Restaurants.class.toString(), e.getMessage()); } lstRestaurants.add(restaurant); } return lstRestaurants; } } // restaurant_row.xml ?xml version=1.0 encoding=utf-8? TextView android:id=@+id/text1 xmlns:android=http:// schemas.android.com/apk/res/android android:layout_width=wrap_content android:layout_height=wrap_content/ Thanks very much ! Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] best way to storage data on android
Hi, I'm a newbie on Android dev. But I want to know what the best way to storage data on androidfile or SQLite because...i want to save a list of restaurants with street address, Lat and long, and pictures...and update it over internet Anybody has any reference to send me !? Best regards Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Android Apps with HTML5
My question is about a create greats UIwich better ? Native App can do the same that Hybrid Applications ? on Android Market how the most popular !? Att Igor Nesralla Ribeiro -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Stephan Wiesner Sent: terça-feira, 1 de março de 2011 13:20 To: Android Developers Subject: [android-developers] Re: Android Apps with HTML5 Hi, we have evaluated PhoneGap and JQTouch for my current project, as we are developing the app for IPhone and Android. We found the tools somewhat lacking on Android, though. I am sure that they will be great tools in the future but at the moment we prefere to go native. We do try to put as much content as we can into HTML, though. CSS will make sure that we can use the same content on IPhone and Android. Stephan On Mar 1, 1:47 pm, Diego N. diegonunes.sist...@gmail.com wrote: Hello I wonder if anyone here has developed applications for Android using Sencha Touch, PhoneGap, or Appcelerator Titanium? If yes, what I suggest? Thanks. -- Diêgo Nunes Assunção Give Peace a Chance -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] How to take a picture from a front camera
Hi, I have a question ...how to take a Picture from a front câmera …. And throw it into a imageview… Thanks in advance Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Create a UI
Hi, I'm a new on developer Android and my question ishave any application to build a layout , like a DroidDraw... Thanks in advance Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] The most popular way to build a app
Hi, I'm a new on Android developer...and i have a questionwhat the most popular way to build app ???...like a build views and activitys and java or web app..the both work off-line ?! Thanks in advance Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] web app or not
Hi, I'm a new on Android developer...and i have a questionwhat the most popular way to build app ???...like a build views and activitys and java or web app..the both work off-line ?! Thanks in advance Igor Nesralla Ribeiro -- You received this message because you are subscribed to the Google Groups Android Developers group. 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