Low level access to cell phone chip on Dev Phone 2

by BenYL » Thu, 21 Jan 2010 02:31:03 GMT

Sponsored Links
 For a indoor localization application, we would like to send out a
specific bit pattern across one of the cell phone bands on the Dev
Phone 2. Is this sort of low-level access possible?


Other Threads

1. DexClassLoader caould not invoke method from another application properly

You seem to be passing in a bad ContextWrapper that somehow has a null base


  85     public Toast(Context context) {

  86         mContext = context;

  87         mTN = new TN(context);

  88         mY = context.getResources().getDimensionPixelSize(

  89                 com.android.internal.R.dimen.toast_y_offset);

  90     }


  76     @Override

  77     public Resources getResources()

  78     {

  79         return mBase.getResources();

  80     }

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


2. Screen/Activity orientation

 I set my activity to be in landscape mode. In this activity, I move a
box along the x direction, which is along the longer side of the phone
due to being in landscape. When the activity is first started,
everything works great--the x axis in my code corresponds to the
expected x direction in landscape.

Problem:  if in the middle of running it, I go into the dialer app by
pressing the call button, and then going back to my app, the box still
moves in the "x direction" but now perpendicular to the supposed
landscape x direction. I suppose the dialer's portrait mode got passed
onto my activity even though the orientation is set to landscape in
the manifest.

Attempts: I have tried numerous ways to remedy this but to no avail. I
tried re-initialzing all my views, calling setContentView upon
Restart. I also tried to get my orientation by calling
getResources().getConfiguration().orientation. The result indicates
"landscape" although the x axis now is perpendicular to before.

Please help! How do you deal with orientation change????

3. Send SMS Message

4. Store prepopulated sqlite database in an app

5. Settings not saving

6. How to start Android emulator 1.5?

7. Question: How to guestimate the available bitmap memory on a device