[android-developers] Question about Android Tablet

2010-04-14 Thread dalbom
Hi, I'm going to develop an Android device which is not a phone, could be Tablet or Portable Game Player. The device will has the external input devices such as keyboard, mouse or joystick. Here is my question. Does Android provides an API for handling that kind of external input devices, or

Re: [android-developers] Re: twitter and facebook intent : suggestion for the community

2010-04-14 Thread remy berrebi
@ko5tik: thanks for your answer, but i atually want to use intent without any prompt. to let user save time and not click thousand time which program he want that i use to send new twitt :-) about facebook i didn't find any intent about it. my gaol is to use authentification already setup on

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
hi guys, hi SREEHARI, i have also created a ContentProvider. and i want to access this ContentProvider from another application. this is the Manifest.xml in the contentProvider created application. provider android:name=.database.CProvider android:authorities=com.sabretch.colorEyeD

[android-developers] How to bring activity to front?

2010-04-14 Thread mariush
Hi, Lets suppose that i have an activity A, that activity is moved to background(function moveTaskToBack is used), and after while i want to bring this activity to front again. This code is used: Activity A = getActivity(); Intent i = new Intent(A, A.getClass()); i.setAction(Intent.ACTION_MAIN);

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread kiran
hi Sreehari, I used the following content URI as follows Uri myURI = Uri.parse(content://com.android.mytable/table1); The above i used in application one while creating database The same myURI used in application2 two query the table. com.android.mytable is the actual package name of the

[android-developers] Re: twitter and facebook intent : suggestion for the community

2010-04-14 Thread ko5tik
On Apr 13, 8:35 pm, Darknoe noe6...@gmail.com wrote: I'm trying to develope a software that connects to facebook/twitter, which api are you using? At the moment I evaluate. There are several java API listed on twitter website: http://apiwiki.twitter.com/Libraries#Javanbsp But I do not like

Re: [android-developers] Re: Database insertion timings

2010-04-14 Thread Alok Kulkarni
@Walter, i tried that out. Instead of sb.toString() , i put the insert statement string over there with Compile statement format.. Its taking *27* *seconds *!! The database schema is as follows Table *Artist* id Integer Primary Key name nvarchar(200) Table *Album* name nvarchar(200) label

[android-developers] Re: twitter and facebook intent : suggestion for the community

2010-04-14 Thread ko5tik
On Apr 14, 8:35 am, remy berrebi zehunte...@gmail.com wrote: @ko5tik: thanks for your answer, but i atually want to use intent without any prompt. to let user save time and not click thousand time which program he want that i use to send new twitt :-) Then you need an api. about facebook i

[android-developers] Re: Not using a WakeLock so why does the device stay awake?

2010-04-14 Thread westmeadboy
So I tried this: Start service Press Home Start some other 3rd party app (so that activity is in the foreground) Press power button to blank screen A few minutes later, I press the power button to unblank the screen and discover the service finished successfully. This means the phone never went

[android-developers] Re: Threads or ASyncTask?

2010-04-14 Thread MobDev
I am just making a wild guess here, and I hope more experience people will support or deny it (Mark, are you awake yet ? ;) ) but this might be a good scenario for a Service ? On 6 apr, 16:21, jfbaro jfb...@gmail.com wrote: Hi, I am working on a simple application (studying purposes) which

[android-developers] Out of Memory for Large Images

