[android-developers] GSM communications

2012-02-15 Thread toni
Hi All,

I'm migrating an old pocket pc app to android and I need to use the
GSM protocol (not only the SMS service). On windows mobile, we used AT
commands over the Serial Port to communicate with our remote hardware.
How can I implement this communication with Android SDK or NDK?

Thanks in advance

Regards

-- 
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] Need help with a Java issue

2010-06-22 Thread Toni Menzel
Hi Mariano,

First of all, did you leave out synchronization for simplicity in this
mail or is it not in place at all ?
(assuming you do access EntityManager from multiple threads).

Also, pls doublecheck that EntryManager.java:1529 is really at the
spot you indicated (cannot verify with complete sources).
Specifically i am unsure about databaseHelper. Its just accessed in
you example, so could be null.

At best give the full file so we can check.

Toni

On Tue, Jun 22, 2010 at 11:59 AM, Mariano Kamp mariano.k...@gmail.com wrote:
 Hey guys.
 This is not an Android issue per-se, but I am puzzled about a Java issue and
 want to pick your brains.
 I recently got a couple of bug reports with a NPE that I don't understand
 and can't reproduce myself. Here is an abbreviated representation of the
 offending class. I tried to stay as close to the actual code as possible.
 public class EntryManager {
   private static EntryManager instance;
   private MapDBQuery, Boolean isMarkAllReadPossibleCache;
   private EntryManager(Context ctx) {
     ..
     isMarkAllReadPossibleCache = new HashMapDBQuery, Boolean();
     ..
   }
   public static synchronized EntryManager getInstance(final Context context)
 {
        if (instance == null)
            instance = new EntryManager(context.getApplicationContext());
        return instance;
    }
    void fireModelUpdated(final String atomId) {
         ..
         isMarkAllReadPossibleCache.clear();
         ..
    }
   public boolean isMarkAllReadPossible(final DBQuery dbq) {
         if (!isMarkAllReadPossibleCache.containsKey(dbq))
             isMarkAllReadPossibleCache.put(dbq,
 databaseHelper.isMarkAllReadPossible(dbq));
        return isMarkAllReadPossibleCache.get(dbq); !-- NPE is raised here
     }
    ..
 }
 In the last line from above a NPE is thrown. So the instance variable
 isMarkAllReadPossibleCache must be null, right? But I don't see where this
 could happen. It's initialized in the constructor and never set to null
 afterwards.
 For completeness here is a stack trace:

 java.lang.NullPointerException
 at com.newsrob.EntryManager.isMarkAllReadPossible(EntryManager.java:1529)
 at
 com.newsrob.activities.AbstractNewsRobListActivity.shouldMarkAllReadButtonBeEnabled(AbstractNewsRobListActivity.java:327)
 at
 com.newsrob.activities.AbstractNewsRobListActivity.updateButtons(AbstractNewsRobListActivity.java:236)
 at
 com.newsrob.activities.AbstractNewsRobListActivity.access$2(AbstractNewsRobListActivity.java:215)
 -- removed the private access modifier meanwhile
 at
 com.newsrob.activities.AbstractNewsRobListActivity$13.run(AbstractNewsRobListActivity.java:626)
 at android.os.Handler.handleCallback(Handler.java:587)
 at android.os.Handler.dispatchMessage(Handler.java:92)
 at android.os.Looper.loop(Looper.java:123)
 at android.app.ActivityThread.main(ActivityThread.java:4203)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:521)
 at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
 at dalvik.system.NativeStart.main(Native Method)
 Any ideas?
 Cheers,
 Mariano

 --
 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



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

-- 
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] Re: Extract text from image

2010-06-21 Thread Toni Menzel
Its called ORC (http://en.wikipedia.org/wiki/Optical_character_recognition)

Checkout those resources and look for Java based Implementations..

On Mon, Jun 21, 2010 at 11:58 AM, SREEHARI
sreehari.madhusooda...@wipro.com wrote:

 Pls helpIts urgent

 SREEHARI.

 --
 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



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

-- 
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] Re: Why is Android so buggy?

