[android-developers] RTMP/RTP Library for Video
I need to send RTMP or RTP streams from an android phone to a services. I was wondering if there was any library that handled this well Thanks Kevin Anthony -- 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] Server for Android APP
I use a basic DJango JSON backend, it works well for me On Tue, Aug 23, 2011 at 1:41 PM, Diogo Salaberri caxix...@gmail.com wrote: Hello guys.. I want to developer an APP that will request and receive information from a remote server, basic exchange of information, like a json or xml. How can I do this, I know. But what is the better option for the server ? I want a server that stay waiting for my requests. Whats the better option fot this ? Thanks all, waiting. -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Kevin Anthony www.NoSideRacing.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
Re: [android-developers] Re: Regarding asynchronous communication in Android.
I understand why you would want asynchronous communication, but can you provide more information on what your trying to achieve. On Jun 1, 2011 3:28 PM, Ali Chousein ali.chous...@gmail.com wrote: You can achieve it by not making your communication synchronous. Set aside jokes, please have a look to the link TreKing posted. On May 30, 2:30 pm, cherry e cherry@gmail.com wrote: Hi I am new to Android. I want to know how would we achieve asynchronous communication in android. for efficient programming -- 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] Problems with ListView
I have a nested listview to display information about TV shows first the Root listview shows the TV show name when you click on the show name, you get a list of Episodes for the show, including a title, episode number, and episode name if you click on a show, it opens up another activity I have two problems, first, if you open one of the Show Names, you can click on the episodes and it handles it properly. However if you close that show, and open a second, you can no longer click on episodes, even earlier ones, that worked. Here is the BaseExpandableListAdapter Implementation: public class MyExpandableListAdapter extends BaseExpandableListAdapter { private ArrayListString groups = new ArrayListString(); private ArrayListArrayListArrayListString children = new ArrayListArrayListArrayListString(); private LayoutInflater mInflater; public MyExpandableListAdapter(Context context) { groups.clear(); mInflater = LayoutInflater.from(context); for (int i = 0; i group.size(); i++) { groups.add(group.get(i)); } int k = 0; for (int i = 0; i group.size(); i++) { ArrayListArrayListString outer = new ArrayListArrayListString(); while ((k videoName.size()) (videoName.get(k).equals(groups.get(i { ArrayListString inner = new ArrayListString(); inner.add(videoName.get(k)); inner.add(videoEpsNumber.get(k)); inner.add(videoEpsName.get(k)); inner.add(videoLocation.get(k)); outer.add(inner); k++; } children.add(outer); } } public Object getChild(int groupPosition, int childPosition) { return children.get(groupPosition).get(childPosition); } public long getChildId(int groupPosition, int childPosition) { return childPosition; } public int getChildrenCount(int groupPosition) { return children.get(groupPosition).size(); } public TextView getGenericView() { // Layout parameters for the ExpandableListView AbsListView.LayoutParams lp = new AbsListView.LayoutParams( ViewGroup.LayoutParams.FILL_PARENT, 64); TextView textView = new TextView(VideoList.this); textView.setLayoutParams(lp); // Center the text vertically textView.setGravity(Gravity.CENTER_VERTICAL | Gravity.LEFT); // Set the text starting position textView.setPadding(86, 0, 0, 0); return textView; } public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.listview, null); holder = new ViewHolder(); holder.title = (TextView) convertView .findViewById(R.id.TextView01); holder.number = (TextView) convertView .findViewById(R.id.TextView02); holder.name = (TextView) convertView .findViewById(R.id.TextView03); convertView.setTag(holder); } else { convertView.setClickable(true); holder = (ViewHolder) convertView.getTag(); } holder.title.setText(children.get(groupPosition).get(childPosition) .get(0)); holder.number.setText(children.get(groupPosition) .get(childPosition).get(1)); holder.name.setText(children.get(groupPosition).get(childPosition) .get(2)); return convertView;
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 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] Fetching messages from a server
Thanks, that did the trick On Sat, Mar 26, 2011 at 12:32 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Mar 26, 2011 at 12:24 PM, Kevin Anthony kevin.s.anth...@gmail.com wrote: I have an application that needs to fetch messages from a server, currently i do this via a service, running in the background. However, when my application is not in the foreground, it quickly gets pushed out of memory, and stops checking for messages. This is a good thing. An everlasting service like this is an anti-pattern and should be avoided wherever possible. I've been playing with AbstractThreadedSyncAdapter, but this seems a little heavy handed. Could be -- I haven't had a chance to mess with that yet. Is there some middle ground? Something i should look into? Use AlarmManager and fetch the messages on a periodic basis, with the user controlling the polling frequency (including an option for manual-refresh-only) via a SharedPreference. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Kevin Anthony www.NoSideRacing.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
[android-developers] Fetching messages from a server
I have an application that needs to fetch messages from a server, currently i do this via a service, running in the background. However, when my application is not in the foreground, it quickly gets pushed out of memory, and stops checking for messages. I've been playing with AbstractThreadedSyncAdapter, but this seems a little heavy handed. Is there some middle ground? Something i should look into? -- Thanks Kevin Anthony -- 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] emulator not showing app
Have you looked under the launcher to see id its their? Sometimes the emulator doesnt automatically launch the app. Sent from an android phone. On Feb 28, 2011 11:08 AM, sourabh gupta sourabha...@gmail.com wrote: hey everybody, I am new in developing app for android. I have installed every update of android like documents, packages etc. everything is going fine. eclipse is not showing any kind of error. but whenever run the emulator it boots up normally till the unlock button I unlock that but it doesn't show my app no error,nothing bad in console please help me I have been trying since last three days -- 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] onClick for ExpandableListAdapter
I would like to invoke a function when a child is clicked within a ExpandableListAdapter The children are ViewHolders. Below is my getChildView from myExpandableListAdapter class. it reacts to Long clicks, but i can't figure out how to also get it to react to a short click. Thanks Kevin public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.listview, null); holder = new ViewHolder(); holder.text = (TextView) convertView .findViewById(R.id.TextView01); holder.text2 = (TextView) convertView .findViewById(R.id.TextView02); holder.text3 = (TextView) convertView .findViewById(R.id.TextView03); convertView.setTag(holder); } else { convertView.setClickable(true); holder = (ViewHolder) convertView.getTag(); } holder.text.setText(children.get(groupPosition).get(childPosition) .get(0)); holder.text2.setText(children.get(groupPosition).get(childPosition) .get(1)); holder.text3.setText(children.get(groupPosition).get(childPosition) .get(2)); return convertView; } -- 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: unable to download sdk 2.3
Update your eclipse plugin On Dec 10, 2010 1:25 AM, Atik atik0...@gmail.com wrote: thanks ..but when i restarted the eclipse ...its giving me error for the current sdk saying adb.exe not found..check for plugins etc... i have tried with sdk updater several times but i got the same error .. confused..new in android pls help .. On Dec 10, 11:14 am, Xavier Ducrohet x...@android.com wrote: This is normal. Launch the SDK updater again and download the rest. On Thu, Dec 9, 2010 at 10:09 PM, Atik atik0...@gmail.com wrote: hi i m using android api level 8, froyo for developing application. but after trying to download the package from available packages in avd manager ...i only seen this error msg ** Downloading Android SDK Tools, revision 8 Installing Android SDK Tools, revision 8 [post_tools_install.bat] Updating SDK Manager.exe [post_tools_install.bat] 1 file(s) copied. [post_tools_install.bat] Removing obsolete ..\..\SDK Setup.exe Installed Android SDK Tools, revision 8 'adb kill-server' failed -- run manually if necessary. Unable to run 'adb': Cannot run program D:\Atiks Work\Android\android- sdk\tools\adb.exe: CreateProcess error=2, The system cannot find the file specified. 'adb start-server' failed. now after this my adb.exe is missing from tools folder. or some time i m getting the same update option for tools and nothing happened agaian...pls help me out.. i need to work on 2.3..but i m unable to get it on my machine 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: unable to download sdk 2.3
If you update you plugin, it won't look for adb.exe anymore. It'll look for the replacement. On Dec 10, 2010 1:26 AM, Atik atik0...@gmail.com wrote: i havent found any files there like adb.exe..after restarting the eclipse its giving error that adb.exe missing for the sdk.. and i m using eclipse ,i think in eclispse we dont need to set any classpath or any other path for the sdk. i m confused with ur answer...but thanks for the same On Dec 10, 11:16 am, mine260309 mine260...@gmail.com wrote: the adb.exe related files are moved to sdk/platform-tools/, add that directory to your PATH, it will work. On Dec 10, 2:09 pm, Atik atik0...@gmail.com wrote: hi i m using android api level 8, froyo for developing application. but after trying to download the package from available packages in avd manager ...i only seen this error msg ** Downloading Android SDK Tools, revision 8 Installing Android SDK Tools, revision 8 [post_tools_install.bat] Updating SDK Manager.exe [post_tools_install.bat] 1 file(s) copied. [post_tools_install.bat] Removing obsolete ..\..\SDK Setup.exe Installed Android SDK Tools, revision 8 'adb kill-server' failed -- run manually if necessary. Unable to run 'adb': Cannot run program D:\Atiks Work\Android\android- sdk\tools\adb.exe: CreateProcess error=2, The system cannot find the file specified. 'adb start-server' failed. now after this my adb.exe is missing from tools folder. or some time i m getting the same update option for tools and nothing happened agaian...pls help me out.. i need to work on 2.3..but i m unable to get it on my machine 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem removing from listView
i have a ListString declared like this: private static ListString Name = new ArrayListString(); private static ListString Number = new ArrayListString(); private static ListString Address = new ArrayListString(); private static ListString Email = new ArrayListString(); and i'm trying to loop threw and delete them when a user longclicks on them and clicks delete here's the delete code: public void deleteName(long id){ String name = Name.get((int)id); for (int i = 0; i Name.size();i++) { if (Name.get(i)== name){ Name.remove(i); Number.remove(i); Address.remove(i); Email.remove(i); } } return; } however, it only deletes the entry you click on, not all entries, i've done some log outputting and the Entries all look the same to my eye, even capilization. What am i doing wrong? Thanks Kevin A -- 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: Problem removing from listView
I'm not trying to clear the list I'm trying to remove all names that are equal to the name you asked to remove. you have a list of bob bob tom tim sam suzie you click on one bob, both bobs get removed On Dec 6, 7:28 pm, Bret Foreman bret.fore...@gmail.com wrote: This is simpler: while( Name.size() 0 ) { Name.remove(0); } On Dec 6, 3:59 pm, Kevin Anthony kevin.s.anth...@gmail.com wrote: i have a ListString declared like this: private static ListString Name = new ArrayListString(); private static ListString Number = new ArrayListString(); private static ListString Address = new ArrayListString(); private static ListString Email = new ArrayListString(); and i'm trying to loop threw and delete them when a user longclicks on them and clicks delete here's the delete code: public void deleteName(long id){ String name = Name.get((int)id); for (int i = 0; i Name.size();i++) { if (Name.get(i)== name){ Name.remove(i); Number.remove(i); Address.remove(i); Email.remove(i); } } return; } however, it only deletes the entry you click on, not all entries, i've done some log outputting and the Entries all look the same to my eye, even capilization. What am i doing wrong? Thanks Kevin A -- 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] Retrieve Version of another app
discus is just a fancy way of saying disc i wonder about discden Kevin On Tue, Nov 30, 2010 at 2:01 PM, Nathan critter...@crittermap.com wrote: This is probably obvious to the rest of you, but I'm getting a bit lost. I've been using the PackageManager to check whether another app is installed. Can I use it to check the version number of that other app? Thanks for any tips. Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Kevin Anthony www.NoSideRacing.com 732.793.3473 -- 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: [Error ] annot find symbol symbol : method log(java.lang.String)
The method is Log.d(tag,message); Looking at what you posted, it looks like you need to capitilize the L and put a d,v,i,w,e for debug verbose info warning error On Sep 22, 2010 1:04 PM, David Turner di...@android.com wrote: Please avoid cross-posting !! this should go into android-developers only. On Wed, Sep 22, 2010 at 6:57 PM, Atul Raut atul.dr...@gmail.com wrote: Hi I have imported import android.os.Message; still giving error. On Wed, Sep 22, 2010 at 10:24 PM, Atul Raut atul.dr...@gmail.com wrote: Hi am getting this error : cannot find symbol symbol : method log(java.lang.String) when using method : log(some test, +test); I have imported import android.text.TextUtils; import android.util.Log; Still its throwing same error why it is so ? -Atul -- You received this message because you are subscribed to the Google Groups android-ndk group. To post to this group, send email to android-...@googlegroups.com. To unsubscribe from this group, send email to android-ndk+unsubscr...@googlegroups.comandroid-ndk%2bunsubscr...@googlegroups.com android-ndk%2bunsubscr...@googlegroups.comandroid-ndk%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] Detect clear button on notifications
Is there a way to detect if the clear button on the notification bar has been pressed? or Is there a way to tell if a notification is still active? Thanks Kevin A -- 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] HTTP Bad Request when Posting File data to HTTPS from Phone But Not Emulator
Do a tcp dump on the webserver when the requests come in from the emulator and phone. Then compair the headers. Just a quick thought, is the webserver behind a firewall? If the emulator is on a machine on the same network, that might be the cause Kevin A On May 6, 2010 12:23 PM, Paul Tongyoo paul.tong...@gmail.com wrote: Hi all-- I'm using HttpClient 3.x code to construct a MultipartEntity consisting of a few strings and binary data and posting this data to my webserver. What's odd is that when executing these posts from my local emulator, my webserver accepts the request fine and the data is posted. However, executing this same code from my mobile phones results in my webserver responding with an HTTP 400 Bad Request response. Is there a way for me to capture the data being sent by my phone to confirm if there is any differences in data being sent than what my emulator is sending? Should there be any differences? Thanks for any tips, Paul -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] database update
Alter http://www.techonthenet.com/sql/tables/alter_table.php Kevin On Feb 25, 2010 11:40 AM, Dan danieljonharring...@gmail.com wrote: I've got a question about updating an app after release. If I have a database that contains 10 columns and I add a feature that requires an 11th column after the app has been released, where would I put the sql code to add the new column so that when they install the app it keeps their current data, but adds that 11th column? Is that even possible or would I need to create another table that references the first with a foreign key? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Question about layouts and the emulator
Hello, i'm new to Android development, switching over from iPhone Dev. I'm also new to Java, but it's a lot like C, so i'm picking it up quick. My questions is twofold. 1) from what I've read, if you want to have AbsoluteLayouts, You need two layout files, but i can't find any information about how to switch layout files mid-program. 2) i don't have an android yet, and won't until the 1st of the year, so i'm making due with the emulator. but i can't seem to figure out how to switch it's orientation. Thanks for the time. Kevin Anthony -- 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