2010-04-14 Thread Kamal Hasan
I want to display an image which is around 4 MB,It is giving Out of Memory while loading the image.It is working fine for small images. Is there any alternative method using which I can display large size images. FileInputStream fin = new FileInputStream(new

Re: [android-developers] Re: Not using a WakeLock so why does the device stay awake?

2010-04-14 Thread Dianne Hackborn
Use this to see what wake locks are being held in user space: adb shell dumpsys power Note that the device never goes to sleep while plugged in to USB. Also the system will never hold a wake lock for you just because you have an activity or service running. You can have it do so for you in an

[android-developers] Re: Not using a WakeLock so why does the device stay awake?

2010-04-14 Thread westmeadboy
Just to confirm: the device is not plugged into USB and I'm not using any broadcasts or broadcast receivers. When I do plug in and start the service these are the wake locks: mLocks.size=3: SCREEN_DIM_WAKE_LOCK 'StayOnWhilePluggedIn Screen Dim' activated (minState=1)

[android-developers] Re: My team is in urgent need of android developers

2010-04-14 Thread MobDev
Lead the development of at least 2 successfully shipped Android applications you know most Android apps are made by very very little companies (2-3 employees) or by one man companies ? Mostly because a big team, which needs a project-manager/leader, is too expensive in comparison to the

[android-developers] Re: Out of Memory for Large Images

2010-04-14 Thread Mario Zechner
Try not to load the image into a byte array before passing it to the BitmapFactory but rather pass the InputStream directly to the BitmapFactory. There is a limit for the size of an image, however, 4mb should work. On 14 Apr., 09:25, Kamal Hasan kamal.hasa...@gmail.com wrote:           I want to

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread Bob Kerns
I believe your problem is that you don't declare the permissions with the permission/ tag in the Application1 manifest. To verify this, I created two apps, with your manifests. I changed the package name from 'com.android' to 'com.example', because you shouldn't be using com.android, but

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-14 Thread Al Sutton
I think people need to look at the bigger picture here; The retail value of what Google is doing here is probably over US$1 million (working on 2,000 phones at US$500 each). If what they get for that investment is a lot of negativity on public forums which brings into question their ability to

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread Bob Kerns
Of course, you should use something other than @string/hello as the descriptions! It insists on a resource, and I just grabbed those. On Apr 14, 12:53 am, Bob Kerns r...@acm.org wrote: I believe your problem is that you don't declare the permissions with the permission/ tag in the Application1

[android-developers] Re: Memory profiling for my Android application

2010-04-14 Thread SAM
Thanks DDMS worked and provided me data I required. On Apr 13, 6:31 pm, social hub shubem...@gmail.com wrote: did u check out DDMS On Tue, Apr 13, 2010 at 7:29 AM, SAM gulati...@gmail.com wrote: Hi, I have a requiirement of finding out the max RAM usage of my application. I tried

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread Bob Kerns
You get your ClientProviderClient like this: Uri uri = Uri.parse(content://com.sabretch.colorEyeD/ yourtable); ContentProviderClient cpc = getContentResolver().acquireContentProviderClient(uri); (This only uses the authority part of the Uri --

[android-developers] Checking if a cursor contains a valid result

2010-04-14 Thread Federico Paolinelli
How do I check if a query returns a valid cursor? It looks like that the query method returns a not null cursor even though there are no record in the sqllite db. Looking at the notepad example, the fetchNote method returns the cursor anyway, and the comment says that the method throws a

Re: [android-developers] Checking if a cursor contains a valid result

2010-04-14 Thread Liviu Ungureanu
You can try cursor.getCount() before cursor.moveToFirst(). From javaDoc: public abstract int getCount () Since: API Level 1 ../../../guide/appendix/api-levels.html#level1 Returns the numbers of rows in the cursor. Returns - the number of rows in the cursor. If getCount() is 0 that mean your

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-14 Thread Piotr
So, before posting up more No change here or Why haven't I got my 'phone posts, stop and think; I can read these complaints and none of them hurts me. - When someone posts a Got one email in your region don't expect yours to have been delivered on the same day. Wait a couple of weeks.

[android-developers] Re: Checking if a cursor contains a valid result

2010-04-14 Thread Federico Paolinelli
On 14 Apr, 10:49, Liviu Ungureanu smartli...@gmail.com wrote: You can try cursor.getCount() before cursor.moveToFirst(). From javaDoc: public abstract int getCount () Since: API Level 1 ../../../guide/appendix/api-levels.html#level1 Returns the numbers of rows in the cursor.  Returns    -

[android-developers] Re: Checking if a cursor contains a valid result

2010-04-14 Thread Federico Paolinelli
On 14 Apr, 10:49, Liviu Ungureanu smartli...@gmail.com wrote: You can try cursor.getCount() before cursor.moveToFirst(). From javaDoc: public abstract int getCount () Since: API Level 1 ../../../guide/appendix/api-levels.html#level1 Returns the numbers of rows in the cursor.  Returns    -

[android-developers] how can read total byte array in image in sdcard in android

2010-04-14 Thread narasimha
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); ImageView image = (ImageView) findViewById(R.id.picview); EditText value=(EditText)findViewById(R.id.EditText01); FileInputStream in; BufferedInputStream

Re: [android-developers] How to bring activity to front?

2010-04-14 Thread Liviu Ungureanu
I think you cannot bring an activity to front after the activity called his onPause() method without actions from user(start your application from menu, from notification, resume it) or without starting it from an service. Maybe someone else know more but if you want to bring your activity to

Re: [android-developers] Google Search

2010-04-14 Thread Liviu Ungureanu
Hi! First, Google Local Search return the results in JSON format. This is an example link : http://ajax.googleapis.com/ajax/services/search/local?v=1.0q=Restaurant,%20loc:%2047.3,8.6hl=enrsz=largestart=1 I create my url using latitude and longitude got from GPS like this: String url =

[android-developers] Re: Simple bluetooth presence detection?

2010-04-14 Thread VovaN
You should read http://developer.android.com/intl/zh-CN/guide/topics/wireless/bluetooth.html And pay attention on device discovering. On Apr 12, 11:35 pm, Mark Wyszomierski mar...@gmail.com wrote: Hi, Really general, very new tobluetooth. Can we have one android device broadcasting a simple

[android-developers] Re: Bluetooth pairing request

2010-04-14 Thread VovaN
If you click on notification dialog'll appear. It's Android behavior. On Mar 30, 11:02 am, Rafał Grzybowski aguyngue...@gmail.com wrote: Hello there When myBluetoothapplication is about to create SPP connection to the unpaired remote device, pairing notification is displayed. From the

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-14 Thread ratson
I have just talked to a Hungarian guy who received his nexus 3 weeks ago (was in ADC top 10) sender was Brightpoint Netherlands, he is not sure if the shipper was FedEx or DHL. i suppose we will also receive ours in a few weeks time On ápr. 14, 10:52, Piotr piotr.zag...@gmail.com wrote:

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-14 Thread Willem Stoker
Thats correct. I spoke to someone who got a phone from ADC too. It also came from Brightpoint NL. It's just not sure if Google will use Brightpoint again this time. We'll see in the next 2 weeks. The Brightpoint guy I contacted by email didn't know anything of this. We will just have to wait a

[android-developers] Re: Weird OpenGL performance in Nexus one

2010-04-14 Thread Vladimir
You are right, being an OpenGL noob I only timed GL commands, the actual fps is around 40 On Apr 14, 1:24 am, Mario Zechner badlogicga...@gmail.com wrote: Hm, seems my post got swalled by the flying spagetthi monster. Here we go again. I wonder how you measure the time. Do you measure you

[android-developers] Re: Weird OpenGL performance in Nexus one

2010-04-14 Thread Mario Zechner
That's still better than what i'd have excepted. Do you draw 4-5 full screen quads with alpha blending? Are they textured? Gotta try that myself sometime. 40fps wouldn't be that bad. On 14 Apr., 11:36, Vladimir vladimir.funti...@gmail.com wrote: You are right, being an OpenGL noob I only timed

[android-developers] Re: App released but only tested using the emulator. Could you please test it to me?

2010-04-14 Thread Vladimir
Tried on 1.6 G1 and 2.1 Droid - no problems. Minor bug - when switching sound packs before starting the metronome with FCE off, for the first click the sound from the previous pack is used. Also, support for custom sounds will be among the first things users will ask for :) On Apr 14, 6:59 am,

[android-developers] Re: Petition: Google, please improve the Android Market.

2010-04-14 Thread Rob Irondad
Well this petition was really about the Market specifically but I agree with your remarks. For what it's worth, IMHO, I believe some of the points in the petition could be fixed quickly (for instance: the description length limit), but for some (perhaps good) reason, nothing is happening.

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-14 Thread Lorents
I see your point Al, but there are some problems delivering phones to Europe. Thanks to all the No changes here posts in this thread I know that everything is probaly ok even if I havent received it within the stated time frame. Much better that we communicate directly instead of all of us sending

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
hi Bob, thanks for your reply. mind me what exactly is this ContentProviderClient as well as acquireContentProviderClient. i'm getting error when i implement those. even there's no way to import them. is it a class which should be implemented by me currently this is what i'm doing Uri

[android-developers] Eclipse + ADT + ant +make: Complex project structure

2010-04-14 Thread Floof
Hello, In the process of creating a multi-platform 3D engine, I am currently having hard times configuring Eclipse properly to handle my project structure. What is causing my problems is the fact that my project has a fairly complex structure. I'll try to explain: My test application uses a

[android-developers] Re: how to remove/invisible the scroll bar

2010-04-14 Thread Vinay S
Hi, Try using Linear layout with orientation horizontal. Add button, followed by Image, then another button. Add your code for button click to change the image. Regards, Vinay On Apr 9, 11:16 am, Vijay S vijay...@gmail.com wrote: Hi i added some buttons in HorizontalScrollView and its

[android-developers] Bluetooth : Device Name/scan/discoverable event is not getting generated.

2010-04-14 Thread guru
Hi, some times when I try to rename device name or scan for devices, nothing is working... Success case: event_filter: Received signal org.bluez.Adapter:PropertyChanged from / org/bluez/1518/hci0 I/BluetoothEventLoop( 1229): ---onPropertyChanged IN I/BluetoothEventLoop( 1229): ---Broadcasting

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
hi Bob, thanks for your reply. mind me what exactly is this ContentProviderClient as well as acquireContentProviderClient. i'm getting error when i implement those. even there's no way to import them. is it a class which should be implemented by me currently this is what i'm doing Uri

[android-developers] Re: Social Gaming Platforms

2010-04-14 Thread Michael A.
@Justin: That's a very good point Justin. I doubt that Apple will be able to kill off the truly established social sites, however, for two reasons: 1. The Apple social gaming platform seems as if it is going to be fairly limited (leaderboards and chat?). The established social sites offer

[android-developers] Google sync removes third party calendars

2010-04-14 Thread sazilla
Hi all, I've found a problem related to the Google calendar synchronization. Every time a google sync starts for the calendar source, it removes all the calendars which don't belong to a google account (see also http://code.google.com/p/android/issues/detail?id=7714). See the following snippet

[android-developers] How long Service#onDestroy is allowed to run ?

2010-04-14 Thread mac-systems
Hello, when stop my Service i may have several Tasks in a Threadpool, some may take some time. Is there any Documentation available how long the onDestroy method is allowed to run without risk an ANR Dialog ? As an example, theres what i played with: @Override public void

[android-developers] Re: Social Gaming Platforms

2010-04-14 Thread Michael A.
Apologies for the awful formatting of my previous message. Regards, Michael A. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] Can we bind one object on surface of another in openGL ES??

2010-04-14 Thread kirti kaul
Hi, Can somebody tell me if we could bind one object on to another in openGL ES.say draw multiple squares on the surface of a cylinder.I knw we can draw them independently,but how to make them look like one single object??Is this possible?? Thanks in advance!!! -- You received this message

[android-developers] Re: Samsung Galaxy, GPS onLocationChanged never called.

2010-04-14 Thread Vinay S
Hi, I faced the same issues.. Even if I an standing in open space, it does not get onLocationChange. I tried the same app by traveling in bike and putting the phone in my pocket. I was able to get the event. May be just look at the code requestLocationUpdates with 0 as min timeout and 0 as the

[android-developers] Re: Social Gaming Platforms

2010-04-14 Thread Maurício
Thanks for the suggestions guys, I'll take a look at both TapJoy and Geocade. I agree, Justin. The way I see it, and assuming this companies want to survive, the solution is not only to integrate with Apple's service (if possible) but also diversify among different platforms. A common platform

Re: [android-developers] Question about Android Tablet

2010-04-14 Thread Mark Murphy
dalbom wrote: Hi, I'm going to develop an Android device which is not a phone, could be Tablet or Portable Game Player. The device will has the external input devices such as keyboard, mouse or joystick. Here is my question. Does Android provides an API for handling that kind of

Re: [android-developers] Re: Not using a WakeLock so why does the device stay awake?

2010-04-14 Thread Mark Murphy
westmeadboy wrote: Just to confirm: the device is not plugged into USB and I'm not using any broadcasts or broadcast receivers. You aren't, but unless you have a completely clean device (or have hammered stuff into submission with a task killer), there might be other apps using alarms. When I

[android-developers] Re: How can I use VideoView to streaming without buffering?

2010-04-14 Thread MobDev
well most of the time buffering is just part of streaming... it's there so that a user will get a more seamless playback of the video/audio... The flipside is that it starts a little later because it has to buffer beforehand, and when it has enough data to play a specific amount of time seamlessly

[android-developers] Re: Can we bind one object on surface of another in openGL ES??

2010-04-14 Thread Robert Green
Consider buying a book like this. It will explain everything there is to know about OpenGL. http://www.amazon.com/OpenGL-Reference-Manual-Official-Document/dp/032117383X/ref=sr_1_25?ie=UTF8s=booksqid=1271244837sr=8-25 I, like you, thought that I would learn by asking people, but it turns out

Re: [android-developers] How long Service#onDestroy is allowed to run ?

