[android-developers] Multiple Applications aggregating common data
Hello, I have a design question and I was wondering if you could give me some advice on best practices. I want to build a series of games, who share the same framework. They are supposed to store scores and statistics about different users in their own databases. The games are different Android applications but the user should be able to access a Statistics activity from each of them. This Statistics activity should be the same on all games and should tell the user what her score is and be able to show statistics across all games (applications) installed. Given that each game would store its own database of user statistics, the question that arises is where to aggregate the statistics and where to store this aggregate data. While the computation of the aggregate statistics could be done in each of the applications (through Content Providers), the problem that I can't find a decent answer to is: where do I store the data? If I store the aggregate data in a database of one of the applications (let's say the first game that the user installs), then what happens when the user decides to stick with game number 2 and uninstall the first one? Then the aggregate data gets deleted. Another option would be to store the aggregate data on an online server and then the applications would only have to talk to each other to calculate this data before sending it to the server. Making the applications talk only to the server and not each other is another option but it's rather more inefficient to do all the aggregation of the data on the server. My question here would be: is there a way to store the aggregate data in a database on the device that is independent from the applications? A database that would exist as long as at least one game is installed but would be deleted when the last game is uninstalled. Does anyone have any experience with such an architecture? Thank you, Stefan -- Stefan Anca -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 can i learn to make a android application
I would really start to make android games I already know the hello world stuff can some one give me a good tutorail on how to make games or can some one teach me over skype text ( not video call) or something? thanks! mon...@live.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] Creating a view in java
Hello all, Please help me, i am encrypting sms messaging on android. But i don't know where to decrypt it. Please some one who can help me. Thanks in advance!. On Sun, Jun 12, 2011 at 10:26 AM, Kostya Vasilyev kmans...@gmail.comwrote: The Context / AttributeSet constructor is used when a view is inflated from XML. For creating a view {subclass} from code, you can make any constructor that makes sense - it should be passed a Context, most likely won't have an AttributeSet (since that comes from XML), and can have any other parameters as necessary. -- Kostya 2011/6/12 TreKing treking...@gmail.com On Fri, Jun 10, 2011 at 12:16 PM, c0dege3k c0deg...@gmail.com wrote: I have a class in my app that extends View, and I need to pass in the Context and AttributeSet parameters, but I don't know what to use. So, IS there a way to make a view without using the findViewById method? Your question does not make a ton of sense. You should elaborate. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- *With Best Regards, = Eyasu Getahun, University of Trento Via Brennero 150, **Trento, Italy* *E-mail: **eyasu.geta...@studenti.unitn.it* * eya@gmail.com Mobile: +393279239907/+393883708627 === * -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Hello
Hello all, I am new for android. I want to encrypt sms and send to encrypted message to the receiver. I am exercising by using two emulators of android. But I couldn't able to know where to decrypt the message. Should I decrypt it under registerReceiver() method? Your helps are appreciated!. -- *With Best Regards, = Eyasu Getahun, University of Trento Via Brennero 150, **Trento, Italy* *E-mail: **eyasu.geta...@studenti.unitn.it* * eya@gmail.com Mobile: +393279239907/+393883708627 === * -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 blocked until the target activity returns.
With some research on the issue , I perceive that this question has sth to do with the mode singletask in the acitivity , I wanna guide user to enable wifi using the snippet below : Intent intent = new Intent(Intent.ACTION_MAIN); // Intent intent = new Intent(); intent.setFlags(flags) ComponentName componentName = new ComponentName(com.android.settings, com.android.settings.WirelessSettings); intent.setComponent(componentName); startActivityForResult(intent , WIFI_SETTING_ACTIVITY_RETURN ) ; I thought that the initiating Activity should be blocked in the onActivityResult unless the WIFISetting activity exits. After some navigation on this topic , it should be caused by singletask . As you know , WIFI activity has to be launched as Singletask mode . So , would you like to shed some lights of the way of making the execution blocked in OnActivityResult unless WIFISettings activity exits. Thanks a lot Daniel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: stats by version in Android Market Developer Console
RE: stats by version in Android Market Developer Console When I release updates to an app, what info is avaialble in Android Market developer console, like for example: - userbase that upgraded to new versions? - total vs active by versions? etc If insufficient info available - is there any advice about adding custom tracking from inside the app (in case it has permissions to talk to the internet) Thanks, KW -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] AsyncTask not working
I am editing the android game LunarLander. I have made a java library which has a class named Calls to track which contains various event functions which make web service calls. I want to make a background to call some of these functions(which works fine when run individually) inside the above game. For example, I call newGame in the function doStart() i.e. whenever a new game starts. For this background call I used a class extends AsyncTask - private class ng extends AsyncTaskVoid,Void,Void { protected Void doInBackground(Void... sample){ Calls Game = new Calls(); Game.calls_init(URL, authcode); //works fine Game.newGame(gameId, gameName); // the game stops unexpectedly return null; } } all the above variables are well defined. I wrote this class inside the class LunarThread extends Thread. And called it inside doStart() like this - new ng().execute(); when i run the game in AVD its works fine for 2-3 secs then its stops unexpectedly. I want UI to run smoothly independent of these background calls but that is not happening. Why isn't the AsyncTask working? Is there any other method. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Java book (like C KR and C++ Programming Language)
The two books the OP used as examples were written by the authors of the respective languages. They are both directed toward professional programmers. By this measure Gosling et. al. The Java Programming Language should be included in this discussion. It may not be the best tool for learning the language but it give the creators perspective. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Quick Question about Cameras on Androids
I am about to undertake a project where I might need to be able to activate, and take a picture with the Camera on an Android Tablet and/ or Phone. Ideally I would like this to be a 100% Browser based application with no code actually residing on the Android at all. This is an in house application, and is an interface into a much larger system. For now at least I have the luxury of controlling the devices, and the Tablet I have for development is the Motorola Xoom with Android 3.1. I also have an HTC Evo Shift, but phone compatibility isn't necessary in this project... Is this even possible, and if so can someone please refer me to some sample code/projects? This will be my first Tablet/Android app, but far from my first 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] Re: stats by version in Android Market Developer Console
http://groups.google.com/group/android-developers/topics On Sun, Jun 12, 2011 at 2:11 PM, weinerk wein...@gmail.com wrote: RE: stats by version in Android Market Developer Console When I release updates to an app, what info is avaialble in Android Market developer console, like for example: - userbase that upgraded to new versions? - total vs active by versions? etc If insufficient info available - is there any advice about adding custom tracking from inside the app (in case it has permissions to talk to the internet) Thanks, KW -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Anyone developing on the Galaxy Tab and a Mac?
I've been getting reports of a WebView error for the 3.1 update on the Tab. It worked fine for them on 3.0, and works fine for me with 3.1 on the Xoom. But that's a whole different issue. :) Hoping to get confirmation from someone here who develops on the Mac and has a Tab. On Jun 11, 2011 1:41 PM, dan raaka danra...@gmail.com wrote: adb should be working all fine for development purposes on google i/o device. Also, 3.1 was OTA'ed to these devices starting yesterday : check this.. SamsungJohn http://twitter.com/#%21/SamsungJohn John Imah Google I/O 3.1 Update is available, see details in link! http://ow.ly/5eoTu; -Dan On Sat, Jun 11, 2011 at 8:53 AM, John Coryat cor...@gmail.com wrote: Doesn't show on my mac. All I've done is plug it in though, so there may be a workaround that I'm unaware of. I have four other devices so it's not a big deal. I must say that it's an excellent tablet. Once it's running 3.1 it will be even better. From what I understand, 3.1 is supposed to ship with the commercially available devices. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: One of my apps no longer appears in searches, or under my apps public page?
qui parle français 2011/6/12 Zsolt Vasvari zvasv...@gmail.com Seriously, don't expect anything until Monday CA time. Google must not feel that the Android Market is mission critical to the point where there is after hours support needed. On Jun 12, 7:30 pm, Joan Pujol joanpu...@gmail.com wrote: Today it isn't working yet. And my application is not listed in the market from the phone (from web version is correctly listed). I think that this is a very important issue and at least someone from Google should make a note or give some explanations. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How can I know when the home button has been pressed?
Hello Kostya, Please help me if you have any idea where to decrypt the encrypted sms message. I have encrypted the sms under onclick method. But I don't know where to decrypt it at time of delivery to the receiver. I am using android emulator not on real phone devices. Please let me know your idea. Thanks!. On Sun, Jun 12, 2011 at 11:03 AM, Kostya Vasilyev kmans...@gmail.comwrote: I didn't say anything about a thread - in fact, my recommendation is to not use a thread just for scheduling stuff (although that Thread.sleep() can look so tempting...). As for Handler messages not firing when there aren't any activities on the screen - that's simply not true. The event loop continues to run. There may not be any messages to deliver, but the loop is there ready to do work if needed, just like Binder threads. I posted a simple test a couple of months ago that showed this. In fact, that's how component callbacks are delivered, including those to services and receivers. -- Kostya 2011/6/12 Indicator Veritatis mej1...@yahoo.com O...K..., now that we have that clarification, is there anytime that the Activity will be paused or stopped (i.e. onPause(), onStop() called) when you DO want the timer thread to fire anyway? If the answer is 'no', then follow Kostya's suggestion, killing the thread in either onPause() or onStop(). If the answer is 'yes', then things get more complicated: I suggest putting the timer thread in a Service, not an Activity, sending a message to the UI Thread when it fires. Then that Thread will display only when it is in the foreground. But then you will probably want special logic to handle stale messages when the UI Thread executes onResume(). After all, sendMessageAtTime() and sendMessageDelayed enqueue the message at that time: they make no guarantees about when the Handler Thread will finally actually - process- the message. If the Thread has all activities paused, then that will be delayed until the right Activity gets an onResume() callback. On Jun 11, 4:15 am, Droid rod...@gmail.com wrote: Thanks for your sensible suggestion. My sentence should have read 'I have a timer thread that should not bring an activity back to view after the home button has been pressed but it does.' On Jun 11, 1:02 am, Indicator Veritatis mej1...@yahoo.com wrote: @Droid- You do realize, I hope, since it is the level of logic that should be easily expected of any programmer, that what you wrote here makes no sense. If, after all, on the one hand, My thread is a timer thread that brings my activity back to view after thehome buttonis pressed. then no, it makes NO sense to cancel it whenhome buttonis pressed. Besides: if it is a timer thread, shouldn't you really mean that it bring your activity back to view after the timer expires? It would make sense to cancel that timer when Home is pressed. And you can do that in onPause() or in onStop(). In fact, you should probably do that in onStop() no matter how you get there This would also simplify your code, since it is by design that the platform does not TELL you how you got to onStop(): it certainly does not tell you that it got there via a Home key. Also as has been pointed out many times now, overriding the expected result of the Home key is a really, REALLY bad idea. It is a good thing that the platform makes this difficult. It should not be done at all. Now I realize that some customers insist on this 'feature', even though it is such a bad idea. In which case, I pity you, but keep on slogging ahead. It is possible to get close to what you want, either with a custom Home application or some even more kludgy approach. But ignore Fung's suggestion, since he is dead wrong. On Jun 10, 8:52 am, Droid rod...@gmail.com wrote: My thread is a timer thread that brings my activity back to view after thehome buttonis pressed. I need to cancel it whenhome buttonis pressed. (I have 10 activities and no idea in which activity the app was when thehome buttonwas pressed) On Jun 8, 1:23 pm, TreKing treking...@gmail.com wrote: On Wed, Jun 8, 2011 at 1:34 AM, Droid rod...@gmail.com wrote: I have a thread that needs specifically to be cancelled when the home buttonis pressed. Perhaps if you explain why you think your thread needs to be specifically canceled on pressing Home you can get an answer that helps you fix your actual problem and not hack around it. --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To
[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
On Jun 15, 8:40 am, Zsolt Vasvari zvasv...@gmail.com wrote: What Google has to do is to create a separate Tags input field in the market admin panel, give it some limit and then let the developers compete. This is the fair way. In your case, 2/3 of your app description was keywords I'm sorry, but this is not true. You can still see it here: http://www.androidpit.com/en/android/market/apps/app/com.devuni.flashlight/Tiny-Flashlight-LED Also, most of the keywords are just device models, which the flashlight works on. -- so you were by far one of the worst violators. Perhaps one of your competitors reported you for stealing from them and Google acted on it. I have no idea. Is there anything stopping you from creating a new account, paying the $25 again and republishing your app? It's not ideal, but since you have a free app, it's not like you have to migrate the users. If your app is good, and I believe it was, your rank would rise fairly quickly. This is a workaround. I hope that Google will change their internal policy and start warning the developers before deleting applications and accounts. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Who takes responsibility of assigning uid to each application?
Who takes responsibility of assigning uid to each application? For example, through ps command, we can see: USER PID PPID VSIZE RSS WCHANPC NAME app_6 157 3097464 16344 afe0d4a4 S com.android.alarmclock Who assigns app_6 to this application and where is it stored in the system? 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] ListView OutOfMemory : External allocation too large for this process.
I use a listview that loads covers I have a problem with OutOfMemory. I use the method getView BaseAdapter for reuse cells. I use a properly functioning imageLoader although the problem may be related but I know it's possible. However I disable the cache memory that is now imageLoader's current load images but don't storage more. When I scroll in my list at some point, I obtain in logcat the following error: 345 600-byte external allocation too large for this process. VM will not let us allocate 345,600 bytes This error also occurs when I'm at the end of the list and I continue to scroll, scroll the list is more or very slightly since the end is but the same cells is shown. GetView of the BaseAdapter is not known yet I still get the error until I scroll with my finger while the list does not scroll over: 345 600-byte external allocation too large for this process. VM will not let us allocate 345,600 bytes This problem ocurred on the Archos A43, is that you know why the system tries to allocate memory then the list does not change and therefore does not charge the cells? Could it come from the resources of IU? Sincerely, Gabriel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] my device doesnt read the sd card after 5 reboots it works
Hi i have a problem with my samsung galaxy tab 7. When i turn on tje tab it appears a message that says scanning all media files on sd card but the system never reads the sd card it get stuck in 0% and if my sd card is not readed i can play games which are stored on the sd card neither edit or open my documents or see my pictures i have to reboot the device like 5 times ao the device reads the sd card, i already made a factory reset well actually like 5 times and the problem is not solved and the sd card is the original one, any help will be usefull. 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] ListView OutOfMemory : External allocation too large for this process.
Hi, On a ListView that loads covers I have a problem with OutOfMemory. I use the method getView of BaseAdapter for reuse cells . I use a properly functioning imageLoader although the problem may be related but I know it's possible. However I disable the cache memory that is now imageLoader's current load images but does storage more. When I scroll in my list, I obtain in logcat the following error: 345 600-byte external allocation too large for this process. VM will not let us allocate 345,600 bytes This error also occurs when I'm at the end of the list and I continue to scroll, scroll the list is more or very slightly since the end is but the same cells are shown. getView of BaseAdapter is not call yet I still get the error until I scroll with my finger while the list does not scroll over: 345 600-byte external allocation too large for this process. VM will not let us allocate 345,600 bytes This problem occured on the Archos A43, is that you know why the system tries to allocate memory then the list does not change and therefore does not charge the cells? Could it come from the resources of IU? Sincerely, Gabriel -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 remove app widget in home when uninstall the app?
Hi Everyone: I have created a widget for my application. When I uninstall the app, widget shows problem loading widget error in home screen. So could the app remove app widget in home when uninstall the app? 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] Fwd: Support to RTP protocol
Hi all, Does anyone know android platform support RTP protocol? If yes, where are API? Thanks in advance, Plinio -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] [Feedback] Mobile Application CMS
I'm a developer myself and encountered the same problem over and over again while developing apps for myself and others: it is too hard to include content like points of interest, recipes, trivia questions, announcements, ... in your apps. This is why I created a side project called StorageRoom, a flexible cloud-based CMS built specifically for Mobile Apps. Independent developers, agencies or freelancers can use StorageRoom to create apps faster and to combine the advantages of native mobile applications with the ease of maintenance of websites. There already is an Android example app and a library will be coming for easier integration within apps. It would be awesome if you could give the service a try and it would be even better to get some feedback from you on the idea and implementation! URL: http://storageroomapp.com Thanks, Sascha -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Your Opinion between android native app or HTML-5 Web App.
I would say good luck in getting an answer to that question, I asked about a Web App a couple days ago and still not gotten an answer... Looks like you have to be a member of the click to get a respons on here Personally my opinion is that it makes no sense to do Native Apps, unless you are building a completely stand alone product. With there being no standard for mobile apps in place, Native Apps require at least 2 times the development work, and as soon as HP gets their WebOS Tablet out you have three times, then along comes Microsoft rounding out all 4 bases On Mon, Jun 13, 2011 at 1:20 AM, Ishwar Chawla chawla.ish...@gmail.comwrote: I just want your opinion which option is better I am about to start a project looking at ease of coding and UI which according to you is better native app or HTML-5 Web App. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] integrating bluez4.94 into gingerbread
hi, Has anybody integrated bluez HDP into android kernel. Is there any documentation to prepare the make files to do the same. Pls let me know. Thanks. Warm Regards, Arun. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] MENU click NOT working
hi guys i am in the process of implementing this menu but it is not updating the speed of my sensor my code snipet is here are my global variables [code] private static final int MENU_SLOW = 0; private static final int MENU_NORMAL = 1; private static final int MENU_FAST = 2; private static final int MENU_EXIT = -1; int ROTATION_SPEED = 3; private static SensorManager mySensorManager; private boolean sersorrunning; private myCompassView myCompassView; /** Called when the activity is first created.*/ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); myCompassView = (myCompassView)findViewById(R.id.mycompassview); mySensorManager = (SensorManager)getSystemService(Context.SENSOR_SERVICE); ListSensor mySensors = mySensorManager.getSensorList(Sensor.TYPE_ORIENTATION); if(mySensors.size() 0){ mySensorManager.registerListener(mySensorEventListener, mySensors.get(0), ROTATION_SPEED); sersorrunning = true; Toast.makeText(this, POINT the Needle to N for NORTH, Toast.LENGTH_LONG).show(); } else{ Toast.makeText(this, COMPASS not Initilised, Toast.LENGTH_LONG).show(); sersorrunning = false; finish(); } } [/code] here is my sensor speed code [code] if(mySensors.size() 0){ mySensorManager.registerListener(mySensorEventListener, mySensors.get(0), ROTATION_SPEED); sersorrunning = true; Toast.makeText(this, POINT the Needle to N for NORTH, Toast.LENGTH_LONG).show(); } else{ Toast.makeText(this, COMPASS not Initilised, Toast.LENGTH_LONG).show(); sersorrunning = false; finish(); } [/code] and here is how i am trying to change the variable ROTATION_SPEED [code] public boolean onOptionsItemSelected (MenuItem item){ if (item.getItemId() == MENU_SLOW){ ROTATION_SPEED = SensorManager.SENSOR_DELAY_UI; Toast.makeText(this, Speed changed to SystemPreffered, Toast.LENGTH_SHORT).show(); }else if (item.getItemId() == MENU_NORMAL){ ROTATION_SPEED = SensorManager.SENSOR_DELAY_NORMAL; Toast.makeText(this, Speed changed to NORMAL, Toast.LENGTH_SHORT).show(); }else if (item.getItemId() == MENU_FAST){ ROTATION_SPEED = SensorManager.SENSOR_DELAY_FASTEST; Toast.makeText(this, Speed changed to FAST, Toast.LENGTH_SHORT).show(); }else if (item.getItemId() == MENU_EXIT){ android.os.Process.killProcess(android.os.Process.myPid()); Toast.makeText(this, Exiting application..., Toast.LENGTH_SHORT).show(); } return false; } [/code] ANY HELP WILL BE VERY MUCH APPRECIATED thanks shiraz -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 use new languages with text_to_speech library?
Good morning, I have read about text_to_speech library ( http://developer.android.com/reference/android/speech/tts/TextToSpeech.html) and about Locale class (http://developer.android.com/reference/java/ util/Locale.html). It says that You can create a Locale for languages and countries that don't exist, and you can create instances for combinations that don't exist (such as de_US for German as spoken in the US). My question is: how can I use this library with languages such as Basque? Is it supported by this library? Thank you very much in advance. Best regards, inler -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] partial text color in alert dialog
Hi, i am displaying some messages to the user by alert dialog box. and i want to show some part of my message differently either in bold or with different color. for example if my message is 'you have to ask android' , i want to show word 'android' diffrently. how is it possible? 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] Image comparison
Is there any way to compare 2 different images and show how many percent the similarities of the images? I'm doing a project right now and I need to compare flag images all around the world, then show the flags that have similar color or similar pattern. I have tried to find this on the internet but I only found the function that return true if the image is similar or false when it's not. Can anyone help me with this? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Mocking static classes like Enviroment
Hi All, I am pretty new to Android and trying to write an application that stores some data on external storage. I figure that Environment.getxxxState are the functions to check before assuming their presence. Now, since these are system enforced objects, how do I mock them for testing various scenarios without actually using a phone. (Another reason to not rely on physical device is that certain phone e.g. Nexus S do not support removal of external storage and I have already made that choice :( ) Regards, Sunil -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: adding external storage to emulator
Hi, How can I make my emulator think that it has external storage? Currently it always returns not mounted. Regards, Sunil -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] To get the position of SeekBar in video
Hi, I am using seekBar to show the progress of the video which I implemented using Media Player / Video View. But as the thumb of the seekBar is moved back and forth, the video is not starting correspondingly from the position of the thumb. Is there any way to locate the position of the thumb so that the video can load from the seekBar's thumb's position? 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 build android App
I am Bangladeshi, Having bit knowledge of Programming, I am using Galaxy S Mobile phone which is running Android Operating system. I think in our country there is much more to do.And i am much willing to build Android App to serve people of Bangladesh as Android enabled phone rapidly growing in our Country.So please suggest me and give me the step by step guide to build Android App.If anyone out there help me and let me be part of the World of Gogle AnDrOid. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 can i request c2dm production quota
where and how can i request c2dm production quota? 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] jar files for android.git.kernel.org applications
Hi, I am new to Android. I have downloaded source code for most of the applications from android.git.kernal.org site such as Calender, Calculator, Music and Visualisation, Media, Bluetooth etc.. But most of the I am not able to execute. It showing errors for some of the packages missing like that. I searched for the jar files of that packages but it is not available- such as Symbols and Syntax Exception jar files for Calculator and Calender. android.provider.Telephony.Mms,MmsSms,Mms.Addr, Mms.Part,Mms.Rate, android.provider.Telephony.Threads; etcIn all applications some packages or classes are missing. How can I execute these applications? please help me. Looking forward to hear soon Regards Lakshya -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 compile bluez for android
Hi, I am integrating Bluez 4.94 stack into gingerbread version 2.3.4. Can anybody guide me to do the same. present I am trying to add Android.mk files where ever is required. Is this the right method. Thanks, Arun. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Intent resolved to different process when running Unit Test
I have a small application that uses two activities. Both the activities inherit from MapActivity and display a map (com.google.android.maps). Since the Android Google Map documentation says: Only one MapActivity is supported per process. Multiple MapActivities running simultaneously are likely to interfere in unexpected and undesired ways. I modified my manifest to run the two activities in two different processes (I have removed some lines to make it short): ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example.myapp uses-permission android:name=android.permission.ACCESS_FINE_LOCATION / uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / uses-permission android:name=android.permission.INTERNET / application android:icon=@drawable/icon android:label=@string/app_name android:theme=@android:style/Theme.Light uses-library android:name=com.google.android.maps / activity android:name=.Activity1 android:process=.Activity1 intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filterUnit /activity activity android:name=.Activity2 android:process=.Activity2 intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.DEFAULT / /intent-filter /activity /application uses-sdk android:minSdkVersion=8 / /manifest Now the application runs fine but I have problems when I what to run Unit Tests on both the Activities. For example: package com.example.myapp; public class Activity1Test extends ActivityInstrumentationTestCase2Activity1 { Activity1 mActivity; public Activity1Test() { super(com.example.myapp.Activity1, Activity1.class); } @Override protected void setUp() throws Exception { super.setUp(); setActivityInitialTouchMode(false); setActivityIntent(new Intent()); mActivity = getActivity();//An exception is thrown at this line } } When I call the getActivity() method an exception is thrown: java.lang.RuntimeException: Intent in process com.example.myapp resolved to different process .Activity1: Intent { flg=0x1000 cmp=com.example.myapp/.Activity1 } at android.app.Instrumentation.startActivitySync(Instrumentation.java:377) at android.test.InstrumentationTestCase.launchActivityWithIntent(InstrumentationTestCase.java:119) at android.test.ActivityInstrumentationTestCase2.getActivity(ActivityInstrumentationTestCase2.java:100) at com.example.myapp.Activity1Test.setUp(Activity1Test.java:28) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:520) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447) Is there a way to make the Unit Test to attach to the correct process? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 WindowManager
Could please someone explain the windowmanager architecture in detail in android. How it creates the window and surface for drawing and how it manages the windows. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Put Button over image/backgournd image with the eclipse designer
hey, it seem's like an easy task but somehow i can't do it i put a background image and i want to put button's in front of it but each time i drag button it appear on the top left side of the picture and i can't move it. it's probably somewhere in the properties but i can't find it 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: stats by version in Android Market Developer Console
RE: stats by version in Android Market Developer Console When I release updates to an app, what info is avaialble in Android Market developer console, like for example: - userbase that upgraded to new versions? - total vs active by versions? etc If insufficient info available - is there any advice about adding custom tracking from inside the app (in case it has permissions to talk to the internet) Thanks, KW -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Google Plugin Beta 2.4 - C2DM Always tries to register at local ip and times out.
I've been making an application with the new Google Plugin Beta 2.4, and I can't get it to connect/register with c2dm. I'm trying to test my application on the go in every day situations to see if the service works over long periods of time, and I'm getting a connection error: Connect to /192.168.1.108: timed out. It appears that it is trying to connect to a local ip address, even when I'm not local. I'm deploying to app engine so that I can see if their are any crashes throughout the day, and I can't even register over 3G. How do I fix this? The same thing happens when I try to run the default application that's created when I create an App Engine connected Android Project, and the Cloud Tasks demo from google IO. How do I fix this? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame
i m mudasar On Jun 13, 12:40 pm, Andy m...@tekx.de wrote: I have a strange Problem in my Game. I use SoundPool for my FX Sounds and it worked fine so far. But with the new Samsung Galaxy S2 some bad reviews where incoming concerning random crashes. I narrowed it down to the SoundPool but have no idea how to prevent the random HeapDumps (not even a stack trace) Because it's a tower defense game...i have currently 32 maxStreams(enough for all other devices) Is there a known ug concerning SoundPool, multiple Streams and the Samsung S2 ? (Dual Core ?) -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Emulator shows lock screen rather than my app screen for the first time. MENU button has to be clicked.
Hi, I'm new to Android development. I apologize if my question is too simple to be posted to this group, but I have not found a satisfactory answer through Google search. Start Eclipse. Create/open any simple HelloWorld Android project. Run the app. This will bring up the emulator. After a few minutes, the lock screen appears, instead of the expected HelloWorld default Activity screen. And I have to click MENU button to have my app's screen show up. To me this is an extra step, or a little bit frustrating, or confusing. Note that this does not happen in subsequent runs of my app, which is good. This is my development environment: Ubuntu 2.6.32 32-bit; Eclipse SDK 3.5.2; Android 2.3.3. Is this (showing the lock screen rather than my app screen for the first time) by design? How can I skip this extra step? Thanks in advance, - Jonathan Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem when installing SDK
Please, I am new to Android and I am trying to install in my computer (HP 6535B, Windows 7, 64bits) the development environment. So I installed JDK version (file jdk-6u26-windows-x64.exe) and eclipse. When I try to install SDK, the installation program halts and prints the following message, remaining the NEXT button not enabled. “Java SE Development kit Detect whether Java SE Development Kit is installed. Java SE Development Kit (JDK) not found Android SDK relies on the Java SE Developmente Kit (JDK) Go to HTTP://java.oracle.com Downloads Java SE JDK to download and install a JDK before continuing. Note: A Java Runtime (JRE) is not enough to develop for Android” Any idea on what’s going on? Cláudio Lima Brazil -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 Programming
I want to bulid an android application to conduct a examination.suppose there are two subjects, and each contains 20 questions each.so how to implement / best way to implement these questions and answers...i want to reuse the Activity and is the way of using Strings.xml is preferred? how?all the things are Static content,all at client side only. thanx in advance. -- Regards MeherPrasad Cholker -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Nexus S,how to exchange ndef data via p2p.
Hallo Tommy, 1. i send the ndef data by the enableForegroundNdefPush(this, mMessage)function in onResume,but how can i known that the mMessage is send over,can i got the notification or Intent? You don't. Even if another device's NPP server picks up the NDEF message from the NPP client, The NDEF push protocol provides no means of acknowledgement that the message was actually received and processed. 2. As i know,in p2p module there have two parts,the initiator and the target.I think int the question one activity called enableForegroundNdefPush(this, mMessage) , it's initiator ,am is think right? No. The NPP happens on a higher layer of abstraction than the NFC-DEP. (The NFC-DEP is the NFC peer-to-peer data exchange protocol that knows initiators and targets.) The NPP sits on top of the LLCP and the LLCP sits on top of NFC-DEP. LLCP removes the restricition that the initiator always starts a connection. In fact both, initiators and targets, are equal on the LLCP layer. Both can listen on sockets and create new sockets. For NPP, the NPP server creates a listening LLCP socket and waits for pushed NDEF messages. The NPP client is invoked by the foreground NDEF push and sends NDEF messages to NPP servers. 3. If in question tow i'm right,the target(another Nexus S phone,or a nfc reader in my desktop) received the ndef data mMessage,and send a response to initiator,how can i got the ndef response. The NPP is one-way. You can't send a response to a received NDEF message. 4. In target terminal such as another Nexus s phone,how can i get the p2p inittiator pushed ndef data. Ndef myTag=Ndef.get(tag); myTag.connect(); if (myTag.isConnected()) { myTag.getNdefMessage(); } On the receiving device, the NDEF data should be delivered in an NDEF_DISCOVERED intent (or through the respective foreground dispatch). br, Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
Were the apps remotely removed from your users' devices? If not, then once you have republished (as Zsolt suggested), you can use House Ads to drive your pulled-app customers to your republished apps. On 15 June 2011 13:40, Zsolt Vasvari zvasv...@gmail.com wrote: What Google has to do is to create a separate Tags input field in the market admin panel, give it some limit and then let the developers compete. This is the fair way. In your case, 2/3 of your app description was keywords -- so you were by far one of the worst violators. Perhaps one of your competitors reported you for stealing from them and Google acted on it. I have no idea. Is there anything stopping you from creating a new account, paying the $25 again and republishing your app? It's not ideal, but since you have a free app, it's not like you have to migrate the users. If your app is good, and I believe it was, your rank would rise fairly quickly. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] 3D UI
hi, I am trying to develop a 3D user interface using 2D API? Is It possible or should I use OPEN GL ES? If possible can you please give me some good links for the same? 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] Acer iconia is losing connection
Hi I have the newest eclipse Android SDK -release 11- installed on Windows Vista. I updated the SDK and chose Android 3.0.1. I connected an Android 3.01 Acer Iconia Tab A500. Installed the original Acer USB driver. The Iconia shows up in Windows and I can connect to the Iconia's file system. When I start Eclipse the Iconia is shown in the DDMS device list. Then, after a short while, or when making screenshots of the Iconia screens in Eclipse / DDMS no devices are shown any more in the list. Some results: adb devices gives this error: * daemon not running. starting it now on port 5037 * ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon System: Vista SR2 64 bit Eclipse (Helios) ADT release 11 All updated through ADT manager path's were set to ADB and the android SDK Client: Acer Iconia Tab A500 Android 3.01 Debugging over USB is enabled on the Iconia Problem: When I wait long enough, ca. 5 minutes, or when I was making screenshots, the connection was lost. Forums suggest that USB driver problems could be the possible cause Logs I have made copies of the session-messages This message appears in the DDMS Hierarchy viewer: The Acer Iconia somehow drops the connection: De externe host heeft een verbinding verbroken In plain English: The external host has disconnected a connection. This would strongly suggest that a process in the Acer Iconia Tab A 500 is at vault. Another -remote- possibility is that the Acer Iconia device driver is not suitable for 64 bit Windows Vista systems. This original device driver was downloaded from Acer Support, but the description does not indicate whether the driver is suitable for either 32 bit or 64 bit Windows. Kind regards, Tony Thijs -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] data stream over the usb
hi all im new to andriod i need a help,im trying to stream the video(+audio) through usb in andriod(linux). can any one suggest idea about how to stream the video? vigneshwaran sekar(vs) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Display two camera previews in one window
Hi, I am required by the app I am working on now to be able to display two camera previews on one page side by side, the effect I am after is sort of like a video call where you can see the person you are speaking to as well as yourself using the back and front camera simultaneously. I know that the camera display preview requires a surfaceview to display it so my first thought was to use two surfaceviews each half the size of the screen, one displaying the back camera and the other the front however, I have read that isn't a great idea using multiple surfaceviews. If anyone could give me some tips how to achieve this effect it would be much 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] How to progmatically send DTMF dones over the uplink with internal telephony API in-call
I'm working on a project that requires my app to be able to send DTMF tones on the voice's uplink frequency during an active call. My 2 conditions are: - We don't use a customized Android platform - We don't need to root the phone I've spent several days doing my homework and am aware that in-call DTMF sending is not supported by the current SDK/standard APIs. However, by using the relevant classes in com.android.internal.telephony I am hoping to mimick how the native Phone app does this. I followed this site on how to use internal APIs for standard 3rd party apps: https://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/ I've also setup myself up with the Android OS dev environment and am able to run the Phone app in debug mode on an emulator to figure its inner workings. I tried various ways on a stock standard emulator but the errors I got were: 1) After trying to install a renamed app based on Phone.apk's source using the sharedUserId of android.uid.phone, I got: Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE No doubt due to the fact I don't have the system cert to sign it. 2) After trying to write a custom app based on the relevant DTMF tone sending code from Phone.apk's source, I get the following error at setting up the PhoneFactory; java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.provider.Telephony.SPN_STRINGS_UPDATED. No doubt due to the fact my app doesn't have the right permissions - AndroidManifest.xml is setup with the same permissions as Phone.apk. I'm at a loss as to what else I could try. Does anyone have any suggestions? Thanks in advance, Simon. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Frame Animation
you can try to add stop before start. src/project.java final AnimationDrawable yourAnimation; imageView.setBackgroundResource(R.drawable.anim); yourAnimation = (AnimationDrawable) imageView.getBackground(); yourAnimation.stop(); yourAnimation.start(); 2011/6/10 Look cibin.p.oom...@gmail.com Hi, I'm trying to implement Animation in my projectbut i have no luck Below i will mention the code which i used. res/drawable/anim animation-list xmlns:android=http://schemas.android.com/apk/res/android; android:oneshot=false item android:drawable=@drawable/load0 android:duration=60 / item android:drawable=@drawable/load1 android:duration=60 / item android:drawable=@drawable/load2 android:duration=60 / item android:drawable=@drawable/load3 android:duration=60 / item android:drawable=@drawable/load4 android:duration=60 / item android:drawable=@drawable/load5 android:duration=60 / item android:drawable=@drawable/load6 android:duration=60 / item android:drawable=@drawable/load7 android:duration=60 / item android:drawable=@drawable/load8 android:duration=60 / /animation-list src/project.java final AnimationDrawable yourAnimation; imageView.setBackgroundResource(R.drawable.anim); yourAnimation = (AnimationDrawable) imageView.getBackground(); yourAnimation.start(); Do you have any idea? Thanks in advance cibin -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Google Maps - Calculate distance between point and nearest road
Hi. I'm using Google Maps in my app and I need to know the distance between a point (set anywhere by the user) and the nearest road to that point. Using javascript APIs I've seen examples using polylines and getvertex functions but there are no such methods in the android APIS. Any suggestions? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Take a picture in every hour
Hi all, I am developing an app which need the user to choose a time period and my app will use the camera to take picture in every given time period (say, every hour). User should not be involved into these actions (taking pictures) --- for example, the user could simply put the phone on a dock pointing to somewhere and do other things. During this time, my app will periodically take picture, analyse them, take some actions and store some information. I read the dev. docs. about the camera. If I use takePicture(), then it seems that user have to be involved when the app need to take a picture. Like pop up some window asking user to press some button, etc. Is there any way to meet my requirement? BTW, I need to start a service in background to take the pictures. Thanks! -Nan -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Playing PCM with AudioTrack
Hi all, I'm trying to play raw PCM in assets using AudioTrack, but I couldn't seem to get it right. This is how I generate the raw PCM on my computer: ffmpeg -i sample.aif -ac 1 -ar 22050 -f s16le sample I've also tried the following formats, but all I can get is a noisy distorted sound. s16be PCM signed 16 bit big-endian format s16lePCM signed 16 bit little-endian format u16be PCM unsigned 16 bit big-endian format u16lePCM unsigned 16 bit little-endian format Here's my code for initializing AudioTrack. mTrack = new AudioTrack( AudioManager.STREAM_MUSIC, 22050, AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT, AudioTrack.getMinBufferSize( 22050, AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT ), AudioTrack.MODE_STREAM ); Thank you for any assistance. -- Regards, Joseph -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Is there any solution to update android 2.2 to the newer-stable version, in Tablets?
Hi I have one dreambook W tablet ... it has android 2.2 I want to change to the latest well-known version ... any one can help me to do? thanks 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] How can App not running after install apk?
Hi. I install apk like below.. File file = new File(dir, App.apk); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file), application/ vnd.android.package-archive); startActivity(intent); in this way, installed apk run automatically after install. But I dont want automatically running of installed app. Is other way to install apk? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Displaying a list with buttons at the bottom
I want to display a list of results in a scrollable list, but at the bottom I want to have two buttons, return and clear, that are always displayed when I scroll down the list. Any about suggestions about how I could achieve this? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Hold the NFC Foreground Dispatch
Hello! I want to do a thing and I don't achieve it...I have a NFC reader App, this App captures the Tag while the Activity is in foreground by means of the Foreground Dispatch System of Android. What I want to do is that the App captures the Tag while it is running and not appear the dialog for selecting the app, not only in foreground. How could I do that, any issues? Thanks in advanced...I need do that for my final project...please...help me! 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] How to find a encoding type used in SMS
Hi, I want to send SMS content in the same encoding format (G-7Bit/8Bit/UCS2) to remote device via Bluetooth. I'm accessing the SMS through content provider. When I pull the SMS from content provider it gives the message as either string or byte[]. Basically, I want to know the encoding type used on that message. So that i can encode the message and send it over Bluetooth. Please let me know the ways to find a encoding type used in SMS. Thanks, Tamizh -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 WindowManager
Once the activities of different applications are launched and their windows are created, how does the WindowManger is able to manage those corresponding windows while trying to switch from one activity to another activity of different applications. Could please someone explain with regard to this. 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] Re: EAP-SIM support in latest version of Android build or in any Android Phone
1.I don't think any version of android can support the access of sim card. 2.the patches seek what you found on net is developed by GD,but right now google have no any confirm to involve the APIs into new release.Although google add them ,there will be some limits in using the APIs because of security reasons. right now you have to reROM your android phone to use the APIs from SEEK,more details you can found there. On 6月1日, 下午3时11分, suchi suchi.bhard...@gmail.com wrote: Hi All, I want to use the EAP-SIM/EAP-AKA authentication mode of WPA- Supplicant in Android device -Nexus s. I explored on net and found that for versions up to Android 2.3 build, there are patches available to include the smart card access functionality to the source code. Found the relevant information from the link:http://code.google.com/p/seek-for-android/wiki/BuildingTheSystem So my query is: 1. Does the latest versions of Android e.g 3.0 Honeycomb support this feature of smart card access? 2. Does any of the Android devices support this feature? If yes, please share the details of that Android Phone. If the support in the latest Android builds is not provided, how i should start to implement the changes required for the implementation of EAP-SIM feature for Android phone. Please suggest.. Thanks, Suchi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Create shortcuts one the home screen
I have a heap of doubt. What i'd like to do is: 1) i'm inside an activity, there are 2 buttons. If i click the first one a shortcut is created in my home screen. The shortcut open an html page that has been previously downloaded, so i want it to use the default browser but i don't want to use internet cause i already have the page on the sd.. 2)The second button create another shortcut that starts an activity froma another application. And i want to pass to the activity some extra argumets (As strings for example)... I found some link and some similar questions like http://codinggeek.org/2011/01/02/android-how-to-add-home-screen-shortcuts-to-your-app/ and Android: Is there a programming way to create a web shortcut on home screen They seem to be the answer to my question but someone told me that this code is not gonna work on all devices and that is deprecated...This technique is not recommended. This is an internal implementation, not part of the Android SDK. It will not work on all home screen implementations. It may not work on all past versions of Android. It may not work in future versions of Android, as Google is not obligated to maintain internal undocumented interfaces. Please do not use this i already asked this on stackoverflow and this is teh answer i got http://stackoverflow.com/questions/6337431/android-create-shortcuts-on-the-home-screen This user says The correct way is to listen for a shortcut request from the home screen-- with an intent filter like so in your manifest... But i' a beginner and i can't actually see the difference from the code example i provided and the last one.both use intents and the cose is pretty the same, the only difference is in the manifest part. The first example only set up a permission the second one aintent filter...but what actually means to listen for a shortcut request from the home screen..i mean it's my application that is asking the home screen to add a shortcut not the oppsite..tnx -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Google removed 10 mallware apps - I'm affected. Please help
ohhh are the sdk's you are using all checked out? still I wish you luck in your battle. But again.. I think every manual in the book has a hello world app of how to make a lightapp... I know I would love your audience. but it would be like a silly move if you sold your house and your family stops eating because all you can do is a light app but what do I know? but just for the last of my 2 bits on this.. I think google could of sheened a bit of light your way regarding what there motives were.. but regardless of it all.. Google©™ can do whatever they want. ps: Google©™ sign me up for a tech salary asap I know I need it! Lenn Dolling On Tue, Jun 14, 2011 at 2:27 AM, Lenn Dolling lenndoll...@gmail.com wrote: I would say you have a good case... perhaps there are already enough flashlights though.. you should just release your code to the open market and work on another great project! :) whoo hoo! On Tue, Jun 14, 2011 at 1:57 AM, n.a devuni...@gmail.com wrote: Hello Guys and Google, I'm the developer of the most popular flashlight application on the Android Market - Tiny Flashlight + LED (over 6.5 million downloads, top 50 in the overall applications ranking). Today I found that Google have deleted my developer account without any notice and removed Tiny Flashlight from the market. I saw the news that Google removed 10 malware apps from the Android Market ( http://phandroid.com/2011/06/14/google-removes-10-new-malware-apps-from-the-android-market/ ) and decided to write you. Seems like I've been affected by this and I hope this will be resolved soon, because I have invested a lot in Tiny Flashlight. For the one year since Tiny Flashlight has been released, I've managed to create one of the best android applications on the market. Although a flashlight application seems easy to create, it's actually quite hard on android, because the different hardware vendors have different camera drivers and this requires a lot of workarounds just to start the camera led / flash. This takes a lot of time and investment. In the last 4 months alone I had to buy over 20 different android devices, spend huge amounts of time finding a way to start the led on these devices and making the whole process trouble-free for the user. I've also gone a step further. Tiny Flashlight is one of the few applications, which supports all android versions on the market - 1.5, 1.6, 2.1, 2.2, 2.3, 3.0, and 3.1. It's the only flashlight application, which still works on Motorola Quench / i1 / Backflip (all Android 1.5). Tiny Flashlight has become my primary source of income and the investment I've made is huge. Every single line of code has been written by me (except the Admob, Millennial Media, and Flurry SDKs, but I think they are respectable companies and would never allow any malware in their distributed SDKs). I just can not afford to make the tiniest mistake with Tiny Flashlight, because it's one of the top applications on the market and I have over 4 million active users and I've invested my life into this. I’m angry that Google never contacted me. They just deleted the whole account. I hope that they will fix it soon, before I lose my users and ranking position. http://www.appbrain.com/app/tiny-flashlight-led/com.devuni.flashlight -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How can I make my application to show in safe mode?
Hi, all developers, I have some question. How can I make my application to show in safe mode? Now, I have known that 3rd party application is not visible in safe mode. If so, what can I do for showing my app in safe mode. Do I have to sign my apk file from android phone manufacturers? If it is right, what keystore file do they use? Do they use self-signed key which is used when they signed their firmware binary? Thank you for reading my poor question. please answer 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
Re: [android-developers] Google removed 10 mallware apps - I'm affected. Please help
I would say you have a good case... perhaps there are already enough flashlights though.. you should just release your code to the open market and work on another great project! :) whoo hoo! On Tue, Jun 14, 2011 at 1:57 AM, n.a devuni...@gmail.com wrote: Hello Guys and Google, I'm the developer of the most popular flashlight application on the Android Market - Tiny Flashlight + LED (over 6.5 million downloads, top 50 in the overall applications ranking). Today I found that Google have deleted my developer account without any notice and removed Tiny Flashlight from the market. I saw the news that Google removed 10 malware apps from the Android Market ( http://phandroid.com/2011/06/14/google-removes-10-new-malware-apps-from-the-android-market/ ) and decided to write you. Seems like I've been affected by this and I hope this will be resolved soon, because I have invested a lot in Tiny Flashlight. For the one year since Tiny Flashlight has been released, I've managed to create one of the best android applications on the market. Although a flashlight application seems easy to create, it's actually quite hard on android, because the different hardware vendors have different camera drivers and this requires a lot of workarounds just to start the camera led / flash. This takes a lot of time and investment. In the last 4 months alone I had to buy over 20 different android devices, spend huge amounts of time finding a way to start the led on these devices and making the whole process trouble-free for the user. I've also gone a step further. Tiny Flashlight is one of the few applications, which supports all android versions on the market - 1.5, 1.6, 2.1, 2.2, 2.3, 3.0, and 3.1. It's the only flashlight application, which still works on Motorola Quench / i1 / Backflip (all Android 1.5). Tiny Flashlight has become my primary source of income and the investment I've made is huge. Every single line of code has been written by me (except the Admob, Millennial Media, and Flurry SDKs, but I think they are respectable companies and would never allow any malware in their distributed SDKs). I just can not afford to make the tiniest mistake with Tiny Flashlight, because it's one of the top applications on the market and I have over 4 million active users and I've invested my life into this. I’m angry that Google never contacted me. They just deleted the whole account. I hope that they will fix it soon, before I lose my users and ranking position. http://www.appbrain.com/app/tiny-flashlight-led/com.devuni.flashlight -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Help needed with OnItemLongClickListener custom adapter - UnsupportedOperationException
Hi, I am new to Android programming and need help with onItemLongClick. I have implemented an OnItemLongClickListener but when i long click on an item in my list an UnsupportedOperationException is raised. I include two files below listmodified and my custom adapter CustomAdapter Thanks in advance, listmodified.class * package *listmodified.org; * import *java.util.Arrays;* import *java.util.ArrayList;* import *android.app.ListActivity;* import *android.os.Bundle;* import *android.view.View;* import *android.widget.AdapterView;* import *android.widget.ArrayAdapter;* import *android.widget.ListView;* import *android.widget.TextView;* import *android.widget.AdapterView.OnItemLongClickListener; * public **class* listmodified *extends* ListActivity { *private* TextView selection; // MAIN.xml ArrayAdapterString adapter; // for accessing my adapter *private* String itemSelected; // for delete function *public* *static* String[] *items*={lorem, ipsum, dolor, sit, amet, consectetuer, adipiscing, elit, morbi, vel, ligula, vitae, arcu, aliquet, mollis, etiam, vel, erat, placerat, ante, porttitor, sodales, pellentesque, augue, purus}; @Override *public* *void* onCreate(Bundle icicle) { *super*.onCreate(icicle); //onLongClick must be activity and imported above OnItemLongClickListener itemDelListener = *new* OnItemLongClickListener(){ @Override *public* *boolean* onItemLongClick(AdapterView? parent, View arg1, *int* position, *long* arg3) { // *TODO* Auto-generated method stub itemSelected=parent.getItemAtPosition(position).toString(); adapter.remove(itemSelected); adapter.notifyDataSetChanged(); *return* *false*; }}; setContentView(R.layout. *main*); adapter=*new* CustomAdapter(listmodified.*this*, R.layout.*row*, *items*); setListAdapter( adapter); selection=(TextView)findViewById(R.id.*selection*); getListView().setOnItemLongClickListener(itemDelListener); } *public* *void* onListItemClick(ListView parent, View v, *int* position, *long* id) { selection.setText(*items*[position]); } } * mport **java.util.ArrayList*; * import **android.app.ListActivity*;* import *android.content.Context;* import **android.os.Bundle*;* import *android.view.LayoutInflater;* import *android.view.View;* import *android.view.ViewGroup;* import *android.widget.ArrayAdapter;* import *android.widget.ImageView;* import **android.widget.ListView*;* import *android.widget.TextView;* import **android.widget.Toast*; * public **class* CustomAdapter *extends* ArrayAdapterString{ LayoutInflater inflater; *public* CustomAdapter(Context context, *int* textViewResourceId, String[] objects) { *super*(context, textViewResourceId, objects); Context *myContext* = context; // *TODO* Auto-generated constructor stub } //override default view create my own unique view *public* View getView(*int* position, View convertView, ViewGroup parent){ View row=convertView; *if*(row==*null*){ //not sure about the following line of code, something to do with context LayoutInflater inflater=LayoutInflater.*from*(getContext()); row=inflater.inflate(R.layout. *row*, *null*); } TextView label=(TextView)row.findViewById(R.id. *weekofday*); label.setText(listmodified. *items*[position]); ImageView icon=(ImageView)row.findViewById(R.id. *icon*); *if*(listmodified.*items*[position].length()=1){ icon=(ImageView)row.findViewById(R.id. *icon*); icon.setImageResource(R.drawable. *small_x_dark*); } *else*{ icon.setImageResource(R.drawable. *ok*); } *return* row; //This function must return something } } -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 develop an app which controls external objects through USB?
Hi there, I have a question about how I can approach an art project. I am a programmer - but really have just experience in the software world, but thinking about a project that interfaces with hardware. So it would be me building an app on Android: - Interfacing this app with a physical device through USB (or any connectivity that is simple to code up such as bluetooth) - Then ideally the app would be able to control the physical device (now this could be a wheel, a set of levers, some kind of physical controllable device) I mean I am just hoping for some kick starters in the right direction here. Am I barking up the wrong tree? Is Android the wrong platform for this? If not, what is the type of hardware that I should be looking for, and what kind of interfacing? and are there any sample code projects, or APIs that I should be looking for? Any help, in any direction would be so gratefully received Regards Shoop -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Working with Activities
cancel the getter and setter, replace with some static variables... 2011/6/14 Felix Garcia Lainez fgarcialai...@gmail.com Ok it is one of the options i am thinking on.. Thanks! On 13 jun, 21:17, TreKing treking...@gmail.com wrote: On Mon, Jun 13, 2011 at 3:19 AM, Felix Garcia Lainez fgarcialai...@gmail.com wrote: Any ideas or suggestions on how to do it? Some kind of static data holder should work just fine. In addition, if this data does not need to be updated too frequently, you can save it to your cache directory for retrieval if and when your application gets killed. --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: problem in installation of android sdk
Has anyone looked at this yet? I'm trying to use installer_r11- windows.exe and jdk-6u26-windows-i586.exe, and after I install (repeatedly) the Java SDK, the installer still says that the java SDK was not found. As an alternative to fixing this in the Windows installer, can someone tell me what the installer is looking for? On May 31, 4:27 am, Lane lcmitc...@gmail.com wrote: I am having the same problem. See the attached file for a view of what I have downloaded, installed, and the error message. Thanks, Lane Android SDK Error.JPG 94KViewDownload -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: problem in installation of android sdk
Has anyone found a solution to this? I have the same issue with the Java SDK 6u26 i586 installable from Oracle, and the instlal_r11- windows.exe on Wndows XP. Alternately, what is the installer checking so that I can figure out where the JDK install went off the reservation? On May 31, 4:27 am, Lane lcmitc...@gmail.com wrote: I am having the same problem. See the attached file for a view of what I have downloaded, installed, and the error message. Thanks, Lane Android SDK Error.JPG 94KViewDownload -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] super.onCreate(savedInstanceState)
The Reason we use onCreate(savedInstanceState) because, upon super.onCreate() it will reach the Activity (parent class of any activity) class to load the savedInstanceState. (beacause the demo activity class we have created is not capable of loading the saved state) Yeah, we normaly don't set any saved instance state, but android framework made such a way that, we should be calling that. Please correct me if i am wrong. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 : Re: [android-developers] timeout
I don't know if the previous message helped you but I encountered the same problem and I had the same problem and I found out that if I turn on networks on my phone (wifi or 3G) I don't get the error message and the installation was successful. I'm still looking why (found this post while searching). Have a nice day -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Tracking the mouse movement
Is it possible to track down the mouse movement on Gingerbread ? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 use java.awt.image package in Android
Dear all, I am using an image processing library which relies on the java.awt.image package. However, the Android library does not have that package. Does anybody know how to use it in Android? Thanks! -- Department of Electrical Engineering and Computer Science University of Tennessee Knoxville, TN, USA State Key Laboratory of Industrial Control Technology No. 38 Zheda Road, Zhejiang University, Hangzhou, 310027, P. R. China Email: wzb@gmail.com MSN: wzb@hotmail.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] JDK Installation
When I'm trying to install the Android SDK, I know I have to have a Java SDK installed first. I'm installing jdk-6u26-windows-i586 on an XP platform prior to installing install_r11-windows.exe. I consistently get the error that the JDK is not installed. Has anyone else run into this, and how did you resolve it (if you did)? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
a horror story for sure. 6M users is a huge hand full to just be dumped like a rock. Like I wrote a app that calculates CDC Flu XML data from live datasets and built internal databases for custom reporting of the data and and a whole lot more and I have yet to have a single user download the app.. . seems a flashlight app that gets 6million users is the way to go.. I still will stand strong on my stance that you should just move on and go to a more satisfying project. http://fluapp.challenge.gov/submissions/3027-cdcs-flu-weekly-sneeze-in-your-sleeve use your 20+ devices to good work and help heal the world. Lenn Dolling On Tue, Jun 14, 2011 at 5:50 AM, Yahel kaye...@gmail.com wrote: I'm sorry to be that guy, but you really should start thinking that they really just deleted everything about your account, not just hid it somewhere and are able to put it back up for you. That's the thing about general intervention and not case by case intervention : Fire and forget. I really do hope for you that this time the Android Market Team has been a little more profesionnal and kept backup but I really wouldn't count on it if I were you. Come back to tell us what happenned if they ever get back to you. Good luck mate. Yahel On 14 juin, 14:29, n.a devuni...@gmail.com wrote: Apple, at least, gives you 5 days to fix your issues and doesn't suspend the whole account. This is a bad situation to be in. I've sent an e-mail to android- market-support AT google.com but if they answer me after 2 weeks all will be lost. I'll lose my ranking position and will never be able to come back. A whole year of investment deleted in a single click. On Jun 14, 1:44 pm, Yahel kaye...@gmail.com wrote: Sorry that you only found out now about google's ways of doing things. That is true to everything Google and that's the best advice I can give you : Never ever rely on one of their ecosystems to be your only source of income. Actually you can broaden this : Never ever rely on anyone ecosystem to be your only source of income. But it is especially true for Google : You see, they seem like a huge company making billions of dollars in benefice each year so you'd think they would have a huge staff helping their users, communicating before taking decisions, warning people of services disruption, not pushing piles and piles of bugs into the Android Market each and everytime they upgrade it since there is a good 10 000 developers using it. But the truth is : For every project Google launches the team that works on it is only of 2-6 people. Only engineers, no designers, no graphists, no supervisors, no usability engineer. And with such small teams for applications that have tenth of thousands users you can easily see how they have no time to treat things case by case. So what happened to you is something like this : An engineer found out that one malware used permissions XX and a specific access to i/o via NDK. So since he has no time for these foolisheries he just pulled all the apps that have these specifics in their code. - That's 10 apps and there is one with 6,5 millions downloads and a five star rating and no complaints - Yeah I don't care we don't have time for this, pull the plug !! For what it's worth, with a delay of two weeks I was able to have a contact with the Android Market team once on this mail address : android-market-support AT google.com I really feel your pain and I hope you get it sorted out. But be sure to start several other apps for iphone as I did and find other revenues that do not depends on someone else framework. Good luck. Yahel On 14 juin, 10:57, n.a devuni...@gmail.com wrote: Hello Guys and Google, I'm the developer of the most popular flashlight application on the Android Market - Tiny Flashlight + LED (over 6.5 million downloads, top 50 in the overall applications ranking). Today I found that Google have deleted my developer account without any notice and removed Tiny Flashlight from the market. I saw the news that Google removed 10 malware apps from the Android Market ( http://phandroid.com/2011/06/14/google-removes-10-new-malware-apps-fr... ) and decided to write you. Seems like I've been affected by this and I hope this will be resolved soon, because I have invested a lot in Tiny Flashlight. For the one year since Tiny Flashlight has been released, I've managed to create one of the best android applications on the market. Although a flashlight application seems easy to create, it's actually quite hard on android, because the different hardware vendors have different camera drivers and this requires a lot of workarounds just to start the camera led / flash. This takes a lot of time and investment. In the last 4 months alone I had to buy over 20 different android
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
geeze after thinking about this for a few minutes longer... Seems pretty complex of a app with all your api integrations for a Flashlight... I wonder how many of the 6 Million users that you have as your customer base had issues with your app.. I wonder if anyone really needed a flashlight to work and then your app did not just a situation... I am sure out of 6 million flash light users that there had to of been a problem for Google©™... as I wonder how many people used there Real telephones to complain of such issues etc etc... how was your tech support for the 6Million users? On Tue, Jun 14, 2011 at 6:15 AM, Lenn Dolling lenndoll...@gmail.com wrote: a horror story for sure. 6M users is a huge hand full to just be dumped like a rock. Like I wrote a app that calculates CDC Flu XML data from live datasets and built internal databases for custom reporting of the data and and a whole lot more and I have yet to have a single user download the app.. . seems a flashlight app that gets 6million users is the way to go.. I still will stand strong on my stance that you should just move on and go to a more satisfying project. http://fluapp.challenge.gov/submissions/3027-cdcs-flu-weekly-sneeze-in-your-sleeve use your 20+ devices to good work and help heal the world. Lenn Dolling On Tue, Jun 14, 2011 at 5:50 AM, Yahel kaye...@gmail.com wrote: I'm sorry to be that guy, but you really should start thinking that they really just deleted everything about your account, not just hid it somewhere and are able to put it back up for you. That's the thing about general intervention and not case by case intervention : Fire and forget. I really do hope for you that this time the Android Market Team has been a little more profesionnal and kept backup but I really wouldn't count on it if I were you. Come back to tell us what happenned if they ever get back to you. Good luck mate. Yahel On 14 juin, 14:29, n.a devuni...@gmail.com wrote: Apple, at least, gives you 5 days to fix your issues and doesn't suspend the whole account. This is a bad situation to be in. I've sent an e-mail to android- market-support AT google.com but if they answer me after 2 weeks all will be lost. I'll lose my ranking position and will never be able to come back. A whole year of investment deleted in a single click. On Jun 14, 1:44 pm, Yahel kaye...@gmail.com wrote: Sorry that you only found out now about google's ways of doing things. That is true to everything Google and that's the best advice I can give you : Never ever rely on one of their ecosystems to be your only source of income. Actually you can broaden this : Never ever rely on anyone ecosystem to be your only source of income. But it is especially true for Google : You see, they seem like a huge company making billions of dollars in benefice each year so you'd think they would have a huge staff helping their users, communicating before taking decisions, warning people of services disruption, not pushing piles and piles of bugs into the Android Market each and everytime they upgrade it since there is a good 10 000 developers using it. But the truth is : For every project Google launches the team that works on it is only of 2-6 people. Only engineers, no designers, no graphists, no supervisors, no usability engineer. And with such small teams for applications that have tenth of thousands users you can easily see how they have no time to treat things case by case. So what happened to you is something like this : An engineer found out that one malware used permissions XX and a specific access to i/o via NDK. So since he has no time for these foolisheries he just pulled all the apps that have these specifics in their code. - That's 10 apps and there is one with 6,5 millions downloads and a five star rating and no complaints - Yeah I don't care we don't have time for this, pull the plug !! For what it's worth, with a delay of two weeks I was able to have a contact with the Android Market team once on this mail address : android-market-support AT google.com I really feel your pain and I hope you get it sorted out. But be sure to start several other apps for iphone as I did and find other revenues that do not depends on someone else framework. Good luck. Yahel On 14 juin, 10:57, n.a devuni...@gmail.com wrote: Hello Guys and Google, I'm the developer of the most popular flashlight application on the Android Market - Tiny Flashlight + LED (over 6.5 million downloads, top 50 in the overall applications ranking). Today I found that Google have deleted my developer account without any notice and removed Tiny Flashlight from the market. I saw the news that Google removed 10 malware apps from the Android Market (
[android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
I don't know yet. I'm still waiting for more accurate data from Flurry. Most of the users are using the widget, so they never see any ads. In this article Quentyn says that the widget is still on his home screen: http://phandroid.com/2011/06/14/tiny-flashlight-led-developer-banned-from-market-believes-it-was-wrongful/ On Jun 15, 9:02 am, Mark Carter mjc1...@googlemail.com wrote: Were the apps remotely removed from your users' devices? If not, then once you have republished (as Zsolt suggested), you can use House Ads to drive your pulled-app customers to your republished apps. On 15 June 2011 13:40, Zsolt Vasvari zvasv...@gmail.com wrote: What Google has to do is to create a separate Tags input field in the market admin panel, give it some limit and then let the developers compete. This is the fair way. In your case, 2/3 of your app description was keywords -- so you were by far one of the worst violators. Perhaps one of your competitors reported you for stealing from them and Google acted on it. I have no idea. Is there anything stopping you from creating a new account, paying the $25 again and republishing your app? It's not ideal, but since you have a free app, it's not like you have to migrate the users. If your app is good, and I believe it was, your rank would rise fairly quickly. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Odp: DB4O Native query time issue
Are you in CS environment ? If yes, does the server have the up to date jar file included ? Also, you must have the field indexed, whether you use SODA or native queries ? Is the field inherited !?!? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Emulator shows the lock screen rather than my app's screen for the first time. MENU key has to be clicked.
Hi, I'm relatively new to Android development. The issue above has been observed by several of my colleagues. I have not found a satisfactory solution through search engines. To reproduce it: Start Eclipse. Create/open any simple HelloWorld Android project that has a simple UI. Run the app. This will bring up the emulator. After a few minutes, the lock screen appears on the emulator, rather than the expected HelloWorld default Activity screen. And I have to click MENU key to have my app's screen show up. To me this is an extra step, or a little bit frustrating, or confusing. Note that this does not happen in subsequent runs of my app, which is good. This is my development environment: Ubuntu 2.6.32 32-bit; Eclipse SDK 3.5.2; Android 2.3.3. Is this (showing the lock screen rather than my app's screen for the first time) by design? How can I skip this extra step? Thanks in advance, - Jonathan -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Porting existing junit test cases to Android
Hi, I have a set cross platform libraries(C++) which work on Windows, Mac and Android. For testing the libraries on Windows/Mac I have generated Java wrappers using Swig, and created test cases using JUnit4. My libraries dont have any UI component, everything is api calls. Now for test development on Android, I would like the same test cases to run on Android, but it seems that all the testcasses on android should derive from ActivityInstrumentationTestCase class. Now since my test cases never interact with UI and everything is just api calls so I dont need instrumentation. So my question is: Can I just run my existing test cases on Android without deriving from ActivityInstrumentationTestCase as they dont interact with any UI. I can derive my tst cases from ActivityInstrumentationTestCase but that would lead to lot of duplicate code, I understand that Android doesn't have JUnit 4 on it. I am fine converting existing test cases from Junit4 to Junit3(as my test case dont use much of Junit4 specific stuff, if that gets them to running on Android as it is. Thanks, ~Aman -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Need Help
How to maintain instance in the android application. For example , If i am running one application, in that am entering some text and click some check boxes, unfortunately the application is showdown,reopen the same application i wanted to last state of the apllication( i mean save the last entered text and other stuff what i did) -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] 'building workspace' has encountered a problem. Error occurred during the build.
Sir, i have download the code from CODE.GOOGLE.COM. when i upload the code on eclipse sdk then it give error..'building workspace' has encountered a problem. Error occurred during the build. So please Sir give me answer . how can i compile the code. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Video chat
I am trying to implement video chat using Android 2.3.4. I am using MediaRecorder and setting output file as local socket descriptor. The problem comes when trying to reconstructing the received bytes into a valid video. I am reading 1400 bytes from the socket and for now I am simply writing the read bytes from the socket to a file but I cannot play that file as a valid video and I see the following error in logcat: *D/VideoView( 580): Error: 1,-2147483648* I am using H.264 video encoder, I don't know whether I am messing something in the header while reading from the socket but if in the MediaRecorder I set the output file to a path within the file system, I can open and play that file as a video without any problem. Any suggestion or ideas to above problem will 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
[android-developers] Porting existing Junit test cases to Android.
Hi, I have a set cross platform libraries(C++) which work on Windows, Mac and Android. For testing the libraries on Windows/Mac I have generated Java wrappers using Swig, and created test cases using JUnit4. My libraries dont have any UI component, everything is api calls. Now for test development on Android, I would like the same test cases to run on Android, but it seems that all the testcasses on android should derive from ActivityInstrumentationTestCase class. Now since my test cases never interact with UI and everything is just api calls so I dont need instrumentation. So my question is: Can I just run my existing test cases on Android without deriving from ActivityInstrumentationTestCase as they dont interact with any UI. I can derive my tst cases from ActivityInstrumentationTestCase but that would lead to lot of duplicate code, I understand that Android doesn't have JUnit 4 on it. I am fine converting existing test cases from Junit4 to Junit3(as my test case dont use much of Junit4 specific stuff, if that gets them to running on Android as it is. Thanks, ~Aman -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
well I have been importing androids from the HK for a while now, I am shocked on how liberal their market is. Has anyone ever browsed through the Photography section of the market place? GOOGLE©™ clean that shit up. Korean porn all over the place.. I am happy that GOOGLE©™ has a magic wand and actually has the integrity to use it. I will double check the photography section and see if it is now cleaned up.. ... It better be. just to conclude about the keyword stuffing.. it is funny how the admitting of the violation came out so early. I can see how stuffing a Crazy Bird text combo in your description could get some heavy hit results... I just hope that people would quit farming for digital carrots and farm there own real life. Lenn Dolling On Tue, Jun 14, 2011 at 6:05 PM, John Coryat cor...@gmail.com wrote: The TOC would work a lot better if people knew how it was being enforced. That's like saying I wouldn't have gotten a speeding ticket if I knew where the police were. Not knowing what part of a contact you agreed to is being enforced is irrelevant. What's important is paying attention to the details of the contract and not violating it. While it is a simple thing to ignore a contract that isn't vigorously enforced, it is a violation of that contract and whatever punitive action warranted by said violation is deserved. I feel bad for the OP of this topic but a violation, regardless of whether it is vigorously enforced for all violators, is still a violation. I just hope we can all learn by his mistake. I suggest every developer go through their app and make sure there are no copyright violations or other problems that will cause your app or account to be terminated. Remember, you signed a contract with Google when you placed your app on the market. Google can enforce any provision of that contract at any time and you have no recourse if you violated it. Google doesn't have to warn you or give any grace period. As is obvious now, they just strike out and kill off that developer at will. It's best not to be in their cross hairs. I don't believe anyone should call Google evil for doing what you knew what could happen. They are just enforcing their contract. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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] Decoding and displaying a jpg file
Developers, I wanted to develop an application to decode and display a jpg file(either from a location on the disk or from a url). I browsed for a few codes and tried running them but unfortunately nothing worked. I'm new to Android and to make things worse very new to java. Could any of you help me out with a pointer to a simple source code to decode and display a jpg file on the emulator? 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
Re: [android-developers] JDK Installation
you have to set environment path. On Tue, Jun 14, 2011 at 11:57 PM, Charles ccha...@gmail.com wrote: When I'm trying to install the Android SDK, I know I have to have a Java SDK installed first. I'm installing jdk-6u26-windows-i586 on an XP platform prior to installing install_r11-windows.exe. I consistently get the error that the JDK is not installed. Has anyone else run into this, and how did you resolve it (if you did)? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09048382536(Kerala) Mob.No:09751076707(TN) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
After the list of devices you have the following: Torch, Light, Camera, Flash, Color, Dark, Bright, Brightness, Brightest, Lights, Signal, Find Keys, Screen, Effects, brightest flashlight, Emergency, Warning, Police, brightest led flash, DroidLight, Maximum, Backlight, Best, Great, Fun, Cool, Coolest, Widget, led flashlight, led flash, led light, brightest led flashlight, camera light, color flashlight, color flash, tesla, bright light, brightness, flash camera, flash, cam light, screen light, light effects, simple flashlight, search, screen brightness, brightest app, max brightness, maximum brightness, dark, darkness, police light, emergency light This looks to me like you overdid it a little bit ;-) On Tue, Jun 14, 2011 at 11:02 PM, n.a devuni...@gmail.com wrote: On Jun 15, 8:40 am, Zsolt Vasvari zvasv...@gmail.com wrote: What Google has to do is to create a separate Tags input field in the market admin panel, give it some limit and then let the developers compete. This is the fair way. In your case, 2/3 of your app description was keywords I'm sorry, but this is not true. You can still see it here: http://www.androidpit.com/en/android/market/apps/app/com.devuni.flashlight/Tiny-Flashlight-LED Also, most of the keywords are just device models, which the flashlight works on. -- so you were by far one of the worst violators. Perhaps one of your competitors reported you for stealing from them and Google acted on it. I have no idea. Is there anything stopping you from creating a new account, paying the $25 again and republishing your app? It's not ideal, but since you have a free app, it's not like you have to migrate the users. If your app is good, and I believe it was, your rank would rise fairly quickly. This is a workaround. I hope that Google will change their internal policy and start warning the developers before deleting applications and accounts. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] ListView and GridView Rendering
ADT said that version 11 brings ListView and GridView Rendering, however it's disabled in my eclipse and shows: not supported for this SDK version; try changing the Render Target. I tried changing the render target but no help there. Suggestions? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Need a NFC compatible Desktop NFC-Reader
Hallo Ferit, i'm working on some simple NFC-Applications and i want to realize a simple scenario, where the Nexus S sends some Text / URI / SmartPoster to a desktop NFC-Reader. Have a look at nfcpy ( https://launchpad.net/nfcpy ) and which readers it supports. For the moment, nfcpy is the only known LLCP implementation for desktops that also supports the NPP. - Is it possible to set the nexus s as a passive nfc tag? So the usb nfc reader thinks that it is reading a simple tag / sticker. Possibly you could abuse the secure element/card emulation to do this, but you would need to modify the phone's firmware to get the required access. Therefore, it is best to stick with peer-to-peer mode for exchange of NDEF messages between NFC devices. Also note that card emulation is intended for secure applications -- that require the high security standards of a (contactless) smartcard -- and *not* for emulating NFC tags with NDEF data. I'm using a usb hid(human interface device) reader which outputs some cryptic ID's if a passive tag(sticker) is scanned but if i want to write a tag with the nexus s nothing happens. There is no new intent started at the ddms. You can't access the Nexus S as if it were a *NFC tag*. (Don't confuse _NFC tag_ with _card emulation_, see note above.) br, Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Google removed 10 mallware apps - I'm affected. Please help
Sorry, I only saw the beginning of the list. I take back the 2/3 of spam comment I made earlier. It's actually more like 95% spam. I can now categorically say this guy deserved his app removed. No one can say that they didn't know this was wrong. On Jun 15, 2:15 pm, Romain Guy romain...@android.com wrote: After the list of devices you have the following: Torch, Light, Camera, Flash, Color, Dark, Bright, Brightness, Brightest, Lights, Signal, Find Keys, Screen, Effects, brightest flashlight, Emergency, Warning, Police, brightest led flash, DroidLight, Maximum, Backlight, Best, Great, Fun, Cool, Coolest, Widget, led flashlight, led flash, led light, brightest led flashlight, camera light, color flashlight, color flash, tesla, bright light, brightness, flash camera, flash, cam light, screen light, light effects, simple flashlight, search, screen brightness, brightest app, max brightness, maximum brightness, dark, darkness, police light, emergency light This looks to me like you overdid it a little bit ;-) On Tue, Jun 14, 2011 at 11:02 PM, n.a devuni...@gmail.com wrote: On Jun 15, 8:40 am, Zsolt Vasvari zvasv...@gmail.com wrote: What Google has to do is to create a separate Tags input field in the market admin panel, give it some limit and then let the developers compete. This is the fair way. In your case, 2/3 of your app description was keywords I'm sorry, but this is not true. You can still see it here: http://www.androidpit.com/en/android/market/apps/app/com.devuni.flash... Also, most of the keywords are just device models, which the flashlight works on. -- so you were by far one of the worst violators. Perhaps one of your competitors reported you for stealing from them and Google acted on it. I have no idea. Is there anything stopping you from creating a new account, paying the $25 again and republishing your app? It's not ideal, but since you have a free app, it's not like you have to migrate the users. If your app is good, and I believe it was, your rank would rise fairly quickly. This is a workaround. I hope that Google will change their internal policy and start warning the developers before deleting applications and accounts. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] ListView and GridView Rendering
It probably works with Android 3.x (API level 11 and up) only. On Tue, Jun 14, 2011 at 11:19 PM, oriharel ori.ha...@gmail.com wrote: ADT said that version 11 brings ListView and GridView Rendering, however it's disabled in my eclipse and shows: not supported for this SDK version; try changing the Render Target. I tried changing the render target but no help there. Suggestions? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Displaying a list with buttons at the bottom
Just place two button widget after the ListView you defined in the layout file. On Tue, Jun 14, 2011 at 7:13 PM, Charles Barnwell cgbarnw...@gmail.comwrote: I want to display a list of results in a scrollable list, but at the bottom I want to have two buttons, return and clear, that are always displayed when I scroll down the list. Any about suggestions about how I could achieve this? -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- *-- Mohammed Hossain Doula Software Engineer desme INC.* *www: http://www.hossaindoula.com @: ron...@desme.com* *facebook: http://www.facebook.com/ROnyWorld* *twitter: http://www.twitter.com/hossaindoula* *blogspot: hossaindoula.blogspot.com GSM: 00880-167-4347101* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
That's a fair enough assessment of what went wrong. But its really not a justification to someone with an excruciatingly penetrating app (I mean seriously, he's sending ioctls to drivers to support really old platforms) for just banning the developer account. I understand you might not be in the capacity to give an official, legal opinion on the matter so I take your comment with a grain of salt, but still... the lack of due process for misdemeanors is ridiculous. Keyword spamming? If anyone in their right minds that was trying to push an otherwise legit app in a market of (in his case, probably) hundreds of competitors, I'd hope there was some sort of recourse for small, indie developers to pay contrition and move on without having to rebrand their apps. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
sorry, I meant ... if anyone in their right minds that were trying to push an otherwise legit app ... ran slighly afoul of a cumbersome TOS , I'd hope there was some sort of recourse ... Late, tired, hungry, blah. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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] Post video to youtube from sd card
Hi I want to post video to youtube from android application.Is there any sdk to implement it?Please give some link of tutorial to do this. Thanks in advance. Regards goutom -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Google removed 10 mallware apps - I'm affected. Please help
To be clear: I'm not justifying anything and I don't know more about Market than you guys do. I actually probably know less since I haven't published an app in a couple of years. I was only commenting on the discussion about whether that particular app was using too many keywords. I do not know whether this is an actual issue, whether this was the reason for the takedown, etc. Android is a big project, as much as I'd like to know everything there is to know about it, I'm not an expert in every area :) On Tue, Jun 14, 2011 at 11:27 PM, Chris crehb...@gmail.com wrote: That's a fair enough assessment of what went wrong. But its really not a justification to someone with an excruciatingly penetrating app (I mean seriously, he's sending ioctls to drivers to support really old platforms) for just banning the developer account. I understand you might not be in the capacity to give an official, legal opinion on the matter so I take your comment with a grain of salt, but still... the lack of due process for misdemeanors is ridiculous. Keyword spamming? If anyone in their right minds that was trying to push an otherwise legit app in a market of (in his case, probably) hundreds of competitors, I'd hope there was some sort of recourse for small, indie developers to pay contrition and move on without having to rebrand their apps. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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 -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: Reading PayWave (ISO14443-B format) track information using Android 2.3.3 NFC API
Hallo Shekhar, if the card supports ISO 14443-4 (which every EMV card should do) you can access this card with APDU commands through ISO-DEP. (* Except for some cards that seem to require a higher magnetic field strength than the Nexus S provides.) Using APUD commands you can then access whatever information the EMV standards allow you to access. br, Michael On 14.06.2011 08:37 Shekhar wrote: Hi Michael, I have a doubt.You mean to say that if the EMV card supports ISO 14443 standard then we can be able to read the payment details of the credit cards using APDU commands? Thanks, Shekhar On Apr 25, 5:09 pm, Michael Roland mi.rol...@gmail.com wrote: Hallo lal, I'm trying to Read Track data for Payment cards (PayWave, PayPass). As per my understanding they follow ISO 14443 B. With new NFC API, byte[] b1 = myTag.getHiLayerResponse(); //b1 is not null, but length == 0 [...] result = myTag.transceive(b1); It will certainly not help if you send the bytes retrieved from getHiLayerResponse() back to the card. Especially if you say they are zero length anyways. These payment cards implement theEMVstandards. Application-to- application communication is done on the level of APDUs. Therefore, it should not matter if this card is ISO 14443 Type A or Type B. What matters is that IsoDep (= ISO 14443-4) is supported. Through the IsoDep interface you directly transmit APDU commands. Have a look at the ISO/IEC 7816-4 standard on how APDU command-response pairs are formatted. Regarding theEMVprotocol the specifications are available from EMVCo's website:http://www.emvco.com/ br, Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. 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: SoundPool and DualCore (Samsung Galaxy S2) : Random Crashes ingame
I ruled out following things: * Mediaplayer still works (for Background Loops) * Increasing the MaxStream doesn't solve the Problem * Switching refering Context to the most actuall doesn't solve the Problem * Commenting out the AudioManager (vor current Volumes) doesn't solve the Problem So even if I use the SoundManager in the most simple way possible the game crashes randomly after 30sec-5 min Only by switching of FX Sounds completely the game runs smooth. I'm using OGG Files with a very low sample Rate, all around 5-15 kb size, but i don't think that's the problem here. -- You received this message because you are subscribed to the Google Groups Android Developers group. 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