[android-developers] Support for video streaming over RTP
Is this something that is supported? A quick search shows a class RtpStream but it does not seem to do a whol lot. There appear to be other classes which make use of RtpStream for streaming audio but nothing that I can see for playing video. Has anyone been able to receive rtp streams and play it on MediaPlayer. -- 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] anybody looking for android trainer
Hi, anybody looking for android trainer? -- - Thanks Regards, T.M.S.VIJAYKUMARR BloG:http://iamvijayakumar.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Twitter Integration...?
I've never integrated Twitter myself, but I know that it works just fine for anybody who integrates it. I think the following message explains your problem: E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): oauth.signpost.exception.OAuthNotAuthorizedException: Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match. Have a second look at your consumer key and consumer secret. Study OAuth authorization steps again. Debug every step of your integration. - Ali Chousein http://www.codeproject.com/KB/android/PayGol-Android.aspx http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy http://geo-filtered-assistant.blogspot.com https://marketplace.cisco.com/apphq/products/994 -- 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] arabic text
use android localization. -- More info, http://androidbasic-answer.blogspot.com/ On Mon, Jan 23, 2012 at 12:39 PM, Areesha kamran arkamr...@gmail.comwrote: hello i m new in monoandroid. and i want to make an android application i which i can enter arabic text . Can any one help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] webview with transparent background
Hello Android Developers .. I have webview in my application and I want to make the background transparent color .. Can anybody help please? -- 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] Southern Hemisphere Developer Labs
I tried to find somewhere to make contact with someone from the ADL group but failed, this is the closest thing I could find. Can someone please explain why the Labs in Melbourne and Sydney have only 48 hr confirmation for attendance? I registered now twice (other than one brief HTML page there is no confirmation that my registration has been received, no email, nothing) and I have no idea if I will be accepted by the Googliers. My big grumble is that 48 hours confirmations is just plain obnoxious. What if you live on Brisbane, Adelaide or, heaven forbid, Perth? Yeah, people from Adelaide can just drive the four hours and stay at their aunty's place, but people from Brisbane and Perth have to make flight bookings, hotel bookings, maybe a hire car (the ADL announcement did not even give details like where it will be or how much it costs) and doing that on 48 hr notice is almost impossible and certainly the most expensive. Please Googliers, think about some common business courtesy for people who ulimately make Android the success Google wants it to be. -- 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 create a Context Object in a separate process?
I was just wondering if there was a way to create a Context Object outside of an application/ in a separate process? Currently I start a class's main() method using app_process and su which works great (but like input.jar, am, pm, etc). To access the APIs I need to I reflect on ServiceManagerNative and obtain IInterface references. My intent is to create an application on the Android Market for rooted users that has access to what would otherwise be system APIs. I have tried reflection on ActivityThread and calling systemMain() and getSystemContext(), but these do me no good. The issue I get is below: E/RootTools(13487): Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() Finally, I have tried calling the main() method of ActivityThread prior to this, but my process crashes then as well: W/ActivityManager(179): No pending application record for pid 12622 (IApplicationThread android.app.ApplicationThreadProxy@41a27038); dropping process Am I trying to do something impossible, or is there a way on a rooted device to start an Activity/ Service with the ROOT_UID so that any permission enforcement gets ignored? -- 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] In-app purchase charged credit card multiple times
I built and installed the Google sample app for testing in-app purchases. I bought the two items (sword and potion) for 99 cents each. Two transactions showed up in the Google checkout account for 99 cents. I then cancelled those orders in the Google checkout account. However, 11 charges for 1 dollar appeared on my credit card. Has anyone else had this happen? Is this a bug in the in-app purchase or Google Merchant? -- 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] peer to peer through wifi without cnetral device(accesspoint)
how to create peer peer through wifi between two android phones.. i mean which protocal is used -- 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] Rotation event landscape to reverseLandscape
Hi all, Is there a way to receive an event when a screen rotates landscape to reverseLandscape directly(without portrait or reversePortrait) in api level8? In this case, an activity is not re-created and does not call onConfigurationChanged(). regards, -- 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: red crosses - beginner topic
Shot 3 tells you that Eclipse thinks those two library jars don't exist. If they do exist (check the exact path), refresh the App project. That will make eclipse scan all it's files. Good luck. -- 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] Unable to send text messages on some Android Phones using SmsManager
Hello, My mobile app occasionally is sending text messages, everything works great on most phones but i am starting to receive emails from some users stating the messages aren't going out. Here is the code i am using: SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(+1222333, null, test sms, null, null); I've read somewhere that I should use the PendingIntent, so i tried it as follows: PendingIntent pi = PendingIntent.getActivity(register.this, 0, new Intent(register.this, register.class), 0); SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(+1222333, null, test sms, pi, null); But it still doesnt work. So far I have gotten emails from users of Samsung Galaxy S II, Sprint Evo Shift, Samsung Sidekick phones. Please keep in mind it's not phone specific, i have tested the app on two of these phones (my friends) and the text message was sent normally. What am i doing wrong, is there another way to send text messages that would work on all phones? 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] Unable to get Native Socket to accept requests
I'm porting a tinyish server to Android using the NDK. The ultimate goal is for my app to interact with the server through JNI and Android Service classes. I've run across a stumbling block, however. The server fails to start as soon as I call accept() on the socket. I've pasted the code below. All I want to to is open a socket that listens to localhost requests of port . If anyone can give me advice, I would greatly appreciate it. Thanks, --- static void socket_listen_to(const char *host_name, unsigned int port) { struct sockaddr_in address; int listening_socket; int connection_socket; if (host_name) { struct hostent *host_data; host_data = gethostbyname(host_name); if (!host_data || host_data-h_addrtype != AF_INET || host_data- h_length != sizeof address.sin_addr) { exit(EXIT_FAILURE); } host_name = host_data-h_name; memcpy(address.sin_addr, host_data-h_addr_list[0], sizeof address.sin_addr); } listening_socket = socket(PF_INET, SOCK_STREAM, 0); if (listening_socket == -1) { exit(EXIT_FAILURE); } address.sin_family = AF_INET; address.sin_port = htons((unsigned short) port); if (bind(listening_socket, (struct sockaddr *) address, sizeof address) == -1 || listen(listening_socket, 5) == -1 ) { closesocket(listening_socket); exit(EXIT_FAILURE); } connection_socket = accept(listening_socket, NULL, NULL); if (connection_socket == -1 ) { closesocket(listening_socket); exit(EXIT_FAILURE); } } unsigned int port = ; const char host_name[] = localhost; socket_listen_at(host_name, port, gtp_input_FILE, gtp_output_FILE); -- 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: Difference between invalidate and requestLayout for Viewgroup
Could the method Javadoc for invalidate() and requestLayout() have {@see ...} to each other? There's a lot to learn when you're a newbie to a framework. I've lost hours on this. Yes, I now see the info at the top of the View class Javadoc, but it would have been handy to have a pointer to it in the place I went looking (the method Javadoc). On Jan 13, 5:30 pm, Dianne Hackborn hack...@android.com wrote: Basically, yes. Invalidate says something in your visuals has changed so you need to be redrawn; requestLayout() says something structural has changed so a new layout is needed (which also implies eventually redrawing). On Thu, Jan 12, 2012 at 6:53 PM, harvinder res...@gmail.com wrote: It is my understanding is that when invalidate() is called on ViewGroup derived class onDraw gets called. However, when requestLayout is called onMeasure and onLayout gets called. Is my understanding correct? Truly harvinder -- 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 -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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: Http post and get
You have to reuse the same cookie store, or better yet, the same http client. -- 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] Same problem: I am not asked for drivers.
At point 13 of http://unlockbootloader.sonyericsson.com/instructions nothing happens. 13. On your computer, you will be asked for drivers. Point to the usb_driver folder where you placed the android_winusb.inf-file, and select the Android Boot loader Interface-file. I executed all steps correctly I think. -- 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] Auto start application after boot completed in Android
I want to make an application which has auto start option in its settings. I have made Settings activity in my application which is derived from PreferenceActivity and give CheckBoxPreference for auto start option. If auto start option is enabled my application should start when booting of phone is completed. And if auto start option is disabled then it should not start on boot completed. To achieve this I have implemented derived class of BroadcastReceiver which receives BOOT_COMPLETED intent, declare receiver in AndroidManifest.xml and also give permission in AndroidManifest.xml. In application also there is a derived class of Application and called many methods, start service from the onCreate method of application derived class. If I declare receiver in AndroidManifest.xml then after booting completed onCreate of my application called and after that onReceive method of BroadcastReceiver called. Now the problem is that my application starts on boot completed every time whether auto start is enabled or disabled. Is it possible to not start application when auto start is disabled ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Dynamic ImageButtons
When you say dynamic do you mean the actions for the buttons change or as in they move around onscreen? On Jan 21, 2:13 pm, Ubiracy Santos ubiracy@gmail.com wrote: Can anyone give me an idea of how to create dynamic buttons? For example ascreen that has 6 buttons with different actions. I own a web service that returns me an xml file that says where it goes when we touch the button. One of the buttons can start another one can open a website listing for example. Any idea is welcome ;) -- 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] Help with Emacs for Android Development
Hello, I am trying to configure emacs for android development. I have loaded : android.el android-mode.el cedet jdee I have the following in my ~/.emacs config file: (setq android-mode-sdk-dir correct-path-to-android-sdk-directory) (add-hook 'gud-mode-hook (lambda () (add-to-list 'gud-jdb-classpath correct-path-to-target- android.jar) )) when I attempt to compile I get errors indicating android.jar cannot be found. error: package android.app does not exist import android.app.ListActivity; The test application compiles fine in eclipse. Thank you. regards, Brian -- 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 have make application for video recording but video is recording but sound is not coming
I have make application for video recording but video is recording but sound is not coming -- 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] Want help regarding videos security in android application
Hello All, I am developing an application for android froyo tablet. I wish to store approx 15GB video on inbuilt memory of tablet with some security and access that video only through my application. So that no one can able to copy that videos. So plse some one suggest how i will make security for videos. Thanking you, Harshal. -- 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] Possible TabHost bug on samsung galaxy 10.1 tab running 3.2
Hey guys, I have a layout that Uses a tabhost which is viewed inside of a dialog. I do this because it makes for a very quick menu box to pop up. So far on all the phones Ive tested it on it works fine. However I have a samsung galaxy 10.1 tablet running 3.2 and when I hit my button to pull up the dialog menu with the tabhost layout the tabs are all empty. Ive tried multiple work arounds to no avail. Like I said my layout works as expected on all other devices Ive tried it on including a visio tablet that runs 2.3 and the tabhost always works. I suppose I could check for the specific case of the app being on this specific device and if so implement a different layout. My reason for saying that is because I went to using a tabhost the other layout I had inside my dialog came up fine and infact it still does. I just like the tabhost much better it makes for easier navigation by the user. So.has anyone had such issues with a tabhost on the samsung galaxy 10.1 tab? If it helps heres my code which youll see is nothing to complicated. from my java class dialog.setContentView(R.layout.maintabmenu); final TabHost tabs = (TabHost) dialog.findViewById(R.id.my_tabhost); tabs.setup(); tabs.setCurrentTab(0); TabSpec tspec11 = tabs.newTabSpec(New Tab); tspec11.setIndicator(User); tspec11.setContent(R.id.ScrollView01); tabs.addTab(tspec11); TabSpec tspec2 = tabs.newTabSpec(New Tab); tspec2.setIndicator(Settings); tspec2.setContent(R.id.ScrollView02); tabs.addTab(tspec2); TabSpec tspec3 = tabs.newTabSpec(New Tab); tspec3.setIndicator(My options); tspec3.setContent(R.id.ScrollView03); tabs.addTab(tspec3); and from my xml layout. TabHost xmlns:android=http://schemas.android.com/ apk/res/android android:id=@+id/my_tabhost android:layout_width=match_parent android:layout_height=match_parent LinearLayout android:orientation=vertical android:layout_width=match_parent android:layout_height=match_parent android:padding=5dp TabWidget android:id=@android:id/tabs android:layout_width=match_parent android:layout_height=match_parent/ FrameLayout android:id=@android:id/tabcontent android:layout_width=match_parent android:layout_height=match_parent android:padding=5dp ScrollView android:id=@+id/ScrollView01 android:layout_width=match_parent android:layout_height=match_parent RelativeLayout android:layout_width=match_parent android:layout_height=match_parent android:background=@drawable/bggreydotted android:orientation=vertical TextView android:id=@+id/usersname android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentTop=true android:layout_centerHorizontal=true android:text=User Info / ImageView android:id=@+id/profileimage2 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_centerHorizontal=true android:layout_centerInParent=true android:layout_centerVertical=true android:src=@drawable/favicon_yellow_g_metal_bg2 / ImageButton android:id=@+id/drawMark android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_below=@+id/createMarks android:background=@null android:src=@drawable/graffitbuttondrawmark / ImageButton android:id=@+id/zmLevel android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentLeft=true android:layout_below=@+id/search android:background=@null android:src=@drawable/graffitbuttonzoomlevel / ImageButton android:id=@+id/license android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignParentRight=true android:layout_below=@+id/mypreferences android:background=@null android:src=@drawable/graffitbuttonlicense / ImageButton android:id=@+id/mapView android:layout_width=wrap_content android:layout_height=wrap_content android:layout_below=@+id/zmLevel android:layout_alignParentLeft=true
[android-developers] Safe number range for IDs in dynamic layout ?
Hi there, I have just started creating an Activity with a fixed and a dynamic layout part. The dynamic part (and the number of created TextViews) is based on the data it should display. For saving / restoring instance state, all TextViews need to have IDs. Of course, I want to ensure that my own IDs will never conflict with IDs that occur in the generated R class. As the number of TextViews in the dynamic part is unknown, I can not just predefine a bunch of IDs in R and use these. Is there a safe number range I can use for my own layout component's IDs ? Looking at R.java in the gen/ folder, I have the impression that generated IDs are all greater than 0x7f00. Is that guaranteed ? Thanks and Regards, Markus --- I've never claimed that a genius is what I currently am. It's wat I want to become. -- 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 requirement
Hi Group, I have UI requirement shown below: |---| |Header-1 | | Checkbox1[]| | Checkbox2[]| | Checkbox3[]| |---| |Header-2 | | Checkbox1 [] | | Checkbox2 [] | | Checkbox3 [] | and so on clicking below button. BUTTON - clicking on this button on bottom will create header and 3 checkbox everytime. How can i achieve this? This is very urgent. I can not take these in XML laypout as these need to be added dynamically on runtime. If possible, Please provide any sample code and guide me. Thanks, Rachana -- 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] Browser Plugins in GB / ICS
Hi group, I wanted to debug the plugin load sequence in android. So checked with the sample script on ICS and GB emulators. I see that navigator.plugins.length returns zero. alert(navigator.plugins. length); this script alerts 0. whereas in mozilla or any other browsers it returns 13 / 14 or the number of plugins registered for that Browser. So plz teach me as to whether plugins are supported in the default version of the GB / ICS code got from android site. Thanks, Basavaraj S S -- 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: Unable to execute Bluetooth HDP Demo
Hi everyone, I am planning to do a HDP project too. I would like to ask where you guys buy the medical device that support HDP? It seems that most of you buy UA-767PBT-C, but I can't find where to buy this device... I only find UA-767BT http://www.amazon.com/UA-767PBT-D-Bluetooth-Blood-Pressure/dp/B0028Q2P3Y Thank a lot! -- 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] Android app with database
I am a new in android develiping. Therefore I want a advice. For instance I have app which connecting to database over internet. In database is a table with list of streets. Android app download this list then building a list view as the link http://developer.android.com/resources/tutorials/views/hello-listview.html. Which ways I can do it the best? Thanks for answers) -- 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] scroll smoothly?????
hi, i use ebookdroid open source project in this project they are using scroller for scrolling the page and canvas for draw the page . bt prob is that when i scroll the page that time the white page appear firstly and then render the page n then show the pdf page.in this case i create bitmap and store in sdcard. when i draw this bitmap and pdf page on the canvas that time it scroll slow motion specially problem in acer A-500 Tab.. how to solve this problem...??? Thank You, Rajesh patil -- 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] advice request for Initial concept planning
I don't consider myself a programmer. I understand most concepts involved, but have difficulty creating html/xml/css pages without referencing w3c. That being said, I have several ideas for apps and want to plan them out before approaching the right programmer(s) to put them in development. In a perfect world I'd ask if there is a blueprint-style preparation format? My goal in this is to minimize the communication gap between myself and the developer and minimize the consultation sessions. Any advice or resources would be greatly appreaciated!! -- 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: Help me....
I had the same problem, because I missed this message in Installing the SDK. Hope this helps. Optionally, you might want to add the location of the SDK's tools/ and platform-tools to your PATH environment variable, to provide easy access to the tools. How to update your PATH http://developer.android.com/sdk/installing.html# Adding both tools/ and platform-tools/ to your PATH lets you run command line tools http://developer.android.com/guide/developing/tools/index.html without needing to supply the full path to the tool directories. Depending on your operating system, you can include these directories in your PATH in the following way: - On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ and platform-tools/ directories to the path. - On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to the tools/ and platform-tools/ directories to it. If you don't see a line setting the path, you can add one: export PATH=${PATH}:sdk/tools:sdk/platform-tools - On a Mac OS X, look in your home directory for .bash_profile and proceed as for Linux. You can create the .bash_profile if you don't already have one. -- 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] Convert Linux x86 Shared Library (.so) to Android Armeabi
Hi everyone, I'm wondering if there is a way to convert a shared library file (.so) built in Linux for X86 computers to Android Armeabi one. I have the .so file but i do not have access to the source code, so I need to come up with the Armeabi library file in order to use it in my Android project (JNI Native source files). 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
Re: [android-developers] startActivitiesForResult problem
Hi Vani, plz try this solution , it might work i guess. 1) Override OnActivityResult() method in A, B, C activities and launch B,C,D activities using StartActivityForResult() method 2) call SetResult() method from Activity D, so that it hits OnActivityResult() of activity C, 3) u need to call again SetResult() method from OnActivityResult() activity C , so that it hits OnActivityResult() of activity B 4)call SetResult() from B's OnActivityResult() , now it hits OnActivityResult() method of activity A regards raju On Fri, Jan 20, 2012 at 1:54 PM, vani reddy vani.reddy.bl...@gmail.comwrote: HI friends, In my app i am traversing between 4 activities A,B,C,D . in Activity A i am going to B and then C and D Intent intent = new Intent(A,B); startActivityForResult(intent,0); From D i need to go to activity A from Activity D i am doing Intent intent = new Intent(); intent.putExtra(str,str); setResult(RESULT_OK,intent) In activity A I am fetching result in onActivityResult(int requestCode, int resultCode, Intent data) { Here the intent data is null } How to resolve this issue.Please reply. -- 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 -- Raj -- 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] where to store external database?
I have already an external database where should i store it so i can use it on the mobile phone ? -- 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] Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
This seems to be a pretty common problem the beginners face. Despite reading all the solutions, I could not arrive at a solution. Please point out the mistake I am doing. Main Activity: package com.nitinsethi.smsfinder; import java.util.ArrayList; import android.app.ListActivity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.EditText; public class SMSFinderActivity extends ListActivity { private Cursor mSmsCursor; public static final String KEY_SENDER = person; public static final String KEY_BODY = body; private ArrayListString msgs = new ArrayListString(); /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } public void findSMS(View search) { Uri uri = Uri.parse(content://sms/inbox); String wordToFind = ((EditText) findViewById(R.id.wordToFind)).getText().toString(); mSmsCursor = getContentResolver().query(uri,new String[] { KEY_SENDER, KEY_BODY },KEY_BODY + LIKE + \% + wordToFind + % \, null,date + DESC); startManagingCursor(mSmsCursor); if ( mSmsCursor.moveToFirst()) { do{ msgs.add(mSmsCursor.getString(mSmsCursor.getColumnIndexOrThrow(KEY_BODY))); } while(mSmsCursor.moveToNext()); } Intent intent = new Intent(this, ShowSMSListActivity.class); Bundle arrayBundled = new Bundle(); arrayBundled.putStringArrayList(smslist, msgs); intent.putExtras(arrayBundled); startActivity(intent); } } SMSList Activity package com.nitinsethi.smsfinder; import java.util.ArrayList; import android.app.ListActivity; import android.os.Bundle; import android.util.Log; import android.widget.ArrayAdapter; public class ShowSMSListActivity extends ListActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.sms_list); Bundle bundle = getIntent().getExtras(); ArrayListString msgs = bundle.getStringArrayList(smslist); Log.d(ShowSMSListActivity,msgs.get(1)); ArrayAdapterString arrayAdapter = new ArrayAdapterString(this, R.layout.listitem_layout,msgs); setListAdapter(arrayAdapter); } } main.xml: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical EditText android:id=@+id/wordToFind android:layout_width=fill_parent android:layout_height=wrap_content android:hint=Type the word to find.. android:padding=10dip / Button android:id=@+id/search android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=right android:padding=10dip android:text=Search SMS android:onClick=findSMS / /LinearLayout sms_list.xml: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=wrap_content android:layout_height=wrap_content ListView android:id=@+id/android:list android:layout_width=wrap_content android:layout_height=wrap_content/ TextView android:id=@+id/android:empty android:layout_width=wrap_content android:layout_height=wrap_content android:text=No SMS/ /LinearLayout listitem_layout.xml ?xml version=1.0 encoding=utf-8? TextView xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/text1 android:layout_width=fill_parent android:layout_height=wrap_content android:paddingRight=100dip android:textSize=30dip / -- 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] andengine vs libgdx
I´m starting as a developer in Android (in games) but which engine its the best and why, thanks for the help :) -- 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] when I log into my developer account to publish it's asking me to register all over again
I am not sure whats changed but when I log into my developer account, It's asking me to register and pay the fee all over again anyone have a solution to this I have an app in the store already and can't get to it. 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] Custom volume buttons
Hello. I've been trying to make an app where i have volume buttons on screen. I cannot get them to work. Can anyone please help? public void onClick(View v) { // TODO Auto-generated method stub switch(v.getId()){ case R.id.bPlus: mp.setAudioStreamType(AudioManager.ADJUST_RAISE); break; case R.id.bMinus: break; -- 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 play video on surface view?
Hi, i want to play video on surface view.. i m using surface view for dwawing bitmpa in that i use the video view bt it cant show video bt hear sound how it solve -- 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 play vide o on surface view?
Hi, i m using surface view for drawing bitmap.when i m using video view to show the video on it .it is not showing video only hear the sound. How to solve this problem? Thanx, Rajesh Patil -- 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] Net Work slow
use System.gc() -- 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: Dashboard Application
Button b=new Button(); b.setText(OK); On Jan 20, 8:28 pm, Ubiracy Santos ubiracy@gmail.com wrote: How can I create dynamic buttons? -- 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] Custom volume control buttons
I am a newbie in android, : ) and would like to use some custom buttons to control the volume. The buttons are in a switch case, i'm using a MediaPlayer and a AudioManager but cant get this two linked. Any ideas? -- 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 create dynamic button??
hi, how to create dynamic button?? -- 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 draw SoftKeyboard keyCodes on a SurfaceView
I have a problem with the softkeyboard and the surfaceview. I want to write text on the surfaceview throught the onDraw method when I type in the soft keyboard. I get the event but I couldn't get the corresponding character to draw. I see a lot of post, and in someone it say that the getNumber() should respond with the corresponding character but it fail with badcodes. Here is may onKey method: public boolean onKey(View v, int keyCode, KeyEvent event) { Log.d(LOGTAG, keyCode: +keyCode+ - + event.getNumber()+ Un: +event.getUnicodeChar()); this.charToDraw = +event.getNumber(); this.forceOnDraw(); return false; } The DDMS show this: 01-18 16:35:27.440: DEBUG/xxx(6227): keyCode: 47 - �� Un: 115 01-18 16:35:27.440: DEBUG/xxx(6227): onDraw: WRITING:�� I also try to use: char keyCode = (char)keyCode; String keyCode = + keyCode; but get the same result. I need to transform the keyCode to a string to display with the drawString of the surfaceview canvas. I trying all of this on a Motorola Xoom. 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] How to get Hardware and software information of remote computer in android
I want to get Hardware and software information of remote computer which is already in my WiFi network.I found that Windows Management Instrumentation (WMI) is useful for getting this information in java.But when I use this for android I got runtime errors in com4j.jar. I can't solve these errors.If you have any suggestion or code then please tell me.If you have another way then please suggest.I am new to Android I also found that python script using _winreg can be useful to access the remote computer registry and from registry I can get this information but I don't know how to write this script and run on remote computer and handle output please anybody have any idea then suggest Thanks in Advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Scroll View
I am trying to scroll a HorizontalScrollView by 2 buttons, one left, one right. What am i doing wrong? Which one to choose? sw - scroll view public boolean onTouch(View v, MotionEvent event) { // TODO Auto-generated method stub switch(v.getId()){ case R.id.bRight: sw.smoothScrollBy(20, 0); break; case R.id.bLeft: sw.smoothScrollBy(-20, 0); break; } return false; } public boolean onLongClick(View arg0) { // TODO Auto-generated method stub switch(arg0.getId()){ case R.id.bRight: sw.smoothScrollBy(50, 0); break; } return false; -- 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] Integrating bh1780 ambient light to android hal
Dear all, I have bh1780 driver available in kernel (GPL). Can any one tell me how to integrate this to android HAL ??. What changes I have to make in my Android HAL?? How to send data to application level via Android HAL?? Thanks Abhijit -- 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] Strange problem with TableLayout and TextView
When I run the code below with Button t = DynamicLayout.CreateButton(this, id++, 0x /* text color */, 20 /* text size */, Button, Gravity.CENTER, res.getDrawable(R.drawable.spot_button), true); and // TextView t = DynamicLayout.CreateTextView(this, id++, 20 /* text size */, 0x /* text color */, 200 /* width */, 100 /* height */, TextView, false); commented out, I get 12 buttons displayed with text Button. No problem. When I comment out the Button code and un-comment the TextView code, I get nothing displayed. I know there are some things missing here, but why does this work with buttons and not with a TextView? The text color I am using is 0x and the background is dark, so I don't think the color is the problem. Anybody got any ideas? === ... TableLayout table = DynamicLayout.CreateTableLayout(this, id++, Gravity.CENTER|Gravity.TOP, fill, 150, false, false); top.addView(table); createMenus(table); return top; } private void createMenus(TableLayout table) { final Resources res = getResources(); final int fill = LinearLayout.LayoutParams.FILL_PARENT; for (int menuIndex = 0; menuIndex D.menus.getSize(); menuIndex+ +) { TableRow tr = DynamicLayout.CreateTableRow(this, id++, Gravity.LEFT, fill, 50); for (int i = 0; i 4; i++) { //Button t = DynamicLayout.CreateButton(this, id++, 0x, 20, Button, Gravity.CENTER, res.getDrawable(R.drawable.spot_button), true); TextView t = DynamicLayout.CreateTextView(this, id++, 20, 0x, 100, 50, TextView, false); tr.addView(t); } table.addView(tr); } } -- 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] Two webview windows in one app
Is it possible to have 2 webview windows that each open a seperate site? The first Webview window will have 50% height and so will the 2nd one as well. If not, is it somehow possible to read 2 html pages where the first one will always be stuck, covering 50% of the screen while the bottom window is filled with text and is scrollable (as in that the top window will stay even if you scroll)? Sorry for bad english, it's not my main language. -- 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] Unable to create AVD
Hi everyone.. I m new to android development world I set all essential elements jdk,eclipse etc but when I want to create AVD it gives me a message unable to find userdata.img plz guide me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Limit App Usage
I'm trying to create an app, but want to limit it's use to just my organization. Is it possible? -- 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: Unable to execute Bluetooth HDP Demo
Hi , I still see the issue with my Nonin device even on Android 4.0.3. here is what is see in my log, using demo sample i am able to connect to the device but i am not getting any data from the device Any help? I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/ bluez/plugins/hciops.c:conn_complete() status 0x00 I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/ bluez/src/adapter.c:adapter_get_device() 00:1C:05:00:49:4A D/BluetoothEventLoop( 1089): Device property changed: 00:1C: 05:00:49:4A property: Connected value: true I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/ bluez/plugins/hciops.c:remote_features_information() hci0 status 0 I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/ bluez/plugins/hciops.c:remote_name_information() hci0 status 0 E/BluetoothEventLoop.cpp( 1089): onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError (No matching MDEP found) D/BluetoothEventLoop( 1089): onHealthDeviceConnectionResult 1 6001 I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/ bluez/plugins/hciops.c:disconn_complete() handle 1 status 0x00 I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/ bluez/src/event.c:btd_event_disconn_complete() I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/ bluez/src/adapter.c:adapter_remove_connection() D/BluetoothEventLoop( 1089): Device property changed: 00:1C: 05:00:49:4A property: Connected value: false W/ThrottleService( 1089): unable to find stats for iface rmnet0 I/power ( 1089): *** set_screen_state 0 D/SurfaceFlinger( 125): About to give-up screen, flinger = 0x1420918 W/ProcessStats( 1089): Skipping unknown process pid 1620 W/NetworkManagementSocketTagger( 1089): setKernelCountSet(10048, 0) failed with errno -2 D/dalvikvm( 1089): GC_CONCURRENT freed 629K, 14% free 8879K/10247K, paused 5ms+4ms On Jan 14, 6:07 am, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi Fernando, I have introduced a change in the implementation of the BluetoothHealthCallback mHealthCallback. Exactly, in its method onHealthChannelStateChange(...). I detected that the state machine during the stablishment of a new HDP connection is: Disconnected- Connecting-Connected. However, you can see that the example is checking the case Disconnected-Connected, but not the case Connecting- Connected. I added this new case Connecting-Connected, and now it works and I'm able to read/write data from/to UA-767PBT-C and a board that emulates several biomedical devices. I hope it help you. Regards. On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote: Hi jfernandez... i upgrade my android version to 4.03 and still can't connect... Could you please show me the changes that you made? Thank you On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi again, Well, after upgrading my Android 4.0 to 4.03, and adding some changes to the BluetoothHDPsample, I'm able to connect to the biomedical device, as well as I'm able to read/write data from/to theHDP channel. So, it seems the problem has been fixed in this new Android version. Regards. On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi all, I'm executing theBluetoothHDPDemo [1] (offered from Android 4.0 Ice Cream Sandwich) in my Android smartphone. When I have registered the application in order to receive data, and I have paired the biomedical device with the smartphone, I try to open the channel connection and I can see that the device starts sending data to the smartphone. However, the smartphone is unable to open the channel connectionHDP. At the end of this message you can see the output obtained in the LogCat. Has anybody achieved to run successfully this sample about the use of theBluetoothHealth Profile API? Any ideas? Thanks. Regards. [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html This is the log that I obtain: 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE: 00:80:25:14:A1:BC: 0 - 1 12-15 16:40:55.169: D/ConnectivityService(147): handleInetConditionHoldEnd: net=1, condition=0, published condition=0 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property changed: 00:80:25:14:A1:BC property: Connected value: true 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 12-15 16:41:00.034: E/BluetoothService.cpp(147): getChannelApplicationNative 12-15 16:41:00.044: E/bluetooth_common.cpp(147): dbus_func_args_timeout_valist: D-Bus error in Acquire: org.bluez.Error.HealthError (Cannot
[android-developers] Re: Help clarifying Android Market Developer Program Policies Spam and Placement
Dear John, just some days ago I have received the same email. As you, I also removed any possible keywords and spam in apps description. I have also some webview to external web sites. In order to comply to fourth point I have linked the apps in some points to web pages hosted by myself but I'm not sure it will be enough for G. Two questions if you don't mind: have you also removed the link to government websites? what has happened after the 7 days to your apps? I hope you can give me a light in this issue. tx videanet -- 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] When a user uninstall my app, will the content provider be gone with the uninstalling, how about the changes I made to built in content provider?
When a user uninstall my app, will the content provider be gone with the uninstalling, how about the changes I made to built in content provider? -- 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: Flash player in background
Hello asxz, thank you for posting this issue of yours. Unfortunately I cannot help you with the code (I wrote a couple of apps myself a few months ago but not using Flash Player). What I can tell you is, as far as I know, the Flash player is (quite strangely) made not to play/function when in background. I hate this because for example there is no way to listen to a youtube video music without having to look at the video itself (in some case the video is a still image!!). Have a look at this: http://android-developers.blogspot.com/2010/04/multitasking-android-way.html Regards On Dec 29 2011, 2:55 am, asxz8722 asxz8...@gmail.com wrote: Hi, dear I want to build a live video chating system. In my design, there are two activities: 1. chat People can chat in this activity. There should be a list of TextView, dynamic changing when someone is talking. 2. Live video player In this activity, a WebView embed a flash player to play the live stream. I can overwrite the onOptionsItemSelected in Activities to switch between Activities Here is a part of my code: public boolean onOptionsItemSelected(MenuItem item){ switch(item.getItemId()){ case Menu.FIRST;: Intent intent = new Intent(); intent.setClass(Video.this,Chat.class); startActivity(intent); break; default:} return super.onOptionsItemSelected(item); } and, here is my problem: When I am chating with other people, the live stream should still alive. However, when I change the activity from Live video player to chat Activities Intent intent = new Intent(); intent.setClass(Video.this,Chat.class); startActivity(intent); would recreate the Chat activity, and the original activity(Live video player) would be paused. So, is there any solution to make the flash player play like in background? even when changing activities, this flash player is still playing. P.S I have tried to put a webview with a flash player embed in in Service and get the webview back from Service and add it to chat activity. then I get an error: Thread [1 main] (Suspended (exception ClassCastException)) ViewRoot.draw(boolean) line: 1634 ViewRoot.performTraversals() line: 1323 ViewRoot.handleMessage(Message) line: 1959 ViewRoot(Handler).dispatchMessage(Message) line: 99 Looper.loop() line: 150 ActivityThread.main(String[]) line: 4310 Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method] Method.invoke(Object, Object...) line: 507 ZygoteInit$MethodAndArgsCaller.run() line: 839 ZygoteInit.main(String[]) line: 597 NativeStart.main(String[]) line: not available [native method] But, when the webview just load a normal url without flash likewww.google.com, it will load successfully. -- 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 while using spinners
actually i am using 4 spinners...4th spinner must get filled depending on the selection made in 1st spinner? ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:background=#ADD8E6 TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Group android:textColor=#00 android:textSize=30px / Spinner android:id=@+id/group android:layout_width=match_parent android:layout_height=wrap_content android:prompt=@string/group_prompt android:entries=@array/group_names / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Year android:textColor=#00 android:textSize=30px / Spinner android:id=@+id/year android:layout_width=match_parent android:layout_height=wrap_content android:drawSelectorOnTop=true android:prompt=@string/year_prompt android:entries=@array/year_names / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Section android:textColor=#00 android:textSize=30px / Spinner android:id=@+id/section android:layout_width=match_parent android:layout_height=wrap_content android:drawSelectorOnTop=true android:prompt=@string/section_prompt android:entries=@array/section_names / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Subject android:textColor=#00 android:textSize=30px / Spinner android:id=@+id/subject android:layout_width=match_parent android:layout_height=wrap_content android:drawSelectorOnTop=true android:prompt=@string/subject_prompt / /LinearLayout ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:background=#ADD8E6 TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Group android:textColor=#00 android:textSize=30px / * Spinner android:id=@+id/group* *android:layout_width=match_parent* *android:layout_height=wrap_content* * * *android:prompt=@string/group_prompt* *android:entries=@array/group_names* */ * TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Year android:textColor=#00 android:textSize=30px / Spinner android:id=@+id/year android:layout_width=match_parent android:layout_height=wrap_content android:drawSelectorOnTop=true android:prompt=@string/year_prompt android:entries=@array/year_names / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Section android:textColor=#00 android:textSize=30px / Spinner android:id=@+id/section android:layout_width=match_parent android:layout_height=wrap_content android:drawSelectorOnTop=true android:prompt=@string/section_prompt android:entries=@array/section_names / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Subject android:textColor=#00 android:textSize=30px / * Spinner android:id=@+id/subject* *android:layout_width=match_parent* *android:layout_height=wrap_content* *android:drawSelectorOnTop=true* *android:prompt=@string/subject_prompt* ** */* /LinearLayout This is the xml file. spinner with id *subject* must get updated depending on the selection in the spinner with id *group* i am using getItem(position) to get the item selected in (1stspinner)spinner with id *group* *code:* import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Spinner; import android.widget.AdapterView.OnItemSelectedListener; public class Trial1Activity extends Activity { /** Called when the activity is first created. */ String a1; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Spinner s1 = (Spinner) findViewById(R.id.group); final ArrayAdapterCharSequence adapter = ArrayAdapter.createFromResource( this, R.array.group_names, android.R.layout.simple_spinner_item);
[android-developers] Always overlayed soft keyboard
Hello, I am making my own soft keyboard based on the SoftKeyboard sample from developers.android.com I wanted to make mine always overlayed on the activity behind/below it. By this, I mean that the keyboard won't push the contents of the Activity out of the screen. There's an application in the market called Transparent Keyboard that has done this. Can someone please give me tips on how to do this? Thanks and best regards -- 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] How to Increase frame rate (fps) from onPreviewFrame??
Starting new threads with the exact same question will not improve the chances of getting an answer. Stay on just one of your threads. Re-read what others have suggested to you. Reply to your own thread with updates about different techniques that you have tried that doesn't work. Tom -- 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] setFakeBoldText shows no text
Our customer reports the following problem on WowPad (Android 2.1): setFakeBoldText(true); setTypeFace(typeOurFont); shows no symbols, but the symbols from the custom font. Without setFakeBoldText both private area and normal letters are shown properly. No other devices show the problem. Any advice? -- 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 Can't get DragShadow of Button widget.
Hello. I've tried to implement drag and drop UI by using Drag and Drop interface(http://developer.android.com/guide/topics/ui/drag- drop.html), but I couldn't because I couldn't get DragShadow when startDrag. I'm using a Button and it works well in normal case, but if the button is set as ' android:singleLine=true ', drag shadow of button isn't showing. I can't understand why the single line property affects to startDrag. Is this a native bug or am I missing something? P.S. I have an another question. Is there any way to change the position of drag shadow? Drag shadow is appear under the finger, so user is hard to see the drag shadow if the view is small. -- 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] background of list becomes black while scrolling among items, in my app.
Hello friends, I am new to android development. I have made an app. But while scrolling among items in this app., background of the list of items turns black. Items or text is visible though. Is there any solution to it Plz help. -- 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: Unable to execute Bluetooth HDP Demo
could you please share the changes need to get it working. connection seems to working but i don't see data coming to device running Android 4.0.3 On Jan 20, 10:00 am, Raul Ruiz spekwh...@gmail.com wrote: Hi all, I have Nonin working with HDP, if someone need help tell me. On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi Fernando, I have introduced a change in the implementation of the BluetoothHealthCallback mHealthCallback. Exactly, in its method onHealthChannelStateChange(...). I detected that the state machine during the stablishment of a new HDP connection is: Disconnected- Connecting-Connected. However, you can see that the example is checking the case Disconnected-Connected, but not the case Connecting- Connected. I added this new case Connecting-Connected, and now it works and I'm able to read/write data from/to UA-767PBT-C and a board that emulates several biomedical devices. I hope it help you. Regards. On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote: Hi jfernandez... i upgrade my android version to 4.03 and still can't connect... Could you please show me the changes that you made? Thank you On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi again, Well, after upgrading my Android 4.0 to 4.03, and adding some changes to the BluetoothHDPsample, I'm able to connect to the biomedical device, as well as I'm able to read/write data from/to theHDP channel. So, it seems the problem has been fixed in this new Android version. Regards. On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi all, I'm executing theBluetoothHDPDemo [1] (offered from Android 4.0 Ice Cream Sandwich) in my Android smartphone. When I have registered the application in order to receive data, and I have paired the biomedical device with the smartphone, I try to open the channel connection and I can see that the device starts sending data to the smartphone. However, the smartphone is unable to open the channel connectionHDP. At the end of this message you can see the output obtained in the LogCat. Has anybody achieved to run successfully this sample about the use of theBluetoothHealth Profile API? Any ideas? Thanks. Regards. [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html This is the log that I obtain: 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE: 00:80:25:14:A1:BC: 0 - 1 12-15 16:40:55.169: D/ConnectivityService(147): handleInetConditionHoldEnd: net=1, condition=0, published condition=0 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property changed: 00:80:25:14:A1:BC property: Connected value: true 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 12-15 16:41:00.034: E/BluetoothService.cpp(147): getChannelApplicationNative 12-15 16:41:00.044: E/bluetooth_common.cpp(147): dbus_func_args_timeout_valist: D-Bus error in Acquire: org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed) 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/ chan3115 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147): onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError (Mdl is not created) 12-15 16:41:00.074: D/BluetoothEventLoop(147): onHealthDeviceConnectionResult 2 6001 12-15 16:41:00.214: D/BluetoothEventLoop(147): onHealthDeviceConnectionResult 2 6000 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of Property is: MainChannel Value:/org/bluez/278/hci0/ dev_00_80_25_14_A1_BC/chan3115 -- 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] classes.dex not found in CTS apks
Hi, I build CTS on ICS and Ubuntu 10.04. The build is successful and the apks are generated. But when I try to install them, it says that the classes.dex is not present. I am not sure why this is happening. Any help would be appreciated. Thanks, -Vinay -- 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] When to use the 'App Engine Connected Android' wizard?
The code generated by the App Engine Connected Android' wizard looks pretty complicated. I see that there is an active thread discussing that code, but I want to ask some higher level questions to help me better understand when to use this wizard (and its methods). The generated code appears to do the following: - handles user account authentication (and communication of token to server) - generates C2DM code for both client and server - RPC code Are the C2DM and RPC code independent? If I understand correctly C2DM is only required for server initiated communication. My app won't have any of that so I could just cut out the C2DM code. (If I'm correct that it is independent, then I think the wizard should make the inclusion of C2DM support optional.) About the RPC method... Am I correct in my impression that this RPC method seems oriented towards making requests that are closely related to server-side entities. In my programming, my requests are quite de-coupled from any server-side entities, so this doesn't seem well suited to my needs. I take it that this RPC method is the same method used by GWT, So, the intention to use GWT, is a major differentiator in the decision to use this wizard. Conversely, this RPC method is not very portable - if you might need to develop an iPhone client then you would need to re-implement your server interfaces using a more portable method. BTW, as an alternative, I came across this article from 2010 comparing various methods of Android to GAE communication. http://monkeyboy-code.blogspot.com/2010/07/using-gae-as-backend-for-android.html Hessian, the solution that the author settles on, sounds to be small, simple, and flexible - but I haven't tried it myself. My only related experience is implementing REST/JSON interfaces with Python on GAE and that was very simple. One last question... does this wizard (and these methods) tie me to GAE? It doesn't appear to. I'd rather avoid getting locked in to GAE. Thanks. Tom -- 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: Unable to execute Bluetooth HDP Demo
Hi vijay, I'm seeing that you obtain the following error: onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError (No matching MDEP found) I guess your Nonin device is a pulse oximeter. Are you sure you are registering in the HDP code an application interesting in pulse oximeter data type (0x1004)? Regards. On 20 ene, 23:39, vijay vijaybadawad...@gmail.com wrote: could you please share the changes need to get it working. connection seems to working but i don't see data coming to device running Android 4.0.3 On Jan 20, 10:00 am, Raul Ruiz spekwh...@gmail.com wrote: Hi all, I have Nonin working withHDP, if someone need help tell me. On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi Fernando, I have introduced a change in the implementation of the BluetoothHealthCallback mHealthCallback. Exactly, in its method onHealthChannelStateChange(...). I detected that the state machine during the stablishment of a newHDPconnection is: Disconnected- Connecting-Connected. However, you can see that the example is checking the case Disconnected-Connected, but not the case Connecting- Connected. I added this new case Connecting-Connected, and now it works and I'm able to read/write data from/to UA-767PBT-C and a board that emulates several biomedical devices. I hope it help you. Regards. On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote: Hi jfernandez... i upgrade my android version to 4.03 and still can't connect... Could you please show me the changes that you made? Thank you On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi again, Well, after upgrading my Android 4.0 to 4.03, and adding some changes to the BluetoothHDPsample, I'm able to connect to the biomedical device, as well as I'm able to read/write data from/to theHDP channel. So, it seems the problem has been fixed in this new Android version. Regards. On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi all, I'm executing theBluetoothHDPDemo [1] (offered from Android 4.0 Ice Cream Sandwich) in my Android smartphone. When I have registered the application in order to receive data, and I have paired the biomedical device with the smartphone, I try to open the channel connection and I can see that the device starts sending data to the smartphone. However, the smartphone is unable to open the channel connectionHDP. At the end of this message you can see the output obtained in the LogCat. Has anybody achieved to run successfully this sample about the use of theBluetoothHealth Profile API? Any ideas? Thanks. Regards. [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html This is the log that I obtain: 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel() 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE: 00:80:25:14:A1:BC: 0 - 1 12-15 16:40:55.169: D/ConnectivityService(147): handleInetConditionHoldEnd: net=1, condition=0, published condition=0 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property changed: 00:80:25:14:A1:BC property: Connected value: true 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device : devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/ bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue 12-15 16:41:00.034: E/BluetoothService.cpp(147): getChannelApplicationNative 12-15 16:41:00.044: E/bluetooth_common.cpp(147): dbus_func_args_timeout_valist: D-Bus error in Acquire: org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed) 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/ chan3115 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147): onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError (Mdl is not created) 12-15 16:41:00.074: D/BluetoothEventLoop(147): onHealthDeviceConnectionResult 2 6001 12-15 16:41:00.214: D/BluetoothEventLoop(147): onHealthDeviceConnectionResult 2 6000 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of Property is: MainChannel Value:/org/bluez/278/hci0/ dev_00_80_25_14_A1_BC/chan3115 -- 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
[android-developers] Re: Limit App Usage
Make it rely on a network resource that is accessible only from within your organization. -- 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] background of list becomes black while scrolling among items, in my app.
Set the cacheHint color of list view to a transparent color. android:cacheColorHint=# http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:cacheColorHint *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Thu, Jan 19, 2012 at 2:15 PM, yogesh yogesh.somani.2...@gmail.comwrote: Hello friends, I am new to android development. I have made an app. But while scrolling among items in this app., background of the list of items turns black. Items or text is visible though. Is there any solution to it Plz help. -- 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] In ICS Media Store DB whts the file URI to fetch the text document?
Hi All, In media store DB, we can fetch Video / Audio by using the corresponding URI, Audio URI = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI VideoURI = MediaStore.Video.Media.EXTERNAL_CONTENT_URI like that any URI is available for fetching the text files/documents? Thanks C.Rajesh -- 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] I Can't get DragShadow of Button widget.
singleLine property is depricated, and thus, my guess is that you should avoid using that. http://developer.android.com/reference/android/R.attr.html#singleLine *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Jan 18, 2012 at 2:00 PM, Huricane Jo waists...@gmail.com wrote: Hello. I've tried to implement drag and drop UI by using Drag and Drop interface(http://developer.android.com/guide/topics/ui/drag- drop.html), but I couldn't because I couldn't get DragShadow when startDrag. I'm using a Button and it works well in normal case, but if the button is set as ' android:singleLine=true ', drag shadow of button isn't showing. I can't understand why the single line property affects to startDrag. Is this a native bug or am I missing something? P.S. I have an another question. Is there any way to change the position of drag shadow? Drag shadow is appear under the finger, so user is hard to see the drag shadow if the view is small. -- 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] In ICS Media Store DB whts the file URI to fetch the text document?
As far as I know, Media Store Content Provider only stores and gives you info about media, and not files/documents. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Mon, Jan 23, 2012 at 2:45 PM, crajesh crajesh2...@gmail.com wrote: Hi All, In media store DB, we can fetch Video / Audio by using the corresponding URI, Audio URI = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI VideoURI = MediaStore.Video.Media.EXTERNAL_CONTENT_URI like that any URI is available for fetching the text files/documents? Thanks C.Rajesh -- 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] When a user uninstall my app, will the content provider be gone with the uninstalling, how about the changes I made to built in content provider?
Your content provider will be gone, because it's a part of your application. The changes to other content providers won't be lost. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Wed, Jan 18, 2012 at 7:06 AM, sammiwei weist...@gmail.com wrote: When a user uninstall my app, will the content provider be gone with the uninstalling, how about the changes I made to built in content provider? -- 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: Writing a wav audio file using RandomAccessFile
I don't see you placing your file in External Storage. I suggest you review this document: http://developer.android.com/guide/topics/data/data-storage.html#filesExternal -- 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] background of list becomes black while scrolling among items, in my app.
Yogesh, we can remove this using following code snippet. getListView().setAnimationCacheEnabled( *false*); getListView().setScrollingCacheEnabled( *false*); use this code in ur listview activity. -- More info, http://androidbasic-answer.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: andengine vs libgdx
The one that is most understandable to you and will get you running working code fastest is the best. -- 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] When a user uninstall my app, will the content provider be gone with the uninstalling, how about the changes I made to built in content provider?
Content provider used to refer your application package name. so when you uninstall your application,content provider will also remove. -- *More info*, http://androidbasic-answer.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Rotation event landscape to reverseLandscape
You can implement an OrientationEventListener. -- 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: Limit App Usage
Provide login screen,so that only sign up member only can ues your application -- *More info*, http://androidbasic-answer.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] problem while using spinners
Please provide logcat..so that I can check error. -- *More info*, http://androidbasic-answer.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android app with database
1.Use web service to get data from database. 2.Then consume web service using android api. -- *More info*, http://androidbasic-answer.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Dynamic Layout In Array
You may want to consider combining a ContentProvider (for your database), a ListFragment (to display the items) and a Loader. You can find an example at the bottom of this page: http://developer.android.com/guide/topics/fundamentals/loaders.html -- 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: In ICS Media Store DB whts the file URI to fetch the text document?
Hi, From Android Ice cream onwards, Media store DB is supporting all the files and documents. Thanks Hareef On Jan 23, 2:17 pm, Kumar Bibek coomar@gmail.com wrote: As far as I know, Media Store Content Provider only stores and gives you info about media, and not files/documents. *Thanks and Regards, Kumar Bibek* *http://techdroid.kbeanie.comhttp://www.kbeanie.com* On Mon, Jan 23, 2012 at 2:45 PM, crajesh crajesh2...@gmail.com wrote: Hi All, In media store DB, we can fetch Video / Audio by using the corresponding URI, Audio URI = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI VideoURI = MediaStore.Video.Media.EXTERNAL_CONTENT_URI like that any URI is available for fetching the text files/documents? Thanks C.Rajesh -- 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] When to use the 'App Engine Connected Android' wizard?
On Thu, Jan 19, 2012 at 2:39 AM, Tom t...@malcolmson.ca wrote: I take it that this RPC method is the same method used by GWT, So, the intention to use GWT, is a major differentiator in the decision to use this wizard. Conversely, this RPC method is not very portable - if you might need to develop an iPhone client then you would need to re-implement your server interfaces using a more portable method. If you wanted to have an app on GAE with a GWT web client and a native Android client, the wizard might fit your needs well. Google account are used for authentication and C2DM, so it fits fairly well with the platform. One last question... does this wizard (and these methods) tie me to GAE? It doesn't appear to. I'd rather avoid getting locked in to GAE. Not too hard to find out: check the generated server code. If it is using GAE native APIs, then, naturally, it is tied to GAE. Data access is using JDO, so you can in theory replace the native JDO provider with something else. The user part is tied to GAE and Google accounts. http://code.google.com/p/cloud-tasks-io/source/browse/trunk/CloudTasks-AppEngine/src/com/cloudtasks/server/DataStore.java The real question: what do you need? RPC? REST? Platform independence? Something else? -- 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] find out which activity resumed/started my activity?
Is there any way can i see whether my application' activity itself started my activity or if it was resumed after a phone call or from the task manager(which shows the lsit of all application on long click of the home button.) I tried to put extras in my activity,but that works only when i am in my applications activity.When i click the home button and come back to my activity,do i have a way to know that i am coming from another process.I need to implement a password functionalality whenever i come from a different application. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Best Practices: Which SDK should I choose for a new project?
Hi there, I'd like to understand if there is a best practice when I have to choose the SDK Target for a Android project. For example: I have to develop an app that must be supported on Android OS version from v2.1 to v4.0 (included). Which target should I choose? -- 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] Net Work slow
... On Fri, Jan 20, 2012 at 9:17 AM, Rajesh Patil rajeshpatil0...@gmail.com wrote: use System.gc() -- 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] Limit App Usage
I'm curious, (because it might help answer the question), why would you want to restrict it in such a way? kris On Mon, Jan 23, 2012 at 4:01 AM, Deeps deepali.go...@gmail.com wrote: I'm trying to create an app, but want to limit it's use to just my organization. Is it possible? -- 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] Best Practices: Which SDK should I choose for a new project?
Choose the target corresponding to 2.1, there is also a nice little pie chart showing you how many people have what: http://developer.android.com/resources/dashboard/platform-versions.html kris On Mon, Jan 23, 2012 at 5:12 AM, Paolo brand...@gmail.com wrote: Hi there, I'd like to understand if there is a best practice when I have to choose the SDK Target for a Android project. For example: I have to develop an app that must be supported on Android OS version from v2.1 to v4.0 (included). Which target should I choose? -- 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] Spinner example has no prompt
At 07:29 PM 1/21/2012, Ray Tayek wrote: hi, newbie here. ... running the spinner example shows earth. the prompt is not visible also, the spinner prompts in my project are not visible... my question is: is the prompt supposed to work as implemented in the spinner example? printling spinner.getPrompt() shows the correct text. anybody got a clue? thanks --- co-chair http://ocjug.org/ -- 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: Difference between invalidate and requestLayout for Viewgroup
You can try filing a bug in the Android bug database, in your case you can produce a diff on the current android branch, which would ultimately make it much more likely for your patch to be accepted (or at least, I think this is true..). kris On Sun, Jan 22, 2012 at 8:22 PM, Guy Smith g...@multiniche.org wrote: Could the method Javadoc for invalidate() and requestLayout() have {@see ...} to each other? There's a lot to learn when you're a newbie to a framework. I've lost hours on this. Yes, I now see the info at the top of the View class Javadoc, but it would have been handy to have a pointer to it in the place I went looking (the method Javadoc). On Jan 13, 5:30 pm, Dianne Hackborn hack...@android.com wrote: Basically, yes. Invalidate says something in your visuals has changed so you need to be redrawn; requestLayout() says something structural has changed so a new layout is needed (which also implies eventually redrawing). On Thu, Jan 12, 2012 at 6:53 PM, harvinder res...@gmail.com wrote: It is my understanding is that when invalidate() is called on ViewGroup derived class onDraw gets called. However, when requestLayout is called onMeasure and onLayout gets called. Is my understanding correct? Truly harvinder -- 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 -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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] Existing joomla site in Android..
I have an joomla(php) site that uses some custom extension and 3rd party components.. This is the site..http://www.guardianfall.com/ i need to run that site in any android device. There is no need of it to be an app. Just give this url in browser of android and it displays the page. So i am clear that it need not have to use SDKs..After i did some search here and there i saw something called PhoneGap. And i also saw meta name=viewport to display a web site in android device.. I got a book called Pro Android Web Apps.. Went through this link.. http://developer.android.com/guide/webapps/index.html Now i really don't know what questions to ask the client and where to start.. Any guidance could be helpful. -- 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] Unable to get Native Socket to accept requests
First of all: -- Why are you running a server on a device? In general this is a bad idea because you're probably going to make your users hate you when their batteries die extremely quickly. -- You understand that the Android system can, at any time, kill your app right? -- You probably need at least a wake lock to make something like this work -- If it's tinyish, why not just rewrite it using Java? This is (I assure you) going to be much easier than doing the proper communication between JNI / Service / rest of the app. (This, of course, depends on your definition of tinyish.) -- What is the value of 'errno' after your call fails? kris On Sat, Jan 21, 2012 at 11:57 AM, Chad A. calb...@neomantic.com wrote: I'm porting a tinyish server to Android using the NDK. The ultimate goal is for my app to interact with the server through JNI and Android Service classes. I've run across a stumbling block, however. The server fails to start as soon as I call accept() on the socket. I've pasted the code below. All I want to to is open a socket that listens to localhost requests of port . If anyone can give me advice, I would greatly appreciate it. Thanks, --- static void socket_listen_to(const char *host_name, unsigned int port) { struct sockaddr_in address; int listening_socket; int connection_socket; if (host_name) { struct hostent *host_data; host_data = gethostbyname(host_name); if (!host_data || host_data-h_addrtype != AF_INET || host_data- h_length != sizeof address.sin_addr) { exit(EXIT_FAILURE); } host_name = host_data-h_name; memcpy(address.sin_addr, host_data-h_addr_list[0], sizeof address.sin_addr); } listening_socket = socket(PF_INET, SOCK_STREAM, 0); if (listening_socket == -1) { exit(EXIT_FAILURE); } address.sin_family = AF_INET; address.sin_port = htons((unsigned short) port); if (bind(listening_socket, (struct sockaddr *) address, sizeof address) == -1 || listen(listening_socket, 5) == -1 ) { closesocket(listening_socket); exit(EXIT_FAILURE); } connection_socket = accept(listening_socket, NULL, NULL); if (connection_socket == -1 ) { closesocket(listening_socket); exit(EXIT_FAILURE); } } unsigned int port = ; const char host_name[] = localhost; socket_listen_at(host_name, port, gtp_input_FILE, gtp_output_FILE); -- 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] Existing joomla site in Android..
It's probably not a good idea to expose your clients to a publicly indexed forum, much less ask for help on how to do the project they are paying you to do :-)... I think you're going down the wrong road here, you do just need to display the webpage, right? In this case, the 'app' is basically just a shortcut to their webpage and opens in the browser. It's not an app at all, it's basically the same thing as if the user had opened the page in their browser themselves.. kris On Mon, Jan 23, 2012 at 5:23 AM, sathyashrayan sathyashra...@gmail.com wrote: I have an joomla(php) site that uses some custom extension and 3rd party components.. This is the site..http://www.guardianfall.com/ i need to run that site in any android device. There is no need of it to be an app. Just give this url in browser of android and it displays the page. So i am clear that it need not have to use SDKs..After i did some search here and there i saw something called PhoneGap. And i also saw meta name=viewport to display a web site in android device.. I got a book called Pro Android Web Apps.. Went through this link.. http://developer.android.com/guide/webapps/index.html Now i really don't know what questions to ask the client and where to start.. Any guidance could be helpful. -- 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: Southern Hemisphere Developer Labs
David, You raise a valid point - we actually specified 48 hours in error. We'll be sending out the Melbourne confirmations mid-this week thereby giving you about a week's worth of notice. The Sydney confirmations will follow shortly as will Auckland. I can also confirm that we've received both your registrations. We appreciate the feedback and will look at improvements to the registration system in the future. Catch you at the ADL! +Ankur Kotwal http://profiles.google.com/ankur.kotwal -- 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] undefined reference to 'system'
Hi everybody, I want to call a (already compiled) c-program within android. For example I want to read the status of frontkeys of a tablet PC via I/O. This is working fine in an extra program. This extra program now returns the value of a pressed key and android then should work with it. (fe. make the screen brighter). I'm trying to call the c-program with bits9 = system(readFrontKey); if (bits9 == 64) entryno = 1; if (bits9 == 32) entryno = 2; if (bits9 == 16) entryno = 3; The source-file has stdlib.h included at its beginning. Unfortunately on compiling and linking the project I get an error. undefined reference to `system' I've already been trying several things to solve this but nothing worked out. Or do you have other ideas on how to call the readFrontKey-program? Any advince would be appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Best Practices: Which SDK should I choose for a new project?
Thanks Kris, but the answer I'm looking for is not referred to the Android distribution problem, but rather to a technical one. I want to understand if there is best practice for choosing the SDK to use. I should use alway the latest version of the sdk, and so it is my responsibility to provide a mechanism of backward compatibility? Or instead... is better using the min version supported as target? In this case If I use v2.1 as target I can be sure that all the APIs are always supported in v4.0? I hope to be clear :) On 23 Gen, 11:18, Kristopher Micinski krismicin...@gmail.com wrote: Choose the target corresponding to 2.1, there is also a nice little pie chart showing you how many people have what: http://developer.android.com/resources/dashboard/platform-versions.html kris On Mon, Jan 23, 2012 at 5:12 AM, Paolo brand...@gmail.com wrote: Hi there, I'd like to understand if there is a best practice when I have to choose the SDK Target for a Android project. For example: I have to develop an app that must be supported on Android OS version from v2.1 to v4.0 (included). Which target should I choose? -- 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] problem while using spinners
this are errors diaplyed in logcat 01-23 16:04:50.574: ERROR/Zygote(34): setreuid() failed. errno: 2 01-23 16:04:50.574: ERROR/Zygote(34): setreuid() failed. errno: 17 01-23 16:04:50.574: ERROR/BatteryService(40): usbOnlinePath not found 01-23 16:04:50.574: ERROR/BatteryService(40): batteryVoltagePath not found 01-23 16:04:50.574: ERROR/BatteryService(40): batteryTemperaturePath not found 01-23 16:04:50.574: ERROR/SurfaceFlinger(40): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake 01-23 16:05:31.213: ERROR/EventHub(40): could not get driver version for /dev/input/mouse0, Not a typewriter 01-23 16:05:31.213: ERROR/EventHub(40): could not get driver version for /dev/input/mice, Not a typewriter 01-23 16:05:33.392: ERROR/System(40): Failure starting core service 01-23 16:05:33.392: ERROR/System(40): java.lang.SecurityException 01-23 16:05:33.392: ERROR/System(40): at android.os.BinderProxy.transact(Native Method) 01-23 16:05:33.392: ERROR/System(40): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146) 01-23 16:05:33.392: ERROR/System(40): at android.os.ServiceManager.addService(ServiceManager.java:72) 01-23 16:05:33.392: ERROR/System(40): at com.android.server.ServerThread.run(SystemServer.java:184) 01-23 16:05:39.652: ERROR/SoundPool(40): error loading /system/media/audio/ui/Effect_Tick.ogg 01-23 16:05:39.662: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressStandard.ogg 01-23 16:05:39.672: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressSpacebar.ogg 01-23 16:05:39.682: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressDelete.ogg 01-23 16:05:39.703: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressReturn.ogg 01-23 16:05:44.872: ERROR/ThrottleService(40): Could not open GPS configuration file /etc/gps.conf 01-23 16:05:48.102: ERROR/logwrapper(150): executing /system/bin/tc failed: No such file or directory 01-23 16:05:48.162: ERROR/logwrapper(151): executing /system/bin/tc failed: No such file or directory 01-23 16:05:48.242: ERROR/logwrapper(152): executing /system/bin/tc failed: No such file or directory 01-23 16:06:17.390: ERROR/HierarchicalStateMachine(40): TetherMaster - unhandledMessage: msg.what=3 is this sufficient for debugging??? thank u for reply...plz help me out -- 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: Best Practices: Which SDK should I choose for a new project?
Basically, yes, if you use something from 2.1 you can be sure it will be in 4.0. There are occasionally deprecated methods, and APIs (for example, the old contacts provider, or a number of older utility classes for things like security, etc..), but in general things are only being added, not dropped. kris On Mon, Jan 23, 2012 at 5:35 AM, Paolo brand...@gmail.com wrote: Thanks Kris, but the answer I'm looking for is not referred to the Android distribution problem, but rather to a technical one. I want to understand if there is best practice for choosing the SDK to use. I should use alway the latest version of the sdk, and so it is my responsibility to provide a mechanism of backward compatibility? Or instead... is better using the min version supported as target? In this case If I use v2.1 as target I can be sure that all the APIs are always supported in v4.0? I hope to be clear :) On 23 Gen, 11:18, Kristopher Micinski krismicin...@gmail.com wrote: Choose the target corresponding to 2.1, there is also a nice little pie chart showing you how many people have what: http://developer.android.com/resources/dashboard/platform-versions.html kris On Mon, Jan 23, 2012 at 5:12 AM, Paolo brand...@gmail.com wrote: Hi there, I'd like to understand if there is a best practice when I have to choose the SDK Target for a Android project. For example: I have to develop an app that must be supported on Android OS version from v2.1 to v4.0 (included). Which target should I choose? -- 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] How to Increase frame rate (fps) from onPreviewFrame??
Ok boss, Thanks for your kind suggestion. Please can you tell me, how to increase the frame rate over network while sending frames through onPreviewFrame by TCP Socket. Regards, umer Date: Thu, 19 Jan 2012 07:05:11 -0800 From: tomlo...@gmail.com To: android-developers@googlegroups.com Subject: Re: [android-developers] How to Increase frame rate (fps) from onPreviewFrame?? Starting new threads with the exact same question will not improve the chances of getting an answer. Stay on just one of your threads. Re-read what others have suggested to you. Reply to your own thread with updates about different techniques that you have tried that doesn't work. Tom -- 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] problem while using spinners
Those errors don't look like they're from your app... And if they are you are violating security somehow and haven't specified an appropriate permission. Find the portion of the log that corresponds to your app (it should have your activity name on the error line..) You could do a logcat | grep Trial1 or something like that kris On Mon, Jan 23, 2012 at 5:38 AM, sharath sharath.vollala...@gmail.com wrote: this are errors diaplyed in logcat 01-23 16:04:50.574: ERROR/Zygote(34): setreuid() failed. errno: 2 01-23 16:04:50.574: ERROR/Zygote(34): setreuid() failed. errno: 17 01-23 16:04:50.574: ERROR/BatteryService(40): usbOnlinePath not found 01-23 16:04:50.574: ERROR/BatteryService(40): batteryVoltagePath not found 01-23 16:04:50.574: ERROR/BatteryService(40): batteryTemperaturePath not found 01-23 16:04:50.574: ERROR/SurfaceFlinger(40): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake 01-23 16:05:31.213: ERROR/EventHub(40): could not get driver version for /dev/input/mouse0, Not a typewriter 01-23 16:05:31.213: ERROR/EventHub(40): could not get driver version for /dev/input/mice, Not a typewriter 01-23 16:05:33.392: ERROR/System(40): Failure starting core service 01-23 16:05:33.392: ERROR/System(40): java.lang.SecurityException 01-23 16:05:33.392: ERROR/System(40): at android.os.BinderProxy.transact(Native Method) 01-23 16:05:33.392: ERROR/System(40): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146) 01-23 16:05:33.392: ERROR/System(40): at android.os.ServiceManager.addService(ServiceManager.java:72) 01-23 16:05:33.392: ERROR/System(40): at com.android.server.ServerThread.run(SystemServer.java:184) 01-23 16:05:39.652: ERROR/SoundPool(40): error loading /system/media/audio/ui/Effect_Tick.ogg 01-23 16:05:39.662: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressStandard.ogg 01-23 16:05:39.672: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressSpacebar.ogg 01-23 16:05:39.682: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressDelete.ogg 01-23 16:05:39.703: ERROR/SoundPool(40): error loading /system/media/audio/ui/KeypressReturn.ogg 01-23 16:05:44.872: ERROR/ThrottleService(40): Could not open GPS configuration file /etc/gps.conf 01-23 16:05:48.102: ERROR/logwrapper(150): executing /system/bin/tc failed: No such file or directory 01-23 16:05:48.162: ERROR/logwrapper(151): executing /system/bin/tc failed: No such file or directory 01-23 16:05:48.242: ERROR/logwrapper(152): executing /system/bin/tc failed: No such file or directory 01-23 16:06:17.390: ERROR/HierarchicalStateMachine(40): TetherMaster - unhandledMessage: msg.what=3 is this sufficient for debugging??? thank u for reply...plz help me out -- 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: Best Practices: Which SDK should I choose for a new project?
Can I assume the same for the v3.x? On 23 Gen, 11:39, Kristopher Micinski krismicin...@gmail.com wrote: Basically, yes, if you use something from 2.1 you can be sure it will be in 4.0. There are occasionally deprecated methods, and APIs (for example, the old contacts provider, or a number of older utility classes for things like security, etc..), but in general things are only being added, not dropped. kris On Mon, Jan 23, 2012 at 5:35 AM, Paolo brand...@gmail.com wrote: Thanks Kris, but the answer I'm looking for is not referred to the Android distribution problem, but rather to a technical one. I want to understand if there is best practice for choosing the SDK to use. I should use alway the latest version of the sdk, and so it is my responsibility to provide a mechanism of backward compatibility? Or instead... is better using the min version supported as target? In this case If I use v2.1 as target I can be sure that all the APIs are always supported in v4.0? I hope to be clear :) On 23 Gen, 11:18, Kristopher Micinski krismicin...@gmail.com wrote: Choose the target corresponding to 2.1, there is also a nice little pie chart showing you how many people have what: http://developer.android.com/resources/dashboard/platform-versions.html kris On Mon, Jan 23, 2012 at 5:12 AM, Paolo brand...@gmail.com wrote: Hi there, I'd like to understand if there is a best practice when I have to choose the SDK Target for a Android project. For example: I have to develop an app that must be supported on Android OS version from v2.1 to v4.0 (included). Which target should I choose? -- 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