[android-developers] Unable to access /dev directory in Android 6.0
I am not able to access /dev directory in Android 6.0 device without root access(Tried run time permissions also WRITE_EXTERNAL_STORAGE) Using native code to access RS232 serial port(tty) files inside /dev directory and transfer data, but with Android 6.0 I am unable to open the port(permission denied ona ccessing /dev). I do not want to root my device or to create my app as a system app. Is there any other way to achieve this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/4d5ec431-84bf-4d7b-a470-0a072ba22637%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Android 6.0 permission issue.
I have an application which loads a shared object and used some of its functions. The application was earlier targeting API19 and was working fine till API 19 devices. I then upgraded my device to Android 6.0. I have been getting below error since then."Unsatisfied Link Error: abc/xyx/So.so not found" I searched on the net where it was suggested to change the target level to API22. Did that and got another error ."Unsatisfied Link Error: Could not map - abc/xyx/So.so Operation not permitted" The permission scenario has been changed for API23, but I am still getting error when the target level is API22. Any suggesstions? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/e8d6a06f-29a0-4cc2-bc8b-b627aadd2ced%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Android 2.3 Causes memory intensive app to crash
I've also noticed this, it might be an app causing it. But it makes the system go into an unstable state. I've had google maps and the launcher effectivly stop working. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Scheduling ideas
AlarmManager :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 analytics and active installs on market way off
Hi I got an application that on http://market.android.com/publish/ shows around 20k active installs / 30k total installs. However, google analytics for the app (that's not really doing anything weird. It's just using the normal api, collecting fairly standard data). Is showing 100k+ unique visitors since launch (around 37k so far this month). What should I trust? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] performance when passing background data to ui thread
Hi I've got an app that spawns of a seperate thread. Parses JSON data into a structure. And passes it back to the main thread through a handler. Each part of data is sent through the handler individually. That worked fairly well with my previous XML parser, as XML parses data while it downloads. But JSON doesn't (atleast I haven't found a way to get that working). In either way the JSON data is much smaller and much faster to parse. I've recently added a feature that requires me to load several sources of json in parallel, parse in the background, and pass all the data back again using a Handler. This is a bit slower than I was hoping. Would it be faster (and possible) for me to do this: BackgroundThread extends Thread { onCreate (Parent) { this.parent = parent; } onData { parent.addParsedData(x); } } Parent extends ListActivity { ListAdapter list; onCreate { setListAdapter(list); new BackgroundThread(this); } public synchronized addParsedData(data) { list.add(data) } } I'm thinking this won't be thread safe, as ListAdapter is in the parent thread. Am I right? Should I instead inside the listadapter (which puts data in an array) have synchronized access to it's items? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] EXTRA_SHORTCUT_NAME ignored in Android 2.1
Did you ever figure this out? I just got a bugreport like this and found this post in google, but not much else on the issue. Bugreporter has a SE xperia X10i -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Underclocking to simulate other phones
It's actually very simple. # adb shell # su # cd /sys/devices/system/cpu/cpu0/cpufreq Your looking for scaling_*. Basically scaling_max_freq (you can use the numbers from scaling_available_frequencies). To set a frequency simply write to scaling_max_freq. Example: # echo 1197000 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] adb works, ddms shows nothing
adb works, I use it a lot. adb devices shows the device (a nexus one), shell/pull/push everything seems to work. eclipse screws up, often. ddms shows no devices connected, and in console I only get a few gtk window warnings. Half the time when I start eclipse it keeps a neverending process running so i can't build anything. ddms shows no devices connected (and when I shut it down it doesn't quit properly, i have to ctrl+c it). How can I debug this? (adb kill-server; adb start-server does not help) This is on linux, ubuntu 10.10, kernel 2.6.37. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en