[android-developers] Intent filter: can I match *.map files besides the following stupid way?

2013-10-14 Thread Richard Zhao
intent-filter action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT / category android:name=android.intent.category.BROWSABLE / data android:scheme=file / data

[android-developers] Design Problem: Client - CustomeData - Service

2013-10-14 Thread Richard Zhao
Hi there, I'm designing a client / service software. client / service are both on some android. client and service communicate using messenger and data format is class CustomeData. CustomeData also has some inner classes which define detail structure. Do I need to make CustomeData as thin as

[android-developers] NDK: faster alternative to JNI based custom rendering

2013-10-14 Thread Rick
Hello all, I'm porting C/C++ based graphics project to Android where I need to transform dynamic graphical tree hierarchy(describing the screen content) from the C side to Android Java acitivity. So far I tried following techinque: 1. call AndroidBitmap_lockPixels() in C 2. recurse thru the

Re: [android-developers] Selecting an radio button item in a multi page list

2013-10-14 Thread TreKing
On Mon, Oct 14, 2013 at 12:42 AM, galapogos gois...@gmail.com wrote: I have a list that is multiple pages long, and I'm trying to get the list index of the item that is selected using radio buttons. In onClickRadioButton() which I'm passing in my current View, I'm setting the myview as

[android-developers] Forcing roboto font

2013-10-14 Thread onigunn
Hi there, currently I'm developing an android app which uses the beautiful default font Roboto. Now by testing on some devices I noticed following: On Samsung devices the user can select a custom font (at worst case, this is some Comic Sans type) this ruins my layout - imho. Is there a way to

[android-developers] Re: Selecting an radio button item in a multi page list

2013-10-14 Thread Piren
You're not really supposed to use the Views/ListView for such information, rather the Adapter (ListViews recycle views, the amount of children they have fits the amount items they can fit in the screen, not the amount of items in the backing store). You can however still use the views if you

[android-developers] Re: Forcing roboto font

2013-10-14 Thread Piren
Subclass and set the font manually... no system wide option. On Monday, October 14, 2013 4:15:51 PM UTC+3, onigunn wrote: Hi there, currently I'm developing an android app which uses the beautiful default font Roboto. Now by testing on some devices I noticed following: On Samsung devices

[android-developers] Re: NDK: faster alternative to JNI based custom rendering

2013-10-14 Thread Nobu Games
As you already pointed out, floats can be a bottleneck. In many cases it is possible to rewrite graphics algorithms in a way to make exclusive use of integers. You need to get rid of the fractional part and that can be done by scaling up all values depending on your needs for the precision.

[android-developers] Re: NDK: faster alternative to JNI based custom rendering

2013-10-14 Thread Rick
Hello Nobu, Thanks for all the tips...I'm aware of fixed-point math, RenderScript, NEON stuff but unfortunately rewriting the current C++ renderer/rasterizer is no option for me as it would mean to write almost yet another Skia library(I need full range of 2d verctorial graphics features

[android-developers] Can a system service read and write files inside app space[Framework]

2013-10-14 Thread Giles Ian
1. Can any system service (lets say SystemServer.java) read and write file inside app space, lets say any file inside files dir 2. Can any system service create dir inside app space Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Unable to authorize adb on Windows 7 after set of 10/8/13 Microsoft patches applied

2013-10-14 Thread Lee
I have an update, but not really an answer as to what the exact problem is/was. I looked into the driver issue first today. I discovered that Windows insisted on loading version 7.0.0.1 of the Google USB driver, even if I told Windows that I wanted the newer 8.0.0.0 version. My understanding

Re: [android-developers] Can a system service read and write files inside app space[Framework]

2013-10-14 Thread Baodong Chen
you mean /data/data/*/ directory? if you adb shell and ls -l files you want to operate with check the permissions and uid gid. i don't think you can operate with app private data. On Tue, Oct 15, 2013 at 2:58 AM, Giles Ian gilesian@gmail.com wrote: 1. Can any system service (lets say

[android-developers]

2013-10-14 Thread Peeyush Varshney
Dear All, I am updating RemoteView from Services, but if I pass PendingIntent very fast. RemoteView is not updating.. I got the fix, but i doest feel .. it is good from App prospective. My doubt is, why remoteViews.setImageViewResource call does not work properly. Code snippet: RemoteViews

[android-developers] Remote View Issue

2013-10-14 Thread Peeyush Varshney
Dear All, I am updating RemoteView from Services, but if I pass PendingIntent very fast. RemoteView is not updating.. I got the fix, but i doest feel .. it is good from App prospective. My doubt is, why remoteViews.setImageViewResource call does not work properly. Code snippet: RemoteViews