[android-developers] Upload youtube videos by intent
Hello, I googled this and found that the suggested way is as follows: Intent ii = new Intent(Intent.ACTION_SEND); ii.setType(video/3gp); ii.putExtra(Intent.EXTRA_STREAM, uri); ii.putExtra(Intent.EXTRA_TEXT, Sample text ); ii.putExtra(Intent.EXTRA_TITLE, Mega video); startActivity(Intent.createChooser(ii, kerker)); But I found it will throw NullPointer exception finally. The reproduce procedure is listed below: 1. Trigger the intent above. 2. Select the Youtube app that is in the popup dialog to enter Youtube video upload page. 3. Input the video title and description. 4. Click Upload button. 5. Popup one error dialog. The log stack trace is below. Could someone give me some suggestions or ideas? Thanks in advance. 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): java.lang.NullPointerException 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at java.util.Calendar.setTime(Calendar.java:1290) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at java.text.SimpleDateFormat.formatImpl(SimpleDateFormat.java:730) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at java.text.SimpleDateFormat.format(SimpleDateFormat.java:1011) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at java.text.DateFormat.format(DateFormat.java:384) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at com.google.android.apps.uploader.clients.youtube.YouTubeSettingsActivity.a(Unknown Source) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at com.google.android.apps.uploader.clients.SettingsActivity.b(Unknown Source) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at com.google.android.apps.uploader.clients.c.run(Unknown Source) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): at java.lang.Thread.run(Thread.java:1096) Cheers, NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Contacts listview question
Hello all, There are four tabs displayed by Contacts application, they are dialer, call log, contacts and favorites respectively. Both contacts and favorites tabs are the same activity. There is one behavior I don't know how to work. That is, how listview in favorites tab refresh self view? There are two ways to adding contact to favorites. One is via context menu item Add to favorites and the other is to click the list item and touch the star image to be starred. I found that it only updates the starred column of contacts table, it can be either 0 or 1. The strange thing is that if I update the starred column value manually, the favorites can't refresh immediately until you execute this app next time. Any ideas or suggestions are appreciated. NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Reflection of class members
Hello all, If I have a class like below: class A{ private ArrayListB mList; } How do I to invoke the methods of mList member? Such as add, remove, clear and so forth. Thanks in advance. NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: hi
I agree with Frank to read the android official documentation first. After finishing it, you will be familiar with android main concepts and android application design guidelines. It's much helpful. NightGospel On 7月23日, 上午7時01分, Frank Weiss fewe...@gmail.com wrote: Then go to the documentationhttp://developer.android.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] Widget update problem
Hi all, I wrote one widget that updates per 5-seconds and I found that if it's run for a period of time, com.android.acore will occupy almost 100% cpu. Could somebody give me suggestions or help? Thanks in advance. NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Widget update problem
Hello, I create one service and use AlarmManager to send broadcast per 5- seconds to update CPU usage and let widget show result. I'm sure the calculation of cpu usage will not take more than 5 seconds. I made a test that creates one widget on home screen and does nothing and use top command to monitor the variations of cpu usage. I found that the com.android.acore process will occupy cpu usage gradually. I knew that lancher (home screen) application is running in com.android.core process but I don't know why widget update so frequently will cause it occupy more and more cpu usage. So strange. :( NightGospel On Jul 21, 8:57 pm, Matty busbus...@gmail.com wrote: How are you delaying 5 seconds, and what operation are you doing once that 5 seconds is complete? Could it be taking more than 5 seconds, thus slowly building up the number of processes that are running? On Jul 21, 5:32 am, NightGospel wutie...@gmail.com wrote: Hi all, I wrote one widget that updates per 5-seconds and I found that if it's run for a period of time, com.android.acore will occupy almost 100% cpu. Could somebody give me suggestions or help? Thanks in advance. NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Widget update problem
Hello, ah, I'm not sure actually, but I tested it in emulator and my phone (X10). They both have such a problem. Emulator has nothing but my widget in home screen, but it still occurs. I'm not very learned in Android, but if you have any constructive suggestions, I'll appreciate it. :) NightGospel On Jul 21, 11:50 pm, DanH danhi...@ieee.org wrote: Stupid question: Are you sure you're just updating the widget and not stacking one widget on another on another...? On Jul 21, 4:32 am, NightGospel wutie...@gmail.com wrote: Hi all, I wrote one widget that updates per 5-seconds and I found that if it's run for a period of time, com.android.acore will occupy almost 100% cpu. Could somebody give me suggestions or help? Thanks in advance. NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Widget update problem
Hello Paul, You're right. As you said, I traced RemoteViews.java file and found that it maintains mActions arraylist to fill with actions to be updated. Other suggestions are also appreciated. I learned much! Thank you all. :) NightGospel On 7月22日, 上午5時05分, Paul Turchenko paul.turche...@gmail.com wrote: I'm 99% sure that the problem is that you don't create RemoteViews every time (reusing old instance). This way mActions arraylist of RemoteView will get filled up with a bunch of actions and they all have to be dispatched by acore process. I would offer 2 workarounds: 1. Create NEW instance of RemoteView each time you're about to update your app widget OR 2. Use reflection to clear mActions field of RemoteViews and then you're fine to reuse old instance (just make sure to gracefully handle reflection exceptions in case you're on different firmware and there's no mActions member) IMO, the best thing to do is attempt to clear mActions and only if it fails, create a new instance. On Jul 21, 9:33 pm, Kostya Vasilyev kmans...@gmail.com wrote: Hi, This is what I would do (although I am no Brian Boitano). Make widget update code (that builds RemoteViews) really, really simple - like setting one text view to an increasing number. Then gradually add code back until you find the culprit. -- Kostya 21.07.2010 20:07, NightGospel пишет: Hello, ah, I'm not sure actually, but I tested it in emulator and my phone (X10). They both have such a problem. Emulator has nothing but my widget in home screen, but it still occurs. I'm not very learned in Android, but if you have any constructive suggestions, I'll appreciate it. :) NightGospel On Jul 21, 11:50 pm, DanHdanhi...@ieee.org wrote: Stupid question: Are you sure you're just updating the widget and not stacking one widget on another on another...? On Jul 21, 4:32 am, NightGospelwutie...@gmail.com wrote: Hi all, I wrote one widget that updates per 5-seconds and I found that if it's run for a period of time, com.android.acore will occupy almost 100% cpu. Could somebody give me suggestions or help? Thanks in advance. NightGospel -- Kostya Vasilev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Removing applications programatically.
Hi Nando, When a package is installed or removed, system will broadcast out the messages: android.intent.action.PACKAGE_ADDED or android.intent.action.PACKAGE_REMOVED. You can write a broadcast receiver to capture such broadcasts and don't forget to define data scheme (package) for receiver. NightGospel On 6月30日, 上午3時40分, Nando Android nando.andr...@gmail.com wrote: Is it possible to remove an application programatically? If so, shall I look at the package manager for that or is there an example some place? When a package is installed, I believe there is a broadcast message to the system saying that. Is it possible to capture that broadcast message? Maybe the following question should be: What, also, could be done to avoid an application from being removed programatically? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Int to string
Hi Jason, EditText component provides setText() method with one integer indeed, but it's resource id. This means it will seek the string you defined in xml file. If the parameter you pass is not a resource id, it will occur error. Please invoke String.valueOf(tmp) or Integer.toString(int) method to convert your int to string. NightGospel On 6月11日, 上午11時58分, Jason Hensler jasonehens...@gmail.com wrote: It seems like in my code that my app is crashing because it is a int and not a string. This is my code: I am assuming that tmp has a value.. For debugging what is the best way to check varibles for values? If i remove the line with the red text everything runs fine. EditText text; text = (EditText) findViewById(R.id.*EditText01*); SharedPreferences myPrefs = *this*.getSharedPreferences(muter, * MODE_WORLD_READABLE*); SharedPreferences.Editor prefsEditor = myPrefs.edit(); *int* tmp = myPrefs.getInt(state, 0); text.setText(tmp); Thanks in advance! Jason -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] ANR discussion
Hi all, Be one of Android developers, you must be aware of the ANR(Application Not Responding) very well and understand how to avoid it. There are many ways you can choose to do. I usually create a thread and use a flag to trigger it to handle time-consuming tasks. For example: public class ActivityA extends Activity implements OnClickListener{ private boolean isDestroyed = false; private FetchThread thread; public void onCreate(Bundle b){ super.onCreate(b); . . } public void onDestroy(){ super.onDestroy(); isDestroyed = true; } public void onClick(View view){ thread = new FetchThread(); thread.setStartFlag(true); thread.start(); } class FetchThread extends Thread{ private boolean shouldStart = false; public void run(){ while (!isDestroyed){ if (shouldStart){ shouldStart = false;; // do time-consuming task // after task is finished, use handler to update UI } try{ sleep(500); } catch (Exception ex){} } } public void setStartFlag(boolean b) { shouldStart = b;} } } The above is the way I usually do and it's as the same as running one background service. Does anyone be able to provide your solution? I think my method is not very smart. :( NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How global is the app market?
Hi Neilz, Be one of Asian people, AFAIK, mainland China people they have market their own, it's name is 安卓市場(Translation to English is Android Market). Because Google doesn't open Asian area (except for Japan) to let developers upload paid softwares, they are out of patience and create one market to play. Their android market has many very qulified and full-idea softwares I've never seen. But one drawback is that many of them are Simplified-Chinese only. :( Their forum: http://hiapk.com/bbs/ NightGospel On 6月10日, 上午2時27分, Neilz neilhorn...@gmail.com wrote: Hi. I'm UK based and I'm wondering how much of the world can see and download my apps from the market? For example, the chinese market, which I believe is quite large, can they see UK or US based apps? Or does some kind of specific translation need to be done for this to happen? Or is it a separate market place? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Developer Console page of Market not work correctly on Chromium browser
Hi Alger, How about this? http://www.google.com/support/forum/p/Android+Market?hl=en You can post a question there. NightGospel On 6月3日, 下午5時02分, Alger, Lin addr...@gmail.com wrote: The Developer Console page of Android market not work on Chromium browser. Some hyperlink item on this page are un-clickable, such as Upload Upgrade, Replace this image, and add language. However it's work correctly on Fire-Fox browser. I don't know how to report this issue to Chromium developing team, please help me to report this issue. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Android finishActivity()
Hi Mike, How about sending a broadcast to A when pushing back button in B ? NightGospel On 6月2日, 下午5時03分, mike hasitharand...@gmail.com wrote: hi kamiseq, so then how can i finish the Activity A from Activity B??? can't use finishActivity() regards, Randika -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Android finishActivity()
Hi Mike, I mean you can register one BroadcastReceiver in A to receive the broadcast taht is sent from B. For example, public class A extends Activity{ public void onCreate(Bundle b){ . . . registerFinishedReceiver(); } private void registerFinishedReceiver(){ IntentFilter filter = new IntentFilter(idv.nightgospel.action.FINISH); registerReceiver(finishedReceiver, filter); } public void onDestroy(){ super.onDestroy(); unregisterReceiver(finishedReceiver); // never forget to unregister receivers } BroadcastReceiver finishedReceiver = new BroadcastReceiver(){ public void onReceive(Context context, Intent intent){ A.this.finish(); // we finish Activity A here when receiving the broadcast } }; } public class B extends Activity{ . . . public boolean onKeyDown(int keyCode, KeyEvent event) { // TODO Auto-generated method stub if (keyCode == KeyEvent.KEYCODE_BACK) { Intent intent = new Intent(idv.nightgospel.action.FINISH); sendBroadcast(intent); // we send broadcast here to tell A, you should // finish yourself finish(); return true; } return false; } } The above sample codes are what I mean. NightGospel On 6月2日, 下午7時07分, mike hasitharand...@gmail.com wrote: hi NightGospel, what exactly did u mean? could u please give me a sample? regrads, Randika On Jun 2, 3:48 pm, NightGospel wutie...@gmail.com wrote: Hi Mike, How about sending a broadcast to A when pushing back button in B ? NightGospel On 6月2日, 下午5時03分, mike hasitharand...@gmail.com wrote: hi kamiseq, so then how can i finish the Activity A from Activity B??? can't use finishActivity() regards, Randika -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How do I programatically push my app to run in background?
Hi Archana, On 6月1日, 下午1時00分, Archana archana.14n...@gmail.com wrote: Hi ,thanks for your reply,can you tell me how can i check wedr my app is running in background.Now I am checking by long press Home key.Is their any other way? Sure. If you are using Eclair , you can check background running services by Settings application. Settings - Applications - Running services, then you will see all running services. If you are not using Eclair, you can connect to the device via adb shell command and enter ps command to see all processes. You can refer to http://developer.android.com/guide/developing/tools/adb.html to get more info. If we give this.finish(),our current activity only getting finish,but stil our app is running in background.Right? But I cant see my app in running process. If you start one service, it will only be killed when system shutdowns or you call stopService() or call stopSelf() in service itself programmatically. For example, public class A extends Activity{ public void onCreate(Bundle b){ super.onCreate(b); setContentView(R.layout.main); Intent i = new Intent(this, B.class); startService(i); // we start B here // stopService(i); // this is to kill B } } public class B extends Service{ private boolean isDestroyed = false; public void onCreate(Bundle b){ super.onCreate(b); } public void onDestroy(){ super.onDestroy(); isDestroyed = true; } public void onStart(Intent i, int id){ super.onStart(i, id); RunningThread thread = new RunningThread(); thread.start(); } public IBinder onBind(){ return null; } class RunningThread extends Thread{ public void run(){ while (!isDestroyed){ // you can put your time-consuming tasks here . . . // assume we're finished here stopSelf(); // this is to kill B } } } } In above example, if you don't call stopSelf() or stopService(), B will continue running in background. NightGospel On May 31, 11:37 am, NightGospel wutie...@gmail.com wrote: Hi Archana, This is simple. Just put your time-consuming tasks to a service and it will run in background and be destroyed until system shutdown or you stop the service programmatically. You can see the link to get more info and it can help you to solve this problem. http://developer.android.com/reference/android/app/Service.html NightGospel On 5月31日, 下午2時20分, Archana archana.14n...@gmail.com wrote: Hi, How can we programatically push our app to run in background? I am doing one browser app. and when I am directly launching my application and clicking back key . It will show in the list of background running process.At this time Category is CATEGORY_LAUNCHER but at the same time if we try to run same app via third party app.and then clicking back key,its not showing in the list of background running process.Here the Category is CATEGORY_BROWSABLE.and its not displaying in the list of running process.I noticed that the same behaviour in default android browser. But is their any way to make my app to run in background by clicking back key without killing my application? Please help,its very urgent. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to send date from service to activity
Hi Karteek, You should try to register one callback method from activity to service. Then service can call this method to trigger event. The following page has sample codes to reference: http://developer.android.com/guide/developing/tools/aidl.html NightGospel On 6月1日, 下午4時24分, Karteek N kartee...@gmail.com wrote: Hi, I have one service in one application. In my second application i am binding to that service using aidl tool . Now i want to send some data from my service to activity which is running in second application. How can i achieve this. Any help please, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How do I programatically push my app to run in background?
Hi Archana, This is simple. Just put your time-consuming tasks to a service and it will run in background and be destroyed until system shutdown or you stop the service programmatically. You can see the link to get more info and it can help you to solve this problem. http://developer.android.com/reference/android/app/Service.html NightGospel On 5月31日, 下午2時20分, Archana archana.14n...@gmail.com wrote: Hi, How can we programatically push our app to run in background? I am doing one browser app. and when I am directly launching my application and clicking back key . It will show in the list of background running process.At this time Category is CATEGORY_LAUNCHER but at the same time if we try to run same app via third party app.and then clicking back key,its not showing in the list of background running process.Here the Category is CATEGORY_BROWSABLE.and its not displaying in the list of running process.I noticed that the same behaviour in default android browser. But is their any way to make my app to run in background by clicking back key without killing my application? Please help,its very urgent. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how can i pass the values of one activity to another
Hi Dixit, You can put values to the intent by invoking Intent.putExtra() method and retrieve it by invoking Intent.getXXXExtra(). For example, in one.java: Intent myIntent = new Intent(view.getContext(),two.class); myIntent.putExtra(url, http://www.newkerala.com;); startActivityForResult(myIntent, 0); in two.java: Intent intent = getIntent(); URL url = new URL(intent.getStringExtra(url)); Please refer to http://developer.android.com/reference/android/content/Intent.html to get more information. NightGospel On 5月31日, 下午3時58分, Dixit Wadhwani dixitwadhw...@gmail.com wrote: * one.java: import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class one extends Activity { Button click; Button click1; /** Called when the activity is first created. */ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main2); click = (Button) findViewById(R.id.click); click.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { Intent myIntent = new Intent(view.getContext(),two.class); startActivityForResult(myIntent, 0); } }); click1 = (Button) findViewById(R.id.click); click1.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { Intent myIntent = new Intent(view.getContext(),two.class); startActivityForResult(myIntent, 0); } }); } } two.java: import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class two extends ListActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.mains); try { URL Url = new URL(http://www.newkerala.com;); } catch (IOException e) . { e.printStackTrace();} .. ... . } Now what i want whenever i select a button from one.java file it should pass the URL in two.java and the URL is defined in one.java. In other words how can i pass the different-different URL on the different-differentbutton * -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Device Seeding Program for Top Android Market Developers
Hi all, Does this program still continue? Because I have one app achived the threshold (over 5000 downloads and average rating is 3.5 up) two weeks ago, I hope I can be one of the receivers. :) NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] About application UI layout problem
Hi all, I have a device and LCD is 800*480 resolution and density is 160. It works perfect under cupcake, but when I push those prebuilt applications (or download from Android Market) into my device with Eclair via adb, the UI layout is half- sized! The strange thing is that those applications built together with image are normal (AlarmClock, Settings, Contacts and so on). If I set density to 240, it can show full screen but everything is enlarged and looks ugly. Is it possible to make those apks full-screen without rebuilding them? Does anyone have any clues for this? Thanks in advance. NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install an app programaticaly on Android
Hi Nando, Yes, you can do it...but you must satisfy the following conditions: 1) Push this application into system/app folder. 2) Be sure that this apk without copy protection. I've written one application installer for my company and it works well. NightGospel On 5月25日, 上午5時13分, Nando Android nando.andr...@gmail.com wrote: I was hoping to write a service on Android that would list all applications installed as per previous post. Then, It would decide to update automatically some apps and install others. Is there any class on the SDK that has this kind of functionality? That is, can I call some API or code to install an application on the phone? Can I force some updates as well? 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 athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en