2010-04-14 Thread Mark Murphy
mac-systems wrote: when stop my Service i may have several Tasks in a Threadpool, some may take some time. Is there any Documentation available how long the onDestroy method is allowed to run without risk an ANR Dialog ? A few seconds. There is no publicly documented value. -- Mark Murphy (a

[android-developers] Re: Web Apps for Dummies?

2010-04-14 Thread MobDev
well an option is just to create your standard webpage (taking into account it's for mobile devices, which possibly means changing design/ resolution), and just open up the browser inside your app... something like : WebView web = (WebView) findViewById(R.id.webView);

[android-developers] Re: Weird OpenGL performance in Nexus one

2010-04-14 Thread Robert Green
I get around 35 FPS on the N1 on my current 2D game in-dev. The thing about it, though, is that it's plenty of framerate. The game feels totally smooth at that rate and doesn't really experience significant drops (unless you count gmail sync), even when I throw 200 particles out into the scene.

[android-developers] Re: Working with low 3G strength

2010-04-14 Thread MobDev
well you cannot improve a low strength signal I'm afraid... So I guess the general guideline would be to tell the user the signal is weak which might result in a less smooth user experience... On 10 apr, 04:36, antiTalented anirudh.ai...@gmail.com wrote: Hello, I am developing an app that is

[android-developers] Re: Is there a way to force deletion of User Data on Application upgrade?

2010-04-14 Thread gcstang
So this would get fired when you increment your database version? On Apr 13, 9:35 pm, NoImJosh josh.n.willi...@gmail.com wrote: If you're trying to create a more robust database, you don't have to delete the existing one.  If you have a class that extends SQLiteOpenHelper, you can call the

[android-developers] How to query Sound on keypress setting

2010-04-14 Thread String
I'm working on an app with a custom soft keypad, and I'd like to mirror the default Android keyboard's Sound on keypress setting. IOW, I'd like to play a short sound for my app's keypress events iff the user has selected this option for the default keyboard. Problem is, I haven't found a way to

[android-developers] Re: Memory profiling for my Android application

2010-04-14 Thread ionel
You can find some information here: http://groups.google.com/group/android-developers/browse_thread/thread/afd865f3eb7494ed On Apr 13, 3:29 pm, SAM gulati...@gmail.com wrote: Hi, I have a requiirement of finding out the max RAM usage of my application. I tried installing the Memory Profilers

[android-developers] Re: Android market place crashes on receiving intent for an application that doesn't exists in marketplace

2010-04-14 Thread lukas
I'm seeing the same error. Does anyone have an idea what the problem might be? On 25 Mrz., 21:36, Gaurav gkhura...@gmail.com wrote: Hi, I am creating an application that checks the installation of a package and exits after launching the market-place with its id. When I try to launch market

Re: [android-developers] Re: Android market place crashes on receiving intent for an application that doesn't exists in marketplace

2010-04-14 Thread Mark Murphy
lukas wrote: I'm seeing the same error. Does anyone have an idea what the problem might be? The OP's was in trying to open the Market page for an application that does not exist in the Market. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App

[android-developers] Re: Out of Memory for Large Images

2010-04-14 Thread Kamal Hasan
Even after passing the inputstream to the decode function, it is giving OOM error. Is there any alternative solution to display large images ? Kamal On Apr 14, 12:53 pm, Mario Zechner badlogicga...@gmail.com wrote: Try not to load the image into a byte array before passing it to the

[android-developers] Re: Just getting started

2010-04-14 Thread grace
hi, i think u can use pending intent for ur purpose.. On Apr 13, 12:52 am, emada.adame emada.ad...@gmail.com wrote: So im just getting started with android development and i found my first head scratcher. I have an app that when opened makes a on going event notification. Then if i hit the

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread kiran
hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null Below is my code in reading data in application2 String columns[] = new String[] { _id,roll,name}; Uri myUri = Uri.parse(content://com.example.mytable/table1);

[android-developers] Re: onLowMemory not getting called

2010-04-14 Thread Kamal Hasan
Hi, When I am trying to load even a image of 4 MB the application is giving OOM error.Is there any alternative way to create bitmap from large images? What is the maximum heap for an application? FileInputStream fin = new FileInputStream(new File(sdcard/DSC00712.jpg));

[android-developers] Re: Out of Memory for Large Images

2010-04-14 Thread skink
Kamal Hasan wrote: Even after passing the inputstream to the decode function, it is giving OOM error. Is there any alternative solution to display large images ? Kamal try this:

[android-developers] Re: Web Apps for Dummies?

2010-04-14 Thread Maps.Huge.Info (Maps API Guru)
Have you looked at Phonegap? Supposedly, their system can do just about what you're looking to accomplish. There will still be some learning curve most likely but they have done the hard part, at least in theory. Write back if you try it and let us know how it worked. -John Coryat Radar Now!

[android-developers] Re: onLowMemory not getting called

2010-04-14 Thread Tim
On Apr 14, 1:47 pm, Kamal Hasan kamal.hasa...@gmail.com wrote: Hi,     When I am trying to load even a image of 4 MB the application is giving OOM error.Is there any alternative way to create bitmap from large images? What is the maximum heap for an application?                        

[android-developers] copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/

2010-04-14 Thread Abhi
Hi Is it possible to copy a file located on the sdcard to a package's internal filesytem located at /data/data/packagename/files/ folder? Thanks, Abhi -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: onLowMemory not getting called

2010-04-14 Thread mike
On 04/14/2010 06:16 AM, Tim wrote: On Apr 14, 1:47 pm, Kamal Hasankamal.hasa...@gmail.com wrote: Hi, When I am trying to load even a image of 4 MB the application is giving OOM error.Is there any alternative way to create bitmap from large images? What is the maximum heap for an

[android-developers] Re: ListActivity and onListItemClick

2010-04-14 Thread ionel
You have conflict name between your class name and “ListView” from onListItemClick method. Change class name, import android.widget.ListView and should work On Apr 11, 1:16 am, Amon Darthir amondart...@gmail.com wrote: Hi. I am having trouble figuring out how to get my onListItemClick to work.

Re: [android-developers] copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/

2010-04-14 Thread Mark Murphy
Abhi wrote: Is it possible to copy a file located on the sdcard to a package's internal filesytem located at /data/data/packagename/files/ folder? Yes, via standard Java I/O. Use getFilesDir() to find out where /data/data/packagename/files/ is for your application. -- Mark Murphy (a Commons

[android-developers] Emulator and device problem

2010-04-14 Thread Nandan .
hiii...frnds. i m trying to register with Server. my application is working fine in emulator. its register with server through emulator. but when i am trying to register on server with device (motorola milestone).its not register with server. can any one give me idea why its not working

[android-developers] Is ViewFlipper startFlipping() random?

2010-04-14 Thread angushir...@googlemail.com
Dear all, I'm developing an application that can take an arraylist of images of varying length and display them in the order in which they are added to the arraylist. I use viewFlipper.addView() to add each image. When I call startFlipping() the images are displayed, but not in any

[android-developers] Memory Leak

2010-04-14 Thread Joshua Frank
I am using a simple frame animation and when I exit and reenter my activity the activity is still referenced in memory. Any Ideas? //This is a sample activity I created to simulate the problem public class MemoryLeakActivity extends Activity { @Override public void onCreate(final Bundle

Re: [android-developers] Installation date of an application in a device

2010-04-14 Thread ~ TreKing
On Tue, Apr 13, 2010 at 9:22 AM, Isidoro Castell salud.rebel...@gmail.comwrote: I'm developing an application that seems as an android market. What? Can anybody tell me how can I know what is the installation date of an application in a device? No idea. What are you trying to do? Can you

[android-developers] Re: onLowMemory not getting called

2010-04-14 Thread Streets Of Boston
AFAIK, there's no way to work on the full image directly Yes there is. My application Snap FX does that. It takes quite a bit of work, but i managed to be able to apply color-effect to 5MPixel (1st gen Android phones) or 9MPixel (2nd gen Android phones) images. On Apr 14, 9:24 am, mike

[android-developers] Bluetooth data transfer is very slow

2010-04-14 Thread VovaN
Hello, I have application which send files from one devise to another. During testing I've faced two problems: 1)Data transfer is very slow. I compare to standard bluetooth application; 2)From time to time received data is less then sent. Small parts are missed if file(files) is huge. Have anybody

[android-developers] Re: Threads or ASyncTask?

2010-04-14 Thread Streets Of Boston
Depends. But since the OP mentioned Notifications, i guess the search results should be presented even when the user left the application. If so, yes, then a Service would be best. Still, i would use an AsyncTask (inside the Service) to do the actual work. This way you'll be sure that the

[android-developers] Re: copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/

2010-04-14 Thread Abhi
do you know if I can read this file (/data/data/packagename/files/) by a Native C code? I want to be able to read a file stored on the phone and I thought the best way would be to read it from the package filesystem as Native C can't get to the sdcard. Any suggestions? Abi On Apr 14, 9:27 am,

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
i'm also having the same issue, guys help us now trying to sort out this thing from the evening regards, Randika On Apr 14, 5:31 pm, kiran saikiran@gmail.com wrote: hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
i'm also having the same issue, guys help us now trying to sort out this thing from the evening regards, Randika On Apr 14, 5:31 pm, kiran saikiran@gmail.com wrote: hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null

[android-developers] Android Tablet SDK or Emulator

2010-04-14 Thread Károly Holczhauser
Hi Guys! I would like to develop for and Android Tablet, but I didn't found any SDK or Emulator for it. I think the best IDE would be the Eclipse. Can anyone tell me a solution,who can I import an Tablet Virtual Device in to the Eclipse IDE ? Thanks: Karoly -- You received this message

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
i'm also having the same issue, guys help us now trying to sort out this thing from the evening regards, Randika On Apr 14, 5:31 pm, kiran saikiran@gmail.com wrote: hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null

Re: [android-developers] Memory Leak

2010-04-14 Thread Felipe Silveira
Looking to the code, I can't find any possible root cause for this leak. Are you sure the GC was executed before you take the heap dump? You can force it using DDMS. Also, using MAT (eclipse.org/mat) you can identify who is retaining a reference to the LeakyActivy object. Felipe Silveira

[android-developers] Re: twitter and facebook intent : suggestion for the community

2010-04-14 Thread zehunter
just to know, is my idea to use intent/contentprovider, or any other mechanism from external application is not a good idea? i mean, what i try to suggest is about people that already did a Twitter client and / or facebook one, to maybe add some additinal functionality, to allow us to interact

Re: [android-developers] Re: onLowMemory not getting called

2010-04-14 Thread mike
On 04/14/2010 07:17 AM, Streets Of Boston wrote: AFAIK, there's no way to work on the full image directly Yes there is. My application Snap FX does that. It takes quite a bit of work, but i managed to be able to apply color-effect to 5MPixel (1st gen Android phones) or 9MPixel (2nd gen Android

Re: [android-developers] Re: twitter and facebook intent : suggestion for the community

2010-04-14 Thread Disconnect
If they don't want to click a thousandth time they will select do not prompt again... On Wed, Apr 14, 2010 at 10:44 AM, zehunter zehunte...@gmail.com wrote: just to know, is my idea to use intent/contentprovider, or any other mechanism from external application is not a good idea? i mean,

[android-developers] Re: xml file size issue

2010-04-14 Thread hiwa
thanks Kumar and thank you Yahel! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Backporting an app to 1.5

2010-04-14 Thread Bob Lee
We initially built our app for 2.1. Now, we're trying to get it working on 1.5. I changed the target to 3 in default.properties, and I copied over the missing ant targets, but now I'm getting an error because drawable-hdpi is an invalid res directory name. It looks like this is switching me to

[android-developers] Video rendering performance on android

2010-04-14 Thread Lauri Ehrenpreis
I need to render video on android. I got sw decoder which decodes stream to YUV or RGB with very reasonable cpu usage, but so far haven't found a nice way how to render frames. I have tried 3 methods so far: 1) using opengl from native code: * create a texture of type GL_TEXTURE_2D * set

Re: [android-developers] Backporting an app to 1.5

2010-04-14 Thread Timo Prill
the dpi-specific folders were not available on 1.5. they were introduced in 1.6. you have to stick to the default-drawable-folder called drawable same goes for the layout-folder and other DPI-dependant folders... cheers timo Am 14.04.2010 16:50, schrieb Bob Lee: We initially built our app for

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
i'm also having the same issue, guys help us now trying to sort out this thing from the evening regards, Randika On Apr 14, 5:31 pm, kiran saikiran@gmail.com wrote: hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null

[android-developers] Re: Backporting an app to 1.5

2010-04-14 Thread Al
To target both 1.5 and 2.1, you don't have to change the target to 3 (unless you are doing something with 2.1 apis that can't be achieved using reflection or something when running on 1.5). Instead, use the following in your manifest: uses-sdk android:minSdkVersion=3 android:targetSdkVersion=7

Re: [android-developers] Android Tablet SDK or Emulator

2010-04-14 Thread Kevin Duffey
I don't know of any tablets that are available yet.. I would imagine once they become available the IDE profile will be updated, although you'd think it would be out now so we could have software available to take advantage of the bigger screen size. 2010/4/14 Károly Holczhauser

[android-developers] Re: how to read database of one application in another application using contentproviders

2010-04-14 Thread mike
i'm also having the same issue, guys help us now trying to sort out this thing from the evening regards, Randika On Apr 14, 5:31 pm, kiran saikiran@gmail.com wrote: hi bobs i followed u r suggestion. Now i over come exception ie read permission denied. But while quering data i got null

Re: [android-developers] Re: Threads or ASyncTask?

2010-04-14 Thread Mark Murphy
On Apr 14, 3:20 am, MobDev developm...@mobilaria.com wrote: I am just making a wild guess here, and I hope more experience people will support or deny it (Mark, are you awake yet ? ;) ) but this might be a good scenario for a Service ? Nope, I'm not awake. Streets Of Boston wrote: Depends.

[android-developers] Paid apps in more countries - I am sick about it

2010-04-14 Thread fhucho
Last year in October I was told by Reto Meier that expanding support for paid apps in Android Market is the top priority for the Market team. Now, six month later, I don't beleive he was telling the truth. I am really sick about this. Maybe this is a way for Google to keep the app prices low -

Re: [android-developers] Paid apps in more countries - I am sick about it

2010-04-14 Thread Donal Rafferty
Might be helpful if you state which country your in and want the paid market to come to? I'm in Ireland and to be honest Android is only starting to take off here so there was no sense in having a paid market here. I believe by the end of the year there will be enough Android users to make an

  1   2   3   >