2010-06-07 Thread Toni Menzel
On Mon, Jun 7, 2010 at 7:50 PM, blahblah...@gmail.com
blahblah...@gmail.com wrote:
 On Jun 7, 11:13 am, TreKing treking...@gmail.com wrote:
 Q: Why is Android so buggy?
 A: Because it's software - simple as that.

 My software isn't that buggy. Neither is the iphone.

 You compared Android to every existing piece of software there is?

 No, but in my 16 years of commercial software development experience I
 have never come across any other piece of software that has so many
 serious bugs that are apparently not being addressed.

Its Open Source, fix it!


 --
 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



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

-- 
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] App Pulled from Market

2010-06-07 Thread Toni Menzel
What did you sell ?

On Mon, Jun 7, 2010 at 10:35 PM, Scott Kennedy skenned...@gmail.com wrote:
 I received an email last week, stating that my application has been
 removed from Android Market due to a violation of the Developer
 Content Policy.  Too vague to be useful, in my opinion.  It said I
 could reply to the email for more information, which I did, but I got
 no response.

 Does anyone know how I can get in touch with someone on the Market
 team so that I can make the necessary changes to get my app back in
 the Market?

 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



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

-- 
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] Android 2.1+ on G1 dev phone

2010-06-01 Thread Toni Menzel
http://gizmodo.com/5544136/android-22-will-never-come-to-the-g1


On Tue, Jun 1, 2010 at 5:00 PM, mikek mik...@gmail.com wrote:
 Will google or HTC make 2.2 available on the G1 dev phone? Is there a
 one stop shop for monitoring what is available or approximately when
 new OSs will be available?

 --
 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



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

-- 
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] Re: API call from browser

2010-05-29 Thread Toni Menzel
This is an open source list, so pls give people at least 48h to answer
before pushing.

Nevermind. To my knowledge cloud2device service has not been opened yet.
Though there is a website where you can get a sneak peak of what the
API will look like.
Google for cloud2device service for android.. did not bookmark this site
myself unfortunately: (
HTH
Toni

On 29 May 2010 08:24, Rajnikant joshi.rajnik...@gmail.com wrote:

Any thoughts???


On May 28, 7:35 am, Rajnikant joshi.rajnik...@gmail.com wrote:
 Hi All,

 I have list key note...

-- 
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] Re: Froyo-Problem: Calendar access

2010-05-25 Thread Toni Menzel
Forgive me if i am wrong, but are those google calendars anyway? Why
not use the official gcalendar data api at [1] ?
Sure this accesses the web and not just phone services..

[1] http://code.google.com/apis/calendar/data/2.0/developers_guide.html

Toni

On Tue, May 25, 2010 at 1:12 PM, Lee lee.wil...@googlemail.com wrote:
 The 'calendar' in your Uri is the problem, it's unrecognized so you
 get a null cursor back.

 Lee

 On May 25, 11:33 am, andreas andreas.str...@googlemail.com wrote:
 On 25 Mai, 11:44, Lee lee.wil...@googlemail.com wrote:

  Whether or not it's wise to use unpublished Uri's,

 Well, I would prefer to use published Uris, but there are none to
 access the calendar. And there is not even any other official way to
 enter and read calendar data. That's a pity.

 But maybe some Google Andorid Wizard reads my cry for help ;-) and can
 tell me, what's now wrong with Froyo and

 String[] projection = new String[] { _id, displayName };
 Uri calendars = Uri.parse(content://calendar/calendars);
 Cursor managedCursor = act.managedQuery(calendars,
 projection,access_level300, null, null);

 Andreas

 --
 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



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

-- 
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] SignalStrength

2010-05-24 Thread Toni Menzel
Did you have a look at the doc  at
http://developer.android.com/reference/android/telephony/PhoneStateListener.html
yet ?
Not sure, but does not look too hard.. (though haven't used it myself yet)
Toni

On Mon, May 24, 2010 at 11:37 AM, Miguel Ruiz miguel.s...@gmail.com wrote:
 Hi,
 I´m trying to delevop an application which reads the signal strength
 of the GSM signal for android 2.1 and I am not able to initialized the
 class SignalStrength. I´ve searched in context, PhoneStateListener and
 TelephonyManager. But not a clue. Nothing returns anything like
 SignalStrength or similar.
 Thanks,
 Miguel

 --
 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



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
t...@okidokiteam.com
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.

-- 
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