Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8158315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:33:57+00:00 2026-06-06T17:33:57+00:00

using stdout library it will maybe pass data to logcat or somewhere else which

  • 0

using stdout library it will maybe pass data to logcat or somewhere else which is not heading toward to display screen.

How can I manage to display what I want using native code with out passing dalvik…T_T

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T17:33:58+00:00Added an answer on June 6, 2026 at 5:33 pm

    There may well be no officially supported way to do that. Android is fairly fundamentally based around java code running in the dalvik virtual machine.

    It used to be your only option was to use jni between your own native and java code to pass the data through to the java-level Android display APIs.

    In more recent versions, it is possible to write a so-called native activity where all of your code is C or C++. However, such an activity still runs in a process built around a dalvik virtual machine running platform-supplied java code, and calling into your code via jni.

    There is an embedded Open GL native API which you could use to plot text, but it is quite likely that behind the scenes some jni is still involved, at the very least in the setup of the views.

    Both the native activity and native use of open GL have examples in the ndk distribution.

    I suppose you could also have you code interact via pipes or sockets with a different process which would display its output, but that’s just moving the use of dalvik elsewhere.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I write data to stdout instead of writing file? I'm using GPG
I read an exec'd program's stdout using a pipe: int pipes[2]; pipe(pipes); if (fork()
I am trying to redirect output of stdout and stderr using a file. I
I have the following to execute shell commands using Node: function puts( error, stdout,
I am trying to create python bindings to a vala library using pygi with
I want to sort array of random numbers using MPI library. The idea is
I need to interface a C console program (as subprocess) with Python using stdin/stdout.
I am using a library that is printing a warning message to cout or
I am using a library called libmosquitto in an iPhone app. The library is
I routed STDOUT to a file using this code: STDOUT.reopen(File.open(./OUTPUT,'w+')) Now I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.