Android :: Starting Point Write A .Net Wrapper Around AdbWinApi.dll?

Jun 10, 2010

I'm trying to write a wrapper around Android's AdbWinApi.dll.

I've run dumpbin on the DLL and found a number of entry points. The problem is I don't really understand how to use those entry points and tie them up to the ADB API.

What is a good starting point to write this wrapper?

Android :: Starting point Write a .Net wrapper around AdbWinApi.dll?


Android :: What Is The Starting Point For Animations

Jul 19, 2010

I am at a stage where I can understand and write a decent Android application. At this stage, I am still not comfortable with SurfaceHolder, Canvas, View invalidate() etc. I don't have a CS background so I must've missed these from a CS Graphics course or something.

Starting directly with Android seemed like a bad idea because there are not many examples out there. And sometimes I am getting things done, but I don't understand what the heck is going on. For instance, there are a few dangling observations. Calling invalidate() from within a view calls its onDraw method but from outside it doesn't do anything and I don't know why this is happening. I know SurfaceHolder can be a powerful thing but I don't know how to use it.

For an absolute beginner to be able to handle this stuff, what are the resources one should follow? Is it animation basics or screen rendering or something else altogether? I mean, it cannot be the case that Android guys invented these concepts right? They must be similar to something out there which has some tutorials already. My end goal is to put myself in a position where I can write some simple custom views that can animate themselves and use some basic physics to react to touch events.

View 1 Replies View Related

Android :: Use Delphi / Prism Language To Develop Programs For Droid Os - Starting Point?

Sep 18, 2010

Is it somehow possible to use the Delphi language (or Prism if absolutely necessary) to develop programs for the Android platform ?

Any starting point ?

View 4 Replies View Related

Android :: Singleton Wrapper For Context

May 3, 2010

I'm considering creating a singleton wrapper for a Context so my model objects, if necessary, can open and read from a database connection. My model objects do not have access to a Context, and I'd like to avoid needing to pass a reference to a Context from object to object.I was planning to place into this singleton a reference to the Context returned by Application.getApplicationContext(). This singleton object would be initialized in my custom Application instance before anything else would need to or have a chance to use it.Can anyone think of a reason to not do this?

View 3 Replies View Related

Android :: Making Text To Speech Wrapper

Apr 6, 2010

I am attempting to create a wrapper class for Google Android's Text-To-Speech functionality. However, I'm having trouble finding a way to have the system pause until after the onInit function has finished. Attached at the bottom is something of a solution I created based on what I found here: http://stackoverflow.com /questions/ 1160876/android-speech-how-can-you-read-text-in-android However, this solution does not seem to work. Any thoughts on why this might not be working, or what would be a good idea in order to make sure that any Speak() calls happen after my onInit() call? public class SpeechSynth implements OnInitListener
{private TextToSpeech tts;
static final int TTS_CHECK_CODE = 0;
private int ready = 0;
private ReentrantLock waitForInitLock = new ReentrantLock();
SpeechSynth( Activity screen )
{ ready = 0;
tts = new TextToSpeech( screen, this );
waitForInitLock.lock();
public void onInit(int status)
{ if (status == TextToSpeech.SUCCESS)
{ready = 1;
} waitForInitLock.unlock();
}public int Speak( String text )
{ if( ready == 1 )
{tts.speak(text, TextToSpeech.QUEUE_ADD, null);
return 1;
} else
{ return 0;
} I have been able to make it so that I can pass a string of text through the constructor, then have it played in the onInit() function. However, I would really like to avoid having to destroy and re-create the whole text-to-speech engine every time I need to have my program say something different.

View 1 Replies View Related

Android :: High Level Wrapper For SQL-Lite

Mar 9, 2010

I am developing an Android Application for which i would be using a high level SQL-Lite Wrapper. Can anyone suggest me a high level wrapper for SQL Lite.

View 2 Replies View Related

Android : Develop Applications In C++ Without Going Through Java Wrapper?

Apr 2, 2010

I am relatively new to android but a very big fan. I'm not a stranger to development on handheld devices, since I have some experience with Symbian OS, both 3rd and 5th edition, using C++. Implicitly I prefer development using this language, so I was a little disappointed when I heard that the preferred API for Android is in Java, though the core of Android is linux.

I read in a book that at least some parts of the Java API for android is just a wrapper for C/C++ frameworks. My question to you:

Would it be possible to develop applications in C++ without going through the Java wrapper? As far as I know, the NDK does not provide support for all the features within Android ( for example SQLite, though it's heart is not java ).

I believe it is not impossible ( I've seen some demos of early stages of Qt ported on Android ), but I'm not sure how to approach this. Would these applications be installable via an apk?

View 2 Replies View Related

Android :: Mobile 'Web Wrapper' Framework Allowing Device Access To A Remote Site?

Jan 3, 2010

When I first ran across PhoneGap, I was excited because I envisioned simply dropping in the URL of a mobile site and simply updating the mobile site to use the devices capabilities when available.

Alas, it seems it is not that easy.

From what I understand (and I could be incorrect), any HTML/JS access to the device's hardware is limited to local 'pages'. So essentially create a HTML/JS local 'web' app to access the 'real' mobile web app by AJAX like calls. It seems a little redundant (at least to me) when the point is to simply extend the interface an existing mobile site.

Not trying to knock PhoneGap here, just wondering if there's a similar framework that allows a remote site to access the phone's hardware directly. Or if I've missed how that can be done with PhoneGap.

(Sure, I know "allows a remote site to access the phone's hardware directly" sounds scary - but the URL is hard-coded in the app, and HTTPS could provide authenticity. Of course, security is probably why this isn't supported by PhoneGap.)

View 2 Replies View Related

Android :: How To Update Access Point?

Oct 13, 2010

I have successfully programmed insertion & deletion of an Access Point in database but I need to find out how to update an access point. I'm using db.update() but its not producing any result. I am using the following code to update an access point:

ContentValues updateFields = new ContentValues();
ContentResolver resolver = getContentResolver();
updateFields.put("name:", "AIRTEL");
updateFields.put("apn_addr", 11023);
resolver.update(TABLE_APN_URI,updateFields,"_id=?",new String[] {Long.toString(2)});

While updating I'm not getting any error as well.

View 1 Replies View Related

Android :: How Do I Point People To My App In Marketplace?

Apr 7, 2009

I understand that Android Marketplace is not available on the internet, just from the phone.I would, however, like to point people to my application if possible. If the person receives their emails on the G1, what type of link can I give so that clicking on it will take them to the app in the Android Marketplace?

View 3 Replies View Related

Android :: Getting Hardware Floating Point With NDK

Jun 9, 2010

I've begun playing with the android NDK. One of the things I've just learnt is about creating an application.mk file to specify the armv7 abi. I'm building the san-Angeles example with the following parameters. Code...

View 1 Replies View Related

Android :: Point Sprite Support

Oct 5, 2009

Can someone confirm for me that point sprites are not currently supported in Android? Calling gl.glEnable(GL11.GL_POINT_SPRITE_OES) is triggering a GL_INVALID_ENUM error, so I assume this is the case, but I'd appreciate a confirmation before I proceed with an alternate design.

View 4 Replies View Related

Android :: Stop BroadcastReceiver After Some Point

Nov 13, 2009

I want to stop BroadcastReceiver after some time / after some work.

How to stop BroadcastReceiver after some point from service/ activity ?

View 5 Replies View Related

Android :: How To Get Point From Click Google Map?

May 31, 2010

I want to get the point of the mapview throuth click the map.I have tried to use the onTouchlistener,but in this way,the map can not move,zoom. Please give me some idea or a sample!

View 6 Replies View Related

Android :: How To Change Point On Map By Clicking On Map?

Nov 3, 2010

I want to give my users oppertinty to choose destination. from the beginning it will already have a point on the map, and after that they can choose/change to another location if they want. how is it possible to change the point on the map, by clicking somewhere else on the map?

View 1 Replies View Related

Android :: Calculating Direction From Point A To B

Sep 17, 2010

I'm trying to create a compass for my application BUT the difference is that, instead of having a line always pointing to north, I want this line to point for a specific point. I've been trying dozens of algorithms and nothing works. I've finally found one that points me exactlly to the point I want. But it doesn't move if I change the position of the device which is my objective. Basically, what I want is that no matter the direction I'm using my device. The line always point me to the point (picLatitude,picLongitude). I understood that for the line to move, I can't use static variables. I need to use the values offered by the onSensorChanged(SensorEvent event). This are the data I have available:

event.values[0]: azimuth, rotation around the Z axis (device in relation to north, 0º) event.values[1]: pitch, rotation around the X axis event.values[2]: roll, rotation around the Y axis mLatitude: device current latitude got from GPS (variable) mLongitude: device current longitude got from GPS (variable) picLatitude: static picture latitude established previously picLongitude: static picture longitude established previously distance: distance in Km from device to the picture calculated previously

And this the formula that works correct, and gives me the correct angle. (But it doesn't use any of the Sensor Data so the line Compass doesn't move):
double dLong = picLongitude - mLongitude; double y = (Math.sin(dLong) *
Math.cos(picLatitude)); double x = (Math.cos(mLatitude) * Math.sin(picLatitude) - Math.sin(mLatitude)*Math.cos(picLatitude)*Math.cos(dLong)); double angleDegreesWrongRange = Math.abs(Math.toDegrees(Math.atan2(y, x))); float angleDegrees = (float) ((angleDegreesWrongRange+360) % 360);
myCompass.updateDirection(angleDegrees);
I got this "bearing" formula from this website: http://www.movable-type.co.uk/scripts/latlong.html. I've try adding, subtracting, the azimuth.. I've tried with the others, seriously at this point I'm just demoralized.

View 13 Replies View Related

Android :: Cedar Point Map App For Phone?

Aug 17, 2010

Does anyone know if there is an app out there that has cedar point mapped out? I cant seem to find one. Im heading there tomorrow and would like to be able to ditch the map and just carry around my phone.

View 2 Replies View Related

Android :: Can't Use Point Sprite API In Droid NDK / Way To Do

Jun 15, 2010

I want use point sprite (OpenGLES Extension) API in Android NDK(r4).
right here
int att[] = {0,0,1};
glPointParameterxv( GL_POINT_DISTANCE_ATTENUATION, att );

But, doesn't work it.

View 1 Replies View Related

Android :: Get Notified When New Access Point Is Added?

May 26, 2010

I was wondering is it possible to get a notification of when a new configured network is added to the Wifi Manager in Android? I know you can get the current list of configured networks.

http://developer.android.com/intl/de/reference/android/net/wifi/WifiM...

But is it possible to get notification of when a new one is added? I don't see anything in the Wifi Manager that would be helpful. How this could be achieved?

View 2 Replies View Related

Android :: WiFi Access Point On HTC Desire

Oct 1, 2010

How do I configure HTC desire as WiFi access point?

View 1 Replies View Related

Android :: OpenGL ES Fixed - Floating Point

Oct 13, 2009

I've started developing an OpenGL ES app and I would like to get the best possible performace (as everybody, I guess).

As far as I know, HTC Magic (myTouch, G2) doesn't have floating point unit, so I think every calculation is done internally with fixed point math. That beign the case, altough I fed OpenGL with floating point vertex positions and normals, there would not be any permormace penalty since it would be using integer math instead of floating point emulation.

View 2 Replies View Related

Android :: Floating Point Support On G1 Phone

May 17, 2009

I have been searching about the floating point support on G1 phone (aka the HTC Dream phone) for a few hours.

So far, my conclusion is that the ARM-based Qualcomm MSM7201 CPU does not have VFP (floating point coprocessor) and therefore floating point calculations have to be done via software-float.

This is quite disappointing as I am interested in developing applications with heavy math.

However, I also notice that the Qualcomm CPU has QDSP4000â„¢ and QDSP5000â„¢ high-performance digital signal processors (DSP), according to http://www.qctconnect.com/products/msm_7201.html

Therefore, here is my question: would it be possible to leverage the DSP modules in the MSM7201 CPU to do the floating point math?

Also, I would like to develop the heavy-math modules in C/C++ and call it via JNI, and so I just want to double-check whether this is a feasible approach.

View 13 Replies View Related

Android :: Floating Point Hardware Support?

Feb 22, 2010

I'm currently developing a application on a HTC Dream aka T-mobile G1. afaik the processor has a FPU coprocessor, called VFP (Vector Floating Point) in ARM terms. So far I couldn't find any information about if the FPU is used for floating point calculations or if those are emulated in software. does anyone have any information about that? the opengl implementation supports both fixed point and floating point. will my applications be slower when I'm using floating point, because they get transformed into fixed point internally? or is floating point implemented in hardware?

View 5 Replies View Related

Android :: Open GL Fixed Vs Floating Point?

Jan 6, 2010

OpenGL ES allows values to be specified in either fixed point or floating point format, but I haven't been able to find any information about how this is actually implemented on Android devices. Are there actually two different pipelines, one for fixed point and one for floating point? If so, what happens if you mix and match them, such as specifying your matrix in floating point but your vertices in fixed point? Alternatively, does it implement everything with just one format internally, and convert the other format to it as necessary? If so, then you presumably get the best performance if you always specify values in the internal format so as to avoid conversions. How then can I determine which format is used internally?

View 9 Replies View Related

Android :: Add Floating Point Value To Resources / Values

Jul 19, 2010

I'm trying to add a little space between lines to my Text Views using android:lineSpacingMultiplier
from the documentation: Code...

View 1 Replies View Related

Android :: Math Floating Point Library

Jan 12, 2010

I need maths for my game physics and lots of them, so I use the. Math library. And guess what? I never casted so much to floats in my entire life. And i know how costly it is to use doubles on an embedded device because I read the performance optimization page in the google android sdk docs. So I am wondering if we couldn't get a Math package with functions taking and returning floats instead of the default doubles. e.g. Math.sinf Math.cosf.

View 3 Replies View Related

Android :: Get Notified When A New Access Point Is Detected?

Nov 23, 2010

Does Android provide a notification of being in vicinity of a new Wifi Network? Whether the device is configured to connect to that wifi network depends on whether the device has the wifi configuration set for that particular wifi network, but is it possible to get notification whenever entering any new wifi network?
I saw the WifiManager class but the states inside the class do not seem to achieve what I am trying to do. Any ideas?

View 1 Replies View Related

Android :: Google Maps Always Point North?

Oct 27, 2008

Does anyone know if google maps can point in direction of movement top instead of always north. Not good when driving.

View 16 Replies View Related

Android :: Best Way To Store Many Point&radius Locations

Mar 1, 2010

I want to store locations in my Android phone and be able for the application to tell me if I am inside these points&radius.What is the best way to store many point&radius locations and efficiently query for them?

View 1 Replies View Related

Android :: Programmatically Set Up Access Point In Phone?

Oct 8, 2010

I have searched alot on this but could not find anything on google or stack overflow